2022-05-05 10:47:02

by Ping-Ke Shih

[permalink] [raw]
Subject: [PATCH] rtw88: adjutst adaptivity option to 1

From: Chin-Yen Lee <[email protected]>

Fine tune algorithm of adaptivity sensitivity to avoid disconnecting
from AP suddenly in field.

Signed-off-by: Chin-Yen Lee <[email protected]>
Signed-off-by: Ping-Ke Shih <[email protected]>
---
drivers/net/wireless/realtek/rtw88/fw.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/realtek/rtw88/fw.c b/drivers/net/wireless/realtek/rtw88/fw.c
index e344e058f9432..090610e48d08c 100644
--- 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);
--
2.25.1



2022-05-07 05:09:50

by Ping-Ke Shih

[permalink] [raw]
Subject: Re: [PATCH] rtw88: adjutst adaptivity option to 1

On Fri, 2022-05-06 at 11:56 -0700, Jeff Johnson wrote:
> On 5/5/2022 2:07 AM, Ping-Ke Shih wrote:
> > From: Chin-Yen Lee <[email protected]>
> >
> > Fine tune algorithm of adaptivity sensitivity to avoid disconnecting
> > from AP suddenly in field.
> >
> > Signed-off-by: Chin-Yen Lee <[email protected]>
> > Signed-off-by: Ping-Ke Shih <[email protected]>
>
> nit: s/adjutst/adjust/ in subject

Fixed by v2.
Thanks.

--
Ping-Ke

2022-05-09 01:51:55

by Jeff Johnson

[permalink] [raw]
Subject: Re: [PATCH] rtw88: adjutst adaptivity option to 1

On 5/5/2022 2:07 AM, Ping-Ke Shih wrote:
> From: Chin-Yen Lee <[email protected]>
>
> Fine tune algorithm of adaptivity sensitivity to avoid disconnecting
> from AP suddenly in field.
>
> Signed-off-by: Chin-Yen Lee <[email protected]>
> Signed-off-by: Ping-Ke Shih <[email protected]>

nit: s/adjutst/adjust/ in subject