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:
Abhinav Kumar
2018-12-04 20:30:37 +05:30
committed by nshrivas
parent cdd24e47d0
commit f069e13d9a
7 changed files with 264 additions and 1 deletions

View File

@@ -1857,4 +1857,41 @@ QDF_STATUS wlan_mlme_is_sap_uapsd_enabled(struct wlan_objmgr_psoc *psoc,
*/
QDF_STATUS wlan_mlme_set_sap_uapsd_flag(struct wlan_objmgr_psoc *psoc,
bool value);
/**
* wlan_mlme_is_11h_enabled() - Get the 11h flag
* @psoc: psoc context
*
* Return: QDF_STATUS
*/
QDF_STATUS
wlan_mlme_is_11h_enabled(struct wlan_objmgr_psoc *psoc, bool *value);
/**
* wlan_mlme_set_11h_enabled() - Set the 11h flag
* @psoc: psoc context
*
* Return: QDF_STATUS
*/
QDF_STATUS
wlan_mlme_set_11h_enabled(struct wlan_objmgr_psoc *psoc, bool value);
/**
* wlan_mlme_is_11d_enabled() - Get the 11d flag
* @psoc: psoc context
*
* Return: QDF_STATUS
*/
QDF_STATUS
wlan_mlme_is_11d_enabled(struct wlan_objmgr_psoc *psoc, bool *value);
/**
* wlan_mlme_set_11d_enabled() - Set the 11h flag
* @psoc: psoc context
*
* Return: QDF_STATUS
*/
QDF_STATUS
wlan_mlme_set_11d_enabled(struct wlan_objmgr_psoc *psoc, bool value);
#endif /* _WLAN_MLME_API_H_ */