qcacld-3.0: Cleanup HT Related CFG/INI Items
Cleanup multiple HT related CFG/INI Items which are already moved to the MLME component. Also move gShortSlotTimeEnabled INI from HDD to MLME component Change-Id: Ie8c19f508401d4d72990f35ea5dcc18d45f0f16b CRs-Fixed: 2354687
This commit is contained in:

committed by
nshrivas

parent
eab46e9a45
commit
7f2ed98442
@@ -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->enable_smps = cfg_get(psoc, CFG_ENABLE_HT_SMPS);
|
||||||
ht_caps->smps = cfg_get(psoc, CFG_HT_SMPS_MODE);
|
ht_caps->smps = cfg_get(psoc, CFG_HT_SMPS_MODE);
|
||||||
ht_caps->max_num_amsdu = cfg_get(psoc, CFG_MAX_AMSDU_NUM);
|
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,
|
static void mlme_init_qos_cfg(struct wlan_objmgr_psoc *psoc,
|
||||||
|
@@ -370,6 +370,28 @@
|
|||||||
CFG_VALUE_OR_DEFAULT, \
|
CFG_VALUE_OR_DEFAULT, \
|
||||||
"MPDU Density")
|
"MPDU Density")
|
||||||
|
|
||||||
|
/*
|
||||||
|
* <ini>
|
||||||
|
* 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
|
||||||
|
*
|
||||||
|
* </ini>
|
||||||
|
*/
|
||||||
|
#define CFG_SHORT_SLOT_TIME_ENABLED CFG_INI_BOOL( \
|
||||||
|
"gShortSlotTimeEnabled", \
|
||||||
|
1, \
|
||||||
|
"Short Slot Time Enabled")
|
||||||
|
|
||||||
#define CFG_HT_CAPS_ALL \
|
#define CFG_HT_CAPS_ALL \
|
||||||
CFG(CFG_HT_CAP_INFO) \
|
CFG(CFG_HT_CAP_INFO) \
|
||||||
CFG(CFG_TX_LDPC_ENABLE) \
|
CFG(CFG_TX_LDPC_ENABLE) \
|
||||||
@@ -388,6 +410,7 @@
|
|||||||
CFG(CFG_HT_SMPS_MODE) \
|
CFG(CFG_HT_SMPS_MODE) \
|
||||||
CFG(CFG_MAX_AMSDU_NUM) \
|
CFG(CFG_MAX_AMSDU_NUM) \
|
||||||
CFG(CFG_MAX_RX_AMPDU_FACTOR) \
|
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 */
|
#endif /* __CFG_MLME_HT_CAPS_H */
|
||||||
|
@@ -455,6 +455,8 @@ struct mlme_ht_info_field_3 {
|
|||||||
* @enable_smps: Enabled SM Power Save
|
* @enable_smps: Enabled SM Power Save
|
||||||
* @smps : SM Power Save mode
|
* @smps : SM Power Save mode
|
||||||
* @max_num_amsdu: Max number of AMSDU
|
* @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 wlan_mlme_ht_caps {
|
||||||
struct mlme_ht_capabilities_info ht_cap_info;
|
struct mlme_ht_capabilities_info ht_cap_info;
|
||||||
@@ -468,6 +470,8 @@ struct wlan_mlme_ht_caps {
|
|||||||
bool enable_smps;
|
bool enable_smps;
|
||||||
uint8_t smps;
|
uint8_t smps;
|
||||||
uint8_t max_num_amsdu;
|
uint8_t max_num_amsdu;
|
||||||
|
uint8_t tx_ldpc_enable;
|
||||||
|
bool short_slot_time_enabled;
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user