linux/drivers/net/wireless/marvell/mwifiex/fw.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * NXP Wireless LAN device driver: Firmware specific macros & structures
 *
 * Copyright 2011-2020 NXP
 */

#ifndef _MWIFIEX_FW_H_
#define _MWIFIEX_FW_H_

#include <linux/if_ether.h>


#define INTF_HEADER_LEN

struct rfc_1042_hdr {} __packed;

struct rx_packet_hdr {} __packed;

struct tx_packet_hdr {} __packed;

struct mwifiex_fw_header {} __packed;

struct mwifiex_fw_data {} __packed;

struct mwifiex_fw_dump_header {} __packed;

#define FW_DUMP_INFO_ENDED

#define MWIFIEX_FW_DNLD_CMD_1
#define MWIFIEX_FW_DNLD_CMD_5
#define MWIFIEX_FW_DNLD_CMD_6
#define MWIFIEX_FW_DNLD_CMD_7

#define B_SUPPORTED_RATES
#define G_SUPPORTED_RATES
#define BG_SUPPORTED_RATES
#define A_SUPPORTED_RATES
#define HOSTCMD_SUPPORTED_RATES
#define N_SUPPORTED_RATES
#define ALL_802_11_BANDS

#define FW_MULTI_BANDS_SUPPORT
#define IS_SUPPORT_MULTI_BANDS(adapter)

/* bit 13: 11ac BAND_AAC
 * bit 12: reserved for lab testing, will be reused for BAND_AN
 * bit 11: 11n  BAND_GN
 * bit 10: 11a  BAND_A
 * bit 9: 11g   BAND_G
 * bit 8: 11b   BAND_B
 * Map these bits to band capability by right shifting 8 bits.
 */
#define GET_FW_DEFAULT_BANDS(adapter)

#define HostCmd_WEP_KEY_INDEX_MASK

#define KEY_INFO_ENABLED
enum KEY_TYPE_ID {};

#define WPA_PN_SIZE
#define KEY_PARAMS_FIXED_LEN
#define KEY_INDEX_MASK
#define KEY_API_VER_MAJOR_V2

#define KEY_MCAST
#define KEY_UNICAST
#define KEY_ENABLED
#define KEY_DEFAULT
#define KEY_TX_KEY
#define KEY_RX_KEY
#define KEY_IGTK

#define WAPI_KEY_LEN

#define MAX_POLL_TRIES
#define MAX_FIRMWARE_POLL_TRIES

#define FIRMWARE_READY_SDIO
#define FIRMWARE_READY_PCIE

#define MWIFIEX_COEX_MODE_TIMESHARE
#define MWIFIEX_COEX_MODE_SPATIAL

enum mwifiex_usb_ep {};

enum MWIFIEX_802_11_PRIVACY_FILTER {};

#define CAL_SNR(RSSI, NF)
#define CAL_RSSI(SNR, NF)

#define UAP_BSS_PARAMS_I
#define UAP_CUSTOM_IE_I
#define MWIFIEX_AUTO_IDX_MASK
#define MWIFIEX_DELETE_MASK
#define MGMT_MASK_ASSOC_REQ
#define MGMT_MASK_REASSOC_REQ
#define MGMT_MASK_ASSOC_RESP
#define MGMT_MASK_REASSOC_RESP
#define MGMT_MASK_PROBE_REQ
#define MGMT_MASK_PROBE_RESP
#define MGMT_MASK_BEACON

#define TLV_TYPE_UAP_SSID
#define TLV_TYPE_UAP_RATES
#define TLV_TYPE_PWR_CONSTRAINT

