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:

committed by
Madan Koyyalamudi

parent
dd1f166ab7
commit
bad0b3e491
@@ -655,6 +655,8 @@ static void mlme_init_timeout_cfg(struct wlan_objmgr_psoc *psoc,
|
||||
cfg_get(psoc, CFG_AP_LINK_MONITOR_TIMEOUT);
|
||||
timeouts->wmi_wq_watchdog_timeout =
|
||||
cfg_get(psoc, CFG_WMI_WQ_WATCHDOG);
|
||||
timeouts->sae_auth_failure_timeout =
|
||||
cfg_get(psoc, CFG_SAE_AUTH_FAILURE_TIMEOUT);
|
||||
}
|
||||
|
||||
static void mlme_init_ht_cap_in_cfg(struct wlan_objmgr_psoc *psoc,
|
||||
|
@@ -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 */
|
||||
|
@@ -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;
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user