]> git.baikalelectronics.ru Git - kernel.git/commit
rtw88: 8723d: add cck pd seetings
authorPing-Ke Shih <pkshih@realtek.com>
Mon, 9 Nov 2020 09:01:22 +0000 (17:01 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 24 Nov 2020 09:15:22 +0000 (11:15 +0200)
commita809d02dec4fecc333bb370f2ff71d75bbabf3b5
tree452a0a84d4172f3551ff76f9af6fc66894486532
parent5bac97ae1312bf07a41b140dcf8c2316b43b272e
rtw88: 8723d: add cck pd seetings

CCK PD can reduce the number of false alarm of the CCK rates.
It dynamically adjusts the power threshold and CS ratio.
The values are compared to the values of the previous level, if
the level is changed, set new values of power threshold and CS
ratio.

Implement rtw_chip_ops::cck_pd_set() for 8723d.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20201109090123.9254-1-pkshih@realtek.com
drivers/net/wireless/realtek/rtw88/rtw8723d.c
drivers/net/wireless/realtek/rtw88/rtw8723d.h