From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Xuebing Wang Message-ID: <42b14dc4-e931-527f-e105-07db7c6f3b87@gmail.com> Date: Sun, 23 Apr 2017 10:49:37 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: [B.A.T.M.A.N.] [batman-adv] Deaf hang happens quite often for a distant node (ar9331 + openwrt) List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Simon Wunderlich , Sven Eckelmann , b.a.t.m.a.n@lists.open-mesh.org 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