wifi: rtw89: config EDCCA threshold during scan to prevent TX failed
authorChih-Kang Chang <gary.chang@realtek.com>
Wed, 22 Mar 2023 06:02:38 +0000 (14:02 +0800)
committerKalle Valo <kvalo@kernel.org>
Mon, 3 Apr 2023 13:37:59 +0000 (16:37 +0300)
commit280c444745aaf0ff7f2e54b000bd9fff9f1bbaf2
treeb21db57a7456037f9423731988cdd4363c642dd9
parent40711486c7ba91a35ba495564e45be0f2a1b3729
wifi: rtw89: config EDCCA threshold during scan to prevent TX failed

Need to configure EDCCA threshold to default value before scan, and recall
original value after scan to prevent probe request can't be sent out.

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://lore.kernel.org/r/20230322060238.43922-1-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.c
drivers/net/wireless/realtek/rtw89/core.h
drivers/net/wireless/realtek/rtw89/phy.c
drivers/net/wireless/realtek/rtw89/phy.h
drivers/net/wireless/realtek/rtw89/reg.h
drivers/net/wireless/realtek/rtw89/rtw8852a.c
drivers/net/wireless/realtek/rtw89/rtw8852b.c
drivers/net/wireless/realtek/rtw89/rtw8852c.c