Parcourir la source

qcacld-3.0: Allow eht in WMI_SCAN_CHAN_LIST_CMDID

Set WMI_CHAN_FLAG_ALLOW_EHT in WMI_SCAN_CHAN_LIST_CMDID to FW.

Change-Id: I72c050aff6d73d099cf3e19fd918598709e765fc
CRs-Fixed: 3221435
Jianmin Zhu il y a 2 ans
Parent
commit
91d5304a24

+ 2 - 2
components/umac/mlme/connection_mgr/core/src/wlan_cm_vdev_connect.c

@@ -1085,7 +1085,7 @@ cm_get_ml_partner_info(struct scan_cache_entry *scan_entry,
 	if (!scan_entry->ml_info.num_links)
 		return QDF_STATUS_E_FAILURE;
 
-	psoc = wlan_objmgr_get_psoc_by_id(0, WLAN_SCAN_ID);
+	psoc = wlan_objmgr_get_psoc_by_id(0, WLAN_MLME_CM_ID);
 	if (!psoc) {
 		mlme_debug("psoc is NULL");
 		return QDF_STATUS_E_INVAL;
@@ -1119,7 +1119,7 @@ cm_get_ml_partner_info(struct scan_cache_entry *scan_entry,
 	partner_info->num_partner_links = j;
 	mlme_debug("partner link num: %d", j);
 
-	wlan_objmgr_psoc_release_ref(psoc, WLAN_SCAN_ID);
+	wlan_objmgr_psoc_release_ref(psoc, WLAN_MLME_CM_ID);
 
 	return QDF_STATUS_SUCCESS;
 }

+ 3 - 0
core/wma/src/wma_scan_roam.c

@@ -209,6 +209,9 @@ QDF_STATUS wma_update_channel_list(WMA_HANDLE handle,
 		if (chan_list->he_en)
 			chan_p->allow_he = 1;
 
+		if (chan_list->eht_en)
+			chan_p->allow_eht = 1;
+
 		if (chan_list->chanParam[i].half_rate)
 			chan_p->half_rate = 1;
 		else if (chan_list->chanParam[i].quarter_rate)