qcacld-3.0: Add support for deauth retry for STA

Add support to retry the deauth frame if the Tx is not success if
user configured the retry count.

Change-Id: Id128b4a70a276ee86270372ff7954e40bde8123c
CRs-Fixed: 2754305
This commit is contained in:
Kiran Kumar Lokere
2020-08-12 17:33:31 -07:00
committed by snandini
parent c4036d58ad
commit 0044d8c41c
6 changed files with 71 additions and 0 deletions

View File

@@ -193,6 +193,31 @@
0, \
"send deauth before connection")
/*
* <ini>
* deauth_retry_cnt- No. of deauth retries if the Tx is failed
* @Min: 0
* @Max: 4
* @Default: 2
*
* This ini is used to set retry deauth if Tx is not success.
*
* Related: None
*
* Supported Feature: STA
*
* Usage: Internal/External
*
* </ini>
*/
#define CFG_DEAUTH_RETRY_CNT CFG_INI_UINT( \
"deauth_retry_cnt", \
0, \
4, \
2, \
CFG_VALUE_OR_DEFAULT, \
"Set Deauth retry count")
/*
* <ini>
* gDot11PMode - 802.11p mode
@@ -441,6 +466,7 @@
CFG(CFG_PPS_ENABLE_5G_EBT) \
CFG(CFG_ENABLE_DEAUTH_BEFORE_CONNECTION) \
CFG(CFG_DOT11P_MODE) \
CFG(CFG_DEAUTH_RETRY_CNT) \
CFG(CFG_ENABLE_GO_CTS2SELF_FOR_STA) \
CFG(CFG_QCN_IE_SUPPORT) \
CFG(CFG_STA_MCAST_MCC_REST_TIME) \