qcacld-3.0: add ini gActionOUIAuthAssoc6Mbps2GHz

Some AP doesn't honor CCK rate for auth/assoc.
this ini is added to detect specified AP and
send auth/assoc/reassoc(non-offload) with 6 Mbps
rate on 2.4 GHz, then AP will ack to STA.

Change-Id: I8a164471198842368add40ca726420569dd82430
CRs-Fixed: 3412381
This commit is contained in:
Jingxiang Ge
2023-04-12 11:29:05 +08:00
committed by Madan Koyyalamudi
parent 25a64b453c
commit 3e2b569a81
7 changed files with 59 additions and 1 deletions

View File

@@ -711,6 +711,38 @@
"00e04c 03 020160 E0 01 001018 06 02FF009c0000 BC 01", \
"Used to turn off FW's dynamic qos null tx rate for specified APs")
/*
* <ini>
* gActionOUIAuthAssoc6Mbps2GHz - Used to send auth/assoc req with 6 Mbps rate
* on 2.4 GHz for specified AP
*
* Some AP sometimes doesn't honor auth/assoc with CCK rate.
* This ini will provide 6 Mbps rate for auth/assoc in 2.4 GHz.
*
* Example OUIs: (All values in Hex)
* OUI 1: 000c43
* OUI data Len: 04
* OUI Data : 03000000
* OUI data Mask: F0 - 11110000
* Info Mask : 01 - only OUI present in Info mask
*
* Refer to gEnableActionOUI for more detail about the format.
*
* Related: gEnableActionOUI
*
* Supported Feature: Action OUIs
*
* Usage: External
*
* </ini>
*/
#define CFG_ACTION_OUI_AUTH_ASSOC_6MBPS_2GHZ CFG_INI_STRING( \
"gActionOUIAuthAssoc6Mbps2GHz", \
0, \
ACTION_OUI_MAX_STR_LEN, \
"", \
"send auth/assoc req with 6 Mbps rate on 2.4 GHz for specified APs")
#define CFG_ACTION_OUI \
CFG(CFG_ACTION_OUI_CCKM_1X1) \
CFG(CFG_ACTION_OUI_CONNECT_1X1) \
@@ -727,5 +759,6 @@
CFG(CFG_ACTION_OUI_TAKE_ALL_BAND_INFO) \
CFG(CFG_ACTION_OUI_11BE_ALLOW_LIST) \
CFG(CFG_ACTION_OUI_DISABLE_DYNAMIC_QOS_NULL_TX_RATE) \
CFG(CFG_ACTION_OUI_AUTH_ASSOC_6MBPS_2GHZ) \
CFG(CFG_ENABLE_ACTION_OUI)
#endif

View File

@@ -106,6 +106,8 @@
* @ACTION_OUI_HOST_RECONN: reconnect to the same BSSID when wait for
* association response timeout from AP
* @ACTION_OUI_TAKE_ALL_BAND_INFO: let AP country ie take all band info
* @ACTION_OUI_AUTH_ASSOC_6MBPS_2GHZ: send auth/assoc req with 6 Mbps rate
* on 2.4 GHz
* @ACTION_OUI_MAXIMUM_ID: maximum number of action oui types
*/
enum action_oui_id {
@@ -127,6 +129,7 @@ enum action_oui_id {
ACTION_OUI_HOST_ONLY,
ACTION_OUI_HOST_RECONN = ACTION_OUI_HOST_ONLY,
ACTION_OUI_TAKE_ALL_BAND_INFO,
ACTION_OUI_AUTH_ASSOC_6MBPS_2GHZ,
ACTION_OUI_MAXIMUM_ID
};