qcacld-3.0: Fix station scan AP failed in SAP+STA mode

qcacld-2.0 to qcacld-3.0 propagation

If SAP interface is up then STA interface can't find
the AP most of the time as a result of SCAN parameters
are getting set to 28ms active dwell time and 0
repeated probe (which means only 1 probe for 28ms of
active dwell time).

Test results suggest that 1 Probe request through out
the active dwell time in noisy environment is not good
enough, so sending two probe requests with each 11ms
apart would make the scan results little better.

Implement above suggested solution by changing
probe_time_dwell_time_map's repeated probe time to
11ms so that n_probes (number of probes) becomes 2
by n_probes = (dwell_time_active/repeat_probe_time)
= (28/11) = 2.

Change-Id: I8a3f3dbaf70c666973454e3266e0dabe0df1c9ea
CRs-Fixed: 992655
This commit is contained in:
Liangwei Dong
2016-09-28 06:05:08 -04:00
committed by Prakash Dhavali
parent df50df97c3
commit 271f92f582
2 changed files with 12 additions and 5 deletions

View File

@@ -493,7 +493,7 @@ typedef struct probeTime_dwellTime {
static const t_probeTime_dwellTime
probe_time_dwell_time_map[WMA_DWELL_TIME_PROBE_TIME_MAP_SIZE] = {
{28, 0}, /* 0 SSID */
{28, 11}, /* 0 SSID */
{28, 20}, /* 1 SSID */
{28, 20}, /* 2 SSID */
{28, 20}, /* 3 SSID */