qcacld-3.0: update mlme caps for the EHT
update the mlme data structures with eht capabilities. Change-Id: I3d6b450d673d07560086383a6e32f5602d59ae41 CRs-Fixed: 2911882
This commit is contained in:

committato da
snandini

parent
061fe45f3c
commit
40e2d02202
@@ -901,6 +901,15 @@ QDF_STATUS mlme_update_tgt_he_caps_in_cfg(struct wlan_objmgr_psoc *psoc,
|
||||
QDF_STATUS mlme_update_tgt_eht_caps_in_cfg(struct wlan_objmgr_psoc *psoc,
|
||||
struct wma_tgt_cfg *wma_cfg)
|
||||
{
|
||||
struct wlan_mlme_psoc_ext_obj *mlme_obj = mlme_get_psoc_ext_obj(psoc);
|
||||
tDot11fIEeht_cap *eht_cap = &wma_cfg->eht_cap;
|
||||
|
||||
if (!mlme_obj)
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
|
||||
mlme_obj->cfg.eht_caps.dot11_eht_cap.present = 1;
|
||||
qdf_mem_copy(&mlme_obj->cfg.eht_caps.dot11_eht_cap, eht_cap,
|
||||
sizeof(tDot11fIEeht_cap));
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
#endif
|
||||
@@ -4731,3 +4740,19 @@ bool wlan_mlme_is_local_tpe_pref(struct wlan_objmgr_psoc *psoc)
|
||||
|
||||
return mlme_obj->cfg.power.use_local_tpe;
|
||||
}
|
||||
|
||||
#ifdef WLAN_FEATURE_11BE
|
||||
QDF_STATUS mlme_cfg_get_eht_caps(struct wlan_objmgr_psoc *psoc,
|
||||
tDot11fIEeht_cap *eht_cap)
|
||||
{
|
||||
struct wlan_mlme_psoc_ext_obj *mlme_obj;
|
||||
|
||||
mlme_obj = mlme_get_psoc_ext_obj(psoc);
|
||||
if (!mlme_obj)
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
|
||||
*eht_cap = mlme_obj->cfg.eht_caps.dot11_eht_cap;
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
#endif
|
||||
|
Fai riferimento in un nuovo problema
Block a user