[FS#3947] Wifi STA that loses AP signal takes down the whole router, sometimes rebooting it

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Tue Nov 23 17:26:08 PST 2021


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#3947 - Wifi STA that loses AP signal takes down the whole router, sometimes rebooting it
User who did this - slick_diligence (slick_diligence)

----------
It sounds like there may be some progress from:

https://lkml.org/lkml/2021/11/18/539

The reporter to the kernel list identified the exact same commit that I did "mac80211: call ieee80211_tx_h_rate_ctrl() when dequeue".

There appears to be a patch available from Felix Fietkau:

https://lkml.org/lkml/2021/11/21/252

---
--- a/net/mac80211/tx.c
+++ b/net/mac80211/tx.c
@@ -1822,15 +1822,15 @@ static int invoke_tx_handlers_late(struct ieee80211_tx_data *tx)
  	struct ieee80211_tx_info *info = IEEE80211_SKB_CB(tx->skb);
  	ieee80211_tx_result res = TX_CONTINUE;
  
+	if (!ieee80211_hw_check(&tx->local->hw, HAS_RATE_CONTROL))
+		CALL_TXH(ieee80211_tx_h_rate_ctrl);
+
  	if (unlikely(info->flags & IEEE80211_TX_INTFL_RETRANSMISSION)) {
  		__skb_queue_tail(&tx->skbs, tx->skb);
  		tx->skb = NULL;
  		goto txh_done;
  	}
  
-	if (!ieee80211_hw_check(&tx->local->hw, HAS_RATE_CONTROL))
-		CALL_TXH(ieee80211_tx_h_rate_ctrl);
-
  	CALL_TXH(ieee80211_tx_h_michael_mic_add);
  	CALL_TXH(ieee80211_tx_h_sequence);
  	CALL_TXH(ieee80211_tx_h_fragment);


I will give this a try and see if it improves.
----------

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3947#comment10339

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list