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:

committed by
nshrivas

parent
89d660b249
commit
3bca781f53
@@ -1915,6 +1915,8 @@ struct roam_fils_params {
|
|||||||
* @assoc_ie: Assoc IE buffer
|
* @assoc_ie: Assoc IE buffer
|
||||||
* @add_fils_tlv: add FILS TLV boolean
|
* @add_fils_tlv: add FILS TLV boolean
|
||||||
* @roam_fils_params: roam fils params
|
* @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 {
|
struct roam_offload_scan_params {
|
||||||
uint8_t is_roam_req_valid;
|
uint8_t is_roam_req_valid;
|
||||||
@@ -1936,6 +1938,7 @@ struct roam_offload_scan_params {
|
|||||||
int auth_mode;
|
int auth_mode;
|
||||||
bool fw_okc;
|
bool fw_okc;
|
||||||
bool fw_pmksa_cache;
|
bool fw_pmksa_cache;
|
||||||
|
uint32_t rct_validity_timer;
|
||||||
#endif
|
#endif
|
||||||
uint32_t min_delay_btw_roam_scans;
|
uint32_t min_delay_btw_roam_scans;
|
||||||
uint32_t roam_trigger_reason_bitmask;
|
uint32_t roam_trigger_reason_bitmask;
|
||||||
|
@@ -515,6 +515,8 @@ struct hlp_params {
|
|||||||
* @btm_solicited_timeout: Timeout value for waiting BTM request
|
* @btm_solicited_timeout: Timeout value for waiting BTM request
|
||||||
* @btm_max_attempt_cnt: Maximum attempt for sending BTM query to ESS
|
* @btm_max_attempt_cnt: Maximum attempt for sending BTM query to ESS
|
||||||
* @btm_sticky_time: Stick time after roaming to new AP by BTM
|
* @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 {
|
struct wmi_btm_config {
|
||||||
uint8_t vdev_id;
|
uint8_t vdev_id;
|
||||||
@@ -522,6 +524,7 @@ struct wmi_btm_config {
|
|||||||
uint32_t btm_solicited_timeout;
|
uint32_t btm_solicited_timeout;
|
||||||
uint32_t btm_max_attempt_cnt;
|
uint32_t btm_max_attempt_cnt;
|
||||||
uint32_t btm_sticky_time;
|
uint32_t btm_sticky_time;
|
||||||
|
uint32_t disassoc_timer_threshold;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user