mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 05:29:04 -04:00
qcacmn: Add new config for BTM offload
Add new parameters into wmi btm config cmd for solicited BTM offload. Change-Id: I24cc680bbfde3d44a57b1e1ccf644c2bed515a2c CRs-Fixed: 2168259
This commit is contained in:
parent
bf12587bd1
commit
60f4ee3b58
2 changed files with 10 additions and 0 deletions
|
|
@ -8118,10 +8118,16 @@ struct wmi_mawc_roam_params {
|
|||
* struct wmi_btm_config - BSS Transition Management offload params
|
||||
* @vdev_id: VDEV on which the parameters should be applied
|
||||
* @btm_offload_config: BTM config
|
||||
* @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
|
||||
*/
|
||||
struct wmi_btm_config {
|
||||
uint8_t vdev_id;
|
||||
uint32_t btm_offload_config;
|
||||
uint32_t btm_solicited_timeout;
|
||||
uint32_t btm_max_attempt_cnt;
|
||||
uint32_t btm_sticky_time;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -21062,6 +21062,10 @@ static QDF_STATUS send_btm_config_cmd_tlv(wmi_unified_t wmi_handle,
|
|||
WMITLV_GET_STRUCT_TLVLEN(wmi_btm_config_fixed_param));
|
||||
cmd->vdev_id = params->vdev_id;
|
||||
cmd->flags = params->btm_offload_config;
|
||||
cmd->max_attempt_cnt = params->btm_max_attempt_cnt;
|
||||
cmd->solicited_timeout_ms = params->btm_solicited_timeout;
|
||||
cmd->stick_time_seconds = params->btm_sticky_time;
|
||||
|
||||
if (wmi_unified_cmd_send(wmi_handle, buf, len,
|
||||
WMI_ROAM_BTM_CONFIG_CMDID)) {
|
||||
WMI_LOGE("%s: failed to send WMI_ROAM_BTM_CONFIG_CMDID",
|
||||
|
|
|
|||
Loading…
Reference in a new issue