#define PROPRIETARY_TLV_BASE_ID
#define TLV_TYPE_KEY_MATERIAL
#define TLV_TYPE_CHANLIST
#define TLV_TYPE_NUMPROBES
#define TLV_TYPE_RSSI_LOW
#define TLV_TYPE_PASSTHROUGH
#define TLV_TYPE_WMMQSTATUS
#define TLV_TYPE_WILDCARDSSID
#define TLV_TYPE_TSFTIMESTAMP
#define TLV_TYPE_RSSI_HIGH
#define TLV_TYPE_BGSCAN_START_LATER
#define TLV_TYPE_AUTH_TYPE
#define TLV_TYPE_STA_MAC_ADDR
#define TLV_TYPE_BSSID
#define TLV_TYPE_CHANNELBANDLIST
#define TLV_TYPE_UAP_MAC_ADDRESS
#define TLV_TYPE_UAP_BEACON_PERIOD
#define TLV_TYPE_UAP_DTIM_PERIOD
#define TLV_TYPE_UAP_BCAST_SSID
#define TLV_TYPE_UAP_RTS_THRESHOLD
#define TLV_TYPE_UAP_AO_TIMER
#define TLV_TYPE_UAP_WEP_KEY
#define TLV_TYPE_UAP_WPA_PASSPHRASE
#define TLV_TYPE_UAP_ENCRY_PROTOCOL
#define TLV_TYPE_UAP_AKMP
#define TLV_TYPE_UAP_FRAG_THRESHOLD
#define TLV_TYPE_RATE_DROP_CONTROL
#define TLV_TYPE_RATE_SCOPE
#define TLV_TYPE_POWER_GROUP
#define TLV_TYPE_BSS_SCAN_RSP
#define TLV_TYPE_BSS_SCAN_INFO
#define TLV_TYPE_CHANRPT_11H_BASIC
#define TLV_TYPE_UAP_RETRY_LIMIT
#define TLV_TYPE_WAPI_IE
#define TLV_TYPE_ROBUST_COEX
#define TLV_TYPE_UAP_MGMT_FRAME
#define TLV_TYPE_MGMT_IE
#define TLV_TYPE_AUTO_DS_PARAM
#define TLV_TYPE_PS_PARAM
#define TLV_TYPE_UAP_PS_AO_TIMER
#define TLV_TYPE_PWK_CIPHER
#define TLV_TYPE_GWK_CIPHER
#define TLV_TYPE_TX_PAUSE
#define TLV_TYPE_RXBA_SYNC
#define TLV_TYPE_COALESCE_RULE
#define TLV_TYPE_KEY_PARAM_V2
#define TLV_TYPE_REPEAT_COUNT
#define TLV_TYPE_PS_PARAMS_IN_HS
#define TLV_TYPE_MULTI_CHAN_INFO
#define TLV_TYPE_MC_GROUP_INFO
#define TLV_TYPE_TDLS_IDLE_TIMEOUT
#define TLV_TYPE_SCAN_CHANNEL_GAP
#define TLV_TYPE_API_REV
#define TLV_TYPE_CHANNEL_STATS
#define TLV_BTCOEX_WL_AGGR_WINSIZE
#define TLV_BTCOEX_WL_SCANTIME
#define TLV_TYPE_BSS_MODE
#define TLV_TYPE_RANDOM_MAC
#define TLV_TYPE_CHAN_ATTR_CFG
#define TLV_TYPE_MAX_CONN

#define MWIFIEX_TX_DATA_BUF_SIZE_2K

#define SSN_MASK

#define BA_RESULT_SUCCESS
#define BA_RESULT_TIMEOUT

#define IS_BASTREAM_SETUP(ptr)

#define BA_STREAM_NOT_ALLOWED

#define IS_11N_ENABLED(priv)
#define INITIATOR_BIT(DelBAParamSet)

#define MWIFIEX_TX_DATA_BUF_SIZE_4K
#define MWIFIEX_TX_DATA_BUF_SIZE_8K
#define MWIFIEX_TX_DATA_BUF_SIZE_12K

#define ISSUPP_11NENABLED(FwCapInfo)
#define ISSUPP_TDLS_ENABLED(FwCapInfo)
#define ISSUPP_DRCS_ENABLED(FwCapInfo)
#define ISSUPP_SDIO_SPA_ENABLED(FwCapInfo)
#define ISSUPP_ADHOC_ENABLED(FwCapInfo)
#define ISSUPP_RANDOM_MAC(FwCapInfo)
#define ISSUPP_FIRMWARE_SUPPLICANT(FwCapInfo)

#define MWIFIEX_DEF_HT_CAP

#define MWIFIEX_DEF_11N_TX_BF_CAP

#define MWIFIEX_DEF_AMPDU

/* dev_cap bitmap
 * BIT
 * 0-16		reserved
 * 17		IEEE80211_HT_CAP_SUP_WIDTH_20_40
 * 18-22	reserved
 * 23		IEEE80211_HT_CAP_SGI_20
 * 24		IEEE80211_HT_CAP_SGI_40
 * 25		IEEE80211_HT_CAP_TX_STBC
 * 26		IEEE80211_HT_CAP_RX_STBC
 * 27-28	reserved
 * 29		IEEE80211_HT_CAP_GRN_FLD
 * 30-31	reserved
 */
#define ISSUPP_CHANWIDTH40(Dot11nDevCap)
#define ISSUPP_SHORTGI20(Dot11nDevCap)
#define ISSUPP_SHORTGI40(Dot11nDevCap)
#define ISSUPP_TXSTBC(Dot11nDevCap)
#define ISSUPP_RXSTBC(Dot11nDevCap)
#define ISSUPP_GREENFIELD(Dot11nDevCap)
#define ISENABLED_40MHZ_INTOLERANT(Dot11nDevCap)
#define ISSUPP_RXLDPC(Dot11nDevCap)
#define ISSUPP_BEAMFORMING(Dot11nDevCap)
#define ISALLOWED_CHANWIDTH40(ht_param)
#define GETSUPP_TXBASTREAMS(Dot11nDevCap)

/* httxcfg bitmap
 * 0		reserved
 * 1		20/40 Mhz enable(1)/disable(0)
 * 2-3		reserved
 * 4		green field enable(1)/disable(0)
 * 5		short GI in 20 Mhz enable(1)/disable(0)
 * 6		short GI in 40 Mhz enable(1)/disable(0)
 * 7-15		reserved
 */
#define MWIFIEX_FW_DEF_HTTXCFG

