projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4547447
)
rtw88: adjust adaptivity option to 1
author
Chin-Yen Lee
<timlee@realtek.com>
Fri, 6 May 2022 23:50:45 +0000
(07:50 +0800)
committer
Kalle Valo
<kvalo@kernel.org>
Mon, 9 May 2022 11:40:37 +0000
(14:40 +0300)
Fine tune algorithm of adaptivity sensitivity to avoid disconnecting
from AP suddenly in field.
Signed-off-by: Chin-Yen Lee <timlee@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/20220506235045.4669-1-pkshih@realtek.com
drivers/net/wireless/realtek/rtw88/fw.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/realtek/rtw88/fw.c
b/drivers/net/wireless/realtek/rtw88/fw.c
index e344e058f9432dc7266e77f827a96bd7ed6f7b45..090610e48d08cbc4cc07c002922345eea40170d3 100644
(file)
--- a/
drivers/net/wireless/realtek/rtw88/fw.c
+++ b/
drivers/net/wireless/realtek/rtw88/fw.c
@@
-1786,7
+1786,7
@@
void rtw_fw_adaptivity(struct rtw_dev *rtwdev)
SET_H2C_CMD_ID_CLASS(h2c_pkt, H2C_CMD_ADAPTIVITY);
SET_ADAPTIVITY_MODE(h2c_pkt, dm_info->edcca_mode);
- SET_ADAPTIVITY_OPTION(h2c_pkt,
2
);
+ SET_ADAPTIVITY_OPTION(h2c_pkt,
1
);
SET_ADAPTIVITY_IGI(h2c_pkt, dm_info->igi_history[0]);
SET_ADAPTIVITY_L2H(h2c_pkt, dm_info->l2h_th_ini);
SET_ADAPTIVITY_DENSITY(h2c_pkt, dm_info->scan_density);