diff --git a/mlme/core/src/wlan_mlme_main.c b/mlme/core/src/wlan_mlme_main.c index 9a72389d40..7740c9ce53 100644 --- a/mlme/core/src/wlan_mlme_main.c +++ b/mlme/core/src/wlan_mlme_main.c @@ -652,6 +652,9 @@ static void mlme_init_ht_cap_in_cfg(struct wlan_objmgr_psoc *psoc, ht_caps->enable_smps = cfg_get(psoc, CFG_ENABLE_HT_SMPS); ht_caps->smps = cfg_get(psoc, CFG_HT_SMPS_MODE); ht_caps->max_num_amsdu = cfg_get(psoc, CFG_MAX_AMSDU_NUM); + ht_caps->tx_ldpc_enable = cfg_get(psoc, CFG_TX_LDPC_ENABLE); + ht_caps->short_slot_time_enabled = + cfg_get(psoc, CFG_SHORT_SLOT_TIME_ENABLED); } static void mlme_init_qos_cfg(struct wlan_objmgr_psoc *psoc, diff --git a/mlme/dispatcher/inc/cfg_mlme_ht_caps.h b/mlme/dispatcher/inc/cfg_mlme_ht_caps.h index 9eb4b86cba..50642c094d 100644 --- a/mlme/dispatcher/inc/cfg_mlme_ht_caps.h +++ b/mlme/dispatcher/inc/cfg_mlme_ht_caps.h @@ -370,6 +370,28 @@ CFG_VALUE_OR_DEFAULT, \ "MPDU Density") +/* + * + * gShortSlotTimeEnabled - It will set slot timing slot. + * @Min: 0 + * @Max: 1 + * @Default: 1 + * + * This ini is used to set default timing slot. + * + * Related: None + * + * Supported Feature: STA + * + * Usage: Internal/External + * + * + */ +#define CFG_SHORT_SLOT_TIME_ENABLED CFG_INI_BOOL( \ + "gShortSlotTimeEnabled", \ + 1, \ + "Short Slot Time Enabled") + #define CFG_HT_CAPS_ALL \ CFG(CFG_HT_CAP_INFO) \ CFG(CFG_TX_LDPC_ENABLE) \ @@ -388,6 +410,7 @@ CFG(CFG_HT_SMPS_MODE) \ CFG(CFG_MAX_AMSDU_NUM) \ CFG(CFG_MAX_RX_AMPDU_FACTOR) \ - CFG(CFG_MPDU_DENSITY) + CFG(CFG_MPDU_DENSITY) \ + CFG(CFG_SHORT_SLOT_TIME_ENABLED) #endif /* __CFG_MLME_HT_CAPS_H */ diff --git a/mlme/dispatcher/inc/wlan_mlme_public_struct.h b/mlme/dispatcher/inc/wlan_mlme_public_struct.h index e3ab4a9418..280eb61189 100644 --- a/mlme/dispatcher/inc/wlan_mlme_public_struct.h +++ b/mlme/dispatcher/inc/wlan_mlme_public_struct.h @@ -455,6 +455,8 @@ struct mlme_ht_info_field_3 { * @enable_smps: Enabled SM Power Save * @smps : SM Power Save mode * @max_num_amsdu: Max number of AMSDU + * @tx_ldpc_enable: Enable Tx LDPC + * @short_slot_time_enabled: Enabled/disable short slot time */ struct wlan_mlme_ht_caps { struct mlme_ht_capabilities_info ht_cap_info; @@ -468,6 +470,8 @@ struct wlan_mlme_ht_caps { bool enable_smps; uint8_t smps; uint8_t max_num_amsdu; + uint8_t tx_ldpc_enable; + bool short_slot_time_enabled; }; /*