/* 11AC Tx and Rx MCS map for 1x1 mode:
 * IEEE80211_VHT_MCS_SUPPORT_0_9 for stream 1
 * IEEE80211_VHT_MCS_NOT_SUPPORTED for remaining 7 streams
 */
#define MWIFIEX_11AC_MCS_MAP_1X1

/* 11AC Tx and Rx MCS map for 2x2 mode:
 * IEEE80211_VHT_MCS_SUPPORT_0_9 for stream 1 and 2
 * IEEE80211_VHT_MCS_NOT_SUPPORTED for remaining 6 streams
 */
#define MWIFIEX_11AC_MCS_MAP_2X2

#define GET_RXMCSSUPP(DevMCSSupported)
#define SETHT_MCS32(x)
#define HT_STREAM_1X1
#define HT_STREAM_2X2

#define SET_SECONDARYCHAN(RadioType, SECCHAN)

#define LLC_SNAP_LEN

/* HW_SPEC fw_cap_info */

#define ISSUPP_11ACENABLED(fw_cap_info)

#define GET_VHTCAP_CHWDSET(vht_cap_info)
#define GET_VHTNSSMCS(mcs_mapset, nss)
#define SET_VHTNSSMCS(mcs_mapset, nss, value)
#define GET_DEVTXMCSMAP(dev_mcs_map)
#define GET_DEVRXMCSMAP(dev_mcs_map)

/* Clear SU Beanformer, MU beanformer, MU beanformee and
 * sounding dimensions bits
 */
#define MWIFIEX_DEF_11AC_CAP_BF_RESET_MASK

#define MOD_CLASS_HR_DSSS
#define MOD_CLASS_OFDM
#define MOD_CLASS_HT
#define HT_BW_20
#define HT_BW_40

#define DFS_CHAN_MOVE_TIME

#define HostCmd_CMD_GET_HW_SPEC
#define HostCmd_CMD_802_11_SCAN
#define HostCmd_CMD_802_11_GET_LOG
#define HostCmd_CMD_MAC_MULTICAST_ADR
#define HostCmd_CMD_802_11_EEPROM_ACCESS
#define HostCmd_CMD_802_11_ASSOCIATE
#define HostCmd_CMD_802_11_SNMP_MIB
#define HostCmd_CMD_MAC_REG_ACCESS
#define HostCmd_CMD_BBP_REG_ACCESS
#define HostCmd_CMD_RF_REG_ACCESS
#define HostCmd_CMD_PMIC_REG_ACCESS
#define HostCmd_CMD_RF_TX_PWR
#define HostCmd_CMD_RF_ANTENNA
#define HostCmd_CMD_802_11_DEAUTHENTICATE
#define HostCmd_CMD_MAC_CONTROL
#define HostCmd_CMD_802_11_AD_HOC_START
#define HostCmd_CMD_802_11_AD_HOC_JOIN
#define HostCmd_CMD_802_11_AD_HOC_STOP
#define HostCmd_CMD_802_11_MAC_ADDRESS
#define HostCmd_CMD_802_11D_DOMAIN_INFO
#define HostCmd_CMD_802_11_KEY_MATERIAL
#define HostCmd_CMD_802_11_BG_SCAN_CONFIG
#define HostCmd_CMD_802_11_BG_SCAN_QUERY
#define HostCmd_CMD_WMM_GET_STATUS
#define HostCmd_CMD_802_11_SUBSCRIBE_EVENT
#define HostCmd_CMD_802_11_TX_RATE_QUERY
#define HostCmd_CMD_802_11_IBSS_COALESCING_STATUS
#define HostCmd_CMD_MEM_ACCESS
#define HostCmd_CMD_CFG_DATA
#define HostCmd_CMD_VERSION_EXT
#define HostCmd_CMD_MEF_CFG
#define HostCmd_CMD_RSSI_INFO
#define HostCmd_CMD_FUNC_INIT
#define HostCmd_CMD_FUNC_SHUTDOWN
#define HOST_CMD_APCMD_SYS_RESET
#define HostCmd_CMD_UAP_SYS_CONFIG
#define HostCmd_CMD_UAP_BSS_START
#define HostCmd_CMD_UAP_BSS_STOP
#define HOST_CMD_APCMD_STA_LIST
#define HostCmd_CMD_UAP_STA_DEAUTH
#define HostCmd_CMD_11N_CFG
#define HostCmd_CMD_11N_ADDBA_REQ
#define HostCmd_CMD_11N_ADDBA_RSP
#define HostCmd_CMD_11N_DELBA
#define HostCmd_CMD_RECONFIGURE_TX_BUFF
#define HostCmd_CMD_CHAN_REPORT_REQUEST
#define HostCmd_CMD_AMSDU_AGGR_CTRL
#define HostCmd_CMD_TXPWR_CFG
#define HostCmd_CMD_TX_RATE_CFG
#define HostCmd_CMD_ROBUST_COEX
#define HostCmd_CMD_802_11_PS_MODE_ENH
#define HostCmd_CMD_802_11_HS_CFG_ENH
#define HostCmd_CMD_P2P_MODE_CFG
#define HostCmd_CMD_CAU_REG_ACCESS
#define HostCmd_CMD_SET_BSS_MODE
#define HostCmd_CMD_PCIE_DESC_DETAILS
#define HostCmd_CMD_802_11_SCAN_EXT
#define HostCmd_CMD_COALESCE_CFG
#define HostCmd_CMD_MGMT_FRAME_REG
#define HostCmd_CMD_REMAIN_ON_CHAN
#define HostCmd_CMD_GTK_REKEY_OFFLOAD_CFG
#define HostCmd_CMD_11AC_CFG
#define HostCmd_CMD_HS_WAKEUP_REASON
#define HostCmd_CMD_TDLS_CONFIG
#define HostCmd_CMD_MC_POLICY
#define HostCmd_CMD_TDLS_OPER
#define HostCmd_CMD_FW_DUMP_EVENT
#define HostCmd_CMD_SDIO_SP_RX_AGGR_CFG
#define HostCmd_CMD_STA_CONFIGURE
#define HostCmd_CMD_CHAN_REGION_CFG
#define HostCmd_CMD_PACKET_AGGR_CTRL

