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:
sheenam monga
2019-12-11 20:00:17 +05:30
parent 2a2d3a715a
commit 451c68c41a
8 changed files with 69 additions and 3 deletions

View File

@@ -2295,4 +2295,16 @@ char *mlme_get_roam_fail_reason_str(uint32_t result);
* Return: Meaningful string from enum WMI_ROAM_TRIGGER_SUB_REASON_ID
*/
char *mlme_get_sub_reason_str(uint32_t sub_reason);
/**
* wlan_mlme_get_mgmt_max_retry() - Get the
* max mgmt retry
* @psoc: pointer to psoc object
* @max_retry: output pointer to hold user config
*
* Return: QDF Status
*/
QDF_STATUS
wlan_mlme_get_mgmt_max_retry(struct wlan_objmgr_psoc *psoc,
uint8_t *max_retry);
#endif /* _WLAN_MLME_API_H_ */