mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 18:43:33 +02:00
wifi: rtw89: mcc: enlarge scan time of GC when GO in MCC
In original scan, the scan time only 45ms. The GO in MCC mode only stay 50ms and switch to STA role 50ms, which might cause GC can't scan GO. Therefore, enlarge scan time to 105ms to ensure GC have time overlapping with GO. Signed-off-by: Chih-Kang Chang <gary.chang@realtek.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Link: https://patch.msgid.link/20250610130034.14692-9-pkshih@realtek.com
This commit is contained in:
parent
62784eae87
commit
8bb1c30769
|
|
@ -7264,6 +7264,8 @@ int rtw89_hw_scan_prep_chan_list_ax(struct rtw89_dev *rtwdev,
|
|||
else if (channel->band == NL80211_BAND_6GHZ)
|
||||
ch_info->period = RTW89_CHANNEL_TIME_6G +
|
||||
RTW89_DWELL_TIME_6G;
|
||||
else if (rtwvif_link->wifi_role == RTW89_WIFI_ROLE_P2P_CLIENT)
|
||||
ch_info->period = RTW89_P2P_CHAN_TIME;
|
||||
else
|
||||
ch_info->period = RTW89_CHANNEL_TIME;
|
||||
|
||||
|
|
@ -7440,6 +7442,8 @@ int rtw89_hw_scan_prep_chan_list_be(struct rtw89_dev *rtwdev,
|
|||
ch_info->period = req->duration;
|
||||
else if (channel->band == NL80211_BAND_6GHZ)
|
||||
ch_info->period = RTW89_CHANNEL_TIME_6G + RTW89_DWELL_TIME_6G;
|
||||
else if (rtwvif_link->wifi_role == RTW89_WIFI_ROLE_P2P_CLIENT)
|
||||
ch_info->period = RTW89_P2P_CHAN_TIME;
|
||||
else
|
||||
ch_info->period = RTW89_CHANNEL_TIME;
|
||||
|
||||
|
|
|
|||
|
|
@ -320,6 +320,7 @@ struct rtw89_fw_macid_pause_sleep_grp {
|
|||
#define RTW89_CHANNEL_TIME_EXTRA_OP 30
|
||||
#define RTW89_DFS_CHAN_TIME 105
|
||||
#define RTW89_OFF_CHAN_TIME 100
|
||||
#define RTW89_P2P_CHAN_TIME 105
|
||||
#define RTW89_DWELL_TIME 20
|
||||
#define RTW89_DWELL_TIME_6G 10
|
||||
#define RTW89_SCAN_WIDTH 0
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user