#define PROTOCOL_NO_SECURITY
#define PROTOCOL_STATIC_WEP
#define PROTOCOL_WPA
#define PROTOCOL_WPA2
#define PROTOCOL_WPA2_MIXED
#define PROTOCOL_EAP
#define KEY_MGMT_NONE
#define KEY_MGMT_PSK
#define KEY_MGMT_EAP
#define CIPHER_TKIP
#define CIPHER_AES_CCMP
#define VALID_CIPHER_BITMAP

enum ENH_PS_MODES {};

enum P2P_MODES {};

enum mwifiex_channel_flags {};

#define HostCmd_RET_BIT
#define HostCmd_ACT_GEN_GET
#define HostCmd_ACT_GEN_SET
#define HostCmd_ACT_GEN_REMOVE
#define HostCmd_ACT_BITWISE_SET
#define HostCmd_ACT_BITWISE_CLR
#define HostCmd_RESULT_OK
#define HostCmd_ACT_MAC_RX_ON
#define HostCmd_ACT_MAC_TX_ON
#define HostCmd_ACT_MAC_WEP_ENABLE
#define HostCmd_ACT_MAC_ETHERNETII_ENABLE
#define HostCmd_ACT_MAC_PROMISCUOUS_ENABLE
#define HostCmd_ACT_MAC_ALL_MULTICAST_ENABLE
#define HostCmd_ACT_MAC_ADHOC_G_PROTECTION_ON
#define HostCmd_ACT_MAC_DYNAMIC_BW_ENABLE

#define HostCmd_BSS_MODE_IBSS
#define HostCmd_BSS_MODE_ANY

#define HostCmd_SCAN_RADIO_TYPE_BG
#define HostCmd_SCAN_RADIO_TYPE_A

#define HS_CFG_CANCEL
#define HS_CFG_COND_DEF
#define HS_CFG_GPIO_DEF
#define HS_CFG_GAP_DEF
#define HS_CFG_COND_BROADCAST_DATA
#define HS_CFG_COND_UNICAST_DATA
#define HS_CFG_COND_MAC_EVENT
#define HS_CFG_COND_MULTICAST_DATA

#define CONNECT_ERR_AUTH_ERR_STA_FAILURE
#define CONNECT_ERR_ASSOC_ERR_TIMEOUT
#define CONNECT_ERR_ASSOC_ERR_AUTH_REFUSED
#define CONNECT_ERR_AUTH_MSG_UNHANDLED
#define CONNECT_ERR_STA_FAILURE


#define CMD_F_HOSTCMD

#define HostCmd_CMD_ID_MASK

#define HostCmd_SEQ_NUM_MASK

#define HostCmd_BSS_NUM_MASK

#define HostCmd_BSS_TYPE_MASK

#define HostCmd_ACT_SET_RX
#define HostCmd_ACT_SET_TX
#define HostCmd_ACT_SET_BOTH
#define HostCmd_ACT_GET_RX
#define HostCmd_ACT_GET_TX
#define HostCmd_ACT_GET_BOTH

#define RF_ANTENNA_AUTO

#define HostCmd_SET_SEQ_NO_BSS_INFO(seq, num, type)

#define HostCmd_GET_SEQ_NO(seq)

#define HostCmd_GET_BSS_NO(seq)

#define HostCmd_GET_BSS_TYPE(seq)

#define EVENT_DUMMY_HOST_WAKEUP_SIGNAL
#define EVENT_LINK_LOST
#define EVENT_LINK_SENSED
#define EVENT_MIB_CHANGED
#define EVENT_INIT_DONE
#define EVENT_DEAUTHENTICATED
#define EVENT_DISASSOCIATED
#define EVENT_PS_AWAKE
#define EVENT_PS_SLEEP
#define EVENT_MIC_ERR_MULTICAST
#define EVENT_MIC_ERR_UNICAST
#define EVENT_DEEP_SLEEP_AWAKE
#define EVENT_ADHOC_BCN_LOST

