summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/intel/iwlegacy/common.c
diff options
context:
space:
mode:
authorChih-Kang Chang <gary.chang@realtek.com>2024-01-19 16:15:00 +0800
committerKalle Valo <kvalo@kernel.org>2024-01-23 13:38:16 +0200
commitf59a98c82534e986b06615ba94e060aa3129b08b (patch)
tree91b8201f5d4b75e69ac42a7d19a1b7845729849e /drivers/net/wireless/intel/iwlegacy/common.c
parentbcbefbd032df6bfe925e6afeca82eb9d2cc0cb23 (diff)
wifi: rtw89: fix HW scan timeout due to TSF sync issue
When STA connects to an AP and doesn't receive any beacon yet, the hardware scan is triggered. This scan begins with the default TSF value. Once STA receives a beacon when switches back to the operating channel, its TSF synchronizes with the AP. However, if there is a significant difference in TSF values between the default value and the synchronized value, it will cause firmware fail to trigger interrupt, and the C2H won't be sent out. As a result, the scan continues until a timeout occurs. To fix this issue, we disable TSF synchronization during scanning to prevent drastic TSF changes, and enable TSF synchronization after scan. Signed-off-by: Chih-Kang Chang <gary.chang@realtek.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://msgid.link/20240119081501.25223-8-pkshih@realtek.com
Diffstat (limited to 'drivers/net/wireless/intel/iwlegacy/common.c')
0 files changed, 0 insertions, 0 deletions