qcacld-3.0: Add vendor OUI to limit BW when connect IoT AP
UL data delay is high when connect specific AP. To fix it with OUI ini, limit Tx BW if vendor OUI is received in beacon. Change-Id: I54a4ddb4f113baf1da0ba5490760f38f30159f2e CRs-Fixed: 3695107
This commit is contained in:

committed by
Ravindra Konda

parent
7f2a48fc4c
commit
18ea5be149
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2012-2021 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -874,6 +874,34 @@
|
||||
"8CFDF0 13 040000494c510302097201cb17000009110000 FFFFE0 01", \
|
||||
"To restrict matching OUI APs to two link connection at max")
|
||||
|
||||
/*
|
||||
* <ini>
|
||||
* CFG_ACTION_OUI_LIMIT_BW - Used to limit BW for specified AP
|
||||
*
|
||||
* Example OUIs: (All values in Hex)
|
||||
* OUI 1: 00904c
|
||||
* OUI data Len: 04
|
||||
* OUI Data : 0201009C
|
||||
* 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_LIMIT_BW CFG_INI_STRING( \
|
||||
"gActionOUILimitBW", \
|
||||
0, \
|
||||
ACTION_OUI_MAX_STR_LEN, \
|
||||
"", \
|
||||
"Limit BW for specified AP")
|
||||
|
||||
#define CFG_ACTION_OUI \
|
||||
CFG(CFG_ACTION_OUI_CCKM_1X1) \
|
||||
CFG(CFG_ACTION_OUI_CONNECT_1X1) \
|
||||
@@ -895,5 +923,6 @@
|
||||
CFG(CFG_ACTION_OUI_SEND_SMPS_FRAME_WITH_OMN) \
|
||||
CFG(CFG_ACTION_OUI_AUTH_ASSOC_6MBPS_2GHZ) \
|
||||
CFG(CFG_ACTION_OUI_DISABLE_BFORMEE) \
|
||||
CFG(CFG_ACTION_OUI_LIMIT_BW) \
|
||||
CFG(CFG_ENABLE_ACTION_OUI)
|
||||
#endif
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2016-2020 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -127,6 +127,7 @@
|
||||
* @ACTION_OUI_ENABLE_CTS2SELF: enable cts to self for specified AP's
|
||||
* @ACTION_OUI_RESTRICT_MAX_MLO_LINKS: Downgrade MLO if particular AP
|
||||
* build present.
|
||||
* @ACTION_OUI_LIMIT_BW: Limit BW if vendor OUI is received in beacon.
|
||||
* @ACTION_OUI_MAXIMUM_ID: maximum number of action oui types
|
||||
*/
|
||||
enum action_oui_id {
|
||||
@@ -153,6 +154,7 @@ enum action_oui_id {
|
||||
ACTION_OUI_DISABLE_AGGRESSIVE_EDCA,
|
||||
ACTION_OUI_ENABLE_CTS2SELF,
|
||||
ACTION_OUI_RESTRICT_MAX_MLO_LINKS,
|
||||
ACTION_OUI_LIMIT_BW,
|
||||
ACTION_OUI_MAXIMUM_ID
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user