Răsfoiți Sursa

qcacmn: Update scan_ctrl_flags when strict passive scan enabled

Analysis: strict passive scan is not working as the scan_ctrl_flags
check is missed when strict passive scan enabled

Change-Details : Added a support in ol_ath_scan_start_send() and
send_scan_start_cmd_non_tlv() to update the scan_ctrl_flags with
WMI_SCAN_FLAG_STRICT_PASSIVE_ON_PCHN when strict_pscan_enabled

Change-Id: If6713e340841d4947ef9042421dabec35f7bfbae
CRs-fixed: 1069383
Nandha Kishore Easwaran 8 ani în urmă
părinte
comite
f43bcd23ec
1 a modificat fișierele cu 4 adăugiri și 0 ștergeri
  1. 4 0
      wmi/src/wmi_unified_non_tlv.c

+ 4 - 0
wmi/src/wmi_unified_non_tlv.c

@@ -1935,6 +1935,10 @@ QDF_STATUS send_scan_start_cmd_non_tlv(wmi_unified_t wmi_handle,
 	cmd->scan_ctrl_flags = (param->passive_flag) ?
 	    WMI_SCAN_FLAG_PASSIVE : 0;
 
+	if (param->is_strict_pscan_en) {
+		cmd->scan_ctrl_flags |= WMI_SCAN_FLAG_STRICT_PASSIVE_ON_PCHN;
+	}
+
 	if (param->is_promiscous_mode)
 		cmd->scan_ctrl_flags |= WMI_SCAN_PROMISCOUS_MODE;