Search Linux Wireless

Re: [PATCH 3/4] ath9k: check for deaf rx path state

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2017-01-26 10:50, Simon Wunderlich wrote:
> Hey Felix,
> 
> 
> On Wednesday, January 25, 2017 5:36:53 PM CET Felix Fietkau wrote:
>> Various chips occasionally run into a state where the tx path still
>> appears to be working normally, but the rx path is deaf.
>> 
>> There is no known register signature to check for this state explicitly,
>> so use the lack of rx interrupts as an indicator.
>> 
>> This detection is prone to false positives, since a device could also
>> simply be in an environment where there are no frames on the air.
>> However, in this case doing a reset should be harmless since it's
>> obviously not interrupting any real activity. To avoid confusion, call
>> the reset counters in this case "Rx path inactive" instead of something
>> like "Rx path deaf", since it may not be an indication of a real
>> hardware failure.
>> 
>> Signed-off-by: Felix Fietkau <nbd@xxxxxxxx>
> 
> As we observed in the field, it may happen that there are still RX interrupts 
> triggered, but just a very low number - in which case I believe your version 
> wouldn't fix the problem. Therefore we had a threshold in our original patch 
> [1].
It seems that you were seeing something different than what I was seeing
in my tests. Though it could be that my issues were actually caused by
something else. I had queued up these changes a while back before I
finally found and fixed the IRQ issue.

> We would also appreciate if you can at least briefly mention our work if you 
> resend/rework our stuff.
Sorry about that. I rebased this from older experimental patches and
forgot to put in all the relevant context.

Kalle, please drop this change for now.

- Felix



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux