rtw88: 8821c: apply CCK PD level which calculates from dynamic mechanism
authorVincent Fann <vincent_fann@realtek.com>
Mon, 28 Dec 2020 08:25:16 +0000 (16:25 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 14 Jan 2021 17:26:12 +0000 (19:26 +0200)
commit840105e4f12fa3aa5f5c3c5b42dacb82ab953289
treeb81eac6444a3ccc635c4a9081798a4fbb179a6aa
parentac9533d2a637464588c03d1a247567ea95d2bc59
rtw88: 8821c: apply CCK PD level which calculates from dynamic mechanism

Hal function must follow the value that calculates from dynamic mechanism.
Force to set new_lvl to 4 damages receiving ability. System will not able
to reconnect to the AP if wifi unexpected disconnecting at this moment.

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