Hi Simon and Sven,
Thank you very much for your help.
I hope I correctly took the deaf state and 0xdeadbeef patches: [1] https://patchwork.kernel.org/patch/9433619/ [2] https://patchwork.kernel.org/patch/9433621/
Also, I use software encryption, in the hope to avoid key cache corruption. [3] https://patchwork.kernel.org/patch/9381651/
Are there other patches I need to apply for ar9331?
I use ath_warn() before some cases of ath9k_queue_reset(). For a distant node, I saw below. deaf hang comes quite often, did you observe this too? ----------------- [ 985.520000] ath: phy0: RX deaf hang is detected. Schedule chip reset [ 1166.000000] ath: phy0: RX deaf hang is detected. Schedule chip reset [ 1617.200000] ath: phy0: RX deaf hang is detected. Schedule chip reset [ 2399.280000] ath: phy0: RX deaf hang is detected. Schedule chip reset [ 4023.600000] ath: phy0: RX deaf hang is detected. Schedule chip reset [ 4648.610000] ath: phy0: tx hung, resetting the chip [ 4802.610000] ath: phy0: tx hung, resetting the chip [ 5103.360000] ath: phy0: RX deaf hang is detected. Schedule chip reset [ 5975.680000] ath: phy0: RX deaf hang is detected. Schedule chip reset [ 6998.400000] ath: phy0: RX deaf hang is detected. Schedule chip reset -----------------
Thanks.
Xuebing Wang