linux/drivers/net/wireless/ath/wil6210/wmi.h

/* SPDX-License-Identifier: ISC */
/*
 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2012-2017 Qualcomm Atheros, Inc.
 * Copyright (c) 2006-2012 Wilocity
 */

/*
 * This file contains the definitions of the WMI protocol specified in the
 * Wireless Module Interface (WMI) for the Qualcomm
 * 60 GHz wireless solution.
 * It includes definitions of all the commands and events.
 * Commands are messages from the host to the WM.
 * Events are messages from the WM to the host.
 *
 * This is an automatically generated file.
 */

#ifndef __WILOCITY_WMI_H__
#define __WILOCITY_WMI_H__

#define WMI_DEFAULT_ASSOC_STA
#define WMI_MAC_LEN
#define WMI_PROX_RANGE_NUM
#define WMI_MAX_LOSS_DMG_BEACONS
#define MAX_NUM_OF_SECTORS
#define WMI_INVALID_TEMPERATURE
#define WMI_SCHED_MAX_ALLOCS_PER_CMD
#define WMI_RF_DTYPE_LENGTH
#define WMI_RF_ETYPE_LENGTH
#define WMI_RF_RX2TX_LENGTH
#define WMI_RF_ETYPE_VAL_PER_RANGE
/* DTYPE configuration array size
 * must always be kept equal to (WMI_RF_DTYPE_LENGTH+1)
 */
#define WMI_RF_DTYPE_CONF_LENGTH
/* ETYPE configuration array size
 * must always be kept equal to
 * (WMI_RF_ETYPE_LENGTH+WMI_RF_ETYPE_VAL_PER_RANGE)
 */
#define WMI_RF_ETYPE_CONF_LENGTH
/* RX2TX configuration array size
 * must always be kept equal to (WMI_RF_RX2TX_LENGTH+1)
 */
#define WMI_RF_RX2TX_CONF_LENGTH
/* Qos configuration */
#define WMI_QOS_NUM_OF_PRIORITY
#define WMI_QOS_MIN_DEFAULT_WEIGHT
#define WMI_QOS_VRING_SLOT_MIN_MS
#define WMI_QOS_VRING_SLOT_MAX_MS
/* (WMI_QOS_MIN_DEFAULT_WEIGHT * WMI_QOS_VRING_SLOT_MAX_MS /
 * WMI_QOS_VRING_SLOT_MIN_MS)
 */
#define WMI_QOS_MAX_WEIGHT
#define WMI_QOS_SET_VIF_PRIORITY
#define WMI_QOS_DEFAULT_PRIORITY
#define WMI_MAX_XIF_PORTS_NUM

/* Mailbox interface
 * used for commands and events
 */
enum wmi_mid {};

/* FW capability IDs
 * Each ID maps to a bit in a 32-bit bitmask value provided by the FW to
 * the host
 */
enum wmi_fw_capability {};

/* WMI_CMD_HDR */
struct wmi_cmd_hdr {} __packed;

/* List of Commands */
enum wmi_command_id {};

/* WMI_CONNECT_CMDID */
enum wmi_network_type {};

enum wmi_dot11_auth_mode {};

enum wmi_auth_mode {};

enum wmi_crypto_type {};

enum wmi_connect_ctrl_flag_bits {};

#define WMI_MAX_SSID_LEN

enum wmi_channel {};

/* WMI_CONNECT_CMDID */
struct wmi_connect_cmd {} __packed;

/* WMI_DISCONNECT_STA_CMDID */
struct wmi_disconnect_sta_cmd {} __packed;

#define WMI_MAX_KEY_INDEX
#define WMI_MAX_KEY_LEN
#define WMI_PASSPHRASE_LEN

/* WMI_SET_PASSPHRASE_CMDID */
struct wmi_set_passphrase_cmd {} __packed;

/* WMI_ADD_CIPHER_KEY_CMDID */
enum wmi_key_usage {};

struct wmi_add_cipher_key_cmd {} __packed;

/* WMI_DELETE_CIPHER_KEY_CMDID */
struct wmi_delete_cipher_key_cmd {} __packed;

/* WMI_START_SCAN_CMDID
 *
 * Start L1 scan operation
 *
 * Returned events:
 * - WMI_RX_MGMT_PACKET_EVENTID - for every probe resp.
 * - WMI_SCAN_COMPLETE_EVENTID
 */
enum wmi_scan_type {};

/* WMI_START_SCAN_CMDID */
struct wmi_start_scan_cmd {} __packed;

#define WMI_MAX_PNO_SSID_NUM
#define WMI_MAX_CHANNEL_NUM
#define WMI_MAX_PLANS_NUM

/* WMI_START_SCHED_SCAN_CMDID */
struct wmi_sched_scan_ssid_match {} __packed;

/* WMI_START_SCHED_SCAN_CMDID */
struct wmi_sched_scan_plan {} __packed;

/* WMI_START_SCHED_SCAN_CMDID */
struct wmi_start_sched_scan_cmd {} __packed;

/* WMI_FT_AUTH_CMDID */
struct wmi_ft_auth_cmd {} __packed;

/* WMI_FT_REASSOC_CMDID */
struct wmi_ft_reassoc_cmd {} __packed;

/* WMI_UPDATE_FT_IES_CMDID */
struct wmi_update_ft_ies_cmd {} __packed;

/* WMI_SET_PROBED_SSID_CMDID */
#define MAX_PROBED_SSID_INDEX

enum wmi_ssid_flag {};

struct wmi_probed_ssid_cmd {} __packed;

/* WMI_SET_APPIE_CMDID
 * Add Application specified IE to a management frame
 */
#define WMI_MAX_IE_LEN

/* Frame Types */
enum wmi_mgmt_frame_type {};

struct wmi_set_appie_cmd {} __packed;

/* WMI_PXMT_RANGE_CFG_CMDID */
struct wmi_pxmt_range_cfg_cmd {} __packed;

/* WMI_PXMT_SNR2_RANGE_CFG_CMDID */
struct wmi_pxmt_snr2_range_cfg_cmd {} __packed;

/* WMI_RADAR_GENERAL_CONFIG_CMDID */
struct wmi_radar_general_config_cmd {} __packed;

