qcacld-3.0: Add INI to configure SIFS burst mode
To pass WFA 11N 4.2.25 case, it's needed to enable legacy mode SIFS burst. So add INI to make SIFS burst mode configurable. Change-Id: I740fe33a7ae0d9b558aa3b3aeee434f482ed24cb CRs-Fixed: 2486171
这个提交包含在:
@@ -65,6 +65,38 @@
|
||||
0, \
|
||||
"Set rts for sifs bursting")
|
||||
|
||||
/*
|
||||
* <ini>
|
||||
* sifs_burst_mask - Set sifs burst mask
|
||||
* @Min: 0
|
||||
* @Max: 3
|
||||
* @Default: 1
|
||||
*
|
||||
* This ini is used to set 11n and legacy(non 11n/wmm)
|
||||
* sifs burst. Especially under running multi stream
|
||||
* traffic test case, it can be useful to let the low
|
||||
* priority AC, or legacy mode device, or the specified
|
||||
* AC to aggressively contend air medium, then have a
|
||||
* obvious improvement of throughput. Bit0 is the switch
|
||||
* of sifs burst, it must be set if want to enable sifs
|
||||
* burst, Bit1 is for legacy mode.
|
||||
* Supported configuration:
|
||||
* 0: disabled
|
||||
* 1: enabled, but disabled for legacy mode
|
||||
* 3: all enabled
|
||||
*
|
||||
* Usage: External
|
||||
*
|
||||
* </ini>
|
||||
*/
|
||||
#define CFG_SET_SIFS_BURST CFG_INI_UINT( \
|
||||
"sifs_burst_mask", \
|
||||
0, \
|
||||
3, \
|
||||
1, \
|
||||
CFG_VALUE_OR_DEFAULT, \
|
||||
"Set SIFS burst mask")
|
||||
|
||||
/*
|
||||
* <ini>
|
||||
* gMaxMPDUsInAMPDU - max mpdus in ampdu
|
||||
@@ -706,6 +738,7 @@
|
||||
CFG_FWOL_DHCP \
|
||||
CFG(CFG_ENABLE_ANI) \
|
||||
CFG(CFG_SET_RTS_FOR_SIFS_BURSTING) \
|
||||
CFG(CFG_SET_SIFS_BURST) \
|
||||
CFG(CFG_MAX_MPDUS_IN_AMPDU) \
|
||||
CFG(CFG_ARP_AC_CATEGORY) \
|
||||
CFG(CFG_ENABLE_PHY_REG) \
|
||||
|
@@ -158,6 +158,16 @@ QDF_STATUS ucfg_fwol_get_ani_enabled(struct wlan_objmgr_psoc *psoc,
|
||||
QDF_STATUS ucfg_get_enable_rts_sifsbursting(struct wlan_objmgr_psoc *psoc,
|
||||
bool *enable_rts_sifsbursting);
|
||||
|
||||
/**
|
||||
* ucfg_get_enable_sifs_burst() - Get the enable_sifs_burst value
|
||||
* @psoc: pointer to the psoc object
|
||||
* @enable_sifs_burst: pointer to return enable_sifs_burst value
|
||||
*
|
||||
* Return: QDF Status
|
||||
*/
|
||||
QDF_STATUS ucfg_get_enable_sifs_burst(struct wlan_objmgr_psoc *psoc,
|
||||
uint8_t *enable_sifs_burst);
|
||||
|
||||
/**
|
||||
* ucfg_get_max_mpdus_inampdu() - Assigns the max_mpdus_inampdu value
|
||||
* @psoc: pointer to the psoc object
|
||||
|
在新工单中引用
屏蔽一个用户