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:
Vignesh Viswanathan
2018-11-22 13:02:20 +05:30
committed by nshrivas
orang tua 8e15ea6d1e
melakukan ecd4de72ad
14 mengubah file dengan 48 tambahan dan 180 penghapusan

Melihat File

@@ -370,6 +370,28 @@
CFG_VALUE_OR_DEFAULT, \
"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 \
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 */

Melihat File

@@ -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;
};
/*