/* WMI_RADAR_CONFIG_SELECT_CMDID */
struct wmi_radar_config_select_cmd {} __packed;

/* WMI_RADAR_PARAMS_CONFIG_CMDID */
struct wmi_radar_params_config_cmd {} __packed;

/* WMI_RADAR_SET_MODE_CMDID */
struct wmi_radar_set_mode_cmd {} __packed;

/* WMI_RADAR_CONTROL_CMDID */
struct wmi_radar_control_cmd {} __packed;

/* WMI_RADAR_PCI_CONTROL_CMDID */
struct wmi_radar_pci_control_cmd {} __packed;

/* WMI_RF_MGMT_CMDID */
enum wmi_rf_mgmt_type {};

/* WMI_BF_CONTROL_CMDID */
enum wmi_bf_triggers {};

/* WMI_RF_MGMT_CMDID */
struct wmi_rf_mgmt_cmd {} __packed;

/* WMI_CORR_MEASURE_CMDID */
struct wmi_corr_measure_cmd {} __packed;

/* WMI_SET_SSID_CMDID */
struct wmi_set_ssid_cmd {} __packed;

/* WMI_SET_PCP_CHANNEL_CMDID */
struct wmi_set_pcp_channel_cmd {} __packed;

/* WMI_BCON_CTRL_CMDID */
struct wmi_bcon_ctrl_cmd {} __packed;

/* WMI_PORT_ALLOCATE_CMDID */
enum wmi_port_role {};

/* WMI_PORT_ALLOCATE_CMDID */
struct wmi_port_allocate_cmd {} __packed;

/* WMI_PORT_DELETE_CMDID */
struct wmi_port_delete_cmd {} __packed;

/* WMI_TRAFFIC_SUSPEND_CMD wakeup trigger bit mask values */
enum wmi_wakeup_trigger {};

/* WMI_TRAFFIC_SUSPEND_CMDID */
struct wmi_traffic_suspend_cmd {} __packed;

/* WMI_P2P_CFG_CMDID */
enum wmi_discovery_mode {};

struct wmi_p2p_cfg_cmd {} __packed;

/* WMI_POWER_MGMT_CFG_CMDID */
enum wmi_power_source_type {};

struct wmi_power_mgmt_cfg_cmd {} __packed;

/* WMI_PCP_START_CMDID */
enum wmi_ap_sme_offload_mode {};

/* WMI_PCP_START_CMDID */
struct wmi_pcp_start_cmd {} __packed;

/* WMI_SW_TX_REQ_CMDID */
struct wmi_sw_tx_req_cmd {} __packed;

/* WMI_SW_TX_REQ_EXT_CMDID */
struct wmi_sw_tx_req_ext_cmd {} __packed;

/* WMI_VRING_SWITCH_TIMING_CONFIG_CMDID */
struct wmi_vring_switch_timing_config_cmd {} __packed;

struct wmi_sw_ring_cfg {} __packed;

/* wmi_vring_cfg_schd */
struct wmi_vring_cfg_schd {} __packed;

enum wmi_vring_cfg_encap_trans_type {};

enum wmi_vring_cfg_ds_cfg {};

enum wmi_vring_cfg_nwifi_ds_trans_type {};

enum wmi_vring_cfg_schd_params_priority {};

#define CIDXTID_EXTENDED_CID_TID
#define CIDXTID_CID_POS
#define CIDXTID_CID_LEN
#define CIDXTID_CID_MSK
#define CIDXTID_TID_POS
#define CIDXTID_TID_LEN
#define CIDXTID_TID_MSK
#define VRING_CFG_MAC_CTRL_LIFETIME_EN_POS
#define VRING_CFG_MAC_CTRL_LIFETIME_EN_LEN
#define VRING_CFG_MAC_CTRL_LIFETIME_EN_MSK
#define VRING_CFG_MAC_CTRL_AGGR_EN_POS
#define VRING_CFG_MAC_CTRL_AGGR_EN_LEN
#define VRING_CFG_MAC_CTRL_AGGR_EN_MSK
#define VRING_CFG_TO_RESOLUTION_VALUE_POS
#define VRING_CFG_TO_RESOLUTION_VALUE_LEN
#define VRING_CFG_TO_RESOLUTION_VALUE_MSK

struct wmi_vring_cfg {} __packed;

enum wmi_vring_cfg_cmd_action {};

/* WMI_VRING_CFG_CMDID */
struct wmi_vring_cfg_cmd {} __packed;

struct wmi_bcast_vring_cfg {} __packed;

/* WMI_BCAST_VRING_CFG_CMDID */
struct wmi_bcast_vring_cfg_cmd {} __packed;

struct wmi_edma_ring_cfg {} __packed;

enum wmi_rx_msg_type {};

enum wmi_ring_add_irq_mode {};

struct wmi_tx_status_ring_add_cmd {} __packed;

struct wmi_rx_status_ring_add_cmd {} __packed;

struct wmi_cfg_def_rx_offload_cmd {} __packed;

struct wmi_tx_desc_ring_add_cmd {} __packed;

struct wmi_rx_desc_ring_add_cmd {} __packed;

struct wmi_bcast_desc_ring_add_cmd {} __packed;

/* WMI_LO_POWER_CALIB_FROM_OTP_CMDID */
struct wmi_lo_power_calib_from_otp_cmd {} __packed;

/* WMI_LO_POWER_CALIB_FROM_OTP_EVENTID */
struct wmi_lo_power_calib_from_otp_event {} __packed;

/* WMI_RING_BA_EN_CMDID */
struct wmi_ring_ba_en_cmd {} __packed;

/* WMI_RING_BA_DIS_CMDID */
struct wmi_ring_ba_dis_cmd {} __packed;

/* WMI_NOTIFY_REQ_CMDID */
struct wmi_notify_req_cmd {} __packed;

/* WMI_CFG_RX_CHAIN_CMDID */
enum wmi_sniffer_cfg_mode {};

/* WMI_SILENT_RSSI_TABLE */
enum wmi_silent_rssi_table {};

/* WMI_SILENT_RSSI_STATUS */
enum wmi_silent_rssi_status {};

/* WMI_SET_ACTIVE_SILENT_RSSI_TABLE_CMDID */
struct wmi_set_active_silent_rssi_table_cmd {} __packed;

