qcacld-3.0: Choose self max nss for vdev_start

Currently, host driver picks minimum of the self and AP's NSS
capability at the time of join. Host driver sends the same to
firmware through vdev_start. But APs may upgrade NSS to higher
value during connect. As the NSS is already limited to min at
the time of join, STA is not able to use full capability and
connection also happens with min capability.
So, send self max NSS capability to firmware via vdev_start and
final value(min of self and AP's cap) is sent to firmware
through peer_assoc.
Also, cleanup the ini gActionOUIForceMaxNss as it's no
longer needed.

Change-Id: I0555059d03c77e55a4ccf1543e709904e6ea4e49
CRs-Fixed: 3615495
此提交包含在:
Srinivas Dasari
2023-09-21 17:06:01 +05:30
提交者 Rahul Choudhary
父節點 36bda31ab8
當前提交 01a957e561
共有 4 個檔案被更改,包括 1 行新增59 行删除

查看文件

@@ -421,48 +421,6 @@
"FFFFFF 00 2A F85971000000 E0 50 FFFFFF 00 2A 14ABC5000000 E0 50", \
"Used to specify action OUIs to disable aggressive TX")
/*
* <ini>
* gActionOUIForceMaxNss - Used to specify action OUIs for Max NSS connection
* @Default:
* Note: User should strictly add new action OUIs at the end of this
* default value.
*
* Default OUIs: (All values in Hex)
* OUI 1 :001018
* OUI data Len : 06
* OUI Data : 0201009c0000
* OUI data Mask: FC
* Info Mask : 01 - only OUI present in Info mask
* OUI 2 :001018
* OUI data Len : 06
* OUI Data : 0201001c0000
* OUI data Mask: FC
* Info Mask : 01 - only OUI present in Info mask
* OUI 3 :001018
* OUI data Len : 06
* OUI Data : 0200009c0000
* OUI data Mask: FC
* Info Mask : 01 - only OUI present in Info mask
*
* This ini is used to specify the AP OUIs with which max capability is
* sent in association request even though AP advertises 1x1 capability.
*
* Related: None
*
* Supported Feature: Action OUIs
*
* Usage: External
*
* </ini>
*/
#define CFG_ACTION_OUI_FORCE_MAX_NSS CFG_INI_STRING( \
"gActionOUIForceMaxNss", \
0, \
ACTION_OUI_MAX_STR_LEN, \
"001018 06 0201009c0000 FC 01 001018 06 0201001c0000 FC 01 001018 06 0200009c0000 FC 01", \
"Used to specify action OUIs for forcing max NSS connection")
/*
* <ini>
* gActionOUIDisableAggressiveEDCA - Used to specify action OUIs to control
@@ -841,7 +799,6 @@
CFG(CFG_ACTION_OUI_ITO_ALTERNATE) \
CFG(CFG_ACTION_OUI_ITO_EXTENSION) \
CFG(CFG_ACTION_OUI_DISABLE_AGGRESSIVE_TX) \
CFG(CFG_ACTION_OUI_FORCE_MAX_NSS) \
CFG(CFG_ACTION_OUI_DISABLE_AGGRESSIVE_EDCA) \
CFG(CFG_ACTION_OUI_EXTEND_WOW_ITO) \
CFG(CFG_ACTION_OUI_SWITCH_TO_11N_MODE) \

查看文件

@@ -103,7 +103,6 @@
* @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_FORCE_MAX_NSS: Force Max NSS connection with few IOT APs
* @ACTION_OUI_DISABLE_AGGRESSIVE_EDCA: disable aggressive EDCA with the ap
* @ACTION_OUI_DISABLE_TWT: disable TWT with the ap
* @ACTION_OUI_EXTEND_WOW_ITO: extend ITO under WOW mode if vendor OUI is
@@ -148,7 +147,6 @@ enum action_oui_id {
ACTION_OUI_TAKE_ALL_BAND_INFO,
ACTION_OUI_AUTH_ASSOC_6MBPS_2GHZ,
ACTION_OUI_DISABLE_BFORMEE,
ACTION_OUI_FORCE_MAX_NSS,
ACTION_OUI_DISABLE_AGGRESSIVE_EDCA,
ACTION_OUI_MAXIMUM_ID
};