]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: rtw89: mcc: handle the case where NoA start time has passed
authorZong-Zhe Yang <kevin_yang@realtek.com>
Tue, 22 Apr 2025 01:46:16 +0000 (09:46 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Mon, 28 Apr 2025 06:38:39 +0000 (14:38 +0800)
commitb8a2f9e0fab913751fbba1d452850d5cbdc633cf
tree64e0b87adc148c4f10f8ef68b97f54e37e87fa33
parent50f9dc17a18180497f97d9d85541bf038bb1b0e3
wifi: rtw89: mcc: handle the case where NoA start time has passed

MCC will limit the time a role can use in a schedule according to the
periodic NoA. Original logic didn't consider the case where NoA start
time has passed. It might lead to inaccurate result. So, tweak it.

Signed-off-by: Zong-Zhe Yang <kevin_yang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20250422014620.18421-9-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/chan.c