enum wmi_sniffer_cfg_phy_info_mode {};

enum wmi_sniffer_cfg_phy_support {};

/* wmi_sniffer_cfg */
struct wmi_sniffer_cfg {} __packed;

enum wmi_cfg_rx_chain_cmd_action {};

enum wmi_cfg_rx_chain_cmd_decap_trans_type {};

enum wmi_cfg_rx_chain_cmd_nwifi_ds_trans_type {};

enum wmi_cfg_rx_chain_cmd_reorder_type {};

#define L2_802_3_OFFLOAD_CTRL_VLAN_TAG_INSERTION_POS
#define L2_802_3_OFFLOAD_CTRL_VLAN_TAG_INSERTION_LEN
#define L2_802_3_OFFLOAD_CTRL_VLAN_TAG_INSERTION_MSK
#define L2_802_3_OFFLOAD_CTRL_SNAP_KEEP_POS
#define L2_802_3_OFFLOAD_CTRL_SNAP_KEEP_LEN
#define L2_802_3_OFFLOAD_CTRL_SNAP_KEEP_MSK
#define L2_NWIFI_OFFLOAD_CTRL_REMOVE_QOS_POS
#define L2_NWIFI_OFFLOAD_CTRL_REMOVE_QOS_LEN
#define L2_NWIFI_OFFLOAD_CTRL_REMOVE_QOS_MSK
#define L2_NWIFI_OFFLOAD_CTRL_REMOVE_PN_POS
#define L2_NWIFI_OFFLOAD_CTRL_REMOVE_PN_LEN
#define L2_NWIFI_OFFLOAD_CTRL_REMOVE_PN_MSK
#define L3_L4_CTRL_IPV4_CHECKSUM_EN_POS
#define L3_L4_CTRL_IPV4_CHECKSUM_EN_LEN
#define L3_L4_CTRL_IPV4_CHECKSUM_EN_MSK
#define L3_L4_CTRL_TCPIP_CHECKSUM_EN_POS
#define L3_L4_CTRL_TCPIP_CHECKSUM_EN_LEN
#define L3_L4_CTRL_TCPIP_CHECKSUM_EN_MSK
#define RING_CTRL_OVERRIDE_PREFETCH_THRSH_POS
#define RING_CTRL_OVERRIDE_PREFETCH_THRSH_LEN
#define RING_CTRL_OVERRIDE_PREFETCH_THRSH_MSK
#define RING_CTRL_OVERRIDE_WB_THRSH_POS
#define RING_CTRL_OVERRIDE_WB_THRSH_LEN
#define RING_CTRL_OVERRIDE_WB_THRSH_MSK
#define RING_CTRL_OVERRIDE_ITR_THRSH_POS
#define RING_CTRL_OVERRIDE_ITR_THRSH_LEN
#define RING_CTRL_OVERRIDE_ITR_THRSH_MSK
#define RING_CTRL_OVERRIDE_HOST_THRSH_POS
#define RING_CTRL_OVERRIDE_HOST_THRSH_LEN
#define RING_CTRL_OVERRIDE_HOST_THRSH_MSK

/* WMI_CFG_RX_CHAIN_CMDID */
struct wmi_cfg_rx_chain_cmd {} __packed;

/* WMI_RCP_ADDBA_RESP_CMDID */
struct wmi_rcp_addba_resp_cmd {} __packed;

/* WMI_RCP_ADDBA_RESP_EDMA_CMDID */
struct wmi_rcp_addba_resp_edma_cmd {} __packed;

/* WMI_RCP_DELBA_CMDID */
struct wmi_rcp_delba_cmd {} __packed;

/* WMI_RCP_ADDBA_REQ_CMDID */
struct wmi_rcp_addba_req_cmd {} __packed;

/* WMI_SET_MAC_ADDRESS_CMDID */
struct wmi_set_mac_address_cmd {} __packed;

/* WMI_ECHO_CMDID
 * Check FW is alive
 * Returned event: WMI_ECHO_RSP_EVENTID
 */
struct wmi_echo_cmd {} __packed;

/* WMI_DEEP_ECHO_CMDID
 * Check FW and uCode is alive
 * Returned event: WMI_DEEP_ECHO_RSP_EVENTID
 */
struct wmi_deep_echo_cmd {} __packed;

/* WMI_RF_PWR_ON_DELAY_CMDID
 * set FW time parameters used through RF resetting
 *  RF reset consists of bringing its power down for a period of time, then
 * bringing the power up
 * Returned event: WMI_RF_PWR_ON_DELAY_RSP_EVENTID
 */
struct wmi_rf_pwr_on_delay_cmd {} __packed;

/* WMI_SET_HIGH_POWER_TABLE_PARAMS_CMDID
 * This API controls the Tx and Rx gain over temperature.
 * It controls the Tx D-type, Rx D-type and Rx E-type amplifiers.
 * It also controls the Tx gain index, by controlling the Rx to Tx gain index
 * offset.
 * The control is divided by 3 temperature values to 4 temperature ranges.
 * Each parameter uses its own temperature values.
 * Returned event: WMI_SET_HIGH_POWER_TABLE_PARAMS_EVENTID
 */
struct wmi_set_high_power_table_params_cmd {} __packed;

/* WMI_FIXED_SCHEDULING_UL_CONFIG_CMDID
 * This API sets rd parameter per mcs.
 * Relevant only in Fixed Scheduling mode.
 * Returned event: WMI_FIXED_SCHEDULING_UL_CONFIG_EVENTID
 */
struct wmi_fixed_scheduling_ul_config_cmd {} __packed;

/* CMD: WMI_RF_XPM_READ_CMDID */
struct wmi_rf_xpm_read_cmd {} __packed;

/* CMD: WMI_RF_XPM_WRITE_CMDID */
struct wmi_rf_xpm_write_cmd {} __packed;

/* Possible modes for temperature measurement */
enum wmi_temperature_measure_mode {};

/* WMI_TEMP_SENSE_CMDID */
struct wmi_temp_sense_cmd {} __packed;

enum wmi_pmc_op {};

/* WMI_PMC_CMDID */
struct wmi_pmc_cmd {} __packed;

enum wmi_aoa_meas_type {};

/* WMI_AOA_MEAS_CMDID */
struct wmi_aoa_meas_cmd {} __packed;

