qcacld-3.0: ADD MLME INI items of FE_BEAMFORM and WLAN_REG
Add the following WLAN_REG ini configs and FE_BEAMFORM cfg items to MLME cfg: 1. WNI_CFG_11D_ENABLED 2. WNI_CFG_11H_ENABLED 3. WNI_CFG_TX_BF_CAP 4. WNI_CFG_AS_CAP 5. WNI_CFG_DISABLE_LDPC_WITH_TXBF_AP Introduce the basic infra APIs related to these configs from mlme. In csr_roam_open_session, lim_populate_vht_mcs_set, lim_sta_send_add_bss, populate_dot11f_tdls_ht_vht_cap, populate_dot11f_vht_caps and sme_update_nss, local structure is updated instead of mlme global structure for vht caps and thus the mlme vht caps contains only the default values. Fix this by updating mlme vht caps in mlme_update_vht_cap. Change-Id: I1a948d7a44ad2bcc7f711c46b278971d7e4026e7 CRs-Fixed: 2354562
This commit is contained in:
@@ -2358,6 +2358,66 @@ ucfg_mlme_update_nss_vht_cap(struct wlan_objmgr_psoc *psoc)
|
||||
return mlme_update_nss_vht_cap(psoc);
|
||||
}
|
||||
|
||||
/**
|
||||
* ucfg_mlme_is_11h_enabled() - Get 11h flag
|
||||
* @psoc: pointer to psoc object
|
||||
* @value: Value that needs to be set from the caller
|
||||
*
|
||||
* Inline UCFG API to be used by HDD/OSIF callers
|
||||
*
|
||||
* Return: QDF Status
|
||||
*/
|
||||
static inline QDF_STATUS
|
||||
ucfg_mlme_is_11h_enabled(struct wlan_objmgr_psoc *psoc, bool *value)
|
||||
{
|
||||
return wlan_mlme_is_11h_enabled(psoc, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* ucfg_mlme_set_11h_enabled() - Set 11h flag
|
||||
* @psoc: pointer to psoc object
|
||||
* @value: Value that needs to be set from the caller
|
||||
*
|
||||
* Inline UCFG API to be used by HDD/OSIF callers
|
||||
*
|
||||
* Return: QDF Status
|
||||
*/
|
||||
static inline QDF_STATUS
|
||||
ucfg_mlme_set_11h_enabled(struct wlan_objmgr_psoc *psoc, bool value)
|
||||
{
|
||||
return wlan_mlme_set_11h_enabled(psoc, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* ucfg_mlme_is_11d_enabled() - Get 11d flag
|
||||
* @psoc: pointer to psoc object
|
||||
* @value: Value that needs to be set from the caller
|
||||
*
|
||||
* Inline UCFG API to be used by HDD/OSIF callers
|
||||
*
|
||||
* Return: QDF Status
|
||||
*/
|
||||
static inline QDF_STATUS
|
||||
ucfg_mlme_is_11d_enabled(struct wlan_objmgr_psoc *psoc, bool *value)
|
||||
{
|
||||
return wlan_mlme_is_11d_enabled(psoc, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* ucfg_mlme_set_11d_enabled() - Set 11d flag
|
||||
* @psoc: pointer to psoc object
|
||||
* @value: Value that needs to be set from the caller
|
||||
*
|
||||
* Inline UCFG API to be used by HDD/OSIF callers
|
||||
*
|
||||
* Return: QDF Status
|
||||
*/
|
||||
static inline QDF_STATUS
|
||||
ucfg_mlme_set_11d_enabled(struct wlan_objmgr_psoc *psoc, bool value)
|
||||
{
|
||||
return wlan_mlme_set_11d_enabled(psoc, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* ucfg_mlme_get_opr_rate_set() - Get operational rate set
|
||||
* @psoc: pointer to psoc object
|
||||
|
Reference in New Issue
Block a user