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
Этот коммит содержится в:

коммит произвёл
nshrivas

родитель
dfa6faac89
Коммит
d4d6eb7d4e
@@ -2351,6 +2351,69 @@ QDF_STATUS mlme_set_wep_key(struct wlan_mlme_wep_cfg *wep_params,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
QDF_STATUS
|
||||
wlan_mlme_is_11h_enabled(struct wlan_objmgr_psoc *psoc, bool *value)
|
||||
{
|
||||
struct wlan_mlme_psoc_obj *mlme_obj;
|
||||
|
||||
mlme_obj = mlme_get_psoc_obj(psoc);
|
||||
if (!mlme_obj) {
|
||||
mlme_err("Failed to get MLME Obj");
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
*value = mlme_obj->cfg.gen.enabled_11h;
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
QDF_STATUS
|
||||
wlan_mlme_set_11h_enabled(struct wlan_objmgr_psoc *psoc, bool value)
|
||||
{
|
||||
struct wlan_mlme_psoc_obj *mlme_obj;
|
||||
|
||||
mlme_obj = mlme_get_psoc_obj(psoc);
|
||||
if (!mlme_obj) {
|
||||
mlme_err("Failed to get MLME Obj");
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
mlme_obj->cfg.gen.enabled_11h = value;
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
QDF_STATUS
|
||||
wlan_mlme_is_11d_enabled(struct wlan_objmgr_psoc *psoc, bool *value)
|
||||
{
|
||||
struct wlan_mlme_psoc_obj *mlme_obj;
|
||||
|
||||
mlme_obj = mlme_get_psoc_obj(psoc);
|
||||
if (!mlme_obj) {
|
||||
mlme_err("Failed to get MLME Obj");
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
*value = mlme_obj->cfg.gen.enabled_11d;
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
QDF_STATUS
|
||||
wlan_mlme_set_11d_enabled(struct wlan_objmgr_psoc *psoc, bool value)
|
||||
{
|
||||
struct wlan_mlme_psoc_obj *mlme_obj;
|
||||
|
||||
mlme_obj = mlme_get_psoc_obj(psoc);
|
||||
if (!mlme_obj) {
|
||||
mlme_err("Failed to get MLME Obj");
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
mlme_obj->cfg.gen.enabled_11d = value;
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
QDF_STATUS
|
||||
wlan_mlme_cfg_set_vht_chan_width(struct wlan_objmgr_psoc *psoc, uint8_t value)
|
||||
{
|
||||
|
Ссылка в новой задаче
Block a user