Skip to content

Commit b8a66ad

Browse files
Ramasamy Kaliappanopsiff
authored andcommitted
wifi: ath12k: Improve BSS discovery with hidden SSID in 6 GHz band
[ Upstream commit 27d38bd ] Currently, sometimes, the station is unable to identify the configured AP SSID in its scan results when the AP is not broadcasting its name publicly and has a hidden SSID. Currently, channel dwell time for an ath12k station is 30 ms. Sometimes, station can send broadcast probe request to AP close to the end of dwell time. In some of these cases, before AP sends a response to the received probe request, the dwell time on the station side would come to an end. So, the station will move to scan next channel and will not be able to acknowledge the unicast probe response. Resolve this issue by increasing station's channel dwell time to 70 ms, so that the it remains on the same channel for a longer period. This would increase the station's chance of receiving probe response from the AP. The station will then send a response acknowledgment back to the AP, thus leading to successful scan and BSS discovery. With an increased dwell time, scan would take longer than it takes now. But, this fix is an improvement for hidden SSID scan issue. Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.4.1-00199-QCAHKSWPL_SILICONZ-1 Signed-off-by: Ramasamy Kaliappan <quic_rkaliapp@quicinc.com> Signed-off-by: Roopni Devanathan <quic_rdevanat@quicinc.com> Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com> Link: https://patch.msgid.link/20250207060005.153835-1-quic_rdevanat@quicinc.com Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com> Signed-off-by: Sasha Levin <sashal@kernel.org> (cherry picked from commit f4e35b2c5f5cc694572857b2fdb85d1e5176338d)
1 parent 032ed89 commit b8a66ad

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • drivers/net/wireless/ath/ath12k

drivers/net/wireless/ath/ath12k/wmi.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2115,8 +2115,8 @@ void ath12k_wmi_start_scan_init(struct ath12k *ar,
21152115
arg->dwell_time_active = 50;
21162116
arg->dwell_time_active_2g = 0;
21172117
arg->dwell_time_passive = 150;
2118-
arg->dwell_time_active_6g = 40;
2119-
arg->dwell_time_passive_6g = 30;
2118+
arg->dwell_time_active_6g = 70;
2119+
arg->dwell_time_passive_6g = 70;
21202120
arg->min_rest_time = 50;
21212121
arg->max_rest_time = 500;
21222122
arg->repeat_probe_time = 0;

0 commit comments

Comments
 (0)