#define EVENT_WMM_STATUS_CHANGE
#define EVENT_BG_SCAN_REPORT
#define EVENT_RSSI_LOW
#define EVENT_SNR_LOW
#define EVENT_MAX_FAIL
#define EVENT_RSSI_HIGH
#define EVENT_SNR_HIGH
#define EVENT_IBSS_COALESCED
#define EVENT_IBSS_STA_CONNECT
#define EVENT_IBSS_STA_DISCONNECT
#define EVENT_DATA_RSSI_LOW
#define EVENT_DATA_SNR_LOW
#define EVENT_DATA_RSSI_HIGH
#define EVENT_DATA_SNR_HIGH
#define EVENT_LINK_QUALITY
#define EVENT_PORT_RELEASE
#define EVENT_UAP_STA_DEAUTH
#define EVENT_UAP_STA_ASSOC
#define EVENT_UAP_BSS_START
#define EVENT_PRE_BEACON_LOST
#define EVENT_ADDBA
#define EVENT_DELBA
#define EVENT_BA_STREAM_TIEMOUT
#define EVENT_AMSDU_AGGR_CTRL
#define EVENT_UAP_BSS_IDLE
#define EVENT_UAP_BSS_ACTIVE
#define EVENT_WEP_ICV_ERR
#define EVENT_HS_ACT_REQ
#define EVENT_BW_CHANGE
#define EVENT_UAP_MIC_COUNTERMEASURES
#define EVENT_HOSTWAKE_STAIE
#define EVENT_CHANNEL_SWITCH_ANN
#define EVENT_TDLS_GENERIC_EVENT
#define EVENT_RADAR_DETECTED
#define EVENT_CHANNEL_REPORT_RDY
#define EVENT_TX_DATA_PAUSE
#define EVENT_EXT_SCAN_REPORT
#define EVENT_RXBA_SYNC
#define EVENT_UNKNOWN_DEBUG
#define EVENT_BG_SCAN_STOPPED
#define EVENT_REMAIN_ON_CHAN_EXPIRED
#define EVENT_MULTI_CHAN_INFO
#define EVENT_FW_DUMP_INFO
#define EVENT_TX_STATUS_REPORT
#define EVENT_BT_COEX_WLAN_PARA_CHANGE

#define EVENT_ID_MASK
#define BSS_NUM_MASK

#define EVENT_GET_BSS_NUM(event_cause)

#define EVENT_GET_BSS_TYPE(event_cause)

#define MWIFIEX_MAX_PATTERN_LEN
#define MWIFIEX_MAX_OFFSET_LEN
#define MWIFIEX_MAX_ND_MATCH_SETS

#define STACK_NBYTES
#define TYPE_DNUM
#define TYPE_BYTESEQ
#define MAX_OPERAND
#define TYPE_EQ
#define TYPE_EQ_DNUM
#define TYPE_EQ_BIT
#define TYPE_AND
#define TYPE_OR
#define MEF_MODE_HOST_SLEEP
#define MEF_ACTION_ALLOW_AND_WAKEUP_HOST
#define MEF_ACTION_AUTO_ARP
#define MWIFIEX_CRITERIA_BROADCAST
#define MWIFIEX_CRITERIA_UNICAST
#define MWIFIEX_CRITERIA_MULTICAST
#define MWIFIEX_MAX_SUPPORTED_IPADDR

#define ACT_TDLS_DELETE
#define ACT_TDLS_CREATE
#define ACT_TDLS_CONFIG

#define TDLS_EVENT_LINK_TEAR_DOWN
#define TDLS_EVENT_CHAN_SWITCH_RESULT
#define TDLS_EVENT_START_CHAN_SWITCH
#define TDLS_EVENT_CHAN_SWITCH_STOPPED

#define TDLS_BASE_CHANNEL
#define TDLS_OFF_CHANNEL

#define ACT_TDLS_CS_ENABLE_CONFIG
#define ACT_TDLS_CS_INIT
#define ACT_TDLS_CS_STOP
#define ACT_TDLS_CS_PARAMS

#define MWIFIEX_DEF_CS_UNIT_TIME
#define MWIFIEX_DEF_CS_THR_OTHERLINK
#define MWIFIEX_DEF_THR_DIRECTLINK
#define MWIFIEX_DEF_CS_TIME
#define MWIFIEX_DEF_CS_TIMEOUT
#define MWIFIEX_DEF_CS_REG_CLASS
#define MWIFIEX_DEF_CS_PERIODICITY

#define MWIFIEX_FW_V15

#define MWIFIEX_MASTER_RADAR_DET_MASK

struct mwifiex_ie_types_header {} __packed;

struct mwifiex_ie_types_data {} __packed;

#define MWIFIEX_TxPD_POWER_MGMT_NULL_PACKET
#define MWIFIEX_TxPD_POWER_MGMT_LAST_PACKET
#define MWIFIEX_TXPD_FLAGS_TDLS_PACKET
#define MWIFIEX_RXPD_FLAGS_TDLS_PACKET
#define MWIFIEX_TXPD_FLAGS_REQ_TX_STATUS

