]> www.infradead.org Git - users/dwmw2/linux.git/commit
wifi: rtlwifi: Ignore IEEE80211_CONF_CHANGE_RETRY_LIMITS
authorBitterblue Smith <rtl8821cerfe2@gmail.com>
Wed, 29 May 2024 17:19:47 +0000 (20:19 +0300)
committerKalle Valo <kvalo@kernel.org>
Sat, 1 Jun 2024 10:15:26 +0000 (13:15 +0300)
commit819bda58e77bb67974f94dc1aa11b0556b6f6889
tree8d7143f512bf60a4d3d772889357543f7308a30b
parent40cecacabc460f5074398753feb9ed7d43e8dfa6
wifi: rtlwifi: Ignore IEEE80211_CONF_CHANGE_RETRY_LIMITS

Since commit 0a44dfc07074 ("wifi: mac80211: simplify non-chanctx
drivers") ieee80211_hw_config() is no longer called with changed = ~0.
rtlwifi relied on ~0 in order to ignore the default retry limits of
4/7, preferring 48/48 in station mode and 7/7 in AP/IBSS.

RTL8192DU has a lot of packet loss with the default limits from
mac80211. Fix it by ignoring IEEE80211_CONF_CHANGE_RETRY_LIMITS
completely, because it's the simplest solution.

Link: https://lore.kernel.org/linux-wireless/cedd13d7691f4692b2a2fa5a24d44a22@realtek.com/
Cc: stable@vger.kernel.org # 6.9.x
Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/1fabb8e4-adf3-47ae-8462-8aea963bc2a5@gmail.com
drivers/net/wireless/realtek/rtlwifi/core.c