Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 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 | */ |
Govind Singh | e7b800c | 2016-03-01 15:30:53 +0530 | [diff] [blame] | 27 | #ifndef _WMI_UNIFIED_TLV_H_ |
| 28 | #define _WMI_UNIFIED_TLV_H_ |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 29 | #include <osdep.h> |
| 30 | #include "a_types.h" |
| 31 | #include "wmi_unified_param.h" |
Himanshu Agarwal | 56c292f | 2016-07-19 15:41:51 +0530 | [diff] [blame^] | 32 | #include "wmi.h" |
| 33 | #include "wmi_unified.h" |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 34 | #include "ol_defines.h" /* Fix Me: wmi_unified_t structure definition */ |
| 35 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 36 | QDF_STATUS send_vdev_create_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 37 | uint8_t macaddr[IEEE80211_ADDR_LEN], |
| 38 | struct vdev_create_params *param); |
| 39 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 40 | QDF_STATUS send_vdev_delete_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 41 | uint8_t if_id); |
| 42 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 43 | QDF_STATUS send_vdev_stop_cmd_tlv(wmi_unified_t wmi, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 44 | uint8_t vdev_id); |
| 45 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 46 | QDF_STATUS send_vdev_down_cmd_tlv(wmi_unified_t wmi, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 47 | uint8_t vdev_id); |
| 48 | |
Himanshu Agarwal | 7e4f4bc | 2016-03-09 16:49:38 +0530 | [diff] [blame] | 49 | QDF_STATUS send_vdev_start_cmd_tlv(wmi_unified_t wmi, |
| 50 | struct vdev_start_params *req); |
| 51 | |
| 52 | QDF_STATUS send_hidden_ssid_vdev_restart_cmd_tlv(wmi_unified_t wmi_handle, |
| 53 | struct hidden_ssid_vdev_restart_params *restart_params); |
| 54 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 55 | QDF_STATUS send_peer_flush_tids_cmd_tlv(wmi_unified_t wmi, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 56 | uint8_t peer_addr[IEEE80211_ADDR_LEN], |
| 57 | struct peer_flush_params *param); |
| 58 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 59 | QDF_STATUS send_peer_delete_cmd_tlv(wmi_unified_t wmi, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 60 | uint8_t peer_addr[IEEE80211_ADDR_LEN], |
| 61 | uint8_t vdev_id); |
| 62 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 63 | QDF_STATUS send_peer_param_cmd_tlv(wmi_unified_t wmi, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 64 | uint8_t peer_addr[IEEE80211_ADDR_LEN], |
| 65 | struct peer_set_params *param); |
| 66 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 67 | QDF_STATUS send_vdev_up_cmd_tlv(wmi_unified_t wmi, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 68 | uint8_t bssid[IEEE80211_ADDR_LEN], |
| 69 | struct vdev_up_params *params); |
| 70 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 71 | QDF_STATUS send_peer_create_cmd_tlv(wmi_unified_t wmi, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 72 | struct peer_create_params *param); |
| 73 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 74 | QDF_STATUS send_green_ap_ps_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 75 | uint32_t value, uint8_t mac_id); |
| 76 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 77 | QDF_STATUS |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 78 | send_pdev_utf_cmd_tlv(wmi_unified_t wmi_handle, |
| 79 | struct pdev_utf_params *param, |
| 80 | uint8_t mac_id); |
| 81 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 82 | QDF_STATUS |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 83 | send_pdev_param_cmd_tlv(wmi_unified_t wmi_handle, |
| 84 | struct pdev_params *param, |
| 85 | uint8_t mac_id); |
| 86 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 87 | QDF_STATUS send_suspend_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 88 | struct suspend_params *param, |
| 89 | uint8_t mac_id); |
| 90 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 91 | QDF_STATUS send_resume_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 92 | uint8_t mac_id); |
| 93 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 94 | QDF_STATUS send_wow_enable_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 95 | struct wow_cmd_params *param, |
| 96 | uint8_t mac_id); |
| 97 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 98 | QDF_STATUS send_set_ap_ps_param_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 99 | uint8_t *peer_addr, |
| 100 | struct ap_ps_params *param); |
| 101 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 102 | QDF_STATUS send_set_sta_ps_param_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 103 | struct sta_ps_params *param); |
| 104 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 105 | QDF_STATUS send_crash_inject_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 106 | struct crash_inject *param); |
| 107 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 108 | QDF_STATUS |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 109 | send_dbglog_cmd_tlv(wmi_unified_t wmi_handle, |
| 110 | struct dbglog_params *dbglog_param); |
| 111 | |
| 112 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 113 | QDF_STATUS send_vdev_set_param_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 114 | struct vdev_set_params *param); |
| 115 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 116 | QDF_STATUS send_stats_request_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 117 | uint8_t macaddr[IEEE80211_ADDR_LEN], |
| 118 | struct stats_request_params *param); |
| 119 | |
Govind Singh | fa201d9 | 2016-06-08 19:40:11 +0530 | [diff] [blame] | 120 | #ifdef CONFIG_WIN |
| 121 | QDF_STATUS send_packet_log_enable_cmd_tlv(wmi_unified_t wmi_handle, |
| 122 | WMI_HOST_PKTLOG_EVENT PKTLOG_EVENT); |
| 123 | #else |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 124 | QDF_STATUS send_packet_log_enable_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 125 | uint8_t macaddr[IEEE80211_ADDR_LEN], |
| 126 | struct packet_enable_params *param); |
Govind Singh | fa201d9 | 2016-06-08 19:40:11 +0530 | [diff] [blame] | 127 | #endif |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 128 | QDF_STATUS send_beacon_send_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 129 | struct beacon_params *param); |
| 130 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 131 | QDF_STATUS send_peer_assoc_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 132 | struct peer_assoc_params *param); |
| 133 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 134 | QDF_STATUS send_scan_start_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 135 | struct scan_start_params *param); |
| 136 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 137 | QDF_STATUS send_scan_stop_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 138 | struct scan_stop_params *param); |
| 139 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 140 | QDF_STATUS send_scan_chan_list_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 141 | struct scan_chan_list_params *param); |
| 142 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 143 | QDF_STATUS send_mgmt_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 50988cc | 2016-02-26 18:09:36 +0530 | [diff] [blame] | 144 | struct wmi_mgmt_params *param); |
| 145 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 146 | QDF_STATUS send_modem_power_state_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 50988cc | 2016-02-26 18:09:36 +0530 | [diff] [blame] | 147 | uint32_t param_value); |
| 148 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 149 | QDF_STATUS send_set_sta_ps_mode_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 50988cc | 2016-02-26 18:09:36 +0530 | [diff] [blame] | 150 | uint32_t vdev_id, uint8_t val); |
| 151 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 152 | QDF_STATUS send_set_sta_uapsd_auto_trig_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 50988cc | 2016-02-26 18:09:36 +0530 | [diff] [blame] | 153 | struct sta_uapsd_trig_params *param); |
| 154 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 155 | QDF_STATUS send_get_temperature_cmd_tlv(wmi_unified_t wmi_handle); |
Govind Singh | 50988cc | 2016-02-26 18:09:36 +0530 | [diff] [blame] | 156 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 157 | QDF_STATUS send_set_p2pgo_oppps_req_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 50988cc | 2016-02-26 18:09:36 +0530 | [diff] [blame] | 158 | struct p2p_ps_params *oppps); |
| 159 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 160 | QDF_STATUS send_set_p2pgo_noa_req_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 50988cc | 2016-02-26 18:09:36 +0530 | [diff] [blame] | 161 | struct p2p_ps_params *noa); |
| 162 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 163 | QDF_STATUS send_set_smps_params_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 164 | uint8_t vdev_id, |
Govind Singh | 50988cc | 2016-02-26 18:09:36 +0530 | [diff] [blame] | 165 | int value); |
| 166 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 167 | QDF_STATUS send_set_mimops_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 50988cc | 2016-02-26 18:09:36 +0530 | [diff] [blame] | 168 | uint8_t vdev_id, int value); |
| 169 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 170 | QDF_STATUS send_ocb_set_utc_time_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | e7b800c | 2016-03-01 15:30:53 +0530 | [diff] [blame] | 171 | struct ocb_utc_param *utc); |
| 172 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 173 | QDF_STATUS send_ocb_start_timing_advert_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | e7b800c | 2016-03-01 15:30:53 +0530 | [diff] [blame] | 174 | struct ocb_timing_advert_param *timing_advert); |
| 175 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 176 | QDF_STATUS send_ocb_stop_timing_advert_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | e7b800c | 2016-03-01 15:30:53 +0530 | [diff] [blame] | 177 | struct ocb_timing_advert_param *timing_advert); |
| 178 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 179 | QDF_STATUS send_ocb_get_tsf_timer_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | e7b800c | 2016-03-01 15:30:53 +0530 | [diff] [blame] | 180 | uint8_t vdev_id); |
| 181 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 182 | QDF_STATUS send_dcc_get_stats_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | e7b800c | 2016-03-01 15:30:53 +0530 | [diff] [blame] | 183 | struct dcc_get_stats_param *get_stats_param); |
| 184 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 185 | QDF_STATUS send_dcc_clear_stats_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | e7b800c | 2016-03-01 15:30:53 +0530 | [diff] [blame] | 186 | uint32_t vdev_id, uint32_t dcc_stats_bitmap); |
| 187 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 188 | QDF_STATUS send_dcc_update_ndl_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | e7b800c | 2016-03-01 15:30:53 +0530 | [diff] [blame] | 189 | struct dcc_update_ndl_param *update_ndl_param); |
| 190 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 191 | QDF_STATUS send_ocb_set_config_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | e7b800c | 2016-03-01 15:30:53 +0530 | [diff] [blame] | 192 | struct ocb_config_param *config, uint32_t *ch_mhz); |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 193 | QDF_STATUS send_lro_config_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 9bad000 | 2016-03-01 15:54:59 +0530 | [diff] [blame] | 194 | struct wmi_lro_config_cmd_t *wmi_lro_cmd); |
| 195 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 196 | QDF_STATUS send_set_thermal_mgmt_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 9bad000 | 2016-03-01 15:54:59 +0530 | [diff] [blame] | 197 | struct thermal_cmd_params *thermal_info); |
| 198 | |
Poddar, Siddarth | 794b996 | 2016-04-28 15:49:11 +0530 | [diff] [blame] | 199 | QDF_STATUS send_peer_rate_report_cmd_tlv(wmi_unified_t wmi_handle, |
| 200 | struct wmi_peer_rate_report_params *rate_report_params); |
| 201 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 202 | QDF_STATUS send_set_mcc_channel_time_quota_cmd_tlv |
Govind Singh | 9bad000 | 2016-03-01 15:54:59 +0530 | [diff] [blame] | 203 | (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 Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 207 | QDF_STATUS send_set_mcc_channel_time_latency_cmd_tlv |
Govind Singh | 9bad000 | 2016-03-01 15:54:59 +0530 | [diff] [blame] | 208 | (wmi_unified_t wmi_handle, |
| 209 | uint32_t mcc_channel_freq, uint32_t mcc_channel_time_latency); |
| 210 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 211 | QDF_STATUS send_set_enable_disable_mcc_adaptive_scheduler_cmd_tlv( |
Govind Singh | 608e889 | 2016-04-16 19:24:23 -0700 | [diff] [blame] | 212 | wmi_unified_t wmi_handle, uint32_t mcc_adaptive_scheduler, |
| 213 | uint32_t pdev_id); |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 214 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 215 | QDF_STATUS send_p2p_go_set_beacon_ie_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 216 | A_UINT32 vdev_id, uint8_t *p2p_ie); |
| 217 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 218 | QDF_STATUS send_probe_rsp_tmpl_send_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 219 | uint8_t vdev_id, |
| 220 | struct wmi_probe_resp_params *probe_rsp_info, |
| 221 | uint8_t *frm); |
| 222 | |
Himanshu Agarwal | 9efd9bf | 2016-03-09 18:49:18 +0530 | [diff] [blame] | 223 | QDF_STATUS send_setup_install_key_cmd_tlv(wmi_unified_t wmi_handle, |
| 224 | struct set_key_params *key_params); |
| 225 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 226 | QDF_STATUS send_process_update_edca_param_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 227 | uint8_t vdev_id, |
| 228 | wmi_wmm_vparams gwmm_param[WMI_MAX_NUM_AC]); |
| 229 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 230 | QDF_STATUS send_vdev_set_gtx_cfg_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 231 | uint32_t if_id, |
| 232 | struct wmi_gtx_config *gtx_info); |
| 233 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 234 | QDF_STATUS send_set_sta_keep_alive_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 235 | struct sta_params *params); |
| 236 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 237 | QDF_STATUS send_set_sta_sa_query_param_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 238 | uint8_t vdev_id, uint32_t max_retries, |
| 239 | uint32_t retry_interval); |
| 240 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 241 | QDF_STATUS send_bcn_buf_ll_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 242 | wmi_bcn_send_from_host_cmd_fixed_param *param); |
| 243 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 244 | QDF_STATUS send_set_gateway_params_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 245 | struct gateway_update_req_param *req); |
| 246 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 247 | QDF_STATUS send_set_rssi_monitoring_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 248 | struct rssi_monitor_param *req); |
| 249 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 250 | QDF_STATUS send_ipa_offload_control_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 251 | struct ipa_offload_control_params *ipa_offload); |
| 252 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 253 | QDF_STATUS send_scan_probe_setoui_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 254 | struct scan_mac_oui *psetoui); |
| 255 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 256 | QDF_STATUS send_reset_passpoint_network_list_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 257 | struct wifi_passpoint_req_param *req); |
| 258 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 259 | QDF_STATUS send_set_passpoint_network_list_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 260 | struct wifi_passpoint_req_param *req); |
| 261 | |
Himanshu Agarwal | 5f2d048 | 2016-03-09 15:25:44 +0530 | [diff] [blame] | 262 | QDF_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 | |
| 266 | QDF_STATUS send_roam_scan_offload_rssi_thresh_cmd_tlv(wmi_unified_t wmi_handle, |
| 267 | struct roam_offload_scan_rssi_params *roam_req); |
| 268 | |
| 269 | QDF_STATUS send_roam_scan_filter_cmd_tlv(wmi_unified_t wmi_handle, |
| 270 | struct roam_scan_filter_params *roam_req); |
| 271 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 272 | QDF_STATUS send_set_ric_req_cmd_tlv(wmi_unified_t wmi_handle, void *msg, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 273 | uint8_t is_add_ts); |
| 274 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 275 | QDF_STATUS send_set_epno_network_list_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 276 | struct wifi_enhanched_pno_params *req); |
| 277 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 278 | QDF_STATUS send_extscan_get_capabilities_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 279 | struct extscan_capabilities_params *pgetcapab); |
| 280 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 281 | QDF_STATUS send_extscan_get_cached_results_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 282 | struct extscan_cached_result_params *pcached_results); |
| 283 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 284 | QDF_STATUS send_extscan_stop_change_monitor_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 285 | struct extscan_capabilities_reset_params *reset_req); |
| 286 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 287 | QDF_STATUS send_extscan_start_change_monitor_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 288 | struct extscan_set_sig_changereq_params * |
| 289 | psigchange); |
| 290 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 291 | QDF_STATUS send_extscan_stop_hotlist_monitor_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 292 | struct extscan_bssid_hotlist_reset_params *photlist_reset); |
| 293 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 294 | QDF_STATUS send_stop_extscan_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 295 | struct extscan_stop_req_params *pstopcmd); |
| 296 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 297 | QDF_STATUS send_start_extscan_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 298 | struct wifi_scan_cmd_req_params *pstart); |
| 299 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 300 | QDF_STATUS send_plm_stop_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 301 | const struct plm_req_params *plm); |
| 302 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 303 | QDF_STATUS send_plm_start_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 304 | const struct plm_req_params *plm, |
| 305 | uint32_t *gchannel_list); |
| 306 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 307 | QDF_STATUS send_pno_stop_cmd_tlv(wmi_unified_t wmi_handle, uint8_t vdev_id); |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 308 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 309 | QDF_STATUS send_pno_start_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 310 | struct pno_scan_req_params *pno, |
| 311 | uint32_t *gchannel_freq_list); |
| 312 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 313 | QDF_STATUS send_process_ll_stats_clear_cmd_tlv |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 314 | (wmi_unified_t wmi_handle, |
| 315 | const struct ll_stats_clear_params *clear_req, |
| 316 | uint8_t addr[IEEE80211_ADDR_LEN]); |
| 317 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 318 | QDF_STATUS send_process_ll_stats_set_cmd_tlv |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 319 | (wmi_unified_t wmi_handle, const struct ll_stats_set_params *set_req); |
| 320 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 321 | QDF_STATUS send_process_ll_stats_get_cmd_tlv |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 322 | (wmi_unified_t wmi_handle, const struct ll_stats_get_params *get_req, |
| 323 | uint8_t addr[IEEE80211_ADDR_LEN]); |
| 324 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 325 | QDF_STATUS send_get_stats_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 326 | struct pe_stats_req *get_stats_param, |
| 327 | uint8_t addr[IEEE80211_ADDR_LEN]); |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 328 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 329 | QDF_STATUS send_snr_request_cmd_tlv(wmi_unified_t wmi_handle); |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 330 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 331 | QDF_STATUS send_snr_cmd_tlv(wmi_unified_t wmi_handle, uint8_t vdev_id); |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 332 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 333 | QDF_STATUS send_link_status_req_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 334 | struct link_status_params *link_status); |
| 335 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 336 | QDF_STATUS send_lphb_config_hbenable_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 337 | wmi_hb_set_enable_cmd_fixed_param *params); |
| 338 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 339 | QDF_STATUS send_lphb_config_tcp_params_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 340 | wmi_hb_set_tcp_params_cmd_fixed_param *lphb_conf_req); |
| 341 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 342 | QDF_STATUS send_lphb_config_tcp_pkt_filter_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 343 | wmi_hb_set_tcp_pkt_filter_cmd_fixed_param *g_hb_tcp_filter_fp); |
| 344 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 345 | QDF_STATUS send_lphb_config_udp_params_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 346 | wmi_hb_set_udp_params_cmd_fixed_param *lphb_conf_req); |
| 347 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 348 | QDF_STATUS send_lphb_config_udp_pkt_filter_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 349 | wmi_hb_set_udp_pkt_filter_cmd_fixed_param *lphb_conf_req); |
| 350 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 351 | QDF_STATUS send_process_dhcp_ind_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 352 | wmi_peer_set_param_cmd_fixed_param *ta_dhcp_ind); |
| 353 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 354 | QDF_STATUS send_get_link_speed_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 355 | wmi_mac_addr peer_macaddr); |
| 356 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 357 | QDF_STATUS send_egap_conf_params_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 358 | wmi_ap_ps_egap_param_cmd_fixed_param *egap_params); |
| 359 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 360 | QDF_STATUS send_fw_profiling_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 361 | uint32_t cmd, uint32_t value1, uint32_t value2); |
| 362 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 363 | QDF_STATUS send_wow_sta_ra_filter_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 364 | uint8_t vdev_id, uint8_t default_pattern, |
| 365 | uint16_t rate_limit_interval); |
| 366 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 367 | QDF_STATUS send_nat_keepalive_en_cmd_tlv(wmi_unified_t wmi_handle, uint8_t vdev_id); |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 368 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 369 | QDF_STATUS send_csa_offload_enable_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 370 | uint8_t vdev_id); |
| 371 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 372 | QDF_STATUS send_start_oem_data_cmd_tlv(wmi_unified_t wmi_handle, |
Krishna Kumaar Natarajan | 7a59ca0 | 2016-07-21 15:02:44 -0700 | [diff] [blame] | 373 | uint32_t data_len, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 374 | uint8_t *data); |
| 375 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 376 | QDF_STATUS |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 377 | send_dfs_phyerr_filter_offload_en_cmd_tlv(wmi_unified_t wmi_handle, |
| 378 | bool dfs_phyerr_filter_offload); |
| 379 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 380 | QDF_STATUS send_pktlog_wmi_send_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 381 | WMI_PKTLOG_EVENT pktlog_event, |
| 382 | WMI_CMD_ID cmd_id); |
| 383 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 384 | QDF_STATUS send_add_wow_wakeup_event_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 385 | uint32_t vdev_id, |
| 386 | uint32_t bitmap, |
| 387 | bool enable); |
| 388 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 389 | QDF_STATUS send_wow_patterns_to_fw_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 390 | uint8_t vdev_id, uint8_t ptrn_id, |
| 391 | const uint8_t *ptrn, uint8_t ptrn_len, |
| 392 | uint8_t ptrn_offset, const uint8_t *mask, |
| 393 | uint8_t mask_len, bool user, |
| 394 | uint8_t default_patterns); |
| 395 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 396 | QDF_STATUS send_wow_delete_pattern_cmd_tlv(wmi_unified_t wmi_handle, uint8_t ptrn_id, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 397 | uint8_t vdev_id); |
| 398 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 399 | QDF_STATUS send_host_wakeup_ind_to_fw_cmd_tlv(wmi_unified_t wmi_handle); |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 400 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 401 | QDF_STATUS send_del_ts_cmd_tlv(wmi_unified_t wmi_handle, uint8_t vdev_id, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 402 | uint8_t ac); |
| 403 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 404 | QDF_STATUS send_aggr_qos_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 405 | struct aggr_add_ts_param *aggr_qos_rsp_msg); |
| 406 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 407 | QDF_STATUS send_add_ts_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 408 | struct add_ts_param *msg); |
| 409 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 410 | QDF_STATUS send_enable_disable_packet_filter_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 411 | uint8_t vdev_id, bool enable); |
| 412 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 413 | QDF_STATUS send_config_packet_filter_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 414 | uint8_t vdev_id, struct rcv_pkt_filter_config *rcv_filter_param, |
| 415 | uint8_t filter_id, bool enable); |
| 416 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 417 | QDF_STATUS send_add_clear_mcbc_filter_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 418 | uint8_t vdev_id, |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 419 | struct qdf_mac_addr multicast_addr, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 420 | bool clearList); |
| 421 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 422 | QDF_STATUS send_gtk_offload_cmd_tlv(wmi_unified_t wmi_handle, uint8_t vdev_id, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 423 | struct gtk_offload_params *params, |
| 424 | bool enable_offload, |
| 425 | uint32_t gtk_offload_opcode); |
| 426 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 427 | QDF_STATUS send_process_gtk_offload_getinfo_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 428 | uint8_t vdev_id, |
| 429 | uint64_t offload_req_opcode); |
| 430 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 431 | QDF_STATUS send_process_add_periodic_tx_ptrn_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 432 | struct periodic_tx_pattern * |
| 433 | pAddPeriodicTxPtrnParams, |
| 434 | uint8_t vdev_id); |
| 435 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 436 | QDF_STATUS send_process_del_periodic_tx_ptrn_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 437 | uint8_t vdev_id, |
| 438 | uint8_t pattern_id); |
| 439 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 440 | QDF_STATUS send_stats_ext_req_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 441 | struct stats_ext_params *preq); |
| 442 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 443 | QDF_STATUS send_enable_ext_wow_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 444 | struct ext_wow_params *params); |
| 445 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 446 | QDF_STATUS send_set_app_type2_params_in_fw_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 447 | struct app_type2_params *appType2Params); |
| 448 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 449 | QDF_STATUS send_set_auto_shutdown_timer_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 450 | uint32_t timer_val); |
| 451 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 452 | QDF_STATUS send_nan_req_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 453 | struct nan_req_params *nan_req); |
| 454 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 455 | QDF_STATUS send_process_dhcpserver_offload_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 456 | struct dhcp_offload_info_params *pDhcpSrvOffloadInfo); |
| 457 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 458 | QDF_STATUS send_process_ch_avoid_update_cmd_tlv(wmi_unified_t wmi_handle); |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 459 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 460 | QDF_STATUS send_regdomain_info_to_fw_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 461 | uint32_t reg_dmn, uint16_t regdmn2G, |
| 462 | uint16_t regdmn5G, int8_t ctl2G, |
| 463 | int8_t ctl5G); |
| 464 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 465 | QDF_STATUS send_set_tdls_offchan_mode_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 466 | struct tdls_channel_switch_params *chan_switch_params); |
| 467 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 468 | QDF_STATUS send_update_fw_tdls_state_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 469 | void *tdls_param, uint8_t tdls_state); |
| 470 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 471 | QDF_STATUS send_update_tdls_peer_state_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 472 | struct tdls_peer_state_params *peerStateParams, |
| 473 | uint32_t *ch_mhz); |
| 474 | |
| 475 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 476 | QDF_STATUS send_process_fw_mem_dump_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 477 | struct fw_dump_req_param *mem_dump_req); |
| 478 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 479 | QDF_STATUS send_process_set_ie_info_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 480 | struct vdev_ie_info_param *ie_info); |
Govind Singh | 71ee2d7 | 2016-03-07 16:30:32 +0530 | [diff] [blame] | 481 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 482 | QDF_STATUS send_init_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 71ee2d7 | 2016-03-07 16:30:32 +0530 | [diff] [blame] | 483 | wmi_resource_config *res_cfg, |
| 484 | uint8_t num_mem_chunks, struct wmi_host_mem_chunk *mem_chunk, |
| 485 | bool action); |
| 486 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 487 | QDF_STATUS send_saved_init_cmd_tlv(wmi_unified_t wmi_handle); |
Govind Singh | 71ee2d7 | 2016-03-07 16:30:32 +0530 | [diff] [blame] | 488 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 489 | QDF_STATUS save_fw_version_cmd_tlv(wmi_unified_t wmi_handle, void *evt_buf); |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 490 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 491 | QDF_STATUS check_and_update_fw_version_cmd_tlv(wmi_unified_t wmi_hdl, void *ev); |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 492 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 493 | QDF_STATUS send_set_base_macaddr_indicate_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 494 | uint8_t *custom_addr); |
| 495 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 496 | QDF_STATUS send_log_supported_evt_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 497 | uint8_t *event, |
| 498 | uint32_t len); |
| 499 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 500 | QDF_STATUS send_enable_specific_fw_logs_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 501 | struct wmi_wifi_start_log *start_log); |
| 502 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 503 | QDF_STATUS send_flush_logs_to_fw_cmd_tlv(wmi_unified_t wmi_handle); |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 504 | |
Manishekar Chandrasekaran | b8c5938 | 2016-04-21 19:16:32 +0530 | [diff] [blame] | 505 | QDF_STATUS send_pdev_set_pcl_cmd_tlv(wmi_unified_t wmi_handle, |
| 506 | struct wmi_pcl_chan_weights *msg); |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 507 | |
Manishekar Chandrasekaran | 68430d3 | 2016-04-27 12:29:16 +0530 | [diff] [blame] | 508 | QDF_STATUS send_pdev_set_hw_mode_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 509 | uint32_t hw_mode_index); |
| 510 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 511 | QDF_STATUS send_soc_set_dual_mac_config_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 512 | struct wmi_dual_mac_config *msg); |
| 513 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 514 | QDF_STATUS send_enable_arp_ns_offload_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 515 | struct host_offload_req_param *param, bool arp_only, |
| 516 | uint8_t vdev_id); |
| 517 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 518 | QDF_STATUS send_set_led_flashing_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 519 | struct flashing_req_params *flashing); |
| 520 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 521 | QDF_STATUS send_app_type1_params_in_fw_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 522 | struct app_type1_params *app_type1_params); |
| 523 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 524 | QDF_STATUS |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 525 | send_set_ssid_hotlist_cmd_tlv(wmi_unified_t wmi_handle, |
| 526 | struct ssid_hotlist_request_params *request); |
| 527 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 528 | QDF_STATUS send_process_roam_synch_complete_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 529 | uint8_t vdev_id); |
| 530 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 531 | QDF_STATUS send_unit_test_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 532 | struct wmi_unit_test_cmd *wmi_utest); |
| 533 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 534 | QDF_STATUS send_roam_invoke_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 535 | struct wmi_roam_invoke_cmd *roaminvoke, |
| 536 | uint32_t ch_hz); |
| 537 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 538 | QDF_STATUS send_roam_scan_offload_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 539 | uint32_t command, uint32_t vdev_id); |
| 540 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 541 | QDF_STATUS send_roam_scan_offload_ap_profile_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 542 | wmi_ap_profile *ap_profile_p, |
| 543 | uint32_t vdev_id); |
| 544 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 545 | QDF_STATUS send_roam_scan_offload_scan_period_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 546 | uint32_t scan_period, |
| 547 | uint32_t scan_age, |
| 548 | uint32_t vdev_id); |
| 549 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 550 | QDF_STATUS send_roam_scan_offload_chan_list_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 551 | uint8_t chan_count, |
Varun Reddy Yeturu | b47fa40 | 2016-07-07 17:42:49 -0700 | [diff] [blame] | 552 | uint32_t *chan_list, |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 553 | uint8_t list_type, uint32_t vdev_id); |
| 554 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 555 | QDF_STATUS send_roam_scan_offload_rssi_change_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 556 | uint32_t vdev_id, |
| 557 | int32_t rssi_change_thresh, |
| 558 | uint32_t bcn_rssi_weight, |
| 559 | uint32_t hirssi_delay_btw_scans); |
| 560 | |
Govind Singh | d7468a5 | 2016-03-09 14:32:57 +0530 | [diff] [blame] | 561 | QDF_STATUS send_get_buf_extscan_hotlist_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 2ae9437 | 2016-03-07 16:45:38 +0530 | [diff] [blame] | 562 | struct ext_scan_setbssi_hotlist_params * |
| 563 | photlist, int *buf_len); |
| 564 | #endif |
| 565 | |