Browse Source

qcacld-3.0: Set fProbeRsp flag if PNO ind is from Probe response

qcacld-2.0 to qcacld-3.0 propagation

Kernel updates RSN IEs in BSS table only if it receives the Probe
response. Hence set fProbeRsp flag in BssDescriptor if PNO found
indication is due to probe response.

CRs-Fixed: 907635
Change-Id: I2bfee96c5a2abc6b0730c11e0c694ede81a69a21
(cherry picked from commit abb1af07e98ca6581186538a04a735b33e0ca66f)
(cherry picked from commit 5985919d63cb0e58920fc0022f0807ae36fa19fa)
Nalla Kartheek 8 years ago
parent
commit
4fc5715f8c
1 changed files with 5 additions and 0 deletions
  1. 5 0
      core/sme/src/csr/csr_api_scan.c

+ 5 - 0
core/sme/src/csr/csr_api_scan.c

@@ -6990,6 +6990,11 @@ QDF_STATUS csr_scan_save_preferred_network_found(tpAniSirGlobal pMac,
 		qdf_mem_free(parsed_frm);
 		return QDF_STATUS_E_RESOURCES;
 	}
+
+	if ((SIR_MAC_MGMT_FRAME == macHeader->fc.type) &&
+	    (SIR_MAC_MGMT_PROBE_RSP == macHeader->fc.subType))
+		pScanResult->Result.BssDescriptor.fProbeRsp = 1;
+
 	/* Add to scan cache */
 	csr_scan_add_result(pMac, pScanResult, local_ie,
 			    pPrefNetworkFoundInd->sessionId);