qcacmn: Add rct_validity_timer and disassoc_timer to wmi roam structures

Two new WCNSS_qcom.ini values "btm_validity_timer" and
"disassoc_timer" are introduced. These values are sent to
firmware over the structures wmi_roam_offload_tlv_param and
wmi_btm_config_fixed_param respectively. The values to this
structure are populated from struct roam_offload_scan_params.

Add rct_validity_timer in roam_offload_scan_params.
Populate these values from roam request to the structure
roam_offload_scan_params to be sent over the wmi command.

Change-Id: I6130e9966d520169b0f74b9726d35aa4fef6d81d
CRs-Fixed: 2369040
This commit is contained in:
Pragaspathi Thilagaraj
2018-12-12 18:32:46 +05:30
committed by nshrivas
parent 89d660b249
commit 3bca781f53
2 changed files with 6 additions and 0 deletions

View File

@@ -1915,6 +1915,8 @@ struct roam_fils_params {
* @assoc_ie: Assoc IE buffer
* @add_fils_tlv: add FILS TLV boolean
* @roam_fils_params: roam fils params
* @rct_validity_timer: duration value for which the entries in
* roam candidate table are valid
*/
struct roam_offload_scan_params {
uint8_t is_roam_req_valid;
@@ -1936,6 +1938,7 @@ struct roam_offload_scan_params {
int auth_mode;
bool fw_okc;
bool fw_pmksa_cache;
uint32_t rct_validity_timer;
#endif
uint32_t min_delay_btw_roam_scans;
uint32_t roam_trigger_reason_bitmask;