enum HS_WAKEUP_REASON {};

struct txpd {} __packed;

struct rxpd {} __packed;

struct uap_txpd {} __packed;

struct uap_rxpd {} __packed;

struct mwifiex_fw_chan_stats {} __packed;

enum mwifiex_chan_scan_mode_bitmasks {};

struct mwifiex_chan_scan_param_set {} __packed;

struct mwifiex_ie_types_chan_list_param_set {} __packed;

struct mwifiex_ie_types_rxba_sync {} __packed;

struct chan_band_param_set {};

struct mwifiex_ie_types_chan_band_list_param_set {} __packed;

struct mwifiex_ie_types_rates_param_set {} __packed;

struct mwifiex_ie_types_ssid_param_set {} __packed;

struct mwifiex_ie_types_num_probes {} __packed;

struct mwifiex_ie_types_repeat_count {} __packed;

struct mwifiex_ie_types_min_rssi_threshold {} __packed;

struct mwifiex_ie_types_bgscan_start_later {} __packed;

struct mwifiex_ie_types_scan_chan_gap {} __packed;

struct mwifiex_ie_types_random_mac {} __packed;

struct mwifiex_ietypes_chanstats {} __packed;

struct mwifiex_ie_types_wildcard_ssid_params {} __packed;

#define TSF_DATA_SIZE
struct mwifiex_ie_types_tsf_timestamp {} __packed;

struct mwifiex_cf_param_set {} __packed;

struct mwifiex_ibss_param_set {} __packed;

struct mwifiex_ie_types_ss_param_set {} __packed;

struct mwifiex_fh_param_set {} __packed;

struct mwifiex_ds_param_set {} __packed;

struct mwifiex_ie_types_phy_param_set {} __packed;

struct mwifiex_ie_types_auth_type {} __packed;

struct mwifiex_ie_types_vendor_param_set {};

#define MWIFIEX_TDLS_IDLE_TIMEOUT_IN_SEC

struct mwifiex_ie_types_tdls_idle_timeout {} __packed;

struct mwifiex_ie_types_rsn_param_set {} __packed;

#define KEYPARAMSET_FIXED_LEN

struct mwifiex_ie_type_key_param_set {} __packed;

#define IGTK_PN_LEN

struct mwifiex_cmac_param {} __packed;

struct mwifiex_wep_param {} __packed;

struct mwifiex_tkip_param {} __packed;

struct mwifiex_aes_param {} __packed;

struct mwifiex_wapi_param {} __packed;

struct mwifiex_cmac_aes_param {} __packed;

struct mwifiex_ie_type_key_param_set_v2 {} __packed;

struct host_cmd_ds_802_11_key_material_v2 {} __packed;

struct host_cmd_ds_802_11_key_material {} __packed;

struct host_cmd_ds_802_11_key_material_wep {} __packed;

struct host_cmd_ds_gen {};

#define S_DS_GEN

enum sleep_resp_ctrl {};

struct mwifiex_ps_param {} __packed;

#define HS_DEF_WAKE_INTERVAL
#define HS_DEF_INACTIVITY_TIMEOUT

struct mwifiex_ps_param_in_hs {} __packed;

#define BITMAP_AUTO_DS
#define BITMAP_STA_PS

struct mwifiex_ie_types_auto_ds_param {} __packed;

struct mwifiex_ie_types_ps_param {} __packed;

struct host_cmd_ds_802_11_ps_mode_enh {} __packed;

enum API_VER_ID {};

struct hw_spec_api_rev {} __packed;

struct host_cmd_ds_get_hw_spec {} __packed;

struct host_cmd_ds_802_11_rssi_info {} __packed;

struct host_cmd_ds_802_11_rssi_info_rsp {} __packed;

struct host_cmd_ds_802_11_mac_address {} __packed;

struct host_cmd_ds_mac_control {};

struct host_cmd_ds_mac_multicast_adr {} __packed;

struct host_cmd_ds_802_11_deauthenticate {} __packed;

struct host_cmd_ds_802_11_associate {} __packed;

struct ieee_types_assoc_rsp {} __packed;

struct host_cmd_ds_802_11_associate_rsp {} __packed;

struct ieee_types_cf_param_set {} __packed;

struct ieee_types_ibss_param_set {} __packed;

ieee_types_ss_param_set __packed;

struct ieee_types_fh_param_set {} __packed;

struct ieee_types_ds_param_set {} __packed;

ieee_types_phy_param_set __packed;

struct ieee_types_oper_mode_ntf {} __packed;

struct host_cmd_ds_802_11_ad_hoc_start {} __packed;

struct host_cmd_ds_802_11_ad_hoc_start_result {} __packed;

struct host_cmd_ds_802_11_ad_hoc_join_result {} __packed;

struct adhoc_bss_desc {} __packed;

struct host_cmd_ds_802_11_ad_hoc_join {} __packed;

struct host_cmd_ds_802_11_get_log {} __packed;