/* WMI_SET_MGMT_RETRY_LIMIT_CMDID */
struct wmi_set_mgmt_retry_limit_cmd {} __packed;

/* Zones: HIGH, MAX, CRITICAL */
#define WMI_NUM_OF_TT_ZONES

struct wmi_tt_zone_limits {} __packed;

/* Struct used for both configuration and status commands of thermal
 * throttling
 */
struct wmi_tt_data {} __packed;

/* WMI_SET_THERMAL_THROTTLING_CFG_CMDID */
struct wmi_set_thermal_throttling_cfg_cmd {} __packed;

/* WMI_NEW_STA_CMDID */
struct wmi_new_sta_cmd {} __packed;

/* WMI_DEL_STA_CMDID */
struct wmi_del_sta_cmd {} __packed;

enum wmi_tof_burst_duration {};

enum wmi_tof_session_start_flags {};

/* WMI_TOF_SESSION_START_CMDID */
struct wmi_ftm_dest_info {} __packed;

/* WMI_TOF_SESSION_START_CMDID */
struct wmi_tof_session_start_cmd {} __packed;

/* WMI_TOF_CFG_RESPONDER_CMDID */
struct wmi_tof_cfg_responder_cmd {} __packed;

enum wmi_tof_channel_info_report_type {};

/* WMI_TOF_CHANNEL_INFO_CMDID */
struct wmi_tof_channel_info_cmd {} __packed;

/* WMI_TOF_SET_TX_RX_OFFSET_CMDID */
struct wmi_tof_set_tx_rx_offset_cmd {} __packed;

/* WMI_TOF_GET_TX_RX_OFFSET_CMDID */
struct wmi_tof_get_tx_rx_offset_cmd {} __packed;

/* WMI_FIXED_SCHEDULING_CONFIG_CMDID */
struct wmi_map_mcs_to_schd_params {} __packed;

/* WMI_FIXED_SCHEDULING_CONFIG_COMPLETE_EVENTID */
struct wmi_fixed_scheduling_config_complete_event {} __packed;

/* This value exists for backwards compatibility only.
 * Do not use it in new commands.
 * Use dynamic arrays where possible.
 */
#define WMI_NUM_MCS

/* WMI_FIXED_SCHEDULING_CONFIG_CMDID */
struct wmi_fixed_scheduling_config_cmd {} __packed;

/* WMI_ENABLE_FIXED_SCHEDULING_CMDID */
struct wmi_enable_fixed_scheduling_cmd {} __packed;

/* WMI_ENABLE_FIXED_SCHEDULING_COMPLETE_EVENTID */
struct wmi_enable_fixed_scheduling_complete_event {} __packed;

/* WMI_SET_MULTI_DIRECTED_OMNIS_CONFIG_CMDID */
struct wmi_set_multi_directed_omnis_config_cmd {} __packed;

/* WMI_SET_MULTI_DIRECTED_OMNIS_CONFIG_EVENTID */
struct wmi_set_multi_directed_omnis_config_event {} __packed;

/* WMI_RADAR_GENERAL_CONFIG_EVENTID */
struct wmi_radar_general_config_event {} __packed;

/* WMI_RADAR_CONFIG_SELECT_EVENTID */
struct wmi_radar_config_select_event {} __packed;

/* WMI_RADAR_PARAMS_CONFIG_EVENTID */
struct wmi_radar_params_config_event {} __packed;

/* WMI_RADAR_SET_MODE_EVENTID */
struct wmi_radar_set_mode_event {} __packed;

/* WMI_RADAR_CONTROL_EVENTID */
struct wmi_radar_control_event {} __packed;

/* WMI_RADAR_PCI_CONTROL_EVENTID */
struct wmi_radar_pci_control_event {} __packed;

/* WMI_SET_LONG_RANGE_CONFIG_CMDID */
struct wmi_set_long_range_config_cmd {} __packed;

/* WMI_SET_LONG_RANGE_CONFIG_COMPLETE_EVENTID */
struct wmi_set_long_range_config_complete_event {} __packed;

/* payload max size is 1024 bytes: max event buffer size (1044) - WMI headers
 * (16) - prev struct field size (4)
 */
#define WMI_MAX_IOCTL_PAYLOAD_SIZE
#define WMI_MAX_IOCTL_REPLY_PAYLOAD_SIZE
#define WMI_MAX_INTERNAL_EVENT_PAYLOAD_SIZE

enum wmi_internal_fw_ioctl_code {};

/* WMI_INTERNAL_FW_IOCTL_CMDID */
struct wmi_internal_fw_ioctl_cmd {} __packed;

/* WMI_INTERNAL_FW_IOCTL_EVENTID */
struct wmi_internal_fw_ioctl_event {} __packed;

/* WMI_INTERNAL_FW_EVENT_EVENTID */
struct wmi_internal_fw_event_event {} __packed;

/* WMI_SET_VRING_PRIORITY_WEIGHT_CMDID */
struct wmi_set_vring_priority_weight_cmd {} __packed;

/* WMI_SET_VRING_PRIORITY_CMDID */
struct wmi_vring_priority {} __packed;

/* WMI_SET_VRING_PRIORITY_CMDID */
struct wmi_set_vring_priority_cmd {} __packed;

/* WMI_BF_CONTROL_CMDID - deprecated */
struct wmi_bf_control_cmd {} __packed;

/* BF configuration for each MCS */
struct wmi_bf_control_ex_mcs {} __packed;

/* WMI_BF_CONTROL_EX_CMDID */
struct wmi_bf_control_ex_cmd {} __packed;

/* WMI_LINK_STATS_CMD */
enum wmi_link_stats_action {};

/* WMI_LINK_STATS_EVENT record identifiers */
enum wmi_link_stats_record_type {};

/* WMI_LINK_STATS_CMDID */
struct wmi_link_stats_cmd {} __packed;

/* WMI_SET_GRANT_MCS_CMDID */
struct wmi_set_grant_mcs_cmd {} __packed;

/* WMI_SET_AP_SLOT_SIZE_CMDID */
struct wmi_set_ap_slot_size_cmd {} __packed;

/* WMI_TEMP_SENSE_ALL_CMDID */
struct wmi_temp_sense_all_cmd {} __packed;

/* WMI Events
 * List of Events (target to host)
 */
