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
Este commit está contenido en:
Pragaspathi Thilagaraj
2019-03-31 16:46:28 +05:30
cometido por nshrivas
padre f7786d3822
commit 5e3cd0af27
Se han modificado 5 ficheros con 200 adiciones y 2 borrados

Ver fichero

@@ -1,5 +1,5 @@
/*
* 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
@@ -308,6 +308,29 @@ QDF_STATUS wmi_unified_send_btm_config(void *wmi_hdl,
QDF_STATUS wmi_unified_send_bss_load_config(void *wmi_hdl,
struct wmi_bss_load_config *params);
/**
* wmi_unified_send_disconnect_roam_params() - Send disconnect roam trigger
* parameters to firmware
* @wmi_hdl: wmi handle
* @params: pointer to wmi_disconnect_roam_params
*
* Return: QDF_STATUS
*/
QDF_STATUS
wmi_unified_send_disconnect_roam_params(wmi_unified_t wmi_handle,
struct wmi_disconnect_roam_params *req);
/**
* wmi_unified_send_idle_roam_params() - Send idle roam trigger params to fw
* @wmi_hdl: wmi handle
* @params: pointer to wmi_idle_roam_params
*
* Return: QDF_STATUS
*/
QDF_STATUS
wmi_unified_send_idle_roam_params(wmi_unified_t wmi_handle,
struct wmi_idle_roam_params *req);
/**
* wmi_unified_offload_11k_cmd() - send 11k offload command
* @wmi_hdl: wmi handle