qcacld-3.0: Add an INI to configure SAE auth failure timeout

Currently, the SAE authentication request retry happens
after a fixed timeout of 1 second in a STA DUT.

To make this timeout user configurable, add an INI to
configure SAE auth failure timeout.

Change-Id: I3a3944ab14564a944e0c83cc31a92847b5e8c5e0
CRs-Fixed: 3011892
This commit is contained in:
Surya Prakash Sivaraj
2021-08-12 10:38:43 +05:30
committed by Madan Koyyalamudi
szülő dd1f166ab7
commit bad0b3e491
4 fájl változott, egészen pontosan 32 új sor hozzáadva és 5 régi sor törölve

Fájl megtekintése

@@ -288,6 +288,27 @@
CFG_VALUE_OR_DEFAULT, \
"timeout period for wmi watchdog bite")
/*
* <ini>
* sae_auth_failure_timeout - SAE Auth failure timeout value in msec
* @Min: 500
* @Max: 1000
* @Default: 1000
*
* This cfg is used to configure the SAE auth failure timeout.
*
* Usage: External
*
* </ini>
*/
#define CFG_SAE_AUTH_FAILURE_TIMEOUT CFG_INI_UINT( \
"sae_auth_failure_timeout", \
500, \
1000, \
1000, \
CFG_VALUE_OR_DEFAULT, \
"SAE auth failure timeout")
#define CFG_TIMEOUT_ALL \
CFG(CFG_JOIN_FAILURE_TIMEOUT) \
CFG(CFG_AUTH_FAILURE_TIMEOUT) \
@@ -300,6 +321,7 @@
CFG(CFG_HEART_BEAT_THRESHOLD) \
CFG(CFG_AP_KEEP_ALIVE_TIMEOUT) \
CFG(CFG_AP_LINK_MONITOR_TIMEOUT) \
CFG(CFG_WMI_WQ_WATCHDOG)
CFG(CFG_WMI_WQ_WATCHDOG) \
CFG(CFG_SAE_AUTH_FAILURE_TIMEOUT)
#endif /* __CFG_MLME_TIMEOUT_H */

Fájl megtekintése

@@ -2225,6 +2225,7 @@ struct wlan_mlme_power {
* @ap_keep_alive_timeout: AP keep alive timeout value
* @ap_link_monitor_timeout: AP link monitor timeout value
* @wmi_wq_watchdog_timeout: timeout period for wmi watchdog bite
* @sae_auth_failure_timeout: SAE authentication failure timeout
*/
struct wlan_mlme_timeout {
uint32_t join_failure_timeout;
@@ -2240,6 +2241,7 @@ struct wlan_mlme_timeout {
uint32_t ap_keep_alive_timeout;
uint32_t ap_link_monitor_timeout;
uint32_t wmi_wq_watchdog_timeout;
uint32_t sae_auth_failure_timeout;
};
/**