]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: rtw89: mcc: deal with non-periodic NoA
authorZong-Zhe Yang <kevin_yang@realtek.com>
Sun, 11 May 2025 03:52:16 +0000 (11:52 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Fri, 16 May 2025 00:43:41 +0000 (08:43 +0800)
commit122b74ac9b9d19cfbc5f319ca5c0da0efc8be9fb
tree5d217bb71f6973373e11d8bc7c4492a3feffe795
parenteec9dfad1b217fadb82b6e87827a234620ed6868
wifi: rtw89: mcc: deal with non-periodic NoA

Originally, MCC just took periodic NoA into account. When the connected GO
announces non-periodic NoA and GC side is during MCC, sometimes GC cannot
receive beacons well if the MCC scheduling conflicts with the non-periodic
NoA planning. After the loss exceeds the tolerable amount, beacon filter
will report connection loss. However, in this case, the loss is acceptable.
So now, MCC will calculate the range of non-periodic NoA. And then, don't
care beacon loss during the range.

Besides, rtw89_mcc_fill_role_limit() only makes sense for GC. Remove the
redundant check of GO.

Signed-off-by: Zong-Zhe Yang <kevin_yang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20250511035217.10410-6-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/chan.c
drivers/net/wireless/realtek/rtw89/core.c
drivers/net/wireless/realtek/rtw89/core.h
drivers/net/wireless/realtek/rtw89/mac.c
drivers/net/wireless/realtek/rtw89/mac80211.c
drivers/net/wireless/realtek/rtw89/ps.c
drivers/net/wireless/realtek/rtw89/ps.h
drivers/net/wireless/realtek/rtw89/ser.c