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" |
| 32 | #include "ol_defines.h" /* Fix Me: wmi_unified_t structure definition */ |
| 33 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 34 | CDF_STATUS send_vdev_create_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 35 | uint8_t macaddr[IEEE80211_ADDR_LEN], |
| 36 | struct vdev_create_params *param); |
| 37 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 38 | CDF_STATUS send_vdev_delete_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 39 | uint8_t if_id); |
| 40 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 41 | CDF_STATUS send_vdev_stop_cmd_tlv(wmi_unified_t wmi, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 42 | uint8_t vdev_id); |
| 43 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 44 | CDF_STATUS send_vdev_down_cmd_tlv(wmi_unified_t wmi, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 45 | uint8_t vdev_id); |
| 46 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 47 | CDF_STATUS send_peer_flush_tids_cmd_tlv(wmi_unified_t wmi, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 48 | uint8_t peer_addr[IEEE80211_ADDR_LEN], |
| 49 | struct peer_flush_params *param); |
| 50 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 51 | CDF_STATUS send_peer_delete_cmd_tlv(wmi_unified_t wmi, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 52 | uint8_t peer_addr[IEEE80211_ADDR_LEN], |
| 53 | uint8_t vdev_id); |
| 54 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 55 | CDF_STATUS send_peer_param_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_set_params *param); |
| 58 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 59 | CDF_STATUS send_vdev_up_cmd_tlv(wmi_unified_t wmi, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 60 | uint8_t bssid[IEEE80211_ADDR_LEN], |
| 61 | struct vdev_up_params *params); |
| 62 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 63 | CDF_STATUS send_peer_create_cmd_tlv(wmi_unified_t wmi, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 64 | struct peer_create_params *param); |
| 65 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 66 | CDF_STATUS send_green_ap_ps_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 67 | uint32_t value, uint8_t mac_id); |
| 68 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 69 | CDF_STATUS |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 70 | send_pdev_utf_cmd_tlv(wmi_unified_t wmi_handle, |
| 71 | struct pdev_utf_params *param, |
| 72 | uint8_t mac_id); |
| 73 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 74 | CDF_STATUS |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 75 | send_pdev_param_cmd_tlv(wmi_unified_t wmi_handle, |
| 76 | struct pdev_params *param, |
| 77 | uint8_t mac_id); |
| 78 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 79 | CDF_STATUS send_suspend_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 80 | struct suspend_params *param, |
| 81 | uint8_t mac_id); |
| 82 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 83 | CDF_STATUS send_resume_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 84 | uint8_t mac_id); |
| 85 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 86 | CDF_STATUS send_wow_enable_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 87 | struct wow_cmd_params *param, |
| 88 | uint8_t mac_id); |
| 89 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 90 | CDF_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] | 91 | uint8_t *peer_addr, |
| 92 | struct ap_ps_params *param); |
| 93 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 94 | CDF_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] | 95 | struct sta_ps_params *param); |
| 96 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 97 | CDF_STATUS send_crash_inject_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 98 | struct crash_inject *param); |
| 99 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 100 | CDF_STATUS |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 101 | send_dbglog_cmd_tlv(wmi_unified_t wmi_handle, |
| 102 | struct dbglog_params *dbglog_param); |
| 103 | |
| 104 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 105 | CDF_STATUS send_vdev_set_param_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 106 | struct vdev_set_params *param); |
| 107 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 108 | CDF_STATUS send_stats_request_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 109 | uint8_t macaddr[IEEE80211_ADDR_LEN], |
| 110 | struct stats_request_params *param); |
| 111 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 112 | CDF_STATUS send_packet_log_enable_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 113 | uint8_t macaddr[IEEE80211_ADDR_LEN], |
| 114 | struct packet_enable_params *param); |
| 115 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 116 | CDF_STATUS send_beacon_send_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 117 | struct beacon_params *param); |
| 118 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 119 | CDF_STATUS send_peer_assoc_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 120 | struct peer_assoc_params *param); |
| 121 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 122 | CDF_STATUS send_scan_start_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 123 | struct scan_start_params *param); |
| 124 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 125 | CDF_STATUS send_scan_stop_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 126 | struct scan_stop_params *param); |
| 127 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 128 | CDF_STATUS send_scan_chan_list_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 3ddda1f | 2016-03-09 11:34:12 +0530 | [diff] [blame] | 129 | struct scan_chan_list_params *param); |
| 130 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 131 | CDF_STATUS send_mgmt_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 50988cc | 2016-02-26 18:09:36 +0530 | [diff] [blame] | 132 | struct wmi_mgmt_params *param); |
| 133 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 134 | CDF_STATUS send_modem_power_state_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 50988cc | 2016-02-26 18:09:36 +0530 | [diff] [blame] | 135 | uint32_t param_value); |
| 136 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 137 | CDF_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] | 138 | uint32_t vdev_id, uint8_t val); |
| 139 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 140 | CDF_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] | 141 | struct sta_uapsd_trig_params *param); |
| 142 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 143 | CDF_STATUS send_get_temperature_cmd_tlv(wmi_unified_t wmi_handle); |
Govind Singh | 50988cc | 2016-02-26 18:09:36 +0530 | [diff] [blame] | 144 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 145 | CDF_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] | 146 | struct p2p_ps_params *oppps); |
| 147 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 148 | CDF_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] | 149 | struct p2p_ps_params *noa); |
| 150 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 151 | CDF_STATUS send_set_smps_params_cmd_tlv(wmi_unified_t wmi_handle, |
| 152 | uint8_t vdev_id, |
Govind Singh | 50988cc | 2016-02-26 18:09:36 +0530 | [diff] [blame] | 153 | int value); |
| 154 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 155 | CDF_STATUS send_set_mimops_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 50988cc | 2016-02-26 18:09:36 +0530 | [diff] [blame] | 156 | uint8_t vdev_id, int value); |
| 157 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 158 | CDF_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] | 159 | struct ocb_utc_param *utc); |
| 160 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 161 | CDF_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] | 162 | struct ocb_timing_advert_param *timing_advert); |
| 163 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 164 | CDF_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] | 165 | struct ocb_timing_advert_param *timing_advert); |
| 166 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 167 | CDF_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] | 168 | uint8_t vdev_id); |
| 169 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 170 | CDF_STATUS send_dcc_get_stats_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | e7b800c | 2016-03-01 15:30:53 +0530 | [diff] [blame] | 171 | struct dcc_get_stats_param *get_stats_param); |
| 172 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 173 | CDF_STATUS send_dcc_clear_stats_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | e7b800c | 2016-03-01 15:30:53 +0530 | [diff] [blame] | 174 | uint32_t vdev_id, uint32_t dcc_stats_bitmap); |
| 175 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 176 | CDF_STATUS send_dcc_update_ndl_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | e7b800c | 2016-03-01 15:30:53 +0530 | [diff] [blame] | 177 | struct dcc_update_ndl_param *update_ndl_param); |
| 178 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 179 | CDF_STATUS send_ocb_set_config_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | e7b800c | 2016-03-01 15:30:53 +0530 | [diff] [blame] | 180 | struct ocb_config_param *config, uint32_t *ch_mhz); |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 181 | CDF_STATUS send_lro_config_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 9bad000 | 2016-03-01 15:54:59 +0530 | [diff] [blame] | 182 | struct wmi_lro_config_cmd_t *wmi_lro_cmd); |
| 183 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 184 | CDF_STATUS send_set_thermal_mgmt_cmd_tlv(wmi_unified_t wmi_handle, |
Govind Singh | 9bad000 | 2016-03-01 15:54:59 +0530 | [diff] [blame] | 185 | struct thermal_cmd_params *thermal_info); |
| 186 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 187 | CDF_STATUS send_set_mcc_channel_time_quota_cmd_tlv |
Govind Singh | 9bad000 | 2016-03-01 15:54:59 +0530 | [diff] [blame] | 188 | (wmi_unified_t wmi_handle, |
| 189 | uint32_t adapter_1_chan_freq, |
| 190 | uint32_t adapter_1_quota, uint32_t adapter_2_chan_freq); |
| 191 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 192 | CDF_STATUS send_set_mcc_channel_time_latency_cmd_tlv |
Govind Singh | 9bad000 | 2016-03-01 15:54:59 +0530 | [diff] [blame] | 193 | (wmi_unified_t wmi_handle, |
| 194 | uint32_t mcc_channel_freq, uint32_t mcc_channel_time_latency); |
| 195 | |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 196 | CDF_STATUS send_set_enable_disable_mcc_adaptive_scheduler_cmd_tlv( |
Govind Singh | 9bad000 | 2016-03-01 15:54:59 +0530 | [diff] [blame] | 197 | wmi_unified_t wmi_handle, uint32_t mcc_adaptive_scheduler); |
Govind Singh | ae85536 | 2016-03-07 14:24:22 +0530 | [diff] [blame] | 198 | |
| 199 | CDF_STATUS send_p2p_go_set_beacon_ie_cmd_tlv(wmi_unified_t wmi_handle, |
| 200 | A_UINT32 vdev_id, uint8_t *p2p_ie); |
| 201 | |
| 202 | CDF_STATUS send_probe_rsp_tmpl_send_cmd_tlv(wmi_unified_t wmi_handle, |
| 203 | uint8_t vdev_id, |
| 204 | struct wmi_probe_resp_params *probe_rsp_info, |
| 205 | uint8_t *frm); |
| 206 | |
| 207 | CDF_STATUS send_process_update_edca_param_cmd_tlv(wmi_unified_t wmi_handle, |
| 208 | uint8_t vdev_id, |
| 209 | wmi_wmm_vparams gwmm_param[WMI_MAX_NUM_AC]); |
| 210 | |
| 211 | CDF_STATUS send_vdev_set_gtx_cfg_cmd_tlv(wmi_unified_t wmi_handle, |
| 212 | uint32_t if_id, |
| 213 | struct wmi_gtx_config *gtx_info); |
| 214 | |
| 215 | CDF_STATUS send_set_sta_keep_alive_cmd_tlv(wmi_unified_t wmi_handle, |
| 216 | struct sta_params *params); |
| 217 | |
| 218 | CDF_STATUS send_set_sta_sa_query_param_cmd_tlv(wmi_unified_t wmi_handle, |
| 219 | uint8_t vdev_id, uint32_t max_retries, |
| 220 | uint32_t retry_interval); |
| 221 | |
| 222 | CDF_STATUS send_bcn_buf_ll_cmd_tlv(wmi_unified_t wmi_handle, |
| 223 | wmi_bcn_send_from_host_cmd_fixed_param *param); |
| 224 | |
| 225 | CDF_STATUS send_set_gateway_params_cmd_tlv(wmi_unified_t wmi_handle, |
| 226 | struct gateway_update_req_param *req); |
| 227 | |
| 228 | CDF_STATUS send_set_rssi_monitoring_cmd_tlv(wmi_unified_t wmi_handle, |
| 229 | struct rssi_monitor_param *req); |
| 230 | |
| 231 | CDF_STATUS send_ipa_offload_control_cmd_tlv(wmi_unified_t wmi_handle, |
| 232 | struct ipa_offload_control_params *ipa_offload); |
| 233 | |
| 234 | CDF_STATUS send_scan_probe_setoui_cmd_tlv(wmi_unified_t wmi_handle, |
| 235 | struct scan_mac_oui *psetoui); |
| 236 | |
| 237 | CDF_STATUS send_reset_passpoint_network_list_cmd_tlv(wmi_unified_t wmi_handle, |
| 238 | struct wifi_passpoint_req_param *req); |
| 239 | |
| 240 | CDF_STATUS send_set_passpoint_network_list_cmd_tlv(wmi_unified_t wmi_handle, |
| 241 | struct wifi_passpoint_req_param *req); |
| 242 | |
| 243 | CDF_STATUS send_set_ric_req_cmd_tlv(wmi_unified_t wmi_handle, void *msg, |
| 244 | uint8_t is_add_ts); |
| 245 | |
| 246 | CDF_STATUS send_set_epno_network_list_cmd_tlv(wmi_unified_t wmi_handle, |
| 247 | struct wifi_enhanched_pno_params *req); |
| 248 | |
| 249 | CDF_STATUS send_extscan_get_capabilities_cmd_tlv(wmi_unified_t wmi_handle, |
| 250 | struct extscan_capabilities_params *pgetcapab); |
| 251 | |
| 252 | CDF_STATUS send_extscan_get_cached_results_cmd_tlv(wmi_unified_t wmi_handle, |
| 253 | struct extscan_cached_result_params *pcached_results); |
| 254 | |
| 255 | CDF_STATUS send_extscan_stop_change_monitor_cmd_tlv(wmi_unified_t wmi_handle, |
| 256 | struct extscan_capabilities_reset_params *reset_req); |
| 257 | |
| 258 | CDF_STATUS send_extscan_start_change_monitor_cmd_tlv(wmi_unified_t wmi_handle, |
| 259 | struct extscan_set_sig_changereq_params * |
| 260 | psigchange); |
| 261 | |
| 262 | CDF_STATUS send_extscan_stop_hotlist_monitor_cmd_tlv(wmi_unified_t wmi_handle, |
| 263 | struct extscan_bssid_hotlist_reset_params *photlist_reset); |
| 264 | |
| 265 | CDF_STATUS send_stop_extscan_cmd_tlv(wmi_unified_t wmi_handle, |
| 266 | struct extscan_stop_req_params *pstopcmd); |
| 267 | |
| 268 | CDF_STATUS send_start_extscan_cmd_tlv(wmi_unified_t wmi_handle, |
| 269 | struct wifi_scan_cmd_req_params *pstart); |
| 270 | |
| 271 | CDF_STATUS send_plm_stop_cmd_tlv(wmi_unified_t wmi_handle, |
| 272 | const struct plm_req_params *plm); |
| 273 | |
| 274 | CDF_STATUS send_plm_start_cmd_tlv(wmi_unified_t wmi_handle, |
| 275 | const struct plm_req_params *plm, |
| 276 | uint32_t *gchannel_list); |
| 277 | |
| 278 | CDF_STATUS send_pno_stop_cmd_tlv(wmi_unified_t wmi_handle, uint8_t vdev_id); |
| 279 | |
| 280 | CDF_STATUS send_pno_start_cmd_tlv(wmi_unified_t wmi_handle, |
| 281 | struct pno_scan_req_params *pno, |
| 282 | uint32_t *gchannel_freq_list); |
| 283 | |
| 284 | CDF_STATUS send_process_ll_stats_clear_cmd_tlv |
| 285 | (wmi_unified_t wmi_handle, |
| 286 | const struct ll_stats_clear_params *clear_req, |
| 287 | uint8_t addr[IEEE80211_ADDR_LEN]); |
| 288 | |
| 289 | CDF_STATUS send_process_ll_stats_set_cmd_tlv |
| 290 | (wmi_unified_t wmi_handle, const struct ll_stats_set_params *set_req); |
| 291 | |
| 292 | CDF_STATUS send_process_ll_stats_get_cmd_tlv |
| 293 | (wmi_unified_t wmi_handle, const struct ll_stats_get_params *get_req, |
| 294 | uint8_t addr[IEEE80211_ADDR_LEN]); |
| 295 | |
| 296 | CDF_STATUS send_get_stats_cmd_tlv(wmi_unified_t wmi_handle, |
| 297 | struct pe_stats_req *get_stats_param, |
| 298 | uint8_t addr[IEEE80211_ADDR_LEN]); |
Govind Singh | 229bc0d | 2016-03-07 15:33:31 +0530 | [diff] [blame] | 299 | |
| 300 | CDF_STATUS send_snr_request_cmd_tlv(wmi_unified_t wmi_handle); |
| 301 | |
| 302 | CDF_STATUS send_snr_cmd_tlv(wmi_unified_t wmi_handle, uint8_t vdev_id); |
| 303 | |
| 304 | CDF_STATUS send_link_status_req_cmd_tlv(wmi_unified_t wmi_handle, |
| 305 | struct link_status_params *link_status); |
| 306 | |
| 307 | CDF_STATUS send_lphb_config_hbenable_cmd_tlv(wmi_unified_t wmi_handle, |
| 308 | wmi_hb_set_enable_cmd_fixed_param *params); |
| 309 | |
| 310 | CDF_STATUS send_lphb_config_tcp_params_cmd_tlv(wmi_unified_t wmi_handle, |
| 311 | wmi_hb_set_tcp_params_cmd_fixed_param *lphb_conf_req); |
| 312 | |
| 313 | CDF_STATUS send_lphb_config_tcp_pkt_filter_cmd_tlv(wmi_unified_t wmi_handle, |
| 314 | wmi_hb_set_tcp_pkt_filter_cmd_fixed_param *g_hb_tcp_filter_fp); |
| 315 | |
| 316 | CDF_STATUS send_lphb_config_udp_params_cmd_tlv(wmi_unified_t wmi_handle, |
| 317 | wmi_hb_set_udp_params_cmd_fixed_param *lphb_conf_req); |
| 318 | |
| 319 | CDF_STATUS send_lphb_config_udp_pkt_filter_cmd_tlv(wmi_unified_t wmi_handle, |
| 320 | wmi_hb_set_udp_pkt_filter_cmd_fixed_param *lphb_conf_req); |
| 321 | |
| 322 | CDF_STATUS send_process_dhcp_ind_cmd_tlv(wmi_unified_t wmi_handle, |
| 323 | wmi_peer_set_param_cmd_fixed_param *ta_dhcp_ind); |
| 324 | |
| 325 | CDF_STATUS send_get_link_speed_cmd_tlv(wmi_unified_t wmi_handle, |
| 326 | wmi_mac_addr peer_macaddr); |
| 327 | |
| 328 | CDF_STATUS send_egap_conf_params_cmd_tlv(wmi_unified_t wmi_handle, |
| 329 | wmi_ap_ps_egap_param_cmd_fixed_param *egap_params); |
| 330 | |
| 331 | CDF_STATUS send_fw_profiling_cmd_tlv(wmi_unified_t wmi_handle, |
| 332 | uint32_t cmd, uint32_t value1, uint32_t value2); |
| 333 | |
| 334 | CDF_STATUS send_wow_sta_ra_filter_cmd_tlv(wmi_unified_t wmi_handle, |
| 335 | uint8_t vdev_id, uint8_t default_pattern, |
| 336 | uint16_t rate_limit_interval); |
| 337 | |
| 338 | CDF_STATUS send_nat_keepalive_en_cmd_tlv(wmi_unified_t wmi_handle, uint8_t vdev_id); |
| 339 | |
| 340 | CDF_STATUS send_csa_offload_enable_cmd_tlv(wmi_unified_t wmi_handle, |
| 341 | uint8_t vdev_id); |
| 342 | |
| 343 | CDF_STATUS send_start_oem_data_cmd_tlv(wmi_unified_t wmi_handle, |
| 344 | uint8_t data_len, |
| 345 | uint8_t *data); |
| 346 | |
| 347 | CDF_STATUS |
| 348 | send_dfs_phyerr_filter_offload_en_cmd_tlv(wmi_unified_t wmi_handle, |
| 349 | bool dfs_phyerr_filter_offload); |
| 350 | |
| 351 | CDF_STATUS send_pktlog_wmi_send_cmd_tlv(wmi_unified_t wmi_handle, |
| 352 | WMI_PKTLOG_EVENT pktlog_event, |
| 353 | WMI_CMD_ID cmd_id); |
| 354 | |
| 355 | CDF_STATUS send_add_wow_wakeup_event_cmd_tlv(wmi_unified_t wmi_handle, |
| 356 | uint32_t vdev_id, |
| 357 | uint32_t bitmap, |
| 358 | bool enable); |
| 359 | |
| 360 | CDF_STATUS send_wow_patterns_to_fw_cmd_tlv(wmi_unified_t wmi_handle, |
| 361 | uint8_t vdev_id, uint8_t ptrn_id, |
| 362 | const uint8_t *ptrn, uint8_t ptrn_len, |
| 363 | uint8_t ptrn_offset, const uint8_t *mask, |
| 364 | uint8_t mask_len, bool user, |
| 365 | uint8_t default_patterns); |
| 366 | |
| 367 | CDF_STATUS send_wow_delete_pattern_cmd_tlv(wmi_unified_t wmi_handle, uint8_t ptrn_id, |
| 368 | uint8_t vdev_id); |
| 369 | |
| 370 | CDF_STATUS send_host_wakeup_ind_to_fw_cmd_tlv(wmi_unified_t wmi_handle); |
| 371 | |
| 372 | CDF_STATUS send_del_ts_cmd_tlv(wmi_unified_t wmi_handle, uint8_t vdev_id, |
| 373 | uint8_t ac); |
| 374 | |
| 375 | CDF_STATUS send_aggr_qos_cmd_tlv(wmi_unified_t wmi_handle, |
| 376 | struct aggr_add_ts_param *aggr_qos_rsp_msg); |
| 377 | |
| 378 | CDF_STATUS send_add_ts_cmd_tlv(wmi_unified_t wmi_handle, |
| 379 | struct add_ts_param *msg); |
| 380 | |
| 381 | CDF_STATUS send_enable_disable_packet_filter_cmd_tlv(wmi_unified_t wmi_handle, |
| 382 | uint8_t vdev_id, bool enable); |
| 383 | |
| 384 | CDF_STATUS send_config_packet_filter_cmd_tlv(wmi_unified_t wmi_handle, |
| 385 | uint8_t vdev_id, struct rcv_pkt_filter_config *rcv_filter_param, |
| 386 | uint8_t filter_id, bool enable); |
| 387 | |
| 388 | CDF_STATUS send_add_clear_mcbc_filter_cmd_tlv(wmi_unified_t wmi_handle, |
| 389 | uint8_t vdev_id, |
| 390 | struct cdf_mac_addr multicast_addr, |
| 391 | bool clearList); |
| 392 | |
| 393 | CDF_STATUS send_gtk_offload_cmd_tlv(wmi_unified_t wmi_handle, uint8_t vdev_id, |
| 394 | struct gtk_offload_params *params, |
| 395 | bool enable_offload, |
| 396 | uint32_t gtk_offload_opcode); |
| 397 | |
| 398 | CDF_STATUS send_process_gtk_offload_getinfo_cmd_tlv(wmi_unified_t wmi_handle, |
| 399 | uint8_t vdev_id, |
| 400 | uint64_t offload_req_opcode); |
| 401 | |
| 402 | CDF_STATUS send_process_add_periodic_tx_ptrn_cmd_tlv(wmi_unified_t wmi_handle, |
| 403 | struct periodic_tx_pattern * |
| 404 | pAddPeriodicTxPtrnParams, |
| 405 | uint8_t vdev_id); |
| 406 | |
| 407 | CDF_STATUS send_process_del_periodic_tx_ptrn_cmd_tlv(wmi_unified_t wmi_handle, |
| 408 | uint8_t vdev_id, |
| 409 | uint8_t pattern_id); |
| 410 | |
| 411 | CDF_STATUS send_stats_ext_req_cmd_tlv(wmi_unified_t wmi_handle, |
| 412 | struct stats_ext_params *preq); |
| 413 | |
| 414 | CDF_STATUS send_enable_ext_wow_cmd_tlv(wmi_unified_t wmi_handle, |
| 415 | struct ext_wow_params *params); |
| 416 | |
| 417 | CDF_STATUS send_set_app_type2_params_in_fw_cmd_tlv(wmi_unified_t wmi_handle, |
| 418 | struct app_type2_params *appType2Params); |
| 419 | |
| 420 | CDF_STATUS send_set_auto_shutdown_timer_cmd_tlv(wmi_unified_t wmi_handle, |
| 421 | uint32_t timer_val); |
| 422 | |
| 423 | CDF_STATUS send_nan_req_cmd_tlv(wmi_unified_t wmi_handle, |
| 424 | struct nan_req_params *nan_req); |
| 425 | |
| 426 | CDF_STATUS send_process_dhcpserver_offload_cmd_tlv(wmi_unified_t wmi_handle, |
| 427 | struct dhcp_offload_info_params *pDhcpSrvOffloadInfo); |
| 428 | |
| 429 | CDF_STATUS send_process_ch_avoid_update_cmd_tlv(wmi_unified_t wmi_handle); |
| 430 | |
| 431 | CDF_STATUS send_regdomain_info_to_fw_cmd_tlv(wmi_unified_t wmi_handle, |
| 432 | uint32_t reg_dmn, uint16_t regdmn2G, |
| 433 | uint16_t regdmn5G, int8_t ctl2G, |
| 434 | int8_t ctl5G); |
| 435 | |
| 436 | CDF_STATUS send_set_tdls_offchan_mode_cmd_tlv(wmi_unified_t wmi_handle, |
| 437 | struct tdls_channel_switch_params *chan_switch_params); |
| 438 | |
| 439 | CDF_STATUS send_update_fw_tdls_state_cmd_tlv(wmi_unified_t wmi_handle, |
| 440 | void *tdls_param, uint8_t tdls_state); |
| 441 | |
| 442 | CDF_STATUS send_update_tdls_peer_state_cmd_tlv(wmi_unified_t wmi_handle, |
| 443 | struct tdls_peer_state_params *peerStateParams, |
| 444 | uint32_t *ch_mhz); |
| 445 | |
| 446 | |
| 447 | CDF_STATUS send_process_fw_mem_dump_cmd_tlv(wmi_unified_t wmi_handle, |
| 448 | struct fw_dump_req_param *mem_dump_req); |
| 449 | |
| 450 | CDF_STATUS send_process_set_ie_info_cmd_tlv(wmi_unified_t wmi_handle, |
| 451 | struct vdev_ie_info_param *ie_info); |
Govind Singh | 71ee2d7 | 2016-03-07 16:30:32 +0530 | [diff] [blame^] | 452 | |
| 453 | CDF_STATUS send_init_cmd_tlv(wmi_unified_t wmi_handle, |
| 454 | wmi_resource_config *res_cfg, |
| 455 | uint8_t num_mem_chunks, struct wmi_host_mem_chunk *mem_chunk, |
| 456 | bool action); |
| 457 | |
| 458 | CDF_STATUS send_saved_init_cmd_tlv(wmi_unified_t wmi_handle); |
| 459 | |
| 460 | CDF_STATUS save_fw_version_cmd_tlv(wmi_unified_t wmi_handle, void *evt_buf); |