/* Enumeration for rate format */
enum _mwifiex_rate_format {};

struct host_cmd_ds_tx_rate_query {} __packed;

struct mwifiex_tx_pause_tlv {} __packed;

enum Host_Sleep_Action {};

struct mwifiex_hs_config_param {} __packed;

struct hs_activate_param {} __packed;

struct host_cmd_ds_802_11_hs_cfg_enh {} __packed;

enum SNMP_MIB_INDEX {};

enum mwifiex_assocmd_failurepoint {};

#define MAX_SNMP_BUF_SIZE

struct host_cmd_ds_802_11_snmp_mib {} __packed;

struct mwifiex_rate_scope {} __packed;

struct mwifiex_rate_drop_pattern {} __packed;

struct host_cmd_ds_tx_rate_cfg {} __packed;

struct mwifiex_power_group {} __packed;

struct mwifiex_types_power_group {} __packed;

struct host_cmd_ds_txpwr_cfg {} __packed;

struct host_cmd_ds_rf_tx_pwr {} __packed;

struct host_cmd_ds_rf_ant_mimo {} __packed;

struct host_cmd_ds_rf_ant_siso {} __packed;

struct host_cmd_ds_tdls_oper {} __packed;

struct mwifiex_tdls_config {} __packed;

struct mwifiex_tdls_config_cs_params {} __packed;

struct mwifiex_tdls_init_cs_params {} __packed;

struct mwifiex_tdls_stop_cs_params {} __packed;

struct host_cmd_ds_tdls_config {} __packed;

struct mwifiex_chan_desc {} __packed;

struct host_cmd_ds_chan_rpt_req {} __packed;

struct host_cmd_ds_chan_rpt_event {} __packed;

struct host_cmd_sdio_sp_rx_aggr_cfg {} __packed;

struct mwifiex_fixed_bcn_param {} __packed;

struct mwifiex_event_scan_result {} __packed;

struct tx_status_event {} __packed;

#define MWIFIEX_USER_SCAN_CHAN_MAX

#define MWIFIEX_MAX_SSID_LIST_LENGTH

struct mwifiex_scan_cmd_config {} __packed;

struct mwifiex_user_scan_chan {} __packed;

struct mwifiex_user_scan_cfg {} __packed;

#define MWIFIEX_BG_SCAN_CHAN_MAX
#define MWIFIEX_BSS_MODE_INFRA
#define MWIFIEX_BGSCAN_ACT_GET
#define MWIFIEX_BGSCAN_ACT_SET
#define MWIFIEX_BGSCAN_ACT_SET_ALL
/** ssid match */
#define MWIFIEX_BGSCAN_SSID_MATCH
/** ssid match and RSSI exceeded */
#define MWIFIEX_BGSCAN_SSID_RSSI_MATCH
/**wait for all channel scan to complete to report scan result*/
#define MWIFIEX_BGSCAN_WAIT_ALL_CHAN_DONE

struct mwifiex_bg_scan_cfg {} __packed;

struct ie_body {} __packed;

struct host_cmd_ds_802_11_scan {} __packed;

struct host_cmd_ds_802_11_scan_rsp {} __packed;

struct host_cmd_ds_802_11_scan_ext {} __packed;

struct mwifiex_ie_types_bss_mode {} __packed;

struct mwifiex_ie_types_bss_scan_rsp {} __packed;

struct mwifiex_ie_types_bss_scan_info {} __packed;

struct host_cmd_ds_802_11_bg_scan_config {} __packed;

struct host_cmd_ds_802_11_bg_scan_query {} __packed;

struct host_cmd_ds_802_11_bg_scan_query_rsp {} __packed;

struct mwifiex_ietypes_domain_param_set {} __packed;

struct host_cmd_ds_802_11d_domain_info {} __packed;

struct host_cmd_ds_802_11d_domain_info_rsp {} __packed;

struct host_cmd_ds_11n_addba_req {} __packed;

struct host_cmd_ds_11n_addba_rsp {} __packed;

struct host_cmd_ds_11n_delba {} __packed;

struct host_cmd_ds_11n_batimeout {} __packed;

struct host_cmd_ds_11n_cfg {} __packed;

struct host_cmd_ds_txbuf_cfg {} __packed;

struct host_cmd_ds_amsdu_aggr_ctrl {} __packed;

struct host_cmd_ds_sta_deauth {} __packed;

struct mwifiex_ie_types_sta_info {};

struct host_cmd_ds_sta_list {} __packed;

struct mwifiex_ie_types_pwr_capability {};

struct mwifiex_ie_types_local_pwr_constraint {};

struct mwifiex_ie_types_wmm_param_set {} __packed;

struct mwifiex_ie_types_mgmt_frame {};

struct mwifiex_ie_types_wmm_queue_status {};

struct ieee_types_vendor_header {} __packed;

struct ieee_types_wmm_parameter {} __packed;

struct ieee_types_wmm_info {} __packed;

struct host_cmd_ds_wmm_get_status {} __packed;

struct mwifiex_wmm_ac_status {};

