qcacld-3.0: Send multiple ssid probe req to same bss during join procedure

In some instances, AP does not respond to probe req
causing join timeout at STA and no connection.
To solve this,send multiple probe requests(every 200ms)
to AP until join failure timeout(1 sec) expiry,
if single bssid case retry same bss again
(configurable via ini, max allowed tries 2).

Change-Id: I7a7eeedcc24db1a74cd186ff957c638a39cdea6d
CRs-Fixed: 2763815
This commit is contained in:
Amruta Kulkarni
2020-08-26 14:55:12 -07:00
committed by snandini
parent 02a1f113c8
commit 697f1926d1
5 changed files with 8 additions and 83 deletions

View File

@@ -781,28 +781,6 @@
0, \
"WiFi Location Service(WLS) is 6Ghz capable or not")
/*
* <ini>
* join_failure_retry_interval - Set join failure retry interval (in ms)
*
* @Min: 0
* @Max: 3000
* @Default: 50
*
* This ini to set the join failure retry interval in ms
*
* Related: None.
* Supported Feature: General
*
* Usage: Internal
*
* </ini>
*/
#define CFG_JOIN_FAILURE_RETRY_INTERVAL CFG_INI_UINT("join_failure_retry_interval", \
0, 3000, 50, CFG_VALUE_OR_DEFAULT, \
"Set join failure retry time in ms")
#define CFG_GENERIC_ALL \
CFG(CFG_ENABLE_DEBUG_PACKET_LOG) \
CFG(CFG_PMF_SA_QUERY_MAX_RETRIES) \
@@ -835,6 +813,5 @@
CFG(CFG_ENABLE_RING_BUFFER) \
CFG(CFG_DFS_CHAN_AGEOUT_TIME) \
CFG(CFG_SAE_CONNECION_RETRIES) \
CFG(CFG_JOIN_FAILURE_RETRY_INTERVAL) \
CFG(CFG_WLS_6GHZ_CAPABLE)
#endif /* __CFG_MLME_GENERIC_H */

View File

@@ -1212,7 +1212,6 @@ struct wlan_mlme_ratemask {
* @dual_sta_roam_fw_support: Firmware support for dual sta roaming feature
* @sae_connect_retries: sae connect retry bitmask
* @wls_6ghz_capable: wifi location service(WLS) is 6ghz capable
* @join_failure_retry_interval: Join failure retry interval
*/
struct wlan_mlme_generic {
uint32_t band_capability;
@@ -1255,7 +1254,6 @@ struct wlan_mlme_generic {
bool dual_sta_roam_fw_support;
uint32_t sae_connect_retries;
bool wls_6ghz_capable;
uint16_t join_failure_retry_interval;
};
/*