qcacld-3.0: Add ini to disable some aggressive TX features

Add action_oui ini gActionOUIDisableAggressiveTX to identify peers for
which some of aggressive TX features are to be disabled in firmware,
when DUT is operating in softap mode.

Aggressive TX features disabled are SIFS bursting, assist and support of
more than 32 frames in AMPDU.

Change-Id: I89fb6d40be5110b0331e84ed3239cd997ce0c899
CRs-Fixed: 2364888
This commit is contained in:
Rajeev Kumar Sirasanagandla
2018-12-08 23:24:04 +05:30
committed by nshrivas
parent 9045e2e664
commit d7987f16ef
6 changed files with 138 additions and 7 deletions

View File

@@ -84,6 +84,10 @@
* @ACTION_OUI_CONNECT_1X1: for 1x1 connection only
* @ACTION_OUI_ITO_EXTENSION: for extending inactivity time of station
* @ACTION_OUI_CCKM_1X1: for TX with CCKM 1x1 only
* @ACTION_OUI_ITO_ALTERNATE: alternate ITO extensions used by firmware
* @ACTION_OUI_SWITCH_TO_11N_MODE: connect in 11n
* @ACTION_OUI_CONNECT_1X1_WITH_1_CHAIN: connect in 1x1 & disable diversity gain
* @ACTION_OUI_DISABLE_AGGRESSIVE_TX: disable aggressive TX in firmware
* @ACTION_OUI_MAXIMUM_ID: maximun number of action oui types
*/
enum action_oui_id {
@@ -93,6 +97,7 @@ enum action_oui_id {
ACTION_OUI_ITO_ALTERNATE = 3,
ACTION_OUI_SWITCH_TO_11N_MODE = 4,
ACTION_OUI_CONNECT_1X1_WITH_1_CHAIN = 5,
ACTION_OUI_DISABLE_AGGRESSIVE_TX = 6,
ACTION_OUI_MAXIMUM_ID
};

View File

@@ -179,8 +179,7 @@ bool ucfg_action_oui_search(struct wlan_objmgr_psoc *psoc,
goto exit;
}
if (action_id >= ACTION_OUI_MAXIMUM_ID ||
!attr->ie_data || !attr->ie_length) {
if (action_id >= ACTION_OUI_MAXIMUM_ID) {
action_oui_err("Invalid action_oui id: %u", action_id);
goto exit;
}