qcacld-3.0: Add ini support to configure MGMT retry limit
Currently, default MGMT retry limit is 4 which means 4 transmissions are supported for any management frame. In noisy environment, Chances to get connection failure are higher with 4 retransmissions. Fix is to add INI support mgmt_retry_max to make CFG_MGMT_RETRY_MAX configurable. Default value for CFG_MGMT_RETRY_MAX is 15 to reduce the chances of connection failure in noisy environment. Change-Id: Id50cb68813fba517a8a1580a3d6662c73b0a381e CRs-Fixed: 2575385
This commit is contained in:
@@ -617,6 +617,29 @@
|
||||
0, \
|
||||
"Enable/disable 4 way handshake offload to firmware")
|
||||
|
||||
/*
|
||||
* <ini>
|
||||
* mgmt_retry_max - Maximum Retries for mgmt frames
|
||||
* @Min: 0
|
||||
* @Max: 31
|
||||
* @Default: 15
|
||||
*
|
||||
* This ini is used to set maximum retries for mgmt frames
|
||||
*
|
||||
* Supported Feature: STA/SAP
|
||||
*
|
||||
* Usage: External
|
||||
*
|
||||
* </ini>
|
||||
*/
|
||||
#define CFG_MGMT_RETRY_MAX CFG_INI_UINT( \
|
||||
"mgmt_retry_max", \
|
||||
0, \
|
||||
31, \
|
||||
15, \
|
||||
CFG_VALUE_OR_DEFAULT, \
|
||||
"Max retries for mgmt frames")
|
||||
|
||||
#define CFG_GENERIC_ALL \
|
||||
CFG(CFG_ENABLE_DEBUG_PACKET_LOG) \
|
||||
CFG(CFG_PMF_SA_QUERY_MAX_RETRIES) \
|
||||
@@ -644,5 +667,6 @@
|
||||
CFG(CFG_ITO_REPEAT_COUNT) \
|
||||
CFG(CFG_ENABLE_BEACON_RECEPTION_STATS) \
|
||||
CFG(CFG_REMOVE_TIME_STAMP_SYNC_CMD) \
|
||||
CFG(CFG_MGMT_RETRY_MAX) \
|
||||
|
||||
#endif /* __CFG_MLME_GENERIC_H */
|
||||
|
Reference in New Issue
Block a user