enum wmi_event_id {};

/* Events data structures */
enum wmi_fw_status {};

/* WMI_RF_MGMT_STATUS_EVENTID */
enum wmi_rf_status {};

/* WMI_RF_MGMT_STATUS_EVENTID */
struct wmi_rf_mgmt_status_event {} __packed;

/* WMI_GET_STATUS_DONE_EVENTID */
struct wmi_get_status_done_event {} __packed;

/* WMI_FW_VER_EVENTID */
struct wmi_fw_ver_event {} __packed;

/* WMI_GET_RF_STATUS_EVENTID */
enum rf_type {};

/* WMI_GET_RF_STATUS_EVENTID */
enum board_file_rf_type {};

/* WMI_GET_RF_STATUS_EVENTID */
enum rf_status {};

/* WMI_GET_RF_STATUS_EVENTID */
struct wmi_get_rf_status_event {} __packed;

/* WMI_GET_BASEBAND_TYPE_EVENTID */
enum baseband_type {};

/* WMI_GET_BASEBAND_TYPE_EVENTID */
struct wmi_get_baseband_type_event {} __packed;

/* WMI_MAC_ADDR_RESP_EVENTID */
struct wmi_mac_addr_resp_event {} __packed;

/* WMI_EAPOL_RX_EVENTID */
struct wmi_eapol_rx_event {} __packed;

/* WMI_READY_EVENTID */
enum wmi_phy_capability {};

struct wmi_ready_event {} __packed;

/* WMI_NOTIFY_REQ_DONE_EVENTID */
struct wmi_notify_req_done_event {} __packed;

/* WMI_CONNECT_EVENTID */
struct wmi_connect_event {} __packed;

/* disconnect_reason */
enum wmi_disconnect_reason {};

/* WMI_DISCONNECT_EVENTID */
struct wmi_disconnect_event {} __packed;

/* WMI_SCAN_COMPLETE_EVENTID */
enum scan_status {};

struct wmi_scan_complete_event {} __packed;

/* WMI_FT_AUTH_STATUS_EVENTID */
struct wmi_ft_auth_status_event {} __packed;

/* WMI_FT_REASSOC_STATUS_EVENTID */
struct wmi_ft_reassoc_status_event {} __packed;

/* wmi_rx_mgmt_info */
struct wmi_rx_mgmt_info {} __packed;

/* WMI_START_SCHED_SCAN_EVENTID */
enum wmi_pno_result {};

struct wmi_start_sched_scan_event {} __packed;

struct wmi_stop_sched_scan_event {} __packed;

struct wmi_sched_scan_result_event {} __packed;

/* WMI_ACS_PASSIVE_SCAN_COMPLETE_EVENT */
enum wmi_acs_info_bitmask {};

struct scan_acs_info {} __packed;

struct wmi_acs_passive_scan_complete_event {} __packed;

/* WMI_BA_STATUS_EVENTID */
enum wmi_vring_ba_status {};

struct wmi_ba_status_event {} __packed;

/* WMI_DELBA_EVENTID */
struct wmi_delba_event {} __packed;

/* WMI_VRING_CFG_DONE_EVENTID */
struct wmi_vring_cfg_done_event {} __packed;

/* WMI_RCP_ADDBA_RESP_SENT_EVENTID */
struct wmi_rcp_addba_resp_sent_event {} __packed;

/* WMI_TX_STATUS_RING_CFG_DONE_EVENTID */
struct wmi_tx_status_ring_cfg_done_event {} __packed;

/* WMI_RX_STATUS_RING_CFG_DONE_EVENTID */
struct wmi_rx_status_ring_cfg_done_event {} __packed;

/* WMI_CFG_DEF_RX_OFFLOAD_DONE_EVENTID */
struct wmi_cfg_def_rx_offload_done_event {} __packed;

/* WMI_TX_DESC_RING_CFG_DONE_EVENTID */
struct wmi_tx_desc_ring_cfg_done_event {} __packed;

/* WMI_RX_DESC_RING_CFG_DONE_EVENTID */
struct wmi_rx_desc_ring_cfg_done_event {} __packed;

/* WMI_RCP_ADDBA_REQ_EVENTID */
struct wmi_rcp_addba_req_event {} __packed;

/* WMI_CFG_RX_CHAIN_DONE_EVENTID */
enum wmi_cfg_rx_chain_done_event_status {};

struct wmi_cfg_rx_chain_done_event {} __packed;

/* WMI_WBE_LINK_DOWN_EVENTID */
enum wmi_wbe_link_down_event_reason {};

/* WMI_WBE_LINK_DOWN_EVENTID */
struct wmi_wbe_link_down_event {} __packed;

/* WMI_DATA_PORT_OPEN_EVENTID */
struct wmi_data_port_open_event {} __packed;

/* WMI_RING_EN_EVENTID */
struct wmi_ring_en_event {} __packed;

/* WMI_GET_PCP_CHANNEL_EVENTID */
struct wmi_get_pcp_channel_event {} __packed;

/* WMI_P2P_CFG_DONE_EVENTID */
struct wmi_p2p_cfg_done_event {} __packed;

/* WMI_PORT_ALLOCATED_EVENTID */
struct wmi_port_allocated_event {} __packed;

/* WMI_PORT_DELETED_EVENTID */
struct wmi_port_deleted_event {} __packed;

/* WMI_LISTEN_STARTED_EVENTID */
struct wmi_listen_started_event {} __packed;

/* WMI_SEARCH_STARTED_EVENTID */
struct wmi_search_started_event {} __packed;

/* WMI_PCP_STARTED_EVENTID */
struct wmi_pcp_started_event {} __packed;

/* WMI_PCP_FACTOR_EVENTID */
struct wmi_pcp_factor_event {} __packed;

enum wmi_sw_tx_status {};

/* WMI_SW_TX_COMPLETE_EVENTID */
struct wmi_sw_tx_complete_event {} __packed;

/* WMI_CORR_MEASURE_EVENTID - deprecated */
struct wmi_corr_measure_event {} __packed;

/* WMI_READ_RSSI_EVENTID */
struct wmi_read_rssi_event {} __packed;

/* WMI_GET_SSID_EVENTID */
struct wmi_get_ssid_event {} __packed;

