Jelajahi Sumber

qcacmn: Remove ie len check for SON_IE_LEN

SON IE length check drops some of the AP beacon or probe
response due to length mismatch.

As length may increase for some of APs. Remove check for
ie len of WLAN_VENDOR_SON_IE_LEN

Change-Id: I74add7ea539913f67bf7d11e2ff8e4b0374eba05
CRs-Fixed: 3418249
Aravind Kishore Sukla 2 tahun lalu
induk
melakukan
c60807a9c9

+ 0 - 1
umac/cmn_services/cmn_defs/inc/wlan_cmn_ieee80211.h

@@ -3685,7 +3685,6 @@ is_p2p_oui(const uint8_t *frm)
 		(frm[5] == P2P_WFA_VER);
 }
 
-#define WLAN_VENDOR_SON_IE_LEN 31
 /**
  * is_qca_son_oui() - If vendor IE is QCA WHC type
  * @frm: vendor IE pointer

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

@@ -1320,8 +1320,6 @@ util_scan_parse_vendor_ie(struct scan_cache_entry *scan_params,
 		scan_params->ie_list.p2p = (uint8_t *)ie;
 	} else if (is_qca_son_oui((uint8_t *)ie,
 				  QCA_OUI_WHC_AP_INFO_SUBTYPE)) {
-		if (ie->ie_len > WLAN_VENDOR_SON_IE_LEN)
-			return QDF_STATUS_E_INVAL;
 
 		scan_params->ie_list.sonadv = (uint8_t *)ie;
 	} else if (is_ht_cap((uint8_t *)ie)) {