qcacld-3.0: Limit unicast probe req during join timeout in MCC

Currently probe request is sent every 200ms during join timeout
this can lead to 16+ probe req, send during join time.

Change logic to send max 5 probe req during join time,
if candidate freq can lead to MCC concurrency scenario.

Change-Id: I7956771e2cf6724754f59c6db5b07fb45426ae41
CRs-Fixed: 3338329
This commit is contained in:
Abhishek Singh
2022-11-16 12:25:06 +05:30
committed by Madan Koyyalamudi
parent 6b3dee0b65
commit eee0c37e9d
7 changed files with 68 additions and 10 deletions

View File

@@ -2328,6 +2328,7 @@ struct wlan_mlme_power {
/*
* struct wlan_mlme_timeout - mlme timeout related config items
* @join_failure_timeout: join failure timeout (can be changed in connect req)
* @probe_req_retry_timeout: Probe req retry timeout during join time
* @join_failure_timeout_ori: original value of above join timeout
* @auth_failure_timeout: authenticate failure timeout
* @auth_rsp_timeout: authenticate response timeout
@@ -2343,6 +2344,7 @@ struct wlan_mlme_power {
*/
struct wlan_mlme_timeout {
uint32_t join_failure_timeout;
uint32_t probe_req_retry_timeout;
uint32_t join_failure_timeout_ori;
uint32_t auth_failure_timeout;
uint32_t auth_rsp_timeout;