qcacld-3.0: Add logic to share 11BE mode selection with FW

Add checks to see if STA supports eMLSR mode and also
vendor command selection. If both support eMLSR, then set
eMLSR support bit. This value is shared with FW via
wmi_vdev_set_ie.

Change-Id: I9ea3bebfcaf90bb83d8811924afd8805530e40dc
CRs-Fixed: 3220949
This commit is contained in:
Gururaj Pandurangi
2022-06-08 15:51:15 -07:00
committed by Madan Koyyalamudi
parent 61dfd77555
commit 1fd34c640f
4 changed files with 40 additions and 27 deletions

View File

@@ -4812,7 +4812,7 @@ bool policy_mgr_is_mlo_in_mode_emlsr(struct wlan_objmgr_psoc *psoc,
mlo_idx++;
}
/* Check if existing vdev is eMLSR STA */
if (wlan_vdev_mlme_get_emlsr_caps(temp_vdev))
if (wlan_vdev_mlme_cap_get(temp_vdev, WLAN_VDEV_C_EMLSR_CAP))
emlsr_connection = true;
wlan_objmgr_vdev_release_ref(temp_vdev, WLAN_POLICY_MGR_ID);