Govind Singh | d475ea9 | 2016-03-06 19:55:02 +0530 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2013-2016 The Linux Foundation. All rights reserved. |
| 3 | * |
| 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 | */ |
| 27 | |
| 28 | /* |
Govind Singh | 6ad6ada | 2016-02-04 18:42:30 +0530 | [diff] [blame] | 29 | * This file contains the API definitions for the Unified Wireless Module |
| 30 | * Interface (WMI). |
Govind Singh | d475ea9 | 2016-03-06 19:55:02 +0530 | [diff] [blame] | 31 | */ |
| 32 | |
| 33 | #ifndef _WMI_UNIFIED_API_H_ |
| 34 | #define _WMI_UNIFIED_API_H_ |
| 35 | |
| 36 | #include <osdep.h> |
| 37 | #include "a_types.h" |
| 38 | #include "ol_defines.h" |
| 39 | #include "wmi.h" |
| 40 | #include "htc_api.h" |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 41 | #include "wmi_unified_param.h" |
Govind Singh | d475ea9 | 2016-03-06 19:55:02 +0530 | [diff] [blame] | 42 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 43 | typedef qdf_nbuf_t wmi_buf_t; |
| 44 | #define wmi_buf_data(_buf) qdf_nbuf_data(_buf) |
| 45 | |
| 46 | #define WMI_LOGD(args ...) \ |
| 47 | QDF_TRACE(QDF_MODULE_ID_WMI, QDF_TRACE_LEVEL_DEBUG, ## args) |
| 48 | #define WMI_LOGI(args ...) \ |
| 49 | QDF_TRACE(QDF_MODULE_ID_WMI, QDF_TRACE_LEVEL_INFO, ## args) |
| 50 | #define WMI_LOGW(args ...) \ |
| 51 | QDF_TRACE(QDF_MODULE_ID_WMI, QDF_TRACE_LEVEL_WARN, ## args) |
| 52 | #define WMI_LOGE(args ...) \ |
| 53 | QDF_TRACE(QDF_MODULE_ID_WMI, QDF_TRACE_LEVEL_ERROR, ## args) |
| 54 | #define WMI_LOGP(args ...) \ |
| 55 | QDF_TRACE(QDF_MODULE_ID_WMI, QDF_TRACE_LEVEL_FATAL, ## args) |
| 56 | |
| 57 | #define WMI_DEBUG_ALWAYS |
| 58 | |
| 59 | #ifdef WMI_DEBUG_ALWAYS |
| 60 | #define WMI_LOGA(args ...) \ |
| 61 | QDF_TRACE(QDF_MODULE_ID_WMI, QDF_TRACE_LEVEL_FATAL, ## args) |
| 62 | #else |
| 63 | #define WMI_LOGA(args ...) |
| 64 | #endif |
Govind Singh | d475ea9 | 2016-03-06 19:55:02 +0530 | [diff] [blame] | 65 | |
| 66 | /** |
Govind Singh | 6ad6ada | 2016-02-04 18:42:30 +0530 | [diff] [blame] | 67 | * struct wmi_ops - service callbacks to upper layer |
| 68 | * @service_ready_cbk: service ready callback |
| 69 | * @service_ready_ext_cbk: service ready ext callback |
| 70 | * @ready_cbk: ready calback |
| 71 | * @wma_process_fw_event_handler_cbk: generic event handler callback |
| 72 | */ |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 73 | struct wmi_rx_ops { |
Govind Singh | 4ec6ff9 | 2016-03-09 12:03:29 +0530 | [diff] [blame] | 74 | |
Govind Singh | 6ad6ada | 2016-02-04 18:42:30 +0530 | [diff] [blame] | 75 | int (*wma_process_fw_event_handler_cbk)(void *ctx, |
Govind Singh | 4ec6ff9 | 2016-03-09 12:03:29 +0530 | [diff] [blame] | 76 | void *ev, uint8_t rx_ctx); |
Govind Singh | 6ad6ada | 2016-02-04 18:42:30 +0530 | [diff] [blame] | 77 | }; |
| 78 | |
| 79 | /** |
| 80 | * enum wmi_target_type - type of supported wmi command |
| 81 | * @WMI_TLV_TARGET: tlv based target |
| 82 | * @WMI_NON_TLV_TARGET: non-tlv based target |
| 83 | * |
| 84 | */ |
| 85 | enum wmi_target_type { |
| 86 | WMI_TLV_TARGET, |
| 87 | WMI_NON_TLV_TARGET |
| 88 | }; |
| 89 | |
| 90 | /** |
Govind Singh | 4ec6ff9 | 2016-03-09 12:03:29 +0530 | [diff] [blame] | 91 | * enum wmi_rx_exec_ctx - wmi rx execution context |
| 92 | * @WMI_RX_WORK_CTX: work queue context execution provided by WMI layer |
| 93 | * @WMI_RX_UMAC_CTX: execution context provided by umac layer |
| 94 | * |
| 95 | */ |
| 96 | enum wmi_rx_exec_ctx { |
| 97 | WMI_RX_WORK_CTX, |
| 98 | WMI_RX_UMAC_CTX |
| 99 | }; |
| 100 | |
| 101 | /** |
Govind Singh | d475ea9 | 2016-03-06 19:55:02 +0530 | [diff] [blame] | 102 | * attach for unified WMI |
| 103 | * |
| 104 | * @param scn_handle : handle to SCN. |
| 105 | * @return opaque handle. |
| 106 | */ |
| 107 | void *wmi_unified_attach(void *scn_handle, |
Govind Singh | 6ad6ada | 2016-02-04 18:42:30 +0530 | [diff] [blame] | 108 | osdev_t osdev, enum wmi_target_type target_type, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 109 | bool use_cookie, struct wmi_rx_ops *ops); |
Govind Singh | 6ad6ada | 2016-02-04 18:42:30 +0530 | [diff] [blame] | 110 | |
Govind Singh | d475ea9 | 2016-03-06 19:55:02 +0530 | [diff] [blame] | 111 | /** |
| 112 | * detach for unified WMI |
| 113 | * |
| 114 | * @param wmi_handle : handle to WMI. |
| 115 | * @return void. |
| 116 | */ |
| 117 | void wmi_unified_detach(struct wmi_unified *wmi_handle); |
| 118 | |
| 119 | void |
| 120 | wmi_unified_remove_work(struct wmi_unified *wmi_handle); |
| 121 | |
| 122 | /** |
| 123 | * generic function to allocate WMI buffer |
| 124 | * |
| 125 | * @param wmi_handle : handle to WMI. |
| 126 | * @param len : length of the buffer |
| 127 | * @return wmi_buf_t. |
| 128 | */ |
| 129 | #ifdef MEMORY_DEBUG |
| 130 | #define wmi_buf_alloc(h, l) wmi_buf_alloc_debug(h, l, __FILE__, __LINE__) |
| 131 | wmi_buf_t |
| 132 | wmi_buf_alloc_debug(wmi_unified_t wmi_handle, uint16_t len, |
| 133 | uint8_t *file_name, uint32_t line_num); |
| 134 | #else |
| 135 | wmi_buf_t wmi_buf_alloc(wmi_unified_t wmi_handle, uint16_t len); |
| 136 | #endif |
| 137 | |
| 138 | /** |
| 139 | * generic function frees WMI net buffer |
| 140 | * |
| 141 | * @param net_buf : Pointer ot net_buf to be freed |
| 142 | */ |
| 143 | void wmi_buf_free(wmi_buf_t net_buf); |
| 144 | |
| 145 | /** |
| 146 | * generic function to send unified WMI command |
| 147 | * |
| 148 | * @param wmi_handle : handle to WMI. |
| 149 | * @param buf : wmi command buffer |
| 150 | * @param buflen : wmi command buffer length |
| 151 | * @return 0 on success and -ve on failure. |
| 152 | */ |
| 153 | int |
Govind Singh | 6ad6ada | 2016-02-04 18:42:30 +0530 | [diff] [blame] | 154 | wmi_unified_cmd_send(wmi_unified_t wmi_handle, wmi_buf_t buf, uint32_t buflen, |
Govind Singh | d475ea9 | 2016-03-06 19:55:02 +0530 | [diff] [blame] | 155 | WMI_CMD_ID cmd_id); |
| 156 | |
| 157 | /** |
Govind Singh | 4ec6ff9 | 2016-03-09 12:03:29 +0530 | [diff] [blame] | 158 | * wmi_unified_register_event_handler() - WMI event handler |
| 159 | * registration function |
Govind Singh | d475ea9 | 2016-03-06 19:55:02 +0530 | [diff] [blame] | 160 | * |
Govind Singh | 4ec6ff9 | 2016-03-09 12:03:29 +0530 | [diff] [blame] | 161 | * @wmi_handle: handle to WMI. |
| 162 | * @event_id: WMI event ID |
| 163 | * @handler_func: Event handler call back function |
| 164 | * @rx_ctx: rx event processing context |
| 165 | * |
Govind Singh | d475ea9 | 2016-03-06 19:55:02 +0530 | [diff] [blame] | 166 | * @return 0 on success and -ve on failure. |
| 167 | */ |
| 168 | int |
| 169 | wmi_unified_register_event_handler(wmi_unified_t wmi_handle, |
| 170 | WMI_EVT_ID event_id, |
Govind Singh | 4ec6ff9 | 2016-03-09 12:03:29 +0530 | [diff] [blame] | 171 | wmi_unified_event_handler handler_func, |
| 172 | uint8_t rx_ctx); |
Govind Singh | d475ea9 | 2016-03-06 19:55:02 +0530 | [diff] [blame] | 173 | |
| 174 | /** |
| 175 | * WMI event handler unregister function |
| 176 | * |
| 177 | * @param wmi_handle : handle to WMI. |
| 178 | * @param event_id : WMI event ID |
| 179 | * @return 0 on success and -ve on failure. |
| 180 | */ |
| 181 | int |
| 182 | wmi_unified_unregister_event_handler(wmi_unified_t wmi_handle, |
| 183 | WMI_EVT_ID event_id); |
| 184 | |
| 185 | /** |
| 186 | * request wmi to connet its htc service. |
| 187 | * @param wmi_handle : handle to WMI. |
| 188 | * @return void |
| 189 | */ |
| 190 | int |
| 191 | wmi_unified_connect_htc_service(struct wmi_unified *wmi_handle, |
| 192 | void *htc_handle); |
| 193 | |
| 194 | /* |
| 195 | * WMI API to verify the host has enough credits to suspend |
| 196 | */ |
| 197 | |
| 198 | int wmi_is_suspend_ready(wmi_unified_t wmi_handle); |
| 199 | |
| 200 | /** |
| 201 | WMI API to get updated host_credits |
| 202 | */ |
| 203 | |
| 204 | int wmi_get_host_credits(wmi_unified_t wmi_handle); |
| 205 | |
| 206 | /** |
| 207 | WMI API to get WMI Pending Commands in the HTC queue |
| 208 | */ |
| 209 | |
| 210 | int wmi_get_pending_cmds(wmi_unified_t wmi_handle); |
| 211 | |
| 212 | /** |
| 213 | WMI API to set target suspend state |
| 214 | */ |
Govind Singh | d475ea9 | 2016-03-06 19:55:02 +0530 | [diff] [blame] | 215 | void wmi_set_target_suspend(wmi_unified_t wmi_handle, bool val); |
| 216 | |
| 217 | #ifdef FEATURE_RUNTIME_PM |
| 218 | void |
| 219 | wmi_set_runtime_pm_inprogress(wmi_unified_t wmi_handle, bool val); |
| 220 | bool wmi_get_runtime_pm_inprogress(wmi_unified_t wmi_handle); |
| 221 | #else |
| 222 | static inline void |
| 223 | wmi_set_runtime_pm_inprogress(wmi_unified_t wmi_handle, bool val) |
| 224 | { |
| 225 | return; |
| 226 | } |
| 227 | static inline bool wmi_get_runtime_pm_inprogress(wmi_unified_t wmi_handle) |
| 228 | { |
| 229 | return false; |
| 230 | } |
| 231 | #endif |
| 232 | |
Govind Singh | 4ec6ff9 | 2016-03-09 12:03:29 +0530 | [diff] [blame] | 233 | |
Govind Singh | d475ea9 | 2016-03-06 19:55:02 +0530 | [diff] [blame] | 234 | /** |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 235 | * UMAC Callback to process fw event. |
Govind Singh | d475ea9 | 2016-03-06 19:55:02 +0530 | [diff] [blame] | 236 | */ |
Govind Singh | d475ea9 | 2016-03-06 19:55:02 +0530 | [diff] [blame] | 237 | void wmi_process_fw_event(struct wmi_unified *wmi_handle, wmi_buf_t evt_buf); |
| 238 | uint16_t wmi_get_max_msg_len(wmi_unified_t wmi_handle); |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 239 | |
| 240 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 241 | QDF_STATUS wmi_unified_vdev_create_send(void *wmi_hdl, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 242 | uint8_t macaddr[IEEE80211_ADDR_LEN], |
| 243 | struct vdev_create_params *param); |
| 244 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 245 | QDF_STATUS wmi_unified_vdev_delete_send(void *wmi_hdl, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 246 | uint8_t if_id); |
| 247 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 248 | QDF_STATUS wmi_unified_vdev_restart_send(void *wmi_hdl, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 249 | uint8_t macaddr[IEEE80211_ADDR_LEN], |
| 250 | struct vdev_start_params *param); |
| 251 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 252 | QDF_STATUS wmi_unified_vdev_stop_send(void *wmi_hdl, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 253 | uint8_t vdev_id); |
| 254 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 255 | QDF_STATUS wmi_unified_vdev_up_send(void *wmi_hdl, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 256 | uint8_t bssid[IEEE80211_ADDR_LEN], |
| 257 | struct vdev_up_params *params); |
| 258 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 259 | QDF_STATUS wmi_unified_vdev_down_send(void *wmi_hdl, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 260 | uint8_t vdev_id); |
| 261 | |
Himanshu Agarwal | 7e4f4bc | 2016-03-09 16:49:38 +0530 | [diff] [blame] | 262 | QDF_STATUS wmi_unified_vdev_start_send(void *wmi_hdl, |
| 263 | struct vdev_start_params *req); |
| 264 | |
| 265 | QDF_STATUS wmi_unified_hidden_ssid_vdev_restart_send(void *wmi_hdl, |
| 266 | struct hidden_ssid_vdev_restart_params *restart_params); |
| 267 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 268 | QDF_STATUS wmi_unified_vdev_set_param_send(void *wmi_hdl, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 269 | struct vdev_set_params *param); |
| 270 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 271 | QDF_STATUS wmi_unified_peer_delete_send(void *wmi_hdl, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 272 | uint8_t |
| 273 | peer_addr[IEEE80211_ADDR_LEN], |
| 274 | uint8_t vdev_id); |
| 275 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 276 | QDF_STATUS wmi_unified_peer_flush_tids_send(void *wmi_hdl, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 277 | uint8_t peer_addr[IEEE80211_ADDR_LEN], |
| 278 | struct peer_flush_params *param); |
| 279 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 280 | QDF_STATUS wmi_set_peer_param_send(void *wmi_hdl, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 281 | uint8_t peer_addr[IEEE80211_ADDR_LEN], |
| 282 | struct peer_set_params *param); |
| 283 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 284 | QDF_STATUS wmi_unified_peer_create_send(void *wmi_hdl, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 285 | struct peer_create_params *param); |
| 286 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 287 | QDF_STATUS wmi_unified_stats_request_send(void *wmi_hdl, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 288 | uint8_t macaddr[IEEE80211_ADDR_LEN], |
| 289 | struct stats_request_params *param); |
| 290 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 291 | QDF_STATUS wmi_unified_green_ap_ps_send(void *wmi_hdl, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 292 | uint32_t value, uint8_t mac_id); |
| 293 | |
| 294 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 295 | QDF_STATUS wmi_unified_wow_enable_send(void *wmi_hdl, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 296 | struct wow_cmd_params *param, |
| 297 | uint8_t mac_id); |
| 298 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 299 | QDF_STATUS wmi_unified_packet_log_enable_send(void *wmi_hdl, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 300 | uint8_t macaddr[IEEE80211_ADDR_LEN], |
| 301 | struct packet_enable_params *param); |
| 302 | |
| 303 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 304 | QDF_STATUS wmi_unified_suspend_send(void *wmi_hdl, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 305 | struct suspend_params *param, |
| 306 | uint8_t mac_id); |
| 307 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 308 | QDF_STATUS wmi_unified_resume_send(void *wmi_hdl, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 309 | uint8_t mac_id); |
| 310 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 311 | QDF_STATUS |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 312 | wmi_unified_pdev_param_send(void *wmi_hdl, |
| 313 | struct pdev_params *param, |
| 314 | uint8_t mac_id); |
| 315 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 316 | QDF_STATUS wmi_unified_beacon_send_cmd(void *wmi_hdl, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 317 | struct beacon_params *param); |
| 318 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 319 | QDF_STATUS wmi_unified_peer_assoc_send(void *wmi_hdl, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 320 | struct peer_assoc_params *param); |
| 321 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 322 | QDF_STATUS wmi_unified_sta_ps_cmd_send(void *wmi_hdl, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 323 | struct sta_ps_params *param); |
| 324 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 325 | QDF_STATUS wmi_unified_ap_ps_cmd_send(void *wmi_hdl, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 326 | uint8_t macaddr[IEEE80211_ADDR_LEN], |
| 327 | struct ap_ps_params *param); |
| 328 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 329 | QDF_STATUS wmi_unified_scan_start_cmd_send(void *wmi_hdl, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 330 | struct scan_start_params *param); |
| 331 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 332 | QDF_STATUS wmi_unified_scan_stop_cmd_send(void *wmi_hdl, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 333 | struct scan_stop_params *param); |
| 334 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 335 | QDF_STATUS wmi_unified_scan_chan_list_cmd_send(void *wmi_hdl, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 336 | struct scan_chan_list_params *param); |
| 337 | |
| 338 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 339 | QDF_STATUS wmi_crash_inject(void *wmi_hdl, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 340 | struct crash_inject *param); |
| 341 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 342 | QDF_STATUS wmi_unified_pdev_utf_cmd_send(void *wmi_hdl, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 343 | struct pdev_utf_params *param, |
| 344 | uint8_t mac_id); |
| 345 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 346 | QDF_STATUS wmi_unified_dbglog_cmd_send(void *wmi_hdl, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 347 | struct dbglog_params *param); |
| 348 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 349 | QDF_STATUS wmi_mgmt_unified_cmd_send(void *wmi_hdl, |
Govind Singh | 50988cc | 2016-02-26 18:09:36 +0530 | [diff] [blame] | 350 | struct wmi_mgmt_params *param); |
| 351 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 352 | QDF_STATUS wmi_unified_modem_power_state(void *wmi_hdl, |
Govind Singh | 50988cc | 2016-02-26 18:09:36 +0530 | [diff] [blame] | 353 | uint32_t param_value); |
| 354 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 355 | QDF_STATUS wmi_unified_set_sta_ps_mode(void *wmi_hdl, |
Govind Singh | 50988cc | 2016-02-26 18:09:36 +0530 | [diff] [blame] | 356 | uint32_t vdev_id, uint8_t val); |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 357 | QDF_STATUS |
Govind Singh | 50988cc | 2016-02-26 18:09:36 +0530 | [diff] [blame] | 358 | wmi_unified_set_sta_uapsd_auto_trig_cmd(void *wmi_hdl, |
| 359 | struct sta_uapsd_trig_params *param); |
| 360 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 361 | QDF_STATUS wmi_unified_get_temperature(void *wmi_hdl); |
Govind Singh | 50988cc | 2016-02-26 18:09:36 +0530 | [diff] [blame] | 362 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 363 | QDF_STATUS wmi_unified_set_p2pgo_oppps_req(void *wmi_hdl, |
Govind Singh | 50988cc | 2016-02-26 18:09:36 +0530 | [diff] [blame] | 364 | struct p2p_ps_params *oppps); |
| 365 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 366 | QDF_STATUS wmi_unified_set_p2pgo_noa_req_cmd(void *wmi_hdl, |
Govind Singh | 50988cc | 2016-02-26 18:09:36 +0530 | [diff] [blame] | 367 | struct p2p_ps_params *noa); |
| 368 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 369 | QDF_STATUS wmi_unified_set_smps_params(void *wmi_hdl, uint8_t vdev_id, |
Govind Singh | 50988cc | 2016-02-26 18:09:36 +0530 | [diff] [blame] | 370 | int value); |
| 371 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 372 | QDF_STATUS wmi_unified_set_mimops(void *wmi_hdl, uint8_t vdev_id, int value); |
Govind Singh | e7b800c | 2016-03-01 15:30:53 +0530 | [diff] [blame] | 373 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 374 | QDF_STATUS wmi_unified_ocb_set_utc_time(void *wmi_hdl, |
Govind Singh | e7b800c | 2016-03-01 15:30:53 +0530 | [diff] [blame] | 375 | struct ocb_utc_param *utc); |
| 376 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 377 | QDF_STATUS wmi_unified_ocb_start_timing_advert(void *wmi_hdl, |
Govind Singh | e7b800c | 2016-03-01 15:30:53 +0530 | [diff] [blame] | 378 | struct ocb_timing_advert_param *timing_advert); |
| 379 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 380 | QDF_STATUS wmi_unified_ocb_stop_timing_advert(void *wmi_hdl, |
Govind Singh | e7b800c | 2016-03-01 15:30:53 +0530 | [diff] [blame] | 381 | struct ocb_timing_advert_param *timing_advert); |
| 382 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 383 | QDF_STATUS wmi_unified_ocb_set_config(void *wmi_hdl, |
Govind Singh | e7b800c | 2016-03-01 15:30:53 +0530 | [diff] [blame] | 384 | struct ocb_config_param *config, uint32_t *ch_mhz); |
| 385 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 386 | QDF_STATUS wmi_unified_ocb_get_tsf_timer(void *wmi_hdl, |
Govind Singh | e7b800c | 2016-03-01 15:30:53 +0530 | [diff] [blame] | 387 | uint8_t vdev_id); |
| 388 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 389 | QDF_STATUS wmi_unified_lro_config_cmd(void *wmi_hdl, |
Govind Singh | 9bad000 | 2016-03-01 15:54:59 +0530 | [diff] [blame] | 390 | struct wmi_lro_config_cmd_t *wmi_lro_cmd); |
| 391 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 392 | QDF_STATUS wmi_unified_set_thermal_mgmt_cmd(void *wmi_hdl, |
Govind Singh | 9bad000 | 2016-03-01 15:54:59 +0530 | [diff] [blame] | 393 | struct thermal_cmd_params *thermal_info); |
| 394 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 395 | QDF_STATUS wmi_unified_set_mcc_channel_time_quota_cmd |
Govind Singh | 9bad000 | 2016-03-01 15:54:59 +0530 | [diff] [blame] | 396 | (void *wmi_hdl, |
| 397 | uint32_t adapter_1_chan_freq, |
| 398 | uint32_t adapter_1_quota, uint32_t adapter_2_chan_freq); |
| 399 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 400 | QDF_STATUS wmi_unified_set_mcc_channel_time_latency_cmd |
Govind Singh | 9bad000 | 2016-03-01 15:54:59 +0530 | [diff] [blame] | 401 | (void *wmi_hdl, |
| 402 | uint32_t mcc_channel_freq, uint32_t mcc_channel_time_latency); |
| 403 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 404 | QDF_STATUS wmi_unified_set_enable_disable_mcc_adaptive_scheduler_cmd( |
Govind Singh | 9bad000 | 2016-03-01 15:54:59 +0530 | [diff] [blame] | 405 | void *wmi_hdl, uint32_t mcc_adaptive_scheduler); |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 406 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 407 | QDF_STATUS wmi_unified_bcn_buf_ll_cmd(void *wmi_hdl, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 408 | wmi_bcn_send_from_host_cmd_fixed_param *param); |
| 409 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 410 | QDF_STATUS wmi_unified_set_sta_sa_query_param_cmd(void *wmi_hdl, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 411 | uint8_t vdev_id, uint32_t max_retries, |
| 412 | uint32_t retry_interval); |
| 413 | |
| 414 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 415 | QDF_STATUS wmi_unified_set_sta_keep_alive_cmd(void *wmi_hdl, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 416 | struct sta_params *params); |
| 417 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 418 | QDF_STATUS wmi_unified_vdev_set_gtx_cfg_cmd(void *wmi_hdl, uint32_t if_id, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 419 | struct wmi_gtx_config *gtx_info); |
| 420 | |
| 421 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 422 | QDF_STATUS wmi_unified_process_update_edca_param(void *wmi_hdl, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 423 | uint8_t vdev_id, |
| 424 | wmi_wmm_vparams gwmm_param[WMI_MAX_NUM_AC]); |
| 425 | |
| 426 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 427 | QDF_STATUS wmi_unified_probe_rsp_tmpl_send_cmd(void *wmi_hdl, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 428 | uint8_t vdev_id, |
| 429 | struct wmi_probe_resp_params *probe_rsp_info, |
| 430 | uint8_t *frm); |
| 431 | |
Himanshu Agarwal | 9efd9bf | 2016-03-09 18:49:18 +0530 | [diff] [blame^] | 432 | QDF_STATUS wmi_unified_setup_install_key_cmd(void *wmi_hdl, |
| 433 | struct set_key_params *key_params); |
| 434 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 435 | QDF_STATUS wmi_unified_p2p_go_set_beacon_ie_cmd(void *wmi_hdl, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 436 | A_UINT32 vdev_id, uint8_t *p2p_ie); |
| 437 | |
| 438 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 439 | QDF_STATUS wmi_unified_set_gateway_params_cmd(void *wmi_hdl, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 440 | struct gateway_update_req_param *req); |
| 441 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 442 | QDF_STATUS wmi_unified_set_rssi_monitoring_cmd(void *wmi_hdl, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 443 | struct rssi_monitor_param *req); |
| 444 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 445 | QDF_STATUS wmi_unified_scan_probe_setoui_cmd(void *wmi_hdl, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 446 | struct scan_mac_oui *psetoui); |
| 447 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 448 | QDF_STATUS wmi_unified_reset_passpoint_network_list_cmd(void *wmi_hdl, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 449 | struct wifi_passpoint_req_param *req); |
| 450 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 451 | QDF_STATUS wmi_unified_set_passpoint_network_list_cmd(void *wmi_hdl, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 452 | struct wifi_passpoint_req_param *req); |
| 453 | |
Himanshu Agarwal | 5f2d048 | 2016-03-09 15:25:44 +0530 | [diff] [blame] | 454 | QDF_STATUS wmi_unified_roam_scan_offload_mode_cmd(void *wmi_hdl, |
| 455 | wmi_start_scan_cmd_fixed_param *scan_cmd_fp, |
| 456 | struct roam_offload_scan_params *roam_req); |
| 457 | |
| 458 | QDF_STATUS wmi_unified_roam_scan_offload_rssi_thresh_cmd(void *wmi_hdl, |
| 459 | struct roam_offload_scan_rssi_params *roam_req); |
| 460 | |
| 461 | QDF_STATUS wmi_unified_roam_scan_filter_cmd(void *wmi_hdl, |
| 462 | struct roam_scan_filter_params *roam_req); |
| 463 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 464 | QDF_STATUS wmi_unified_set_epno_network_list_cmd(void *wmi_hdl, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 465 | struct wifi_enhanched_pno_params *req); |
| 466 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 467 | QDF_STATUS wmi_unified_ipa_offload_control_cmd(void *wmi_hdl, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 468 | struct ipa_offload_control_params *ipa_offload); |
| 469 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 470 | QDF_STATUS wmi_unified_extscan_get_capabilities_cmd(void *wmi_hdl, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 471 | struct extscan_capabilities_params *pgetcapab); |
| 472 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 473 | QDF_STATUS wmi_unified_extscan_get_cached_results_cmd(void *wmi_hdl, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 474 | struct extscan_cached_result_params *pcached_results); |
| 475 | |
| 476 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 477 | QDF_STATUS wmi_unified_extscan_stop_change_monitor_cmd(void *wmi_hdl, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 478 | struct extscan_capabilities_reset_params *reset_req); |
| 479 | |
| 480 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 481 | QDF_STATUS wmi_unified_extscan_start_change_monitor_cmd(void *wmi_hdl, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 482 | struct extscan_set_sig_changereq_params * |
| 483 | psigchange); |
| 484 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 485 | QDF_STATUS wmi_unified_extscan_stop_hotlist_monitor_cmd(void *wmi_hdl, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 486 | struct extscan_bssid_hotlist_reset_params *photlist_reset); |
| 487 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 488 | QDF_STATUS wmi_unified_stop_extscan_cmd(void *wmi_hdl, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 489 | struct extscan_stop_req_params *pstopcmd); |
| 490 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 491 | QDF_STATUS wmi_unified_start_extscan_cmd(void *wmi_hdl, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 492 | struct wifi_scan_cmd_req_params *pstart); |
| 493 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 494 | QDF_STATUS wmi_unified_plm_stop_cmd(void *wmi_hdl, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 495 | const struct plm_req_params *plm); |
| 496 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 497 | QDF_STATUS wmi_unified_plm_start_cmd(void *wmi_hdl, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 498 | const struct plm_req_params *plm, |
| 499 | uint32_t *gchannel_list); |
| 500 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 501 | QDF_STATUS wmi_unified_pno_stop_cmd(void *wmi_hdl, uint8_t vdev_id); |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 502 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 503 | QDF_STATUS wmi_unified_pno_start_cmd(void *wmi_hdl, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 504 | struct pno_scan_req_params *pno, |
| 505 | uint32_t *gchannel_freq_list); |
| 506 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 507 | QDF_STATUS wmi_unified_set_ric_req_cmd(void *wmi_hdl, void *msg, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 508 | uint8_t is_add_ts); |
| 509 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 510 | QDF_STATUS wmi_unified_process_ll_stats_clear_cmd |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 511 | (void *wmi_hdl, const struct ll_stats_clear_params *clear_req, |
| 512 | uint8_t addr[IEEE80211_ADDR_LEN]); |
| 513 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 514 | QDF_STATUS wmi_unified_process_ll_stats_set_cmd |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 515 | (void *wmi_hdl, const struct ll_stats_set_params *set_req); |
| 516 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 517 | QDF_STATUS wmi_unified_process_ll_stats_get_cmd |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 518 | (void *wmi_hdl, const struct ll_stats_get_params *get_req, |
| 519 | uint8_t addr[IEEE80211_ADDR_LEN]); |
| 520 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 521 | QDF_STATUS wmi_unified_get_stats_cmd(void *wmi_hdl, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 522 | struct pe_stats_req *get_stats_param, |
| 523 | uint8_t addr[IEEE80211_ADDR_LEN]); |
| 524 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 525 | QDF_STATUS wmi_unified_snr_request_cmd(void *wmi_hdl); |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 526 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 527 | QDF_STATUS wmi_unified_snr_cmd(void *wmi_hdl, uint8_t vdev_id); |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 528 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 529 | QDF_STATUS wmi_unified_link_status_req_cmd(void *wmi_hdl, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 530 | struct link_status_params *link_status); |
| 531 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 532 | QDF_STATUS wmi_unified_lphb_config_hbenable_cmd(void *wmi_hdl, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 533 | wmi_hb_set_enable_cmd_fixed_param *params); |
| 534 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 535 | QDF_STATUS wmi_unified_lphb_config_tcp_params_cmd(void *wmi_hdl, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 536 | wmi_hb_set_tcp_params_cmd_fixed_param *lphb_conf_req); |
| 537 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 538 | QDF_STATUS wmi_unified_lphb_config_tcp_pkt_filter_cmd(void *wmi_hdl, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 539 | wmi_hb_set_tcp_pkt_filter_cmd_fixed_param *g_hb_tcp_filter_fp); |
| 540 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 541 | QDF_STATUS wmi_unified_lphb_config_udp_params_cmd(void *wmi_hdl, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 542 | wmi_hb_set_udp_params_cmd_fixed_param *lphb_conf_req); |
| 543 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 544 | QDF_STATUS wmi_unified_lphb_config_udp_pkt_filter_cmd(void *wmi_hdl, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 545 | wmi_hb_set_udp_pkt_filter_cmd_fixed_param *lphb_conf_req); |
| 546 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 547 | QDF_STATUS wmi_unified_process_dhcp_ind(void *wmi_hdl, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 548 | wmi_peer_set_param_cmd_fixed_param *ta_dhcp_ind); |
| 549 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 550 | QDF_STATUS wmi_unified_get_link_speed_cmd(void *wmi_hdl, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 551 | wmi_mac_addr peer_macaddr); |
| 552 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 553 | QDF_STATUS wmi_unified_egap_conf_params_cmd(void *wmi_hdl, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 554 | wmi_ap_ps_egap_param_cmd_fixed_param *egap_params); |
| 555 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 556 | QDF_STATUS wmi_unified_fw_profiling_data_cmd(void *wmi_hdl, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 557 | uint32_t cmd, uint32_t value1, uint32_t value2); |
| 558 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 559 | QDF_STATUS wmi_unified_wow_sta_ra_filter_cmd(void *wmi_hdl, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 560 | uint8_t vdev_id, uint8_t default_pattern, |
| 561 | uint16_t rate_limit_interval); |
| 562 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 563 | QDF_STATUS wmi_unified_nat_keepalive_en_cmd(void *wmi_hdl, uint8_t vdev_id); |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 564 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 565 | QDF_STATUS wmi_unified_csa_offload_enable(void *wmi_hdl, uint8_t vdev_id); |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 566 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 567 | QDF_STATUS wmi_unified_start_oem_data_cmd(void *wmi_hdl, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 568 | uint8_t data_len, |
| 569 | uint8_t *data); |
| 570 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 571 | QDF_STATUS wmi_unified_dfs_phyerr_filter_offload_en_cmd(void *wmi_hdl, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 572 | bool dfs_phyerr_filter_offload); |
| 573 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 574 | QDF_STATUS wmi_unified_pktlog_wmi_send_cmd(void *wmi_hdl, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 575 | WMI_PKTLOG_EVENT pktlog_event, |
| 576 | WMI_CMD_ID cmd_id); |
| 577 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 578 | QDF_STATUS wmi_unified_add_wow_wakeup_event_cmd(void *wmi_hdl, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 579 | uint32_t vdev_id, |
| 580 | uint32_t bitmap, |
| 581 | bool enable); |
| 582 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 583 | QDF_STATUS wmi_unified_wow_patterns_to_fw_cmd(void *wmi_hdl, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 584 | uint8_t vdev_id, uint8_t ptrn_id, |
| 585 | const uint8_t *ptrn, uint8_t ptrn_len, |
| 586 | uint8_t ptrn_offset, const uint8_t *mask, |
| 587 | uint8_t mask_len, bool user, |
| 588 | uint8_t default_patterns); |
| 589 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 590 | QDF_STATUS wmi_unified_wow_delete_pattern_cmd(void *wmi_hdl, uint8_t ptrn_id, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 591 | uint8_t vdev_id); |
| 592 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 593 | QDF_STATUS wmi_unified_host_wakeup_ind_to_fw_cmd(void *wmi_hdl); |
| 594 | QDF_STATUS wmi_unified_del_ts_cmd(void *wmi_hdl, uint8_t vdev_id, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 595 | uint8_t ac); |
| 596 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 597 | QDF_STATUS wmi_unified_aggr_qos_cmd(void *wmi_hdl, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 598 | struct aggr_add_ts_param *aggr_qos_rsp_msg); |
| 599 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 600 | QDF_STATUS wmi_unified_add_ts_cmd(void *wmi_hdl, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 601 | struct add_ts_param *msg); |
| 602 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 603 | QDF_STATUS wmi_unified_enable_disable_packet_filter_cmd(void *wmi_hdl, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 604 | uint8_t vdev_id, bool enable); |
| 605 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 606 | QDF_STATUS wmi_unified_config_packet_filter_cmd(void *wmi_hdl, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 607 | uint8_t vdev_id, struct rcv_pkt_filter_config *rcv_filter_param, |
| 608 | uint8_t filter_id, bool enable); |
| 609 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 610 | QDF_STATUS wmi_unified_add_clear_mcbc_filter_cmd(void *wmi_hdl, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 611 | uint8_t vdev_id, |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 612 | struct qdf_mac_addr multicast_addr, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 613 | bool clearList); |
| 614 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 615 | QDF_STATUS wmi_unified_send_gtk_offload_cmd(void *wmi_hdl, uint8_t vdev_id, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 616 | struct gtk_offload_params *params, |
| 617 | bool enable_offload, |
| 618 | uint32_t gtk_offload_opcode); |
| 619 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 620 | QDF_STATUS wmi_unified_process_gtk_offload_getinfo_cmd(void *wmi_hdl, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 621 | uint8_t vdev_id, |
| 622 | uint64_t offload_req_opcode); |
| 623 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 624 | QDF_STATUS wmi_unified_process_add_periodic_tx_ptrn_cmd(void *wmi_hdl, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 625 | struct periodic_tx_pattern * |
| 626 | pAddPeriodicTxPtrnParams, |
| 627 | uint8_t vdev_id); |
| 628 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 629 | QDF_STATUS wmi_unified_process_del_periodic_tx_ptrn_cmd(void *wmi_hdl, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 630 | uint8_t vdev_id, |
| 631 | uint8_t pattern_id); |
| 632 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 633 | QDF_STATUS wmi_unified_stats_ext_req_cmd(void *wmi_hdl, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 634 | struct stats_ext_params *preq); |
| 635 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 636 | QDF_STATUS wmi_unified_enable_ext_wow_cmd(void *wmi_hdl, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 637 | struct ext_wow_params *params); |
| 638 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 639 | QDF_STATUS wmi_unified_set_app_type2_params_in_fw_cmd(void *wmi_hdl, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 640 | struct app_type2_params *appType2Params); |
| 641 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 642 | QDF_STATUS wmi_unified_set_auto_shutdown_timer_cmd(void *wmi_hdl, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 643 | uint32_t timer_val); |
| 644 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 645 | QDF_STATUS wmi_unified_nan_req_cmd(void *wmi_hdl, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 646 | struct nan_req_params *nan_req); |
| 647 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 648 | QDF_STATUS wmi_unified_process_dhcpserver_offload_cmd(void *wmi_hdl, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 649 | struct dhcp_offload_info_params *pDhcpSrvOffloadInfo); |
| 650 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 651 | QDF_STATUS wmi_unified_process_ch_avoid_update_cmd(void *wmi_hdl); |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 652 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 653 | QDF_STATUS wmi_unified_send_regdomain_info_to_fw_cmd(void *wmi_hdl, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 654 | uint32_t reg_dmn, uint16_t regdmn2G, |
| 655 | uint16_t regdmn5G, int8_t ctl2G, |
| 656 | int8_t ctl5G); |
| 657 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 658 | QDF_STATUS wmi_unified_set_tdls_offchan_mode_cmd(void *wmi_hdl, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 659 | struct tdls_channel_switch_params *chan_switch_params); |
| 660 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 661 | QDF_STATUS wmi_unified_update_fw_tdls_state_cmd(void *wmi_hdl, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 662 | void *tdls_param, uint8_t tdls_state); |
| 663 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 664 | QDF_STATUS wmi_unified_update_tdls_peer_state_cmd(void *wmi_hdl, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 665 | struct tdls_peer_state_params *peerStateParams, |
| 666 | uint32_t *ch_mhz); |
| 667 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 668 | QDF_STATUS wmi_unified_process_fw_mem_dump_cmd(void *wmi_hdl, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 669 | struct fw_dump_req_param *mem_dump_req); |
| 670 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 671 | QDF_STATUS wmi_unified_process_set_ie_info_cmd(void *wmi_hdl, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 672 | struct vdev_ie_info_param *ie_info); |
| 673 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 674 | QDF_STATUS wmi_unified_ocb_set_utc_time_cmd(void *wmi_hdl, |
Govind Singh | e7b800c | 2016-03-01 15:30:53 +0530 | [diff] [blame] | 675 | struct ocb_utc_param *utc); |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 676 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 677 | QDF_STATUS wmi_unified_dcc_get_stats_cmd(void *wmi_hdl, |
Govind Singh | e7b800c | 2016-03-01 15:30:53 +0530 | [diff] [blame] | 678 | struct dcc_get_stats_param *get_stats_param); |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 679 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 680 | QDF_STATUS wmi_unified_dcc_clear_stats(void *wmi_hdl, |
Govind Singh | e7b800c | 2016-03-01 15:30:53 +0530 | [diff] [blame] | 681 | uint32_t vdev_id, uint32_t dcc_stats_bitmap); |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 682 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 683 | QDF_STATUS wmi_unified_dcc_update_ndl(void *wmi_hdl, |
Govind Singh | e7b800c | 2016-03-01 15:30:53 +0530 | [diff] [blame] | 684 | struct dcc_update_ndl_param *update_ndl_param); |
Govind Singh | 71ee2d7 | 2016-03-07 16:30:32 +0530 | [diff] [blame] | 685 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 686 | QDF_STATUS wmi_unified_save_fw_version_cmd(void *wmi_hdl, |
Govind Singh | 71ee2d7 | 2016-03-07 16:30:32 +0530 | [diff] [blame] | 687 | void *evt_buf); |
| 688 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 689 | QDF_STATUS wmi_unified_send_init_cmd(void *wmi_hdl, |
Govind Singh | 71ee2d7 | 2016-03-07 16:30:32 +0530 | [diff] [blame] | 690 | wmi_resource_config *res_cfg, |
| 691 | uint8_t num_mem_chunks, struct wmi_host_mem_chunk *mem_chunk, |
| 692 | bool action); |
| 693 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 694 | QDF_STATUS wmi_unified_send_saved_init_cmd(void *wmi_hdl); |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 695 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 696 | QDF_STATUS wmi_unified_set_base_macaddr_indicate_cmd(void *wmi_hdl, |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 697 | uint8_t *custom_addr); |
| 698 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 699 | QDF_STATUS wmi_unified_log_supported_evt_cmd(void *wmi_hdl, |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 700 | uint8_t *event, |
| 701 | uint32_t len); |
| 702 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 703 | QDF_STATUS wmi_unified_enable_specific_fw_logs_cmd(void *wmi_hdl, |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 704 | struct wmi_wifi_start_log *start_log); |
| 705 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 706 | QDF_STATUS wmi_unified_flush_logs_to_fw_cmd(void *wmi_hdl); |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 707 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 708 | QDF_STATUS wmi_unified_soc_set_pcl_cmd(void *wmi_hdl, |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 709 | struct wmi_pcl_list *msg); |
| 710 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 711 | QDF_STATUS wmi_unified_soc_set_hw_mode_cmd(void *wmi_hdl, |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 712 | uint32_t hw_mode_index); |
| 713 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 714 | QDF_STATUS wmi_unified_soc_set_dual_mac_config_cmd(void *wmi_hdl, |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 715 | struct wmi_dual_mac_config *msg); |
| 716 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 717 | QDF_STATUS wmi_unified_enable_arp_ns_offload_cmd(void *wmi_hdl, |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 718 | struct host_offload_req_param *param, bool arp_only, |
| 719 | uint8_t vdev_id); |
| 720 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 721 | QDF_STATUS wmi_unified_set_led_flashing_cmd(void *wmi_hdl, |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 722 | struct flashing_req_params *flashing); |
| 723 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 724 | QDF_STATUS wmi_unified_app_type1_params_in_fw_cmd(void *wmi_hdl, |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 725 | struct app_type1_params *app_type1_params); |
| 726 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 727 | QDF_STATUS wmi_unified_set_ssid_hotlist_cmd(void *wmi_hdl, |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 728 | struct ssid_hotlist_request_params *request); |
| 729 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 730 | QDF_STATUS wmi_unified_roam_synch_complete_cmd(void *wmi_hdl, |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 731 | uint8_t vdev_id); |
| 732 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 733 | QDF_STATUS wmi_unified_unit_test_cmd(void *wmi_hdl, |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 734 | struct wmi_unit_test_cmd *wmi_utest); |
| 735 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 736 | QDF_STATUS wmi_unified_roam_invoke_cmd(void *wmi_hdl, |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 737 | struct wmi_roam_invoke_cmd *roaminvoke, |
| 738 | uint32_t ch_hz); |
| 739 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 740 | QDF_STATUS wmi_unified_roam_scan_offload_cmd(void *wmi_hdl, |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 741 | uint32_t command, uint32_t vdev_id); |
| 742 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 743 | QDF_STATUS wmi_unified_send_roam_scan_offload_ap_cmd(void *wmi_hdl, |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 744 | wmi_ap_profile *ap_profile_p, |
| 745 | uint32_t vdev_id); |
| 746 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 747 | QDF_STATUS wmi_unified_roam_scan_offload_scan_period(void *wmi_hdl, |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 748 | uint32_t scan_period, |
| 749 | uint32_t scan_age, |
| 750 | uint32_t vdev_id); |
| 751 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 752 | QDF_STATUS wmi_unified_roam_scan_offload_chan_list_cmd(void *wmi_hdl, |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 753 | uint8_t chan_count, |
| 754 | uint8_t *chan_list, |
| 755 | uint8_t list_type, uint32_t vdev_id); |
| 756 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 757 | QDF_STATUS wmi_unified_roam_scan_offload_rssi_change_cmd(void *wmi_hdl, |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 758 | uint32_t vdev_id, |
| 759 | int32_t rssi_change_thresh, |
| 760 | uint32_t bcn_rssi_weight, |
| 761 | uint32_t hirssi_delay_btw_scans); |
| 762 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 763 | QDF_STATUS wmi_unified_get_buf_extscan_hotlist_cmd(void *wmi_hdl, |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 764 | struct ext_scan_setbssi_hotlist_params * |
| 765 | photlist, int *buf_len); |
Govind Singh | d475ea9 | 2016-03-06 19:55:02 +0530 | [diff] [blame] | 766 | #endif /* _WMI_UNIFIED_API_H_ */ |