]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: rtw89: mcc: use anchor pattern when bcn offset less than min of tob
authorChih-Kang Chang <gary.chang@realtek.com>
Tue, 10 Jun 2025 13:00:32 +0000 (21:00 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Mon, 16 Jun 2025 05:35:57 +0000 (13:35 +0800)
commitb3cf6f392dc9c5a836d06854b0282f4dfa918e61
tree98251d165430e541b76afd1ee39ce0b4dca4c675
parent12af7fcea83729425e50f0598b04b2c1fe7dccb5
wifi: rtw89: mcc: use anchor pattern when bcn offset less than min of tob

When the beacon offset is less than minimum of auxiliary tob
(aux->duration - aux->limit.max_toa), the upper bound of the reference
toa might be negative and lower than the lower bound, which causes the
auxiliary result to exceed the NoA limit. Therefore, in this case, the
anchor pattern is used for calculation.

Signed-off-by: Chih-Kang Chang <gary.chang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20250610130034.14692-11-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/chan.c