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
diff --git a/wmi_unified_param.h b/wmi_unified_param.h
index 649a1c2..ff139fe 100644
--- a/wmi_unified_param.h
+++ b/wmi_unified_param.h
@@ -1915,6 +1915,8 @@
* @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 @@
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;
diff --git a/wmi_unified_roam_param.h b/wmi_unified_roam_param.h
index ce7921a..89c65cd 100644
--- a/wmi_unified_roam_param.h
+++ b/wmi_unified_roam_param.h
@@ -515,6 +515,8 @@
* @btm_solicited_timeout: Timeout value for waiting BTM request
* @btm_max_attempt_cnt: Maximum attempt for sending BTM query to ESS
* @btm_sticky_time: Stick time after roaming to new AP by BTM
+ * @disassoc_timer_threshold: threshold value till which the firmware can
+ * wait before triggering the roam scan after receiving the disassoc iminent
*/
struct wmi_btm_config {
uint8_t vdev_id;
@@ -522,6 +524,7 @@
uint32_t btm_solicited_timeout;
uint32_t btm_max_attempt_cnt;
uint32_t btm_sticky_time;
+ uint32_t disassoc_timer_threshold;
};
/**