wlcore: Downgrade exceeded max RX BA sessions to debug
authorTony Lindgren <tony@atomide.com>
Fri, 1 Jan 2021 06:59:55 +0000 (08:59 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 14 Jan 2021 17:33:53 +0000 (19:33 +0200)
We can get the following in the logs every few minutes or so:

wlcore: ERROR exceeded max RX BA sessions

Let's downgrade the message to a debug message as suggested by the TI
support folks at:

https://e2e.ti.com/support/wireless-connectivity/wifi/f/968/p/352435/1244754

"The WL127x firmware supports max of 3 BA sessions. It cannot be increased.
 I think the problem here is the peer trying to initiate a 4th BA session
 (ADDBA request)."

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210101065955.63386-1-tony@atomide.com
drivers/net/wireless/ti/wlcore/main.c

index 122c7a4b374f17b36b7b00081bf891014c251600..fb0305d075dd3c85d71405a8e65f095fc4eedc1b 100644 (file)
@@ -5394,7 +5394,7 @@ static int wl1271_op_ampdu_action(struct ieee80211_hw *hw,
 
                if (wl->ba_rx_session_count >= wl->ba_rx_session_count_max) {
                        ret = -EBUSY;
-                       wl1271_error("exceeded max RX BA sessions");
+                       wl1271_debug(DEBUG_RX, "exceeded max RX BA sessions");
                        break;
                }