Forráskód Böngészése

qcacmn: Parse 11be capable beacons if DUT is not 11be enabled

Currently, in driver, if DUT fw does not support 11be,
11be capable beacons will not be parsed in the scan result.
But driver can have 11be capable parsing even when target
is not capable of 11be. This may be helpful in understanding
OBSS and ACS kind of scenarios.

To fix, driver will parse 11be capable beacon in the scan result.

Change-Id: I1eb4d60c8a7513a01126575dd9c4fc4f1a4ee6e0
CRs-Fixed: 3296848
Deeksha Gupta 2 éve
szülő
commit
4ff65dc760
1 módosított fájl, 3 hozzáadás és 8 törlés
  1. 3 8
      umac/scan/dispatcher/src/wlan_scan_utils_api.c

+ 3 - 8
umac/scan/dispatcher/src/wlan_scan_utils_api.c

@@ -1187,14 +1187,10 @@ static void util_scan_parse_eht_ie(struct scan_cache_entry *scan_params,
 #endif
 
 static QDF_STATUS
-util_scan_parse_extn_ie(struct wlan_objmgr_psoc *psoc,
-			struct scan_cache_entry *scan_params,
+util_scan_parse_extn_ie(struct scan_cache_entry *scan_params,
 			struct ie_header *ie)
 {
 	struct extn_ie_header *extn_ie = (struct extn_ie_header *) ie;
-	bool eht_capab;
-
-	wlan_psoc_mlme_get_11be_capab(psoc, &eht_capab);
 
 	switch (extn_ie->ie_extn_id) {
 	case WLAN_EXTN_ELEMID_MAX_CHAN_SWITCH_TIME:
@@ -1231,8 +1227,7 @@ util_scan_parse_extn_ie(struct wlan_objmgr_psoc *psoc,
 	default:
 		break;
 	}
-	if (eht_capab)
-		util_scan_parse_eht_ie(scan_params, extn_ie);
+	util_scan_parse_eht_ie(scan_params, extn_ie);
 
 	return QDF_STATUS_SUCCESS;
 }
@@ -1611,7 +1606,7 @@ util_scan_populate_bcn_ie_list(struct wlan_objmgr_pdev *pdev,
 			scan_params->ie_list.rsnxe = (uint8_t *)ie;
 			break;
 		case WLAN_ELEMID_EXTN_ELEM:
-			status = util_scan_parse_extn_ie(psoc, scan_params, ie);
+			status = util_scan_parse_extn_ie(scan_params, ie);
 			if (QDF_IS_STATUS_ERROR(status))
 				goto err_status;
 			break;