فهرست منبع

qcacld-3.0: Update MDIE when PNO match event found

qcacld-2.0 to qcacld-3.0 propagation

Current implementation does not update MDIE while processing of
PNO match event due to this STA is unable to connect to 11r AP.

Add changes to update MDIE to 'tSirBssDescription' in
csr_scan_save_preferred_network_found()

Change-Id: Ia419c0f7284fc168434d91bcc3d7b29b99a06f3f
CRs-Fixed: 2005101
Sreelakshmi Konamki 8 سال پیش
والد
کامیت
40032d588e
1فایلهای تغییر یافته به همراه20 افزوده شده و 0 حذف شده
  1. 20 0
      core/sme/src/csr/csr_api_scan.c

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

@@ -7730,6 +7730,26 @@ QDF_STATUS csr_scan_save_preferred_network_found(tpAniSirGlobal pMac,
 	qdf_mem_copy((uint8_t *) &pBssDescr->bssId,
 		     (uint8_t *) macHeader->bssId, sizeof(tSirMacAddr));
 	pBssDescr->received_time = (uint64_t)qdf_mc_timer_get_system_time();
+
+	/* MobilityDomain */
+	pBssDescr->mdie[0] = 0;
+	pBssDescr->mdie[1] = 0;
+	pBssDescr->mdie[2] = 0;
+	pBssDescr->mdiePresent = false;
+	/*
+	 * If mdie is present in the probe rsp we fill it in the bss description
+	 */
+	if (parsed_frm->mdiePresent) {
+		pBssDescr->mdiePresent = true;
+		pBssDescr->mdie[0] = parsed_frm->mdie[0];
+		pBssDescr->mdie[1] = parsed_frm->mdie[1];
+		pBssDescr->mdie[2] = parsed_frm->mdie[2];
+	}
+	sms_log(pMac, LOG1, FL("mdie=%02x%02x%02x"),
+		(unsigned int)pBssDescr->mdie[0],
+		(unsigned int)pBssDescr->mdie[1],
+		(unsigned int)pBssDescr->mdie[2]);
+
 	sms_log(pMac, LOG2, FL("Bssid= "MAC_ADDRESS_STR" chan= %d, rssi = %d"),
 		MAC_ADDR_ARRAY(pBssDescr->bssId), pBssDescr->channelId,
 		pBssDescr->rssi);