struct mwifiex_ie_types_htcap {} __packed;

struct mwifiex_ie_types_vhtcap {} __packed;

struct mwifiex_ie_types_aid {} __packed;

struct mwifiex_ie_types_oper_mode_ntf {} __packed;

/* VHT Operations IE */
struct mwifiex_ie_types_vht_oper {} __packed;

struct mwifiex_ie_types_wmmcap {} __packed;

struct mwifiex_ie_types_htinfo {} __packed;

struct mwifiex_ie_types_2040bssco {} __packed;

struct mwifiex_ie_types_extcap {} __packed;

struct host_cmd_ds_mem_access {} __packed;

struct mwifiex_ie_types_qos_info {} __packed;

struct host_cmd_ds_mac_reg_access {} __packed;

struct host_cmd_ds_bbp_reg_access {} __packed;

struct host_cmd_ds_rf_reg_access {} __packed;

struct host_cmd_ds_pmic_reg_access {} __packed;

struct host_cmd_ds_802_11_eeprom_access {} __packed;

struct mwifiex_assoc_event {} __packed;

struct host_cmd_ds_sys_config {};

struct host_cmd_11ac_vht_cfg {} __packed;

struct host_cmd_tlv_akmp {} __packed;

struct host_cmd_tlv_pwk_cipher {} __packed;

struct host_cmd_tlv_gwk_cipher {} __packed;

struct host_cmd_tlv_passphrase {} __packed;

struct host_cmd_tlv_wep_key {};

struct host_cmd_tlv_auth_type {} __packed;

struct host_cmd_tlv_encrypt_protocol {} __packed;

struct host_cmd_tlv_ssid {} __packed;

struct host_cmd_tlv_rates {} __packed;

struct mwifiex_ie_types_bssid_list {} __packed;

struct host_cmd_tlv_bcast_ssid {} __packed;

struct host_cmd_tlv_beacon_period {} __packed;

struct host_cmd_tlv_dtim_period {} __packed;

struct host_cmd_tlv_frag_threshold {} __packed;

struct host_cmd_tlv_rts_threshold {} __packed;

struct host_cmd_tlv_retry_limit {} __packed;

struct host_cmd_tlv_mac_addr {} __packed;

struct host_cmd_tlv_channel_band {} __packed;

struct host_cmd_tlv_ageout_timer {} __packed;

struct host_cmd_tlv_power_constraint {} __packed;

struct mwifiex_ie_types_btcoex_scan_time {} __packed;

struct mwifiex_ie_types_btcoex_aggr_win_size {} __packed;

struct mwifiex_ie_types_robust_coex {} __packed;

#define MWIFIEX_VERSION_STR_LENGTH

struct host_cmd_ds_version_ext {} __packed;

struct host_cmd_ds_mgmt_frame_reg {} __packed;

struct host_cmd_ds_p2p_mode_cfg {} __packed;

struct host_cmd_ds_remain_on_chan {} __packed;

struct host_cmd_ds_802_11_ibss_status {} __packed;

struct mwifiex_fw_mef_entry {} __packed;

struct host_cmd_ds_mef_cfg {} __packed;

#define CONNECTION_TYPE_INFRA
#define CONNECTION_TYPE_ADHOC
#define CONNECTION_TYPE_AP

struct host_cmd_ds_set_bss_mode {} __packed;

struct host_cmd_ds_pcie_details {} __packed;

struct mwifiex_ie_types_rssi_threshold {} __packed;

#define MWIFIEX_DFS_REC_HDR_LEN
#define MWIFIEX_DFS_REC_HDR_NUM
#define MWIFIEX_BIN_COUNTER_LEN

struct mwifiex_radar_det_event {} __packed;

struct mwifiex_ie_types_multi_chan_info {} __packed;

struct mwifiex_ie_types_mc_group_info {} __packed;

struct meas_rpt_map {} __packed;

struct mwifiex_ie_types_chan_rpt_data {} __packed;

struct host_cmd_ds_802_11_subsc_evt {} __packed;

struct chan_switch_result {} __packed;

struct mwifiex_tdls_generic_event {} __packed;

struct mwifiex_ie {} __packed;

#define MAX_MGMT_IE_INDEX
struct mwifiex_ie_list {} __packed;

struct coalesce_filt_field_param {};

struct coalesce_receive_filt_rule {} __packed;

struct host_cmd_ds_coalesce_cfg {} __packed;

struct host_cmd_ds_multi_chan_policy {} __packed;

struct host_cmd_ds_robust_coex {} __packed;

struct host_cmd_ds_wakeup_reason {} __packed;

struct host_cmd_ds_gtk_rekey_params {} __packed;

struct host_cmd_ds_chan_region_cfg {} __packed;

struct host_cmd_ds_pkt_aggr_ctrl {} __packed;

struct host_cmd_ds_sta_configure {} __packed;

struct host_cmd_ds_command {} __packed;

struct mwifiex_opt_sleep_confirm {} __packed;

struct hw_spec_max_conn {} __packed;

#endif /* !_MWIFIEX_FW_H_ */