/* EVENT: WMI_RF_XPM_READ_RESULT_EVENTID */
struct wmi_rf_xpm_read_result_event {} __packed;

/* EVENT: WMI_RF_XPM_WRITE_RESULT_EVENTID */
struct wmi_rf_xpm_write_result_event {} __packed;

/* WMI_TX_MGMT_PACKET_EVENTID */
struct wmi_tx_mgmt_packet_event {} __packed;

/* WMI_RX_MGMT_PACKET_EVENTID */
struct wmi_rx_mgmt_packet_event {} __packed;

/* WMI_ECHO_RSP_EVENTID */
struct wmi_echo_rsp_event {} __packed;

/* WMI_DEEP_ECHO_RSP_EVENTID */
struct wmi_deep_echo_rsp_event {} __packed;

/* WMI_RF_PWR_ON_DELAY_RSP_EVENTID */
struct wmi_rf_pwr_on_delay_rsp_event {} __packed;

/* WMI_SET_HIGH_POWER_TABLE_PARAMS_EVENTID */
struct wmi_set_high_power_table_params_event {} __packed;

/* WMI_FIXED_SCHEDULING_UL_CONFIG_EVENTID */
struct wmi_fixed_scheduling_ul_config_event {} __packed;

/* WMI_TEMP_SENSE_DONE_EVENTID
 *
 * Measure MAC and radio temperatures
 */
struct wmi_temp_sense_done_event {} __packed;

#define WMI_SCAN_DWELL_TIME_MS
#define WMI_SURVEY_TIMEOUT_MS

enum wmi_hidden_ssid {};

/* WMI_LED_CFG_CMDID
 *
 * Configure LED On\Off\Blinking operation
 *
 * Returned events:
 * - WMI_LED_CFG_DONE_EVENTID
 */
enum led_mode {};

/* The names of the led as
 * described on HW schemes.
 */
enum wmi_led_id {};

/* Led polarity mode. */
enum wmi_led_polarity {};

/* Combination of on and off
 * creates the blinking period
 */
struct wmi_led_blink_mode {} __packed;

/* WMI_LED_CFG_CMDID */
struct wmi_led_cfg_cmd {} __packed;

/* \WMI_SET_CONNECT_SNR_THR_CMDID */
struct wmi_set_connect_snr_thr_cmd {} __packed;

/* WMI_LED_CFG_DONE_EVENTID */
struct wmi_led_cfg_done_event {} __packed;

/* Rate search parameters configuration per connection */
struct wmi_rs_cfg {} __packed;

enum wmi_edmg_tx_mode {};

/* Rate search parameters common configuration */
struct wmi_rs_cfg_ex_common {} __packed;

/* Rate search parameters configuration per MCS */
struct wmi_rs_cfg_ex_mcs {} __packed;

/* WMI_RS_CFG_EX_CMDID */
struct wmi_rs_cfg_ex_cmd {} __packed;

/* WMI_RS_CFG_EX_EVENTID */
struct wmi_rs_cfg_ex_event {} __packed;

/* WMI_RS_ENABLE_CMDID */
struct wmi_rs_enable_cmd {} __packed;

/* WMI_RS_ENABLE_EVENTID */
struct wmi_rs_enable_event {} __packed;

/* Slot types */
enum wmi_sched_scheme_slot_type {};

enum wmi_sched_scheme_slot_flags {};

struct wmi_sched_scheme_slot {} __packed;

enum wmi_sched_scheme_flags {};

enum wmi_sched_scheme_advertisment {};

/* WMI_SCHEDULING_SCHEME_CMD */
struct wmi_scheduling_scheme_cmd {} __packed;

enum wmi_sched_scheme_failure_type {};

/* WMI_SCHEDULING_SCHEME_EVENTID */
struct wmi_scheduling_scheme_event {} __packed;

/* WMI_RS_CFG_CMDID - deprecated */
struct wmi_rs_cfg_cmd {} __packed;

/* WMI_RS_CFG_DONE_EVENTID - deprecated */
struct wmi_rs_cfg_done_event {} __packed;

/* WMI_GET_DETAILED_RS_RES_CMDID - deprecated */
struct wmi_get_detailed_rs_res_cmd {} __packed;

/* RS results status */
enum wmi_rs_results_status {};

/* Rate search results */
struct wmi_rs_results {} __packed;

/* WMI_GET_DETAILED_RS_RES_EVENTID - deprecated */
struct wmi_get_detailed_rs_res_event {} __packed;

/* WMI_GET_DETAILED_RS_RES_EX_CMDID */
struct wmi_get_detailed_rs_res_ex_cmd {} __packed;

/* Rate search results */
struct wmi_rs_results_ex_common {} __packed;

/* Rate search results */
struct wmi_rs_results_ex_mcs {} __packed;

/* WMI_GET_DETAILED_RS_RES_EX_EVENTID */
struct wmi_get_detailed_rs_res_ex_event {} __packed;

/* BRP antenna limit mode */
enum wmi_brp_ant_limit_mode {};

/* WMI_BRP_SET_ANT_LIMIT_CMDID */
struct wmi_brp_set_ant_limit_cmd {} __packed;

/* WMI_BRP_SET_ANT_LIMIT_EVENTID */
struct wmi_brp_set_ant_limit_event {} __packed;

enum wmi_bf_type {};

/* WMI_BF_TRIG_CMDID */
struct wmi_bf_trig_cmd {} __packed;

/* WMI_BF_TRIG_EVENTID */
struct wmi_bf_trig_event {} __packed;

/* broadcast connection ID */
#define WMI_LINK_MAINTAIN_CFG_CID_BROADCAST

/* Types wmi_link_maintain_cfg presets for WMI_LINK_MAINTAIN_CFG_WRITE_CMD */
enum wmi_link_maintain_cfg_type {};

/* Response status codes for WMI_LINK_MAINTAIN_CFG_WRITE/READ commands */
enum wmi_link_maintain_cfg_response_status {};

/* Link Loss and Keep Alive configuration */
struct wmi_link_maintain_cfg {} __packed;

/* WMI_LINK_MAINTAIN_CFG_WRITE_CMDID */
struct wmi_link_maintain_cfg_write_cmd {} __packed;

