]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: rtw89: mcc: avoid redundant recalculations if no chance to improve
authorZong-Zhe Yang <kevin_yang@realtek.com>
Sun, 11 May 2025 03:52:17 +0000 (11:52 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Fri, 16 May 2025 00:45:00 +0000 (08:45 +0800)
commitb178c1a23c5f53bdaad4f915e01d674169206c28
tree91ddfe46fd470f63c9bb7745ad0c905ebc7992e5
parent122b74ac9b9d19cfbc5f319ca5c0da0efc8be9fb
wifi: rtw89: mcc: avoid redundant recalculations if no chance to improve

MCC will track the changes of beacon offset, and trigger a recalculation
when the difference is larger than the tolerance. It means that a better
pattern is expected after recalculating. However, in the cases which get
a worse beacon offset, there is no chance to improve the pattern even if
recalculating. So, bypass them.

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-7-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/chan.c