blob: 8b2f7b2f5adba06f1c54bbd58b07f22a44b60dae [file] [log] [blame]
Govind Singh3ddda1f2016-03-09 11:34:12 +05301/*
Paul Zhanga9ec9432017-01-04 16:45:42 +08002 * Copyright (c) 2016-2017 The Linux Foundation. All rights reserved.
Govind Singh3ddda1f2016-03-09 11:34:12 +05303 *
4 * Previously licensed under the ISC license by Qualcomm Atheros, Inc.
5 *
6 *
7 * Permission to use, copy, modify, and/or distribute this software for
8 * any purpose with or without fee is hereby granted, provided that the
9 * above copyright notice and this permission notice appear in all
10 * copies.
11 *
12 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
13 * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
14 * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
15 * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
16 * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
17 * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
18 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
19 * PERFORMANCE OF THIS SOFTWARE.
20 */
21
22/*
23 * This file was originally distributed by Qualcomm Atheros, Inc.
24 * under proprietary terms before Copyright ownership was assigned
25 * to the Linux Foundation.
26 */
Govind Singhe7b800c2016-03-01 15:30:53 +053027#ifndef _WMI_UNIFIED_TLV_H_
28#define _WMI_UNIFIED_TLV_H_
Govind Singh3ddda1f2016-03-09 11:34:12 +053029#include <osdep.h>
30#include "a_types.h"
31#include "wmi_unified_param.h"
Himanshu Agarwal56c292f2016-07-19 15:41:51 +053032#include "wmi.h"
33#include "wmi_unified.h"
Govind Singh3ddda1f2016-03-09 11:34:12 +053034#include "ol_defines.h" /* Fix Me: wmi_unified_t structure definition */
35
Govind Singhd7468a52016-03-09 14:32:57 +053036QDF_STATUS send_vdev_create_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh3ddda1f2016-03-09 11:34:12 +053037 uint8_t macaddr[IEEE80211_ADDR_LEN],
38 struct vdev_create_params *param);
39
Govind Singhd7468a52016-03-09 14:32:57 +053040QDF_STATUS send_vdev_delete_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh3ddda1f2016-03-09 11:34:12 +053041 uint8_t if_id);
42
Govind Singhd7468a52016-03-09 14:32:57 +053043QDF_STATUS send_vdev_stop_cmd_tlv(wmi_unified_t wmi,
Govind Singh3ddda1f2016-03-09 11:34:12 +053044 uint8_t vdev_id);
45
Govind Singhd7468a52016-03-09 14:32:57 +053046QDF_STATUS send_vdev_down_cmd_tlv(wmi_unified_t wmi,
Govind Singh3ddda1f2016-03-09 11:34:12 +053047 uint8_t vdev_id);
48
Himanshu Agarwal7e4f4bc2016-03-09 16:49:38 +053049QDF_STATUS send_vdev_start_cmd_tlv(wmi_unified_t wmi,
50 struct vdev_start_params *req);
51
52QDF_STATUS send_hidden_ssid_vdev_restart_cmd_tlv(wmi_unified_t wmi_handle,
53 struct hidden_ssid_vdev_restart_params *restart_params);
54
Govind Singhd7468a52016-03-09 14:32:57 +053055QDF_STATUS send_peer_flush_tids_cmd_tlv(wmi_unified_t wmi,
Govind Singh3ddda1f2016-03-09 11:34:12 +053056 uint8_t peer_addr[IEEE80211_ADDR_LEN],
57 struct peer_flush_params *param);
58
Govind Singhd7468a52016-03-09 14:32:57 +053059QDF_STATUS send_peer_delete_cmd_tlv(wmi_unified_t wmi,
Govind Singh3ddda1f2016-03-09 11:34:12 +053060 uint8_t peer_addr[IEEE80211_ADDR_LEN],
61 uint8_t vdev_id);
62
Govind Singhd7468a52016-03-09 14:32:57 +053063QDF_STATUS send_peer_param_cmd_tlv(wmi_unified_t wmi,
Govind Singh3ddda1f2016-03-09 11:34:12 +053064 uint8_t peer_addr[IEEE80211_ADDR_LEN],
65 struct peer_set_params *param);
66
Govind Singhd7468a52016-03-09 14:32:57 +053067QDF_STATUS send_vdev_up_cmd_tlv(wmi_unified_t wmi,
Govind Singh3ddda1f2016-03-09 11:34:12 +053068 uint8_t bssid[IEEE80211_ADDR_LEN],
69 struct vdev_up_params *params);
70
Govind Singhd7468a52016-03-09 14:32:57 +053071QDF_STATUS send_peer_create_cmd_tlv(wmi_unified_t wmi,
Govind Singh3ddda1f2016-03-09 11:34:12 +053072 struct peer_create_params *param);
73
Govind Singhd7468a52016-03-09 14:32:57 +053074QDF_STATUS send_green_ap_ps_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh3ddda1f2016-03-09 11:34:12 +053075 uint32_t value, uint8_t mac_id);
76
Govind Singhd7468a52016-03-09 14:32:57 +053077QDF_STATUS
Govind Singh3ddda1f2016-03-09 11:34:12 +053078send_pdev_utf_cmd_tlv(wmi_unified_t wmi_handle,
79 struct pdev_utf_params *param,
80 uint8_t mac_id);
81
Govind Singhd7468a52016-03-09 14:32:57 +053082QDF_STATUS
Govind Singh3ddda1f2016-03-09 11:34:12 +053083send_pdev_param_cmd_tlv(wmi_unified_t wmi_handle,
84 struct pdev_params *param,
85 uint8_t mac_id);
86
Govind Singhd7468a52016-03-09 14:32:57 +053087QDF_STATUS send_suspend_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh3ddda1f2016-03-09 11:34:12 +053088 struct suspend_params *param,
89 uint8_t mac_id);
90
Govind Singhd7468a52016-03-09 14:32:57 +053091QDF_STATUS send_resume_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh3ddda1f2016-03-09 11:34:12 +053092 uint8_t mac_id);
93
Govind Singhd7468a52016-03-09 14:32:57 +053094QDF_STATUS send_wow_enable_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh3ddda1f2016-03-09 11:34:12 +053095 struct wow_cmd_params *param,
96 uint8_t mac_id);
97
Govind Singhd7468a52016-03-09 14:32:57 +053098QDF_STATUS send_set_ap_ps_param_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh3ddda1f2016-03-09 11:34:12 +053099 uint8_t *peer_addr,
100 struct ap_ps_params *param);
101
Govind Singhd7468a52016-03-09 14:32:57 +0530102QDF_STATUS send_set_sta_ps_param_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh3ddda1f2016-03-09 11:34:12 +0530103 struct sta_ps_params *param);
104
Govind Singhd7468a52016-03-09 14:32:57 +0530105QDF_STATUS send_crash_inject_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh3ddda1f2016-03-09 11:34:12 +0530106 struct crash_inject *param);
107
Govind Singhd7468a52016-03-09 14:32:57 +0530108QDF_STATUS
Govind Singh3ddda1f2016-03-09 11:34:12 +0530109send_dbglog_cmd_tlv(wmi_unified_t wmi_handle,
110 struct dbglog_params *dbglog_param);
111
112
Govind Singhd7468a52016-03-09 14:32:57 +0530113QDF_STATUS send_vdev_set_param_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh3ddda1f2016-03-09 11:34:12 +0530114 struct vdev_set_params *param);
115
Govind Singhd7468a52016-03-09 14:32:57 +0530116QDF_STATUS send_stats_request_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh3ddda1f2016-03-09 11:34:12 +0530117 uint8_t macaddr[IEEE80211_ADDR_LEN],
118 struct stats_request_params *param);
119
Govind Singhfa201d92016-06-08 19:40:11 +0530120#ifdef CONFIG_WIN
121QDF_STATUS send_packet_log_enable_cmd_tlv(wmi_unified_t wmi_handle,
122 WMI_HOST_PKTLOG_EVENT PKTLOG_EVENT);
123#else
Govind Singhd7468a52016-03-09 14:32:57 +0530124QDF_STATUS send_packet_log_enable_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh3ddda1f2016-03-09 11:34:12 +0530125 uint8_t macaddr[IEEE80211_ADDR_LEN],
126 struct packet_enable_params *param);
Govind Singhfa201d92016-06-08 19:40:11 +0530127#endif
Govind Singhd7468a52016-03-09 14:32:57 +0530128QDF_STATUS send_beacon_send_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh3ddda1f2016-03-09 11:34:12 +0530129 struct beacon_params *param);
130
Govind Singhd7468a52016-03-09 14:32:57 +0530131QDF_STATUS send_peer_assoc_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh3ddda1f2016-03-09 11:34:12 +0530132 struct peer_assoc_params *param);
133
Govind Singhd7468a52016-03-09 14:32:57 +0530134QDF_STATUS send_scan_start_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh3ddda1f2016-03-09 11:34:12 +0530135 struct scan_start_params *param);
136
Govind Singhd7468a52016-03-09 14:32:57 +0530137QDF_STATUS send_scan_stop_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh3ddda1f2016-03-09 11:34:12 +0530138 struct scan_stop_params *param);
139
Govind Singhd7468a52016-03-09 14:32:57 +0530140QDF_STATUS send_scan_chan_list_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh3ddda1f2016-03-09 11:34:12 +0530141 struct scan_chan_list_params *param);
142
Govind Singhd7468a52016-03-09 14:32:57 +0530143QDF_STATUS send_mgmt_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh50988cc2016-02-26 18:09:36 +0530144 struct wmi_mgmt_params *param);
145
Govind Singhd7468a52016-03-09 14:32:57 +0530146QDF_STATUS send_modem_power_state_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh50988cc2016-02-26 18:09:36 +0530147 uint32_t param_value);
148
Govind Singhd7468a52016-03-09 14:32:57 +0530149QDF_STATUS send_set_sta_ps_mode_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh50988cc2016-02-26 18:09:36 +0530150 uint32_t vdev_id, uint8_t val);
151
Govind Singhd7468a52016-03-09 14:32:57 +0530152QDF_STATUS send_set_sta_uapsd_auto_trig_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh50988cc2016-02-26 18:09:36 +0530153 struct sta_uapsd_trig_params *param);
154
Govind Singhd7468a52016-03-09 14:32:57 +0530155QDF_STATUS send_get_temperature_cmd_tlv(wmi_unified_t wmi_handle);
Govind Singh50988cc2016-02-26 18:09:36 +0530156
Govind Singhd7468a52016-03-09 14:32:57 +0530157QDF_STATUS send_set_p2pgo_oppps_req_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh50988cc2016-02-26 18:09:36 +0530158 struct p2p_ps_params *oppps);
159
Govind Singhd7468a52016-03-09 14:32:57 +0530160QDF_STATUS send_set_p2pgo_noa_req_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh50988cc2016-02-26 18:09:36 +0530161 struct p2p_ps_params *noa);
162
Govind Singhd7468a52016-03-09 14:32:57 +0530163QDF_STATUS send_set_smps_params_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singhae855362016-03-07 14:24:22 +0530164 uint8_t vdev_id,
Govind Singh50988cc2016-02-26 18:09:36 +0530165 int value);
166
Govind Singhd7468a52016-03-09 14:32:57 +0530167QDF_STATUS send_set_mimops_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh50988cc2016-02-26 18:09:36 +0530168 uint8_t vdev_id, int value);
169
Govind Singhd7468a52016-03-09 14:32:57 +0530170QDF_STATUS send_ocb_set_utc_time_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singhe7b800c2016-03-01 15:30:53 +0530171 struct ocb_utc_param *utc);
172
Govind Singhd7468a52016-03-09 14:32:57 +0530173QDF_STATUS send_ocb_start_timing_advert_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singhe7b800c2016-03-01 15:30:53 +0530174 struct ocb_timing_advert_param *timing_advert);
175
Govind Singhd7468a52016-03-09 14:32:57 +0530176QDF_STATUS send_ocb_stop_timing_advert_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singhe7b800c2016-03-01 15:30:53 +0530177 struct ocb_timing_advert_param *timing_advert);
178
Govind Singhd7468a52016-03-09 14:32:57 +0530179QDF_STATUS send_ocb_get_tsf_timer_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singhe7b800c2016-03-01 15:30:53 +0530180 uint8_t vdev_id);
181
Govind Singhd7468a52016-03-09 14:32:57 +0530182QDF_STATUS send_dcc_get_stats_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singhe7b800c2016-03-01 15:30:53 +0530183 struct dcc_get_stats_param *get_stats_param);
184
Govind Singhd7468a52016-03-09 14:32:57 +0530185QDF_STATUS send_dcc_clear_stats_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singhe7b800c2016-03-01 15:30:53 +0530186 uint32_t vdev_id, uint32_t dcc_stats_bitmap);
187
Govind Singhd7468a52016-03-09 14:32:57 +0530188QDF_STATUS send_dcc_update_ndl_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singhe7b800c2016-03-01 15:30:53 +0530189 struct dcc_update_ndl_param *update_ndl_param);
190
Govind Singhd7468a52016-03-09 14:32:57 +0530191QDF_STATUS send_ocb_set_config_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singhe7b800c2016-03-01 15:30:53 +0530192 struct ocb_config_param *config, uint32_t *ch_mhz);
Govind Singhd7468a52016-03-09 14:32:57 +0530193QDF_STATUS send_lro_config_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh9bad0002016-03-01 15:54:59 +0530194 struct wmi_lro_config_cmd_t *wmi_lro_cmd);
195
Govind Singhd7468a52016-03-09 14:32:57 +0530196QDF_STATUS send_set_thermal_mgmt_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh9bad0002016-03-01 15:54:59 +0530197 struct thermal_cmd_params *thermal_info);
198
Poddar, Siddarth794b9962016-04-28 15:49:11 +0530199QDF_STATUS send_peer_rate_report_cmd_tlv(wmi_unified_t wmi_handle,
200 struct wmi_peer_rate_report_params *rate_report_params);
201
Govind Singhd7468a52016-03-09 14:32:57 +0530202QDF_STATUS send_set_mcc_channel_time_quota_cmd_tlv
Govind Singh9bad0002016-03-01 15:54:59 +0530203 (wmi_unified_t wmi_handle,
204 uint32_t adapter_1_chan_freq,
205 uint32_t adapter_1_quota, uint32_t adapter_2_chan_freq);
206
Govind Singhd7468a52016-03-09 14:32:57 +0530207QDF_STATUS send_set_mcc_channel_time_latency_cmd_tlv
Govind Singh9bad0002016-03-01 15:54:59 +0530208 (wmi_unified_t wmi_handle,
209 uint32_t mcc_channel_freq, uint32_t mcc_channel_time_latency);
210
Govind Singhd7468a52016-03-09 14:32:57 +0530211QDF_STATUS send_set_enable_disable_mcc_adaptive_scheduler_cmd_tlv(
Govind Singh608e8892016-04-16 19:24:23 -0700212 wmi_unified_t wmi_handle, uint32_t mcc_adaptive_scheduler,
213 uint32_t pdev_id);
Govind Singhae855362016-03-07 14:24:22 +0530214
Govind Singhd7468a52016-03-09 14:32:57 +0530215QDF_STATUS send_p2p_go_set_beacon_ie_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singhae855362016-03-07 14:24:22 +0530216 A_UINT32 vdev_id, uint8_t *p2p_ie);
217
Govind Singhd7468a52016-03-09 14:32:57 +0530218QDF_STATUS send_probe_rsp_tmpl_send_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singhae855362016-03-07 14:24:22 +0530219 uint8_t vdev_id,
220 struct wmi_probe_resp_params *probe_rsp_info,
221 uint8_t *frm);
222
Himanshu Agarwal9efd9bf2016-03-09 18:49:18 +0530223QDF_STATUS send_setup_install_key_cmd_tlv(wmi_unified_t wmi_handle,
224 struct set_key_params *key_params);
225
Govind Singhd7468a52016-03-09 14:32:57 +0530226QDF_STATUS send_process_update_edca_param_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singhae855362016-03-07 14:24:22 +0530227 uint8_t vdev_id,
228 wmi_wmm_vparams gwmm_param[WMI_MAX_NUM_AC]);
229
Govind Singhd7468a52016-03-09 14:32:57 +0530230QDF_STATUS send_vdev_set_gtx_cfg_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singhae855362016-03-07 14:24:22 +0530231 uint32_t if_id,
232 struct wmi_gtx_config *gtx_info);
233
Govind Singhd7468a52016-03-09 14:32:57 +0530234QDF_STATUS send_set_sta_keep_alive_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singhae855362016-03-07 14:24:22 +0530235 struct sta_params *params);
236
Govind Singhd7468a52016-03-09 14:32:57 +0530237QDF_STATUS send_set_sta_sa_query_param_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singhae855362016-03-07 14:24:22 +0530238 uint8_t vdev_id, uint32_t max_retries,
239 uint32_t retry_interval);
240
Govind Singhd7468a52016-03-09 14:32:57 +0530241QDF_STATUS send_bcn_buf_ll_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singhae855362016-03-07 14:24:22 +0530242 wmi_bcn_send_from_host_cmd_fixed_param *param);
243
Govind Singhd7468a52016-03-09 14:32:57 +0530244QDF_STATUS send_set_gateway_params_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singhae855362016-03-07 14:24:22 +0530245 struct gateway_update_req_param *req);
246
Govind Singhd7468a52016-03-09 14:32:57 +0530247QDF_STATUS send_set_rssi_monitoring_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singhae855362016-03-07 14:24:22 +0530248 struct rssi_monitor_param *req);
249
Govind Singhd7468a52016-03-09 14:32:57 +0530250QDF_STATUS send_ipa_offload_control_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singhae855362016-03-07 14:24:22 +0530251 struct ipa_offload_control_params *ipa_offload);
252
Govind Singhd7468a52016-03-09 14:32:57 +0530253QDF_STATUS send_scan_probe_setoui_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singhae855362016-03-07 14:24:22 +0530254 struct scan_mac_oui *psetoui);
255
Govind Singhd7468a52016-03-09 14:32:57 +0530256QDF_STATUS send_reset_passpoint_network_list_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singhae855362016-03-07 14:24:22 +0530257 struct wifi_passpoint_req_param *req);
258
Govind Singhd7468a52016-03-09 14:32:57 +0530259QDF_STATUS send_set_passpoint_network_list_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singhae855362016-03-07 14:24:22 +0530260 struct wifi_passpoint_req_param *req);
261
Himanshu Agarwal5f2d0482016-03-09 15:25:44 +0530262QDF_STATUS send_roam_scan_offload_mode_cmd_tlv(wmi_unified_t wmi_handle,
263 wmi_start_scan_cmd_fixed_param *scan_cmd_fp,
264 struct roam_offload_scan_params *roam_req);
265
266QDF_STATUS send_roam_scan_offload_rssi_thresh_cmd_tlv(wmi_unified_t wmi_handle,
267 struct roam_offload_scan_rssi_params *roam_req);
268
269QDF_STATUS send_roam_scan_filter_cmd_tlv(wmi_unified_t wmi_handle,
270 struct roam_scan_filter_params *roam_req);
271
Govind Singhd7468a52016-03-09 14:32:57 +0530272QDF_STATUS send_set_ric_req_cmd_tlv(wmi_unified_t wmi_handle, void *msg,
Govind Singhae855362016-03-07 14:24:22 +0530273 uint8_t is_add_ts);
274
Govind Singhd7468a52016-03-09 14:32:57 +0530275QDF_STATUS send_set_epno_network_list_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singhae855362016-03-07 14:24:22 +0530276 struct wifi_enhanched_pno_params *req);
277
Govind Singhd7468a52016-03-09 14:32:57 +0530278QDF_STATUS send_extscan_get_capabilities_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singhae855362016-03-07 14:24:22 +0530279 struct extscan_capabilities_params *pgetcapab);
280
Govind Singhd7468a52016-03-09 14:32:57 +0530281QDF_STATUS send_extscan_get_cached_results_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singhae855362016-03-07 14:24:22 +0530282 struct extscan_cached_result_params *pcached_results);
283
Govind Singhd7468a52016-03-09 14:32:57 +0530284QDF_STATUS send_extscan_stop_change_monitor_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singhae855362016-03-07 14:24:22 +0530285 struct extscan_capabilities_reset_params *reset_req);
286
Govind Singhd7468a52016-03-09 14:32:57 +0530287QDF_STATUS send_extscan_start_change_monitor_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singhae855362016-03-07 14:24:22 +0530288 struct extscan_set_sig_changereq_params *
289 psigchange);
290
Govind Singhd7468a52016-03-09 14:32:57 +0530291QDF_STATUS send_extscan_stop_hotlist_monitor_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singhae855362016-03-07 14:24:22 +0530292 struct extscan_bssid_hotlist_reset_params *photlist_reset);
293
Govind Singhd7468a52016-03-09 14:32:57 +0530294QDF_STATUS send_stop_extscan_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singhae855362016-03-07 14:24:22 +0530295 struct extscan_stop_req_params *pstopcmd);
296
Govind Singhd7468a52016-03-09 14:32:57 +0530297QDF_STATUS send_start_extscan_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singhae855362016-03-07 14:24:22 +0530298 struct wifi_scan_cmd_req_params *pstart);
299
Govind Singhd7468a52016-03-09 14:32:57 +0530300QDF_STATUS send_plm_stop_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singhae855362016-03-07 14:24:22 +0530301 const struct plm_req_params *plm);
302
Govind Singhd7468a52016-03-09 14:32:57 +0530303QDF_STATUS send_plm_start_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singhae855362016-03-07 14:24:22 +0530304 const struct plm_req_params *plm,
305 uint32_t *gchannel_list);
306
Govind Singhd7468a52016-03-09 14:32:57 +0530307QDF_STATUS send_pno_stop_cmd_tlv(wmi_unified_t wmi_handle, uint8_t vdev_id);
Govind Singhae855362016-03-07 14:24:22 +0530308
Govind Singhd7468a52016-03-09 14:32:57 +0530309QDF_STATUS send_pno_start_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singhae855362016-03-07 14:24:22 +0530310 struct pno_scan_req_params *pno,
311 uint32_t *gchannel_freq_list);
312
Govind Singhd7468a52016-03-09 14:32:57 +0530313QDF_STATUS send_process_ll_stats_clear_cmd_tlv
Govind Singhae855362016-03-07 14:24:22 +0530314 (wmi_unified_t wmi_handle,
315 const struct ll_stats_clear_params *clear_req,
316 uint8_t addr[IEEE80211_ADDR_LEN]);
317
Govind Singhd7468a52016-03-09 14:32:57 +0530318QDF_STATUS send_process_ll_stats_set_cmd_tlv
Govind Singhae855362016-03-07 14:24:22 +0530319 (wmi_unified_t wmi_handle, const struct ll_stats_set_params *set_req);
320
Govind Singhd7468a52016-03-09 14:32:57 +0530321QDF_STATUS send_process_ll_stats_get_cmd_tlv
Govind Singhae855362016-03-07 14:24:22 +0530322 (wmi_unified_t wmi_handle, const struct ll_stats_get_params *get_req,
323 uint8_t addr[IEEE80211_ADDR_LEN]);
324
Govind Singhd7468a52016-03-09 14:32:57 +0530325QDF_STATUS send_get_stats_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singhae855362016-03-07 14:24:22 +0530326 struct pe_stats_req *get_stats_param,
327 uint8_t addr[IEEE80211_ADDR_LEN]);
Govind Singh229bc0d2016-03-07 15:33:31 +0530328
Govind Singhd7468a52016-03-09 14:32:57 +0530329QDF_STATUS send_snr_request_cmd_tlv(wmi_unified_t wmi_handle);
Govind Singh229bc0d2016-03-07 15:33:31 +0530330
Govind Singhd7468a52016-03-09 14:32:57 +0530331QDF_STATUS send_snr_cmd_tlv(wmi_unified_t wmi_handle, uint8_t vdev_id);
Govind Singh229bc0d2016-03-07 15:33:31 +0530332
Govind Singhd7468a52016-03-09 14:32:57 +0530333QDF_STATUS send_link_status_req_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh229bc0d2016-03-07 15:33:31 +0530334 struct link_status_params *link_status);
335
Govind Singhd7468a52016-03-09 14:32:57 +0530336QDF_STATUS send_lphb_config_hbenable_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh229bc0d2016-03-07 15:33:31 +0530337 wmi_hb_set_enable_cmd_fixed_param *params);
338
Govind Singhd7468a52016-03-09 14:32:57 +0530339QDF_STATUS send_lphb_config_tcp_params_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh229bc0d2016-03-07 15:33:31 +0530340 wmi_hb_set_tcp_params_cmd_fixed_param *lphb_conf_req);
341
Govind Singhd7468a52016-03-09 14:32:57 +0530342QDF_STATUS send_lphb_config_tcp_pkt_filter_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh229bc0d2016-03-07 15:33:31 +0530343 wmi_hb_set_tcp_pkt_filter_cmd_fixed_param *g_hb_tcp_filter_fp);
344
Govind Singhd7468a52016-03-09 14:32:57 +0530345QDF_STATUS send_lphb_config_udp_params_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh229bc0d2016-03-07 15:33:31 +0530346 wmi_hb_set_udp_params_cmd_fixed_param *lphb_conf_req);
347
Govind Singhd7468a52016-03-09 14:32:57 +0530348QDF_STATUS send_lphb_config_udp_pkt_filter_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh229bc0d2016-03-07 15:33:31 +0530349 wmi_hb_set_udp_pkt_filter_cmd_fixed_param *lphb_conf_req);
350
Govind Singhd7468a52016-03-09 14:32:57 +0530351QDF_STATUS send_process_dhcp_ind_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh229bc0d2016-03-07 15:33:31 +0530352 wmi_peer_set_param_cmd_fixed_param *ta_dhcp_ind);
353
Govind Singhd7468a52016-03-09 14:32:57 +0530354QDF_STATUS send_get_link_speed_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh229bc0d2016-03-07 15:33:31 +0530355 wmi_mac_addr peer_macaddr);
356
Govind Singhd7468a52016-03-09 14:32:57 +0530357QDF_STATUS send_egap_conf_params_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh229bc0d2016-03-07 15:33:31 +0530358 wmi_ap_ps_egap_param_cmd_fixed_param *egap_params);
359
Paul Zhanga9ec9432017-01-04 16:45:42 +0800360QDF_STATUS send_action_frame_patterns_cmd_tlv(wmi_unified_t wmi_handle,
361 struct action_wakeup_set_param *action_params);
362
Govind Singhd7468a52016-03-09 14:32:57 +0530363QDF_STATUS send_fw_profiling_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh229bc0d2016-03-07 15:33:31 +0530364 uint32_t cmd, uint32_t value1, uint32_t value2);
365
Govind Singhd7468a52016-03-09 14:32:57 +0530366QDF_STATUS send_wow_sta_ra_filter_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh229bc0d2016-03-07 15:33:31 +0530367 uint8_t vdev_id, uint8_t default_pattern,
368 uint16_t rate_limit_interval);
369
Govind Singhd7468a52016-03-09 14:32:57 +0530370QDF_STATUS send_nat_keepalive_en_cmd_tlv(wmi_unified_t wmi_handle, uint8_t vdev_id);
Govind Singh229bc0d2016-03-07 15:33:31 +0530371
Govind Singhd7468a52016-03-09 14:32:57 +0530372QDF_STATUS send_csa_offload_enable_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh229bc0d2016-03-07 15:33:31 +0530373 uint8_t vdev_id);
374
Govind Singhd7468a52016-03-09 14:32:57 +0530375QDF_STATUS send_start_oem_data_cmd_tlv(wmi_unified_t wmi_handle,
Krishna Kumaar Natarajan7a59ca02016-07-21 15:02:44 -0700376 uint32_t data_len,
Govind Singh229bc0d2016-03-07 15:33:31 +0530377 uint8_t *data);
378
Govind Singhd7468a52016-03-09 14:32:57 +0530379QDF_STATUS
Govind Singh229bc0d2016-03-07 15:33:31 +0530380send_dfs_phyerr_filter_offload_en_cmd_tlv(wmi_unified_t wmi_handle,
381 bool dfs_phyerr_filter_offload);
382
Govind Singhd7468a52016-03-09 14:32:57 +0530383QDF_STATUS send_pktlog_wmi_send_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh229bc0d2016-03-07 15:33:31 +0530384 WMI_PKTLOG_EVENT pktlog_event,
Nirav Shah9d1f1ac2016-07-27 19:06:13 +0530385 WMI_CMD_ID cmd_id, uint8_t user_triggered);
Govind Singh229bc0d2016-03-07 15:33:31 +0530386
Govind Singhd7468a52016-03-09 14:32:57 +0530387QDF_STATUS send_add_wow_wakeup_event_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh229bc0d2016-03-07 15:33:31 +0530388 uint32_t vdev_id,
389 uint32_t bitmap,
390 bool enable);
391
Govind Singhd7468a52016-03-09 14:32:57 +0530392QDF_STATUS send_wow_patterns_to_fw_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh229bc0d2016-03-07 15:33:31 +0530393 uint8_t vdev_id, uint8_t ptrn_id,
394 const uint8_t *ptrn, uint8_t ptrn_len,
395 uint8_t ptrn_offset, const uint8_t *mask,
396 uint8_t mask_len, bool user,
397 uint8_t default_patterns);
398
Govind Singhd7468a52016-03-09 14:32:57 +0530399QDF_STATUS send_wow_delete_pattern_cmd_tlv(wmi_unified_t wmi_handle, uint8_t ptrn_id,
Govind Singh229bc0d2016-03-07 15:33:31 +0530400 uint8_t vdev_id);
401
Govind Singhd7468a52016-03-09 14:32:57 +0530402QDF_STATUS send_host_wakeup_ind_to_fw_cmd_tlv(wmi_unified_t wmi_handle);
Govind Singh229bc0d2016-03-07 15:33:31 +0530403
Govind Singhd7468a52016-03-09 14:32:57 +0530404QDF_STATUS send_del_ts_cmd_tlv(wmi_unified_t wmi_handle, uint8_t vdev_id,
Govind Singh229bc0d2016-03-07 15:33:31 +0530405 uint8_t ac);
406
Govind Singhd7468a52016-03-09 14:32:57 +0530407QDF_STATUS send_aggr_qos_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh229bc0d2016-03-07 15:33:31 +0530408 struct aggr_add_ts_param *aggr_qos_rsp_msg);
409
Govind Singhd7468a52016-03-09 14:32:57 +0530410QDF_STATUS send_add_ts_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh229bc0d2016-03-07 15:33:31 +0530411 struct add_ts_param *msg);
412
Govind Singhd7468a52016-03-09 14:32:57 +0530413QDF_STATUS send_enable_disable_packet_filter_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh229bc0d2016-03-07 15:33:31 +0530414 uint8_t vdev_id, bool enable);
415
Govind Singhd7468a52016-03-09 14:32:57 +0530416QDF_STATUS send_config_packet_filter_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh229bc0d2016-03-07 15:33:31 +0530417 uint8_t vdev_id, struct rcv_pkt_filter_config *rcv_filter_param,
418 uint8_t filter_id, bool enable);
419
Govind Singhd7468a52016-03-09 14:32:57 +0530420QDF_STATUS send_add_clear_mcbc_filter_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh229bc0d2016-03-07 15:33:31 +0530421 uint8_t vdev_id,
Govind Singhd7468a52016-03-09 14:32:57 +0530422 struct qdf_mac_addr multicast_addr,
Govind Singh229bc0d2016-03-07 15:33:31 +0530423 bool clearList);
424
Govind Singhd7468a52016-03-09 14:32:57 +0530425QDF_STATUS send_gtk_offload_cmd_tlv(wmi_unified_t wmi_handle, uint8_t vdev_id,
Govind Singh229bc0d2016-03-07 15:33:31 +0530426 struct gtk_offload_params *params,
427 bool enable_offload,
428 uint32_t gtk_offload_opcode);
429
Govind Singhd7468a52016-03-09 14:32:57 +0530430QDF_STATUS send_process_gtk_offload_getinfo_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh229bc0d2016-03-07 15:33:31 +0530431 uint8_t vdev_id,
432 uint64_t offload_req_opcode);
433
Govind Singhd7468a52016-03-09 14:32:57 +0530434QDF_STATUS send_process_add_periodic_tx_ptrn_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh229bc0d2016-03-07 15:33:31 +0530435 struct periodic_tx_pattern *
436 pAddPeriodicTxPtrnParams,
437 uint8_t vdev_id);
438
Govind Singhd7468a52016-03-09 14:32:57 +0530439QDF_STATUS send_process_del_periodic_tx_ptrn_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh229bc0d2016-03-07 15:33:31 +0530440 uint8_t vdev_id,
441 uint8_t pattern_id);
442
Govind Singhd7468a52016-03-09 14:32:57 +0530443QDF_STATUS send_stats_ext_req_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh229bc0d2016-03-07 15:33:31 +0530444 struct stats_ext_params *preq);
445
Govind Singhd7468a52016-03-09 14:32:57 +0530446QDF_STATUS send_enable_ext_wow_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh229bc0d2016-03-07 15:33:31 +0530447 struct ext_wow_params *params);
448
Govind Singhd7468a52016-03-09 14:32:57 +0530449QDF_STATUS send_set_app_type2_params_in_fw_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh229bc0d2016-03-07 15:33:31 +0530450 struct app_type2_params *appType2Params);
451
Govind Singhd7468a52016-03-09 14:32:57 +0530452QDF_STATUS send_set_auto_shutdown_timer_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh229bc0d2016-03-07 15:33:31 +0530453 uint32_t timer_val);
454
Govind Singhd7468a52016-03-09 14:32:57 +0530455QDF_STATUS send_nan_req_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh229bc0d2016-03-07 15:33:31 +0530456 struct nan_req_params *nan_req);
457
Govind Singhd7468a52016-03-09 14:32:57 +0530458QDF_STATUS send_process_dhcpserver_offload_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh229bc0d2016-03-07 15:33:31 +0530459 struct dhcp_offload_info_params *pDhcpSrvOffloadInfo);
460
Govind Singhd7468a52016-03-09 14:32:57 +0530461QDF_STATUS send_process_ch_avoid_update_cmd_tlv(wmi_unified_t wmi_handle);
Govind Singh229bc0d2016-03-07 15:33:31 +0530462
Govind Singhd7468a52016-03-09 14:32:57 +0530463QDF_STATUS send_regdomain_info_to_fw_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh229bc0d2016-03-07 15:33:31 +0530464 uint32_t reg_dmn, uint16_t regdmn2G,
465 uint16_t regdmn5G, int8_t ctl2G,
466 int8_t ctl5G);
467
Govind Singhd7468a52016-03-09 14:32:57 +0530468QDF_STATUS send_set_tdls_offchan_mode_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh229bc0d2016-03-07 15:33:31 +0530469 struct tdls_channel_switch_params *chan_switch_params);
470
Govind Singhd7468a52016-03-09 14:32:57 +0530471QDF_STATUS send_update_fw_tdls_state_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh229bc0d2016-03-07 15:33:31 +0530472 void *tdls_param, uint8_t tdls_state);
473
Govind Singhd7468a52016-03-09 14:32:57 +0530474QDF_STATUS send_update_tdls_peer_state_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh229bc0d2016-03-07 15:33:31 +0530475 struct tdls_peer_state_params *peerStateParams,
476 uint32_t *ch_mhz);
477
478
Govind Singhd7468a52016-03-09 14:32:57 +0530479QDF_STATUS send_process_fw_mem_dump_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh229bc0d2016-03-07 15:33:31 +0530480 struct fw_dump_req_param *mem_dump_req);
481
Govind Singhd7468a52016-03-09 14:32:57 +0530482QDF_STATUS send_process_set_ie_info_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh229bc0d2016-03-07 15:33:31 +0530483 struct vdev_ie_info_param *ie_info);
Govind Singh71ee2d72016-03-07 16:30:32 +0530484
Govind Singhd7468a52016-03-09 14:32:57 +0530485QDF_STATUS send_init_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh71ee2d72016-03-07 16:30:32 +0530486 wmi_resource_config *res_cfg,
487 uint8_t num_mem_chunks, struct wmi_host_mem_chunk *mem_chunk,
488 bool action);
489
Govind Singhd7468a52016-03-09 14:32:57 +0530490QDF_STATUS send_saved_init_cmd_tlv(wmi_unified_t wmi_handle);
Govind Singh71ee2d72016-03-07 16:30:32 +0530491
Govind Singhd7468a52016-03-09 14:32:57 +0530492QDF_STATUS save_fw_version_cmd_tlv(wmi_unified_t wmi_handle, void *evt_buf);
Govind Singh2ae94372016-03-07 16:45:38 +0530493
Govind Singhd7468a52016-03-09 14:32:57 +0530494QDF_STATUS check_and_update_fw_version_cmd_tlv(wmi_unified_t wmi_hdl, void *ev);
Govind Singh2ae94372016-03-07 16:45:38 +0530495
Govind Singhd7468a52016-03-09 14:32:57 +0530496QDF_STATUS send_set_base_macaddr_indicate_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh2ae94372016-03-07 16:45:38 +0530497 uint8_t *custom_addr);
498
Govind Singhd7468a52016-03-09 14:32:57 +0530499QDF_STATUS send_log_supported_evt_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh2ae94372016-03-07 16:45:38 +0530500 uint8_t *event,
501 uint32_t len);
502
Govind Singhd7468a52016-03-09 14:32:57 +0530503QDF_STATUS send_enable_specific_fw_logs_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh2ae94372016-03-07 16:45:38 +0530504 struct wmi_wifi_start_log *start_log);
505
Govind Singhd7468a52016-03-09 14:32:57 +0530506QDF_STATUS send_flush_logs_to_fw_cmd_tlv(wmi_unified_t wmi_handle);
Govind Singh2ae94372016-03-07 16:45:38 +0530507
Manishekar Chandrasekaranb8c59382016-04-21 19:16:32 +0530508QDF_STATUS send_pdev_set_pcl_cmd_tlv(wmi_unified_t wmi_handle,
509 struct wmi_pcl_chan_weights *msg);
Govind Singh2ae94372016-03-07 16:45:38 +0530510
Manishekar Chandrasekaran68430d32016-04-27 12:29:16 +0530511QDF_STATUS send_pdev_set_hw_mode_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh2ae94372016-03-07 16:45:38 +0530512 uint32_t hw_mode_index);
513
Govind Singhd7468a52016-03-09 14:32:57 +0530514QDF_STATUS send_soc_set_dual_mac_config_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh2ae94372016-03-07 16:45:38 +0530515 struct wmi_dual_mac_config *msg);
516
Mukul Sharmaac755cd2016-09-07 20:31:47 +0530517static void fill_arp_offload_params_tlv(wmi_unified_t wmi_handle,
518 struct host_offload_req_param *offload_req, uint8_t **buf_ptr);
519
520static void fill_ns_offload_params_tlv(wmi_unified_t wmi_handle,
521 struct host_offload_req_param *offload_req, uint8_t **buf_ptr);
522
523static void fill_nsoffload_ext_tlv(wmi_unified_t wmi_handle,
524 struct host_offload_req_param *offload_req, uint8_t **buf_ptr);
525
Govind Singhd7468a52016-03-09 14:32:57 +0530526QDF_STATUS send_enable_arp_ns_offload_cmd_tlv(wmi_unified_t wmi_handle,
Mukul Sharmaac755cd2016-09-07 20:31:47 +0530527 struct host_offload_req_param *arp_offload_req,
528 struct host_offload_req_param *ns_offload_req,
529 bool arp_only,
Govind Singh2ae94372016-03-07 16:45:38 +0530530 uint8_t vdev_id);
531
Govind Singhd7468a52016-03-09 14:32:57 +0530532QDF_STATUS send_set_led_flashing_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh2ae94372016-03-07 16:45:38 +0530533 struct flashing_req_params *flashing);
534
Govind Singhd7468a52016-03-09 14:32:57 +0530535QDF_STATUS send_app_type1_params_in_fw_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh2ae94372016-03-07 16:45:38 +0530536 struct app_type1_params *app_type1_params);
537
Govind Singhd7468a52016-03-09 14:32:57 +0530538QDF_STATUS
Govind Singh2ae94372016-03-07 16:45:38 +0530539send_set_ssid_hotlist_cmd_tlv(wmi_unified_t wmi_handle,
540 struct ssid_hotlist_request_params *request);
541
Govind Singhd7468a52016-03-09 14:32:57 +0530542QDF_STATUS send_process_roam_synch_complete_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh2ae94372016-03-07 16:45:38 +0530543 uint8_t vdev_id);
544
Govind Singhd7468a52016-03-09 14:32:57 +0530545QDF_STATUS send_unit_test_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh2ae94372016-03-07 16:45:38 +0530546 struct wmi_unit_test_cmd *wmi_utest);
547
Govind Singhd7468a52016-03-09 14:32:57 +0530548QDF_STATUS send_roam_invoke_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh2ae94372016-03-07 16:45:38 +0530549 struct wmi_roam_invoke_cmd *roaminvoke,
550 uint32_t ch_hz);
551
Govind Singhd7468a52016-03-09 14:32:57 +0530552QDF_STATUS send_roam_scan_offload_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh2ae94372016-03-07 16:45:38 +0530553 uint32_t command, uint32_t vdev_id);
554
Govind Singhd7468a52016-03-09 14:32:57 +0530555QDF_STATUS send_roam_scan_offload_ap_profile_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh2ae94372016-03-07 16:45:38 +0530556 wmi_ap_profile *ap_profile_p,
557 uint32_t vdev_id);
558
Govind Singhd7468a52016-03-09 14:32:57 +0530559QDF_STATUS send_roam_scan_offload_scan_period_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh2ae94372016-03-07 16:45:38 +0530560 uint32_t scan_period,
561 uint32_t scan_age,
562 uint32_t vdev_id);
563
Govind Singhd7468a52016-03-09 14:32:57 +0530564QDF_STATUS send_roam_scan_offload_chan_list_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh2ae94372016-03-07 16:45:38 +0530565 uint8_t chan_count,
Varun Reddy Yeturub47fa402016-07-07 17:42:49 -0700566 uint32_t *chan_list,
Govind Singh2ae94372016-03-07 16:45:38 +0530567 uint8_t list_type, uint32_t vdev_id);
568
Govind Singhd7468a52016-03-09 14:32:57 +0530569QDF_STATUS send_roam_scan_offload_rssi_change_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh2ae94372016-03-07 16:45:38 +0530570 uint32_t vdev_id,
571 int32_t rssi_change_thresh,
572 uint32_t bcn_rssi_weight,
573 uint32_t hirssi_delay_btw_scans);
574
Govind Singhd7468a52016-03-09 14:32:57 +0530575QDF_STATUS send_get_buf_extscan_hotlist_cmd_tlv(wmi_unified_t wmi_handle,
Govind Singh2ae94372016-03-07 16:45:38 +0530576 struct ext_scan_setbssi_hotlist_params *
577 photlist, int *buf_len);
578#endif
579