/* WMI_LINK_MAINTAIN_CFG_READ_CMDID */
struct wmi_link_maintain_cfg_read_cmd {} __packed;

/* WMI_SET_LINK_MONITOR_CMDID */
struct wmi_set_link_monitor_cmd {} __packed;

/* wmi_link_monitor_event_type */
enum wmi_link_monitor_event_type {};

/* WMI_SET_LINK_MONITOR_EVENTID */
struct wmi_set_link_monitor_event {} __packed;

/* WMI_LINK_MONITOR_EVENTID */
struct wmi_link_monitor_event {} __packed;

/* WMI_LINK_MAINTAIN_CFG_WRITE_DONE_EVENTID */
struct wmi_link_maintain_cfg_write_done_event {} __packed;

/* \WMI_LINK_MAINTAIN_CFG_READ_DONE_EVENT */
struct wmi_link_maintain_cfg_read_done_event {} __packed;

enum wmi_traffic_suspend_status {};

/* WMI_TRAFFIC_SUSPEND_EVENTID */
struct wmi_traffic_suspend_event {} __packed;

enum wmi_traffic_resume_status {};

enum wmi_resume_trigger {};

/* WMI_TRAFFIC_RESUME_EVENTID */
struct wmi_traffic_resume_event {} __packed;

/* Power Save command completion status codes */
enum wmi_ps_cfg_cmd_status {};

/* Device Power Save Profiles */
enum wmi_ps_profile_type {};

/* WMI_PS_DEV_PROFILE_CFG_READ_CMDID */
struct wmi_ps_dev_profile_cfg_read_cmd {} __packed;

/* WMI_PS_DEV_PROFILE_CFG_READ_EVENTID */
struct wmi_ps_dev_profile_cfg_read_event {} __packed;

/* WMI_PS_DEV_PROFILE_CFG_CMDID
 *
 * Power save profile to be used by the device
 *
 * Returned event:
 * - WMI_PS_DEV_PROFILE_CFG_EVENTID
 */
struct wmi_ps_dev_profile_cfg_cmd {} __packed;

/* WMI_PS_DEV_PROFILE_CFG_EVENTID */
struct wmi_ps_dev_profile_cfg_event {} __packed;

enum wmi_ps_level {};

enum wmi_ps_deep_sleep_clk_level {};

/* Response by the FW to a D3 entry request */
enum wmi_ps_d3_resp_policy {};

#define WMI_AOA_MAX_DATA_SIZE

enum wmi_aoa_meas_status {};

/* WMI_AOA_MEAS_EVENTID */
struct wmi_aoa_meas_event {} __packed;

/* WMI_SET_MGMT_RETRY_LIMIT_EVENTID */
struct wmi_set_mgmt_retry_limit_event {} __packed;

/* WMI_GET_MGMT_RETRY_LIMIT_EVENTID */
struct wmi_get_mgmt_retry_limit_event {} __packed;

/* WMI_TOF_GET_CAPABILITIES_EVENTID */
struct wmi_tof_get_capabilities_event {} __packed;

/* WMI_SET_THERMAL_THROTTLING_CFG_EVENTID */
struct wmi_set_thermal_throttling_cfg_event {} __packed;

/* WMI_GET_THERMAL_THROTTLING_CFG_EVENTID */
struct wmi_get_thermal_throttling_cfg_event {} __packed;

enum wmi_tof_session_end_status {};

/* WMI_TOF_SESSION_END_EVENTID */
struct wmi_tof_session_end_event {} __packed;

/* WMI_TOF_SET_LCI_EVENTID */
struct wmi_tof_set_lci_event {} __packed;

/* WMI_TOF_SET_LCR_EVENTID */
struct wmi_tof_set_lcr_event {} __packed;

/* Responder FTM Results */
struct wmi_responder_ftm_res {} __packed;

enum wmi_tof_ftm_per_dest_res_status {};

enum wmi_tof_ftm_per_dest_res_flags {};

/* WMI_TOF_FTM_PER_DEST_RES_EVENTID */
struct wmi_tof_ftm_per_dest_res_event {} __packed;

/* WMI_TOF_CFG_RESPONDER_EVENTID */
struct wmi_tof_cfg_responder_event {} __packed;

enum wmi_tof_channel_info_type {};

/* WMI_TOF_CHANNEL_INFO_EVENTID */
struct wmi_tof_channel_info_event {} __packed;

/* WMI_TOF_SET_TX_RX_OFFSET_EVENTID */
struct wmi_tof_set_tx_rx_offset_event {} __packed;

/* WMI_TOF_GET_TX_RX_OFFSET_EVENTID */
struct wmi_tof_get_tx_rx_offset_event {} __packed;

/* Result status codes for WMI commands */
enum wmi_rf_sector_status {};

/* Types of the RF sector (TX,RX) */
enum wmi_rf_sector_type {};

/* Content of RF Sector (six 32-bits registers) */
struct wmi_rf_sector_info {} __packed;

#define WMI_INVALID_RF_SECTOR_INDEX
#define WMI_MAX_RF_MODULES_NUM

/* WMI_GET_RF_SECTOR_PARAMS_CMD */
struct wmi_get_rf_sector_params_cmd {} __packed;

/* \WMI_GET_RF_SECTOR_PARAMS_DONE_EVENT */
struct wmi_get_rf_sector_params_done_event {} __packed;

/* WMI_SET_RF_SECTOR_PARAMS_CMD */
struct wmi_set_rf_sector_params_cmd {} __packed;

/* \WMI_SET_RF_SECTOR_PARAMS_DONE_EVENT */
struct wmi_set_rf_sector_params_done_event {} __packed;

/* WMI_GET_SELECTED_RF_SECTOR_INDEX_CMD - Get RF sector index selected by
 * TXSS/BRP for communication with specified CID
 */
struct wmi_get_selected_rf_sector_index_cmd {} __packed;

/* \WMI_GET_SELECTED_RF_SECTOR_INDEX_DONE_EVENT - Returns retrieved RF sector
 * index selected by TXSS/BRP for communication with specified CID
 */
struct wmi_get_selected_rf_sector_index_done_event {} __packed;

/* WMI_SET_SELECTED_RF_SECTOR_INDEX_CMD - Force RF sector index for
 * communication with specified CID. Assumes that TXSS/BRP is disabled by
 * other command
 */
