Browse Source

qcacmn: Allow broadcast probe req for p2p scan with empty SSID

In case where driver receives a scan request with a single SSID with
an empty string, it must be treated as an active scan with broadcast
probe requests. In case of p2p search, driver treats this as a passive
scan. With this the P2P Client fails to detect existing P2P GO or
Autonomous GO devices, leading to connection failure.

Set flag WMI_SCAN_ADD_BCAST_PROBE_REQ for this type of p2p scan req.
P2P GO devices will respond to probe requests with wildcard SSID
and Cli will be able to connect to them.

Change-Id: Iacb44fb0cb5363f5af6cf7f6efb219857a799075
CRs-Fixed: 2235604
Nachiket Kukade 7 years ago
parent
commit
49f9618acc
1 changed files with 2 additions and 0 deletions
  1. 2 0
      umac/scan/dispatcher/src/wlan_scan_ucfg_api.c

+ 2 - 0
umac/scan/dispatcher/src/wlan_scan_ucfg_api.c

@@ -806,6 +806,8 @@ ucfg_scan_req_update_params(struct wlan_objmgr_vdev *vdev,
 			req->scan_req.repeat_probe_time = 0;
 		} else {
 			req->scan_req.scan_f_filter_prb_req = true;
+			if (!req->scan_req.num_ssids)
+				req->scan_req.scan_f_bcast_probe = true;
 
 			req->scan_req.dwell_time_active +=
 					P2P_SEARCH_DWELL_TIME_INC;