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)
commit8f0cb24ceefec6744cad2103e92de314598d7626
tree452a0a84d4172f3551ff76f9af6fc66894486532
parent1ccaa898868d1971a6480d7d55668de522f5847f
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