qcacmn: Send idle and disconnect roam parameters to firmware
Add support for new wmi command WMI_ROAM_DEAUTH_CONFIG_CMDID to send disconnect roam trigger parameters and the new wmi command WMI_ROAM_IDLE_CONFIG_CMDID is used to send the idle roam trigger parameters. Update the idle roam and disconnect roam parameters and send them on the new wmi commands over wmi. Change-Id: I57acb90266d506d37dcbb58d50ef23fadc439e46 CRs-Fixed: 2431502
This commit is contained in:

committed by
nshrivas

parent
f7786d3822
commit
5e3cd0af27
@@ -1,6 +1,6 @@
|
||||
|
||||
/*
|
||||
* Copyright (c) 2013-2018 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2013-2019 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -300,6 +300,26 @@ QDF_STATUS wmi_unified_send_bss_load_config(void *wmi_hdl,
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
QDF_STATUS
|
||||
wmi_unified_send_disconnect_roam_params(wmi_unified_t wmi_handle,
|
||||
struct wmi_disconnect_roam_params *req)
|
||||
{
|
||||
if (wmi_handle->ops->send_disconnect_roam_params)
|
||||
return wmi_handle->ops->send_disconnect_roam_params(wmi_handle,
|
||||
req);
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
QDF_STATUS
|
||||
wmi_unified_send_idle_roam_params(wmi_unified_t wmi_handle,
|
||||
struct wmi_idle_roam_params *req)
|
||||
{
|
||||
if (wmi_handle->ops->send_idle_roam_params)
|
||||
return wmi_handle->ops->send_idle_roam_params(wmi_handle,
|
||||
req);
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
QDF_STATUS wmi_unified_offload_11k_cmd(void *wmi_hdl,
|
||||
struct wmi_11k_offload_params *params)
|
||||
{
|
||||
|
Reference in New Issue
Block a user