wmi_unified_tlv.h 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556
  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. * This file was originally distributed by Qualcomm Atheros, Inc.
  23. * under proprietary terms before Copyright ownership was assigned
  24. * to the Linux Foundation.
  25. */
  26. #ifndef _WMI_UNIFIED_TLV_H_
  27. #define _WMI_UNIFIED_TLV_H_
  28. #include <osdep.h>
  29. #include "a_types.h"
  30. #include "wmi_unified_param.h"
  31. #include "ol_defines.h" /* Fix Me: wmi_unified_t structure definition */
  32. QDF_STATUS send_vdev_create_cmd_tlv(wmi_unified_t wmi_handle,
  33. uint8_t macaddr[IEEE80211_ADDR_LEN],
  34. struct vdev_create_params *param);
  35. QDF_STATUS send_vdev_delete_cmd_tlv(wmi_unified_t wmi_handle,
  36. uint8_t if_id);
  37. QDF_STATUS send_vdev_stop_cmd_tlv(wmi_unified_t wmi,
  38. uint8_t vdev_id);
  39. QDF_STATUS send_vdev_down_cmd_tlv(wmi_unified_t wmi,
  40. uint8_t vdev_id);
  41. QDF_STATUS send_vdev_start_cmd_tlv(wmi_unified_t wmi,
  42. struct vdev_start_params *req);
  43. QDF_STATUS send_hidden_ssid_vdev_restart_cmd_tlv(wmi_unified_t wmi_handle,
  44. struct hidden_ssid_vdev_restart_params *restart_params);
  45. QDF_STATUS send_peer_flush_tids_cmd_tlv(wmi_unified_t wmi,
  46. uint8_t peer_addr[IEEE80211_ADDR_LEN],
  47. struct peer_flush_params *param);
  48. QDF_STATUS send_peer_delete_cmd_tlv(wmi_unified_t wmi,
  49. uint8_t peer_addr[IEEE80211_ADDR_LEN],
  50. uint8_t vdev_id);
  51. QDF_STATUS send_peer_param_cmd_tlv(wmi_unified_t wmi,
  52. uint8_t peer_addr[IEEE80211_ADDR_LEN],
  53. struct peer_set_params *param);
  54. QDF_STATUS send_vdev_up_cmd_tlv(wmi_unified_t wmi,
  55. uint8_t bssid[IEEE80211_ADDR_LEN],
  56. struct vdev_up_params *params);
  57. QDF_STATUS send_peer_create_cmd_tlv(wmi_unified_t wmi,
  58. struct peer_create_params *param);
  59. QDF_STATUS send_green_ap_ps_cmd_tlv(wmi_unified_t wmi_handle,
  60. uint32_t value, uint8_t mac_id);
  61. QDF_STATUS
  62. send_pdev_utf_cmd_tlv(wmi_unified_t wmi_handle,
  63. struct pdev_utf_params *param,
  64. uint8_t mac_id);
  65. QDF_STATUS
  66. send_pdev_param_cmd_tlv(wmi_unified_t wmi_handle,
  67. struct pdev_params *param,
  68. uint8_t mac_id);
  69. QDF_STATUS send_suspend_cmd_tlv(wmi_unified_t wmi_handle,
  70. struct suspend_params *param,
  71. uint8_t mac_id);
  72. QDF_STATUS send_resume_cmd_tlv(wmi_unified_t wmi_handle,
  73. uint8_t mac_id);
  74. QDF_STATUS send_wow_enable_cmd_tlv(wmi_unified_t wmi_handle,
  75. struct wow_cmd_params *param,
  76. uint8_t mac_id);
  77. QDF_STATUS send_set_ap_ps_param_cmd_tlv(wmi_unified_t wmi_handle,
  78. uint8_t *peer_addr,
  79. struct ap_ps_params *param);
  80. QDF_STATUS send_set_sta_ps_param_cmd_tlv(wmi_unified_t wmi_handle,
  81. struct sta_ps_params *param);
  82. QDF_STATUS send_crash_inject_cmd_tlv(wmi_unified_t wmi_handle,
  83. struct crash_inject *param);
  84. QDF_STATUS
  85. send_dbglog_cmd_tlv(wmi_unified_t wmi_handle,
  86. struct dbglog_params *dbglog_param);
  87. QDF_STATUS send_vdev_set_param_cmd_tlv(wmi_unified_t wmi_handle,
  88. struct vdev_set_params *param);
  89. QDF_STATUS send_stats_request_cmd_tlv(wmi_unified_t wmi_handle,
  90. uint8_t macaddr[IEEE80211_ADDR_LEN],
  91. struct stats_request_params *param);
  92. QDF_STATUS send_packet_log_enable_cmd_tlv(wmi_unified_t wmi_handle,
  93. uint8_t macaddr[IEEE80211_ADDR_LEN],
  94. struct packet_enable_params *param);
  95. QDF_STATUS send_beacon_send_cmd_tlv(wmi_unified_t wmi_handle,
  96. struct beacon_params *param);
  97. QDF_STATUS send_peer_assoc_cmd_tlv(wmi_unified_t wmi_handle,
  98. struct peer_assoc_params *param);
  99. QDF_STATUS send_scan_start_cmd_tlv(wmi_unified_t wmi_handle,
  100. struct scan_start_params *param);
  101. QDF_STATUS send_scan_stop_cmd_tlv(wmi_unified_t wmi_handle,
  102. struct scan_stop_params *param);
  103. QDF_STATUS send_scan_chan_list_cmd_tlv(wmi_unified_t wmi_handle,
  104. struct scan_chan_list_params *param);
  105. QDF_STATUS send_mgmt_cmd_tlv(wmi_unified_t wmi_handle,
  106. struct wmi_mgmt_params *param);
  107. QDF_STATUS send_modem_power_state_cmd_tlv(wmi_unified_t wmi_handle,
  108. uint32_t param_value);
  109. QDF_STATUS send_set_sta_ps_mode_cmd_tlv(wmi_unified_t wmi_handle,
  110. uint32_t vdev_id, uint8_t val);
  111. QDF_STATUS send_set_sta_uapsd_auto_trig_cmd_tlv(wmi_unified_t wmi_handle,
  112. struct sta_uapsd_trig_params *param);
  113. QDF_STATUS send_get_temperature_cmd_tlv(wmi_unified_t wmi_handle);
  114. QDF_STATUS send_set_p2pgo_oppps_req_cmd_tlv(wmi_unified_t wmi_handle,
  115. struct p2p_ps_params *oppps);
  116. QDF_STATUS send_set_p2pgo_noa_req_cmd_tlv(wmi_unified_t wmi_handle,
  117. struct p2p_ps_params *noa);
  118. QDF_STATUS send_set_smps_params_cmd_tlv(wmi_unified_t wmi_handle,
  119. uint8_t vdev_id,
  120. int value);
  121. QDF_STATUS send_set_mimops_cmd_tlv(wmi_unified_t wmi_handle,
  122. uint8_t vdev_id, int value);
  123. QDF_STATUS send_ocb_set_utc_time_cmd_tlv(wmi_unified_t wmi_handle,
  124. struct ocb_utc_param *utc);
  125. QDF_STATUS send_ocb_start_timing_advert_cmd_tlv(wmi_unified_t wmi_handle,
  126. struct ocb_timing_advert_param *timing_advert);
  127. QDF_STATUS send_ocb_stop_timing_advert_cmd_tlv(wmi_unified_t wmi_handle,
  128. struct ocb_timing_advert_param *timing_advert);
  129. QDF_STATUS send_ocb_get_tsf_timer_cmd_tlv(wmi_unified_t wmi_handle,
  130. uint8_t vdev_id);
  131. QDF_STATUS send_dcc_get_stats_cmd_tlv(wmi_unified_t wmi_handle,
  132. struct dcc_get_stats_param *get_stats_param);
  133. QDF_STATUS send_dcc_clear_stats_cmd_tlv(wmi_unified_t wmi_handle,
  134. uint32_t vdev_id, uint32_t dcc_stats_bitmap);
  135. QDF_STATUS send_dcc_update_ndl_cmd_tlv(wmi_unified_t wmi_handle,
  136. struct dcc_update_ndl_param *update_ndl_param);
  137. QDF_STATUS send_ocb_set_config_cmd_tlv(wmi_unified_t wmi_handle,
  138. struct ocb_config_param *config, uint32_t *ch_mhz);
  139. QDF_STATUS send_lro_config_cmd_tlv(wmi_unified_t wmi_handle,
  140. struct wmi_lro_config_cmd_t *wmi_lro_cmd);
  141. QDF_STATUS send_set_thermal_mgmt_cmd_tlv(wmi_unified_t wmi_handle,
  142. struct thermal_cmd_params *thermal_info);
  143. QDF_STATUS send_set_mcc_channel_time_quota_cmd_tlv
  144. (wmi_unified_t wmi_handle,
  145. uint32_t adapter_1_chan_freq,
  146. uint32_t adapter_1_quota, uint32_t adapter_2_chan_freq);
  147. QDF_STATUS send_set_mcc_channel_time_latency_cmd_tlv
  148. (wmi_unified_t wmi_handle,
  149. uint32_t mcc_channel_freq, uint32_t mcc_channel_time_latency);
  150. QDF_STATUS send_set_enable_disable_mcc_adaptive_scheduler_cmd_tlv(
  151. wmi_unified_t wmi_handle, uint32_t mcc_adaptive_scheduler,
  152. uint32_t pdev_id);
  153. QDF_STATUS send_p2p_go_set_beacon_ie_cmd_tlv(wmi_unified_t wmi_handle,
  154. A_UINT32 vdev_id, uint8_t *p2p_ie);
  155. QDF_STATUS send_probe_rsp_tmpl_send_cmd_tlv(wmi_unified_t wmi_handle,
  156. uint8_t vdev_id,
  157. struct wmi_probe_resp_params *probe_rsp_info,
  158. uint8_t *frm);
  159. QDF_STATUS send_setup_install_key_cmd_tlv(wmi_unified_t wmi_handle,
  160. struct set_key_params *key_params);
  161. QDF_STATUS send_process_update_edca_param_cmd_tlv(wmi_unified_t wmi_handle,
  162. uint8_t vdev_id,
  163. wmi_wmm_vparams gwmm_param[WMI_MAX_NUM_AC]);
  164. QDF_STATUS send_vdev_set_gtx_cfg_cmd_tlv(wmi_unified_t wmi_handle,
  165. uint32_t if_id,
  166. struct wmi_gtx_config *gtx_info);
  167. QDF_STATUS send_set_sta_keep_alive_cmd_tlv(wmi_unified_t wmi_handle,
  168. struct sta_params *params);
  169. QDF_STATUS send_set_sta_sa_query_param_cmd_tlv(wmi_unified_t wmi_handle,
  170. uint8_t vdev_id, uint32_t max_retries,
  171. uint32_t retry_interval);
  172. QDF_STATUS send_bcn_buf_ll_cmd_tlv(wmi_unified_t wmi_handle,
  173. wmi_bcn_send_from_host_cmd_fixed_param *param);
  174. QDF_STATUS send_set_gateway_params_cmd_tlv(wmi_unified_t wmi_handle,
  175. struct gateway_update_req_param *req);
  176. QDF_STATUS send_set_rssi_monitoring_cmd_tlv(wmi_unified_t wmi_handle,
  177. struct rssi_monitor_param *req);
  178. QDF_STATUS send_ipa_offload_control_cmd_tlv(wmi_unified_t wmi_handle,
  179. struct ipa_offload_control_params *ipa_offload);
  180. QDF_STATUS send_scan_probe_setoui_cmd_tlv(wmi_unified_t wmi_handle,
  181. struct scan_mac_oui *psetoui);
  182. QDF_STATUS send_reset_passpoint_network_list_cmd_tlv(wmi_unified_t wmi_handle,
  183. struct wifi_passpoint_req_param *req);
  184. QDF_STATUS send_set_passpoint_network_list_cmd_tlv(wmi_unified_t wmi_handle,
  185. struct wifi_passpoint_req_param *req);
  186. QDF_STATUS send_roam_scan_offload_mode_cmd_tlv(wmi_unified_t wmi_handle,
  187. wmi_start_scan_cmd_fixed_param *scan_cmd_fp,
  188. struct roam_offload_scan_params *roam_req);
  189. QDF_STATUS send_roam_scan_offload_rssi_thresh_cmd_tlv(wmi_unified_t wmi_handle,
  190. struct roam_offload_scan_rssi_params *roam_req);
  191. QDF_STATUS send_roam_scan_filter_cmd_tlv(wmi_unified_t wmi_handle,
  192. struct roam_scan_filter_params *roam_req);
  193. QDF_STATUS send_set_ric_req_cmd_tlv(wmi_unified_t wmi_handle, void *msg,
  194. uint8_t is_add_ts);
  195. QDF_STATUS send_set_epno_network_list_cmd_tlv(wmi_unified_t wmi_handle,
  196. struct wifi_enhanched_pno_params *req);
  197. QDF_STATUS send_extscan_get_capabilities_cmd_tlv(wmi_unified_t wmi_handle,
  198. struct extscan_capabilities_params *pgetcapab);
  199. QDF_STATUS send_extscan_get_cached_results_cmd_tlv(wmi_unified_t wmi_handle,
  200. struct extscan_cached_result_params *pcached_results);
  201. QDF_STATUS send_extscan_stop_change_monitor_cmd_tlv(wmi_unified_t wmi_handle,
  202. struct extscan_capabilities_reset_params *reset_req);
  203. QDF_STATUS send_extscan_start_change_monitor_cmd_tlv(wmi_unified_t wmi_handle,
  204. struct extscan_set_sig_changereq_params *
  205. psigchange);
  206. QDF_STATUS send_extscan_stop_hotlist_monitor_cmd_tlv(wmi_unified_t wmi_handle,
  207. struct extscan_bssid_hotlist_reset_params *photlist_reset);
  208. QDF_STATUS send_stop_extscan_cmd_tlv(wmi_unified_t wmi_handle,
  209. struct extscan_stop_req_params *pstopcmd);
  210. QDF_STATUS send_start_extscan_cmd_tlv(wmi_unified_t wmi_handle,
  211. struct wifi_scan_cmd_req_params *pstart);
  212. QDF_STATUS send_plm_stop_cmd_tlv(wmi_unified_t wmi_handle,
  213. const struct plm_req_params *plm);
  214. QDF_STATUS send_plm_start_cmd_tlv(wmi_unified_t wmi_handle,
  215. const struct plm_req_params *plm,
  216. uint32_t *gchannel_list);
  217. QDF_STATUS send_pno_stop_cmd_tlv(wmi_unified_t wmi_handle, uint8_t vdev_id);
  218. QDF_STATUS send_pno_start_cmd_tlv(wmi_unified_t wmi_handle,
  219. struct pno_scan_req_params *pno,
  220. uint32_t *gchannel_freq_list);
  221. QDF_STATUS send_process_ll_stats_clear_cmd_tlv
  222. (wmi_unified_t wmi_handle,
  223. const struct ll_stats_clear_params *clear_req,
  224. uint8_t addr[IEEE80211_ADDR_LEN]);
  225. QDF_STATUS send_process_ll_stats_set_cmd_tlv
  226. (wmi_unified_t wmi_handle, const struct ll_stats_set_params *set_req);
  227. QDF_STATUS send_process_ll_stats_get_cmd_tlv
  228. (wmi_unified_t wmi_handle, const struct ll_stats_get_params *get_req,
  229. uint8_t addr[IEEE80211_ADDR_LEN]);
  230. QDF_STATUS send_get_stats_cmd_tlv(wmi_unified_t wmi_handle,
  231. struct pe_stats_req *get_stats_param,
  232. uint8_t addr[IEEE80211_ADDR_LEN]);
  233. QDF_STATUS send_snr_request_cmd_tlv(wmi_unified_t wmi_handle);
  234. QDF_STATUS send_snr_cmd_tlv(wmi_unified_t wmi_handle, uint8_t vdev_id);
  235. QDF_STATUS send_link_status_req_cmd_tlv(wmi_unified_t wmi_handle,
  236. struct link_status_params *link_status);
  237. QDF_STATUS send_lphb_config_hbenable_cmd_tlv(wmi_unified_t wmi_handle,
  238. wmi_hb_set_enable_cmd_fixed_param *params);
  239. QDF_STATUS send_lphb_config_tcp_params_cmd_tlv(wmi_unified_t wmi_handle,
  240. wmi_hb_set_tcp_params_cmd_fixed_param *lphb_conf_req);
  241. QDF_STATUS send_lphb_config_tcp_pkt_filter_cmd_tlv(wmi_unified_t wmi_handle,
  242. wmi_hb_set_tcp_pkt_filter_cmd_fixed_param *g_hb_tcp_filter_fp);
  243. QDF_STATUS send_lphb_config_udp_params_cmd_tlv(wmi_unified_t wmi_handle,
  244. wmi_hb_set_udp_params_cmd_fixed_param *lphb_conf_req);
  245. QDF_STATUS send_lphb_config_udp_pkt_filter_cmd_tlv(wmi_unified_t wmi_handle,
  246. wmi_hb_set_udp_pkt_filter_cmd_fixed_param *lphb_conf_req);
  247. QDF_STATUS send_process_dhcp_ind_cmd_tlv(wmi_unified_t wmi_handle,
  248. wmi_peer_set_param_cmd_fixed_param *ta_dhcp_ind);
  249. QDF_STATUS send_get_link_speed_cmd_tlv(wmi_unified_t wmi_handle,
  250. wmi_mac_addr peer_macaddr);
  251. QDF_STATUS send_egap_conf_params_cmd_tlv(wmi_unified_t wmi_handle,
  252. wmi_ap_ps_egap_param_cmd_fixed_param *egap_params);
  253. QDF_STATUS send_fw_profiling_cmd_tlv(wmi_unified_t wmi_handle,
  254. uint32_t cmd, uint32_t value1, uint32_t value2);
  255. QDF_STATUS send_wow_sta_ra_filter_cmd_tlv(wmi_unified_t wmi_handle,
  256. uint8_t vdev_id, uint8_t default_pattern,
  257. uint16_t rate_limit_interval);
  258. QDF_STATUS send_nat_keepalive_en_cmd_tlv(wmi_unified_t wmi_handle, uint8_t vdev_id);
  259. QDF_STATUS send_csa_offload_enable_cmd_tlv(wmi_unified_t wmi_handle,
  260. uint8_t vdev_id);
  261. QDF_STATUS send_start_oem_data_cmd_tlv(wmi_unified_t wmi_handle,
  262. uint8_t data_len,
  263. uint8_t *data);
  264. QDF_STATUS
  265. send_dfs_phyerr_filter_offload_en_cmd_tlv(wmi_unified_t wmi_handle,
  266. bool dfs_phyerr_filter_offload);
  267. QDF_STATUS send_pktlog_wmi_send_cmd_tlv(wmi_unified_t wmi_handle,
  268. WMI_PKTLOG_EVENT pktlog_event,
  269. WMI_CMD_ID cmd_id);
  270. QDF_STATUS send_add_wow_wakeup_event_cmd_tlv(wmi_unified_t wmi_handle,
  271. uint32_t vdev_id,
  272. uint32_t bitmap,
  273. bool enable);
  274. QDF_STATUS send_wow_patterns_to_fw_cmd_tlv(wmi_unified_t wmi_handle,
  275. uint8_t vdev_id, uint8_t ptrn_id,
  276. const uint8_t *ptrn, uint8_t ptrn_len,
  277. uint8_t ptrn_offset, const uint8_t *mask,
  278. uint8_t mask_len, bool user,
  279. uint8_t default_patterns);
  280. QDF_STATUS send_wow_delete_pattern_cmd_tlv(wmi_unified_t wmi_handle, uint8_t ptrn_id,
  281. uint8_t vdev_id);
  282. QDF_STATUS send_host_wakeup_ind_to_fw_cmd_tlv(wmi_unified_t wmi_handle);
  283. QDF_STATUS send_del_ts_cmd_tlv(wmi_unified_t wmi_handle, uint8_t vdev_id,
  284. uint8_t ac);
  285. QDF_STATUS send_aggr_qos_cmd_tlv(wmi_unified_t wmi_handle,
  286. struct aggr_add_ts_param *aggr_qos_rsp_msg);
  287. QDF_STATUS send_add_ts_cmd_tlv(wmi_unified_t wmi_handle,
  288. struct add_ts_param *msg);
  289. QDF_STATUS send_enable_disable_packet_filter_cmd_tlv(wmi_unified_t wmi_handle,
  290. uint8_t vdev_id, bool enable);
  291. QDF_STATUS send_config_packet_filter_cmd_tlv(wmi_unified_t wmi_handle,
  292. uint8_t vdev_id, struct rcv_pkt_filter_config *rcv_filter_param,
  293. uint8_t filter_id, bool enable);
  294. QDF_STATUS send_add_clear_mcbc_filter_cmd_tlv(wmi_unified_t wmi_handle,
  295. uint8_t vdev_id,
  296. struct qdf_mac_addr multicast_addr,
  297. bool clearList);
  298. QDF_STATUS send_gtk_offload_cmd_tlv(wmi_unified_t wmi_handle, uint8_t vdev_id,
  299. struct gtk_offload_params *params,
  300. bool enable_offload,
  301. uint32_t gtk_offload_opcode);
  302. QDF_STATUS send_process_gtk_offload_getinfo_cmd_tlv(wmi_unified_t wmi_handle,
  303. uint8_t vdev_id,
  304. uint64_t offload_req_opcode);
  305. QDF_STATUS send_process_add_periodic_tx_ptrn_cmd_tlv(wmi_unified_t wmi_handle,
  306. struct periodic_tx_pattern *
  307. pAddPeriodicTxPtrnParams,
  308. uint8_t vdev_id);
  309. QDF_STATUS send_process_del_periodic_tx_ptrn_cmd_tlv(wmi_unified_t wmi_handle,
  310. uint8_t vdev_id,
  311. uint8_t pattern_id);
  312. QDF_STATUS send_stats_ext_req_cmd_tlv(wmi_unified_t wmi_handle,
  313. struct stats_ext_params *preq);
  314. QDF_STATUS send_enable_ext_wow_cmd_tlv(wmi_unified_t wmi_handle,
  315. struct ext_wow_params *params);
  316. QDF_STATUS send_set_app_type2_params_in_fw_cmd_tlv(wmi_unified_t wmi_handle,
  317. struct app_type2_params *appType2Params);
  318. QDF_STATUS send_set_auto_shutdown_timer_cmd_tlv(wmi_unified_t wmi_handle,
  319. uint32_t timer_val);
  320. QDF_STATUS send_nan_req_cmd_tlv(wmi_unified_t wmi_handle,
  321. struct nan_req_params *nan_req);
  322. QDF_STATUS send_process_dhcpserver_offload_cmd_tlv(wmi_unified_t wmi_handle,
  323. struct dhcp_offload_info_params *pDhcpSrvOffloadInfo);
  324. QDF_STATUS send_process_ch_avoid_update_cmd_tlv(wmi_unified_t wmi_handle);
  325. QDF_STATUS send_regdomain_info_to_fw_cmd_tlv(wmi_unified_t wmi_handle,
  326. uint32_t reg_dmn, uint16_t regdmn2G,
  327. uint16_t regdmn5G, int8_t ctl2G,
  328. int8_t ctl5G);
  329. QDF_STATUS send_set_tdls_offchan_mode_cmd_tlv(wmi_unified_t wmi_handle,
  330. struct tdls_channel_switch_params *chan_switch_params);
  331. QDF_STATUS send_update_fw_tdls_state_cmd_tlv(wmi_unified_t wmi_handle,
  332. void *tdls_param, uint8_t tdls_state);
  333. QDF_STATUS send_update_tdls_peer_state_cmd_tlv(wmi_unified_t wmi_handle,
  334. struct tdls_peer_state_params *peerStateParams,
  335. uint32_t *ch_mhz);
  336. QDF_STATUS send_process_fw_mem_dump_cmd_tlv(wmi_unified_t wmi_handle,
  337. struct fw_dump_req_param *mem_dump_req);
  338. QDF_STATUS send_process_set_ie_info_cmd_tlv(wmi_unified_t wmi_handle,
  339. struct vdev_ie_info_param *ie_info);
  340. QDF_STATUS send_init_cmd_tlv(wmi_unified_t wmi_handle,
  341. wmi_resource_config *res_cfg,
  342. uint8_t num_mem_chunks, struct wmi_host_mem_chunk *mem_chunk,
  343. bool action);
  344. QDF_STATUS send_saved_init_cmd_tlv(wmi_unified_t wmi_handle);
  345. QDF_STATUS save_fw_version_cmd_tlv(wmi_unified_t wmi_handle, void *evt_buf);
  346. QDF_STATUS check_and_update_fw_version_cmd_tlv(wmi_unified_t wmi_hdl, void *ev);
  347. QDF_STATUS send_set_base_macaddr_indicate_cmd_tlv(wmi_unified_t wmi_handle,
  348. uint8_t *custom_addr);
  349. QDF_STATUS send_log_supported_evt_cmd_tlv(wmi_unified_t wmi_handle,
  350. uint8_t *event,
  351. uint32_t len);
  352. QDF_STATUS send_enable_specific_fw_logs_cmd_tlv(wmi_unified_t wmi_handle,
  353. struct wmi_wifi_start_log *start_log);
  354. QDF_STATUS send_flush_logs_to_fw_cmd_tlv(wmi_unified_t wmi_handle);
  355. QDF_STATUS send_pdev_set_pcl_cmd_tlv(wmi_unified_t wmi_handle,
  356. struct wmi_pcl_chan_weights *msg);
  357. QDF_STATUS send_pdev_set_hw_mode_cmd_tlv(wmi_unified_t wmi_handle,
  358. uint32_t hw_mode_index);
  359. QDF_STATUS send_soc_set_dual_mac_config_cmd_tlv(wmi_unified_t wmi_handle,
  360. struct wmi_dual_mac_config *msg);
  361. QDF_STATUS send_enable_arp_ns_offload_cmd_tlv(wmi_unified_t wmi_handle,
  362. struct host_offload_req_param *param, bool arp_only,
  363. uint8_t vdev_id);
  364. QDF_STATUS send_set_led_flashing_cmd_tlv(wmi_unified_t wmi_handle,
  365. struct flashing_req_params *flashing);
  366. QDF_STATUS send_app_type1_params_in_fw_cmd_tlv(wmi_unified_t wmi_handle,
  367. struct app_type1_params *app_type1_params);
  368. QDF_STATUS
  369. send_set_ssid_hotlist_cmd_tlv(wmi_unified_t wmi_handle,
  370. struct ssid_hotlist_request_params *request);
  371. QDF_STATUS send_process_roam_synch_complete_cmd_tlv(wmi_unified_t wmi_handle,
  372. uint8_t vdev_id);
  373. QDF_STATUS send_unit_test_cmd_tlv(wmi_unified_t wmi_handle,
  374. struct wmi_unit_test_cmd *wmi_utest);
  375. QDF_STATUS send_roam_invoke_cmd_tlv(wmi_unified_t wmi_handle,
  376. struct wmi_roam_invoke_cmd *roaminvoke,
  377. uint32_t ch_hz);
  378. QDF_STATUS send_roam_scan_offload_cmd_tlv(wmi_unified_t wmi_handle,
  379. uint32_t command, uint32_t vdev_id);
  380. QDF_STATUS send_roam_scan_offload_ap_profile_cmd_tlv(wmi_unified_t wmi_handle,
  381. wmi_ap_profile *ap_profile_p,
  382. uint32_t vdev_id);
  383. QDF_STATUS send_roam_scan_offload_scan_period_cmd_tlv(wmi_unified_t wmi_handle,
  384. uint32_t scan_period,
  385. uint32_t scan_age,
  386. uint32_t vdev_id);
  387. QDF_STATUS send_roam_scan_offload_chan_list_cmd_tlv(wmi_unified_t wmi_handle,
  388. uint8_t chan_count,
  389. uint8_t *chan_list,
  390. uint8_t list_type, uint32_t vdev_id);
  391. QDF_STATUS send_roam_scan_offload_rssi_change_cmd_tlv(wmi_unified_t wmi_handle,
  392. uint32_t vdev_id,
  393. int32_t rssi_change_thresh,
  394. uint32_t bcn_rssi_weight,
  395. uint32_t hirssi_delay_btw_scans);
  396. QDF_STATUS send_get_buf_extscan_hotlist_cmd_tlv(wmi_unified_t wmi_handle,
  397. struct ext_scan_setbssi_hotlist_params *
  398. photlist, int *buf_len);
  399. #endif