Explorar el Código

qcacld-3.0: Set fProbeRsp to proper value during roam sync indication

BSS's fProbeRsp is not set during roam sync indication and thus
the frame is always indicated as beacon to kernel. If AP has hidden
SSID, this will be dropped by kernel in confusion that something
is wrong as the AP has hidden ssid but the beacon frame indicated
by driver have ssid.

Thus to fix this set BSS's fProbeRsp to proper value.

Change-Id: Id3521fe792573cb819b91269047a119a9346d7b2
CRs-Fixed: 2034849
Abhishek Singh hace 8 años
padre
commit
c4a864b9ab
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      core/mac/src/pe/lim/lim_api.c

+ 3 - 0
core/mac/src/pe/lim/lim_api.c

@@ -1954,6 +1954,9 @@ lim_roam_fill_bss_descr(tpAniSirGlobal pMac,
 					   ieFields[0]) -
 				sizeof(bss_desc_ptr->length) + ie_len);
 
+	bss_desc_ptr->fProbeRsp = !roam_offload_synch_ind_ptr->isBeacon;
+	/* Copy Timestamp */
+	bss_desc_ptr->scansystimensec = qdf_get_monotonic_boottime_ns();
 	if (parsed_frm_ptr->dsParamsPresent) {
 		bss_desc_ptr->channelId = parsed_frm_ptr->channelNumber;
 	} else if (parsed_frm_ptr->HTInfo.present) {