struct wmi_set_selected_rf_sector_index_cmd {} __packed;

/* \WMI_SET_SELECTED_RF_SECTOR_INDEX_DONE_EVENT - Success/Fail status for
 * WMI_SET_SELECTED_RF_SECTOR_INDEX_CMD
 */
struct wmi_set_selected_rf_sector_index_done_event {} __packed;

/* WMI_SET_RF_SECTOR_ON_CMD - Activates specified sector for specified rf
 * modules
 */
struct wmi_set_rf_sector_on_cmd {} __packed;

/* \WMI_SET_RF_SECTOR_ON_DONE_EVENT - Success/Fail status for
 * WMI_SET_RF_SECTOR_ON_CMD
 */
struct wmi_set_rf_sector_on_done_event {} __packed;

enum wmi_sector_sweep_type {};

/* WMI_PRIO_TX_SECTORS_ORDER_CMDID
 *
 * Set the order of TX sectors in TXSS and/or Beacon(AP).
 *
 * Returned event:
 * - WMI_PRIO_TX_SECTORS_ORDER_EVENTID
 */
struct wmi_prio_tx_sectors_order_cmd {} __packed;

/* completion status codes */
enum wmi_prio_tx_sectors_cmd_status {};

/* WMI_PRIO_TX_SECTORS_ORDER_EVENTID */
struct wmi_prio_tx_sectors_order_event {} __packed;

struct wmi_prio_tx_sectors_num_cmd {} __packed;

/* WMI_PRIO_TX_SECTORS_NUMBER_CMDID
 *
 * Set the number of active sectors in TXSS and/or Beacon.
 *
 * Returned event:
 * - WMI_PRIO_TX_SECTORS_NUMBER_EVENTID
 */
struct wmi_prio_tx_sectors_number_cmd {} __packed;

/* WMI_PRIO_TX_SECTORS_NUMBER_EVENTID */
struct wmi_prio_tx_sectors_number_event {} __packed;

/* WMI_PRIO_TX_SECTORS_SET_DEFAULT_CFG_CMDID
 *
 * Set default sectors order and number (hard coded in board file)
 * in TXSS and/or Beacon.
 *
 * Returned event:
 * - WMI_PRIO_TX_SECTORS_SET_DEFAULT_CFG_EVENTID
 */
struct wmi_prio_tx_sectors_set_default_cfg_cmd {} __packed;

/* WMI_PRIO_TX_SECTORS_SET_DEFAULT_CFG_EVENTID */
struct wmi_prio_tx_sectors_set_default_cfg_event {} __packed;

/* WMI_SET_SILENT_RSSI_TABLE_DONE_EVENTID */
struct wmi_set_silent_rssi_table_done_event {} __packed;

/* WMI_VRING_SWITCH_TIMING_CONFIG_EVENTID */
struct wmi_vring_switch_timing_config_event {} __packed;

/* WMI_GET_ASSOC_LIST_RES_EVENTID */
struct wmi_assoc_sta_info {} __packed;

#define WMI_GET_ASSOC_LIST_SIZE

/* WMI_GET_ASSOC_LIST_RES_EVENTID
 * Returns up to MAX_ASSOC_STA_LIST_SIZE associated STAs
 */
struct wmi_get_assoc_list_res_event {} __packed;

/* WMI_BF_CONTROL_EVENTID - deprecated */
struct wmi_bf_control_event {} __packed;

/* WMI_BF_CONTROL_EX_EVENTID */
struct wmi_bf_control_ex_event {} __packed;

/* WMI_COMMAND_NOT_SUPPORTED_EVENTID */
struct wmi_command_not_supported_event {} __packed;

/* WMI_TSF_SYNC_CMDID */
struct wmi_tsf_sync_cmd {} __packed;

/* WMI_TSF_SYNC_STATUS_EVENTID */
enum wmi_tsf_sync_status {};

/* WMI_TSF_SYNC_STATUS_EVENTID */
struct wmi_tsf_sync_status_event {} __packed;

/* WMI_GET_CCA_INDICATIONS_EVENTID */
struct wmi_get_cca_indications_event {} __packed;

/* WMI_SET_CCA_INDICATIONS_BI_AVG_NUM_CMDID */
struct wmi_set_cca_indications_bi_avg_num_cmd {} __packed;

/* WMI_SET_CCA_INDICATIONS_BI_AVG_NUM_EVENTID */
struct wmi_set_cca_indications_bi_avg_num_event {} __packed;

/* WMI_INTERNAL_FW_SET_CHANNEL */
struct wmi_internal_fw_set_channel_event {} __packed;

/* WMI_LINK_STATS_CONFIG_DONE_EVENTID */
struct wmi_link_stats_config_done_event {} __packed;

/* WMI_LINK_STATS_EVENTID */
struct wmi_link_stats_event {} __packed;

/* WMI_LINK_STATS_EVENT */
struct wmi_link_stats_record {} __packed;

/* WMI_LINK_STATS_TYPE_BASIC */
struct wmi_link_stats_basic {} __packed;

/* WMI_LINK_STATS_TYPE_GLOBAL */
struct wmi_link_stats_global {} __packed;

/* WMI_SET_GRANT_MCS_EVENTID */
struct wmi_set_grant_mcs_event {} __packed;

/* WMI_SET_AP_SLOT_SIZE_EVENTID */
struct wmi_set_ap_slot_size_event {} __packed;

/* WMI_SET_VRING_PRIORITY_WEIGHT_EVENTID */
struct wmi_set_vring_priority_weight_event {} __packed;

/* WMI_SET_VRING_PRIORITY_EVENTID */
struct wmi_set_vring_priority_event {} __packed;

/* WMI_RADAR_PCI_CTRL_BLOCK struct */
struct wmi_radar_pci_ctrl_block {} __packed;

/* WMI_RBUFCAP_CFG_CMD */
struct wmi_rbufcap_cfg_cmd {} __packed;

/* WMI_RBUFCAP_CFG_EVENTID */
struct wmi_rbufcap_cfg_event {} __packed;

/* WMI_TEMP_SENSE_ALL_DONE_EVENTID
 * Measure MAC and all radio temperatures
 */
struct wmi_temp_sense_all_done_event {} __packed;

#endif /* __WILOCITY_WMI_H__ */