summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiangwei Dong <liangwei@codeaurora.org>2016-12-19 00:36:48 -0500
committerAshish kumar goswami <agoswa@codeaurora.org>2016-12-20 17:36:52 +0530
commit94e809086fda4e456d4f37e47db86cbf1721c6f5 (patch)
tree2691f4a51e4a08df252677a5e3c493fbad517c54
parent8d956458a248b73483c838fc60d9c015139a0a1c (diff)
qcacld-2.0: Use active scan for SAP OBSS scan
Currently, driver uses passive scan for OBSS in SAP. In AP+AP case, the second AP is restricted to 28ms offchannel dwell time in WMA layer in order to keep the first AP's beaconing. But the 28ms is not enough to find the overlap APs in environment by passive scan. That causes the second APs OBSS scan failed. This fix is to change scan to active for SAP OBSS scan. Change-Id: Ie4aedc891c90364d8e5d21191d89bd60894797f5 CRs-Fixed: 1102763
-rw-r--r--CORE/HDD/src/wlan_hdd_cfg80211.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c
index 63499776b741..1a8edf34d332 100644
--- a/CORE/HDD/src/wlan_hdd_cfg80211.c
+++ b/CORE/HDD/src/wlan_hdd_cfg80211.c
@@ -19660,7 +19660,8 @@ int __wlan_hdd_cfg80211_scan( struct wiphy *wiphy,
/* set the scan type to active */
scanRequest.scanType = eSIR_ACTIVE_SCAN;
}
- else if (WLAN_HDD_P2P_GO == pAdapter->device_mode)
+ else if (WLAN_HDD_P2P_GO == pAdapter->device_mode ||
+ WLAN_HDD_SOFTAP == pAdapter->device_mode)
{
/* set the scan type to active */
scanRequest.scanType = eSIR_ACTIVE_SCAN;