Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Variables
fw.h File Reference
#include <linux/if_ether.h>

Go to the source code of this file.

Data Structures

struct  rfc_1042_hdr
 
struct  rx_packet_hdr
 
struct  tx_packet_hdr
 
struct  mwifiex_ie_types_header
 
struct  mwifiex_ie_types_data
 
struct  txpd
 
struct  rxpd
 
struct  uap_txpd
 
struct  uap_rxpd
 
struct  mwifiex_chan_scan_param_set
 
struct  mwifiex_ie_types_chan_list_param_set
 
struct  chan_band_param_set
 
struct  mwifiex_ie_types_chan_band_list_param_set
 
struct  mwifiex_ie_types_rates_param_set
 
struct  mwifiex_ie_types_ssid_param_set
 
struct  mwifiex_ie_types_num_probes
 
struct  mwifiex_ie_types_wildcard_ssid_params
 
struct  mwifiex_ie_types_tsf_timestamp
 
struct  mwifiex_cf_param_set
 
struct  mwifiex_ibss_param_set
 
struct  mwifiex_ie_types_ss_param_set
 
struct  mwifiex_fh_param_set
 
struct  mwifiex_ds_param_set
 
struct  mwifiex_ie_types_phy_param_set
 
struct  mwifiex_ie_types_auth_type
 
struct  mwifiex_ie_types_vendor_param_set
 
struct  mwifiex_ie_types_rsn_param_set
 
struct  mwifiex_ie_type_key_param_set
 
struct  mwifiex_cmac_param
 
struct  host_cmd_ds_802_11_key_material
 
struct  host_cmd_ds_gen
 
struct  mwifiex_ps_param
 
struct  mwifiex_ie_types_auto_ds_param
 
struct  mwifiex_ie_types_ps_param
 
struct  host_cmd_ds_802_11_ps_mode_enh
 
struct  host_cmd_ds_get_hw_spec
 
struct  host_cmd_ds_802_11_rssi_info
 
struct  host_cmd_ds_802_11_rssi_info_rsp
 
struct  host_cmd_ds_802_11_mac_address
 
struct  host_cmd_ds_mac_control
 
struct  host_cmd_ds_mac_multicast_adr
 
struct  host_cmd_ds_802_11_deauthenticate
 
struct  host_cmd_ds_802_11_associate
 
struct  ieee_types_assoc_rsp
 
struct  host_cmd_ds_802_11_associate_rsp
 
struct  ieee_types_cf_param_set
 
struct  ieee_types_ibss_param_set
 
union  ieee_types_ss_param_set
 
struct  ieee_types_fh_param_set
 
struct  ieee_types_ds_param_set
 
union  ieee_types_phy_param_set
 
struct  host_cmd_ds_802_11_ad_hoc_start
 
struct  host_cmd_ds_802_11_ad_hoc_result
 
struct  adhoc_bss_desc
 
struct  host_cmd_ds_802_11_ad_hoc_join
 
struct  host_cmd_ds_802_11_get_log
 
struct  host_cmd_ds_tx_rate_query
 
struct  mwifiex_hs_config_param
 
struct  hs_activate_param
 
struct  host_cmd_ds_802_11_hs_cfg_enh
 
struct  host_cmd_ds_802_11_snmp_mib
 
struct  mwifiex_rate_scope
 
struct  mwifiex_rate_drop_pattern
 
struct  host_cmd_ds_tx_rate_cfg
 
struct  mwifiex_power_group
 
struct  mwifiex_types_power_group
 
struct  host_cmd_ds_txpwr_cfg
 
struct  host_cmd_ds_rf_tx_pwr
 
struct  host_cmd_ds_rf_ant_mimo
 
struct  host_cmd_ds_rf_ant_siso
 
struct  mwifiex_bcn_param
 
struct  mwifiex_scan_cmd_config
 
struct  mwifiex_user_scan_chan
 
struct  mwifiex_user_scan_cfg
 
struct  ie_body
 
struct  host_cmd_ds_802_11_scan
 
struct  host_cmd_ds_802_11_scan_rsp
 
struct  host_cmd_ds_802_11_bg_scan_query
 
struct  host_cmd_ds_802_11_bg_scan_query_rsp
 
struct  mwifiex_ietypes_domain_param_set
 
struct  host_cmd_ds_802_11d_domain_info
 
struct  host_cmd_ds_802_11d_domain_info_rsp
 
struct  host_cmd_ds_11n_addba_req
 
struct  host_cmd_ds_11n_addba_rsp
 
struct  host_cmd_ds_11n_delba
 
struct  host_cmd_ds_11n_batimeout
 
struct  host_cmd_ds_11n_cfg
 
struct  host_cmd_ds_txbuf_cfg
 
struct  host_cmd_ds_amsdu_aggr_ctrl
 
struct  mwifiex_ie_types_wmm_param_set
 
struct  mwifiex_ie_types_wmm_queue_status
 
struct  ieee_types_vendor_header
 
struct  ieee_types_wmm_ac_parameters
 
struct  ieee_types_wmm_parameter
 
struct  ieee_types_wmm_info
 
struct  host_cmd_ds_wmm_get_status
 
struct  mwifiex_wmm_ac_status
 
struct  mwifiex_ie_types_htcap
 
struct  mwifiex_ie_types_htinfo
 
struct  mwifiex_ie_types_2040bssco
 
struct  mwifiex_ie_types_extcap
 
struct  host_cmd_ds_mac_reg_access
 
struct  host_cmd_ds_bbp_reg_access
 
struct  host_cmd_ds_rf_reg_access
 
struct  host_cmd_ds_pmic_reg_access
 
struct  host_cmd_ds_802_11_eeprom_access
 
struct  host_cmd_tlv
 
struct  mwifiex_assoc_event
 
struct  host_cmd_ds_sys_config
 
struct  host_cmd_tlv_akmp
 
struct  host_cmd_tlv_pwk_cipher
 
struct  host_cmd_tlv_gwk_cipher
 
struct  host_cmd_tlv_passphrase
 
struct  host_cmd_tlv_wep_key
 
struct  host_cmd_tlv_auth_type
 
struct  host_cmd_tlv_encrypt_protocol
 
struct  host_cmd_tlv_ssid
 
struct  host_cmd_tlv_rates
 
struct  host_cmd_tlv_bcast_ssid
 
struct  host_cmd_tlv_beacon_period
 
struct  host_cmd_tlv_dtim_period
 
struct  host_cmd_tlv_frag_threshold
 
struct  host_cmd_tlv_rts_threshold
 
struct  host_cmd_tlv_retry_limit
 
struct  host_cmd_tlv_mac_addr
 
struct  host_cmd_tlv_channel_band
 
struct  host_cmd_tlv_ageout_timer
 
struct  host_cmd_ds_version_ext
 
struct  host_cmd_ds_mgmt_frame_reg
 
struct  host_cmd_ds_p2p_mode_cfg
 
struct  host_cmd_ds_remain_on_chan
 
struct  host_cmd_ds_802_11_ibss_status
 
struct  host_cmd_ds_set_bss_mode
 
struct  host_cmd_ds_pcie_details
 
struct  mwifiex_ie_types_rssi_threshold
 
struct  host_cmd_ds_802_11_subsc_evt
 
struct  mwifiex_ie
 
struct  mwifiex_ie_list
 
struct  host_cmd_ds_command
 
struct  mwifiex_opt_sleep_confirm
 

Macros

#define INTF_HEADER_LEN   4
 
#define B_SUPPORTED_RATES   5
 
#define G_SUPPORTED_RATES   9
 
#define BG_SUPPORTED_RATES   13
 
#define A_SUPPORTED_RATES   9
 
#define HOSTCMD_SUPPORTED_RATES   14
 
#define N_SUPPORTED_RATES   3
 
#define ALL_802_11_BANDS   (BAND_A | BAND_B | BAND_G | BAND_GN)
 
#define FW_MULTI_BANDS_SUPPORT   (BIT(8) | BIT(9) | BIT(10) | BIT(11))
 
#define IS_SUPPORT_MULTI_BANDS(adapter)   (adapter->fw_cap_info & FW_MULTI_BANDS_SUPPORT)
 
#define GET_FW_DEFAULT_BANDS(adapter)   ((adapter->fw_cap_info >> 8) & ALL_802_11_BANDS)
 
#define HostCmd_WEP_KEY_INDEX_MASK   0x3fff
 
#define KEY_INFO_ENABLED   0x01
 
#define KEY_MCAST   BIT(0)
 
#define KEY_UNICAST   BIT(1)
 
#define KEY_ENABLED   BIT(2)
 
#define KEY_IGTK   BIT(10)
 
#define WAPI_KEY_LEN   50
 
#define MAX_POLL_TRIES   100
 
#define MAX_MULTI_INTERFACE_POLL_TRIES   1000
 
#define MAX_FIRMWARE_POLL_TRIES   100
 
#define FIRMWARE_READY_SDIO   0xfedc
 
#define FIRMWARE_READY_PCIE   0xfedcba00
 
#define CAL_SNR(RSSI, NF)   ((s16)((s16)(RSSI)-(s16)(NF)))
 
#define CAL_RSSI(SNR, NF)   ((s16)((s16)(SNR)+(s16)(NF)))
 
#define UAP_BSS_PARAMS_I   0
 
#define UAP_CUSTOM_IE_I   1
 
#define MWIFIEX_AUTO_IDX_MASK   0xffff
 
#define MWIFIEX_DELETE_MASK   0x0000
 
#define MGMT_MASK_ASSOC_REQ   0x01
 
#define MGMT_MASK_REASSOC_REQ   0x04
 
#define MGMT_MASK_ASSOC_RESP   0x02
 
#define MGMT_MASK_REASSOC_RESP   0x08
 
#define MGMT_MASK_PROBE_REQ   0x10
 
#define MGMT_MASK_PROBE_RESP   0x20
 
#define MGMT_MASK_BEACON   0x100
 
#define TLV_TYPE_UAP_SSID   0x0000
 
#define TLV_TYPE_UAP_RATES   0x0001
 
#define PROPRIETARY_TLV_BASE_ID   0x0100
 
#define TLV_TYPE_KEY_MATERIAL   (PROPRIETARY_TLV_BASE_ID + 0)
 
#define TLV_TYPE_CHANLIST   (PROPRIETARY_TLV_BASE_ID + 1)
 
#define TLV_TYPE_NUMPROBES   (PROPRIETARY_TLV_BASE_ID + 2)
 
#define TLV_TYPE_RSSI_LOW   (PROPRIETARY_TLV_BASE_ID + 4)
 
#define TLV_TYPE_PASSTHROUGH   (PROPRIETARY_TLV_BASE_ID + 10)
 
#define TLV_TYPE_WMMQSTATUS   (PROPRIETARY_TLV_BASE_ID + 16)
 
#define TLV_TYPE_WILDCARDSSID   (PROPRIETARY_TLV_BASE_ID + 18)
 
#define TLV_TYPE_TSFTIMESTAMP   (PROPRIETARY_TLV_BASE_ID + 19)
 
#define TLV_TYPE_RSSI_HIGH   (PROPRIETARY_TLV_BASE_ID + 22)
 
#define TLV_TYPE_AUTH_TYPE   (PROPRIETARY_TLV_BASE_ID + 31)
 
#define TLV_TYPE_STA_MAC_ADDR   (PROPRIETARY_TLV_BASE_ID + 32)
 
#define TLV_TYPE_CHANNELBANDLIST   (PROPRIETARY_TLV_BASE_ID + 42)
 
#define TLV_TYPE_UAP_BEACON_PERIOD   (PROPRIETARY_TLV_BASE_ID + 44)
 
#define TLV_TYPE_UAP_DTIM_PERIOD   (PROPRIETARY_TLV_BASE_ID + 45)
 
#define TLV_TYPE_UAP_BCAST_SSID   (PROPRIETARY_TLV_BASE_ID + 48)
 
#define TLV_TYPE_UAP_RTS_THRESHOLD   (PROPRIETARY_TLV_BASE_ID + 51)
 
#define TLV_TYPE_UAP_AO_TIMER   (PROPRIETARY_TLV_BASE_ID + 57)
 
#define TLV_TYPE_UAP_WEP_KEY   (PROPRIETARY_TLV_BASE_ID + 59)
 
#define TLV_TYPE_UAP_WPA_PASSPHRASE   (PROPRIETARY_TLV_BASE_ID + 60)
 
#define TLV_TYPE_UAP_ENCRY_PROTOCOL   (PROPRIETARY_TLV_BASE_ID + 64)
 
#define TLV_TYPE_UAP_AKMP   (PROPRIETARY_TLV_BASE_ID + 65)
 
#define TLV_TYPE_UAP_FRAG_THRESHOLD   (PROPRIETARY_TLV_BASE_ID + 70)
 
#define TLV_TYPE_RATE_DROP_CONTROL   (PROPRIETARY_TLV_BASE_ID + 82)
 
#define TLV_TYPE_RATE_SCOPE   (PROPRIETARY_TLV_BASE_ID + 83)
 
#define TLV_TYPE_POWER_GROUP   (PROPRIETARY_TLV_BASE_ID + 84)
 
#define TLV_TYPE_UAP_RETRY_LIMIT   (PROPRIETARY_TLV_BASE_ID + 93)
 
#define TLV_TYPE_WAPI_IE   (PROPRIETARY_TLV_BASE_ID + 94)
 
#define TLV_TYPE_UAP_MGMT_FRAME   (PROPRIETARY_TLV_BASE_ID + 104)
 
#define TLV_TYPE_MGMT_IE   (PROPRIETARY_TLV_BASE_ID + 105)
 
#define TLV_TYPE_AUTO_DS_PARAM   (PROPRIETARY_TLV_BASE_ID + 113)
 
#define TLV_TYPE_PS_PARAM   (PROPRIETARY_TLV_BASE_ID + 114)
 
#define TLV_TYPE_UAP_PS_AO_TIMER   (PROPRIETARY_TLV_BASE_ID + 123)
 
#define TLV_TYPE_PWK_CIPHER   (PROPRIETARY_TLV_BASE_ID + 145)
 
#define TLV_TYPE_GWK_CIPHER   (PROPRIETARY_TLV_BASE_ID + 146)
 
#define MWIFIEX_TX_DATA_BUF_SIZE_2K   2048
 
#define SSN_MASK   0xfff0
 
#define BA_RESULT_SUCCESS   0x0
 
#define BA_RESULT_TIMEOUT   0x2
 
#define IS_BASTREAM_SETUP(ptr)   (ptr->ba_status)
 
#define BA_STREAM_NOT_ALLOWED   0xff
 
#define IS_11N_ENABLED(priv)
 
#define INITIATOR_BIT(DelBAParamSet)
 
#define MWIFIEX_TX_DATA_BUF_SIZE_4K   4096
 
#define MWIFIEX_TX_DATA_BUF_SIZE_8K   8192
 
#define ISSUPP_11NENABLED(FwCapInfo)   (FwCapInfo & BIT(11))
 
#define MWIFIEX_DEF_HT_CAP
 
#define MWIFIEX_DEF_AMPDU   IEEE80211_HT_AMPDU_PARM_FACTOR
 
#define ISSUPP_CHANWIDTH40(Dot11nDevCap)   (Dot11nDevCap & BIT(17))
 
#define ISSUPP_SHORTGI20(Dot11nDevCap)   (Dot11nDevCap & BIT(23))
 
#define ISSUPP_SHORTGI40(Dot11nDevCap)   (Dot11nDevCap & BIT(24))
 
#define ISSUPP_TXSTBC(Dot11nDevCap)   (Dot11nDevCap & BIT(25))
 
#define ISSUPP_RXSTBC(Dot11nDevCap)   (Dot11nDevCap & BIT(26))
 
#define ISSUPP_GREENFIELD(Dot11nDevCap)   (Dot11nDevCap & BIT(29))
 
#define MWIFIEX_FW_DEF_HTTXCFG   (BIT(1) | BIT(4) | BIT(5) | BIT(6))
 
#define GET_RXMCSSUPP(DevMCSSupported)   (DevMCSSupported & 0x0f)
 
#define SETHT_MCS32(x)   (x[4] |= 1)
 
#define HT_STREAM_2X2   0x22
 
#define SET_SECONDARYCHAN(RadioType, SECCHAN)   (RadioType |= (SECCHAN << 4))
 
#define LLC_SNAP_LEN   8
 
#define MOD_CLASS_HR_DSSS   0x03
 
#define MOD_CLASS_OFDM   0x07
 
#define MOD_CLASS_HT   0x08
 
#define HT_BW_20   0
 
#define HT_BW_40   1
 
#define HostCmd_CMD_GET_HW_SPEC   0x0003
 
#define HostCmd_CMD_802_11_SCAN   0x0006
 
#define HostCmd_CMD_802_11_GET_LOG   0x000b
 
#define HostCmd_CMD_MAC_MULTICAST_ADR   0x0010
 
#define HostCmd_CMD_802_11_EEPROM_ACCESS   0x0059
 
#define HostCmd_CMD_802_11_ASSOCIATE   0x0012
 
#define HostCmd_CMD_802_11_SNMP_MIB   0x0016
 
#define HostCmd_CMD_MAC_REG_ACCESS   0x0019
 
#define HostCmd_CMD_BBP_REG_ACCESS   0x001a
 
#define HostCmd_CMD_RF_REG_ACCESS   0x001b
 
#define HostCmd_CMD_PMIC_REG_ACCESS   0x00ad
 
#define HostCmd_CMD_RF_TX_PWR   0x001e
 
#define HostCmd_CMD_RF_ANTENNA   0x0020
 
#define HostCmd_CMD_802_11_DEAUTHENTICATE   0x0024
 
#define HostCmd_CMD_MAC_CONTROL   0x0028
 
#define HostCmd_CMD_802_11_AD_HOC_START   0x002b
 
#define HostCmd_CMD_802_11_AD_HOC_JOIN   0x002c
 
#define HostCmd_CMD_802_11_AD_HOC_STOP   0x0040
 
#define HostCmd_CMD_802_11_MAC_ADDRESS   0x004D
 
#define HostCmd_CMD_802_11D_DOMAIN_INFO   0x005b
 
#define HostCmd_CMD_802_11_KEY_MATERIAL   0x005e
 
#define HostCmd_CMD_802_11_BG_SCAN_QUERY   0x006c
 
#define HostCmd_CMD_WMM_GET_STATUS   0x0071
 
#define HostCmd_CMD_802_11_SUBSCRIBE_EVENT   0x0075
 
#define HostCmd_CMD_802_11_TX_RATE_QUERY   0x007f
 
#define HostCmd_CMD_802_11_IBSS_COALESCING_STATUS   0x0083
 
#define HostCmd_CMD_VERSION_EXT   0x0097
 
#define HostCmd_CMD_RSSI_INFO   0x00a4
 
#define HostCmd_CMD_FUNC_INIT   0x00a9
 
#define HostCmd_CMD_FUNC_SHUTDOWN   0x00aa
 
#define HostCmd_CMD_UAP_SYS_CONFIG   0x00b0
 
#define HostCmd_CMD_UAP_BSS_START   0x00b1
 
#define HostCmd_CMD_UAP_BSS_STOP   0x00b2
 
#define HostCmd_CMD_11N_CFG   0x00cd
 
#define HostCmd_CMD_11N_ADDBA_REQ   0x00ce
 
#define HostCmd_CMD_11N_ADDBA_RSP   0x00cf
 
#define HostCmd_CMD_11N_DELBA   0x00d0
 
#define HostCmd_CMD_RECONFIGURE_TX_BUFF   0x00d9
 
#define HostCmd_CMD_AMSDU_AGGR_CTRL   0x00df
 
#define HostCmd_CMD_TXPWR_CFG   0x00d1
 
#define HostCmd_CMD_TX_RATE_CFG   0x00d6
 
#define HostCmd_CMD_802_11_PS_MODE_ENH   0x00e4
 
#define HostCmd_CMD_802_11_HS_CFG_ENH   0x00e5
 
#define HostCmd_CMD_P2P_MODE_CFG   0x00eb
 
#define HostCmd_CMD_CAU_REG_ACCESS   0x00ed
 
#define HostCmd_CMD_SET_BSS_MODE   0x00f7
 
#define HostCmd_CMD_PCIE_DESC_DETAILS   0x00fa
 
#define HostCmd_CMD_MGMT_FRAME_REG   0x010c
 
#define HostCmd_CMD_REMAIN_ON_CHAN   0x010d
 
#define PROTOCOL_NO_SECURITY   0x01
 
#define PROTOCOL_STATIC_WEP   0x02
 
#define PROTOCOL_WPA   0x08
 
#define PROTOCOL_WPA2   0x20
 
#define PROTOCOL_WPA2_MIXED   0x28
 
#define PROTOCOL_EAP   0x40
 
#define KEY_MGMT_NONE   0x04
 
#define KEY_MGMT_PSK   0x02
 
#define KEY_MGMT_EAP   0x01
 
#define CIPHER_TKIP   0x04
 
#define CIPHER_AES_CCMP   0x08
 
#define VALID_CIPHER_BITMAP   0x0c
 
#define HostCmd_RET_BIT   0x8000
 
#define HostCmd_ACT_GEN_GET   0x0000
 
#define HostCmd_ACT_GEN_SET   0x0001
 
#define HostCmd_ACT_GEN_REMOVE   0x0004
 
#define HostCmd_ACT_BITWISE_SET   0x0002
 
#define HostCmd_ACT_BITWISE_CLR   0x0003
 
#define HostCmd_RESULT_OK   0x0000
 
#define HostCmd_ACT_MAC_RX_ON   0x0001
 
#define HostCmd_ACT_MAC_TX_ON   0x0002
 
#define HostCmd_ACT_MAC_WEP_ENABLE   0x0008
 
#define HostCmd_ACT_MAC_ETHERNETII_ENABLE   0x0010
 
#define HostCmd_ACT_MAC_PROMISCUOUS_ENABLE   0x0080
 
#define HostCmd_ACT_MAC_ALL_MULTICAST_ENABLE   0x0100
 
#define HostCmd_ACT_MAC_ADHOC_G_PROTECTION_ON   0x2000
 
#define HostCmd_BSS_MODE_IBSS   0x0002
 
#define HostCmd_BSS_MODE_ANY   0x0003
 
#define HostCmd_SCAN_RADIO_TYPE_BG   0
 
#define HostCmd_SCAN_RADIO_TYPE_A   1
 
#define HOST_SLEEP_CFG_CANCEL   0xffffffff
 
#define HOST_SLEEP_CFG_COND_DEF   0x00000000
 
#define HOST_SLEEP_CFG_GPIO_DEF   0xff
 
#define HOST_SLEEP_CFG_GAP_DEF   0
 
#define CMD_F_HOSTCMD   (1 << 0)
 
#define CMD_F_CANCELED   (1 << 1)
 
#define HostCmd_CMD_ID_MASK   0x0fff
 
#define HostCmd_SEQ_NUM_MASK   0x00ff
 
#define HostCmd_BSS_NUM_MASK   0x0f00
 
#define HostCmd_BSS_TYPE_MASK   0xf000
 
#define HostCmd_ACT_SET_RX   0x0001
 
#define HostCmd_ACT_SET_TX   0x0002
 
#define HostCmd_ACT_SET_BOTH   0x0003
 
#define RF_ANTENNA_AUTO   0xFFFF
 
#define HostCmd_SET_SEQ_NO_BSS_INFO(seq, num, type)
 
#define HostCmd_GET_SEQ_NO(seq)   ((seq) & HostCmd_SEQ_NUM_MASK)
 
#define HostCmd_GET_BSS_NO(seq)   (((seq) & HostCmd_BSS_NUM_MASK) >> 8)
 
#define HostCmd_GET_BSS_TYPE(seq)   (((seq) & HostCmd_BSS_TYPE_MASK) >> 12)
 
#define EVENT_DUMMY_HOST_WAKEUP_SIGNAL   0x00000001
 
#define EVENT_LINK_LOST   0x00000003
 
#define EVENT_LINK_SENSED   0x00000004
 
#define EVENT_MIB_CHANGED   0x00000006
 
#define EVENT_INIT_DONE   0x00000007
 
#define EVENT_DEAUTHENTICATED   0x00000008
 
#define EVENT_DISASSOCIATED   0x00000009
 
#define EVENT_PS_AWAKE   0x0000000a
 
#define EVENT_PS_SLEEP   0x0000000b
 
#define EVENT_MIC_ERR_MULTICAST   0x0000000d
 
#define EVENT_MIC_ERR_UNICAST   0x0000000e
 
#define EVENT_DEEP_SLEEP_AWAKE   0x00000010
 
#define EVENT_ADHOC_BCN_LOST   0x00000011
 
#define EVENT_WMM_STATUS_CHANGE   0x00000017
 
#define EVENT_BG_SCAN_REPORT   0x00000018
 
#define EVENT_RSSI_LOW   0x00000019
 
#define EVENT_SNR_LOW   0x0000001a
 
#define EVENT_MAX_FAIL   0x0000001b
 
#define EVENT_RSSI_HIGH   0x0000001c
 
#define EVENT_SNR_HIGH   0x0000001d
 
#define EVENT_IBSS_COALESCED   0x0000001e
 
#define EVENT_DATA_RSSI_LOW   0x00000024
 
#define EVENT_DATA_SNR_LOW   0x00000025
 
#define EVENT_DATA_RSSI_HIGH   0x00000026
 
#define EVENT_DATA_SNR_HIGH   0x00000027
 
#define EVENT_LINK_QUALITY   0x00000028
 
#define EVENT_PORT_RELEASE   0x0000002b
 
#define EVENT_UAP_STA_DEAUTH   0x0000002c
 
#define EVENT_UAP_STA_ASSOC   0x0000002d
 
#define EVENT_UAP_BSS_START   0x0000002e
 
#define EVENT_PRE_BEACON_LOST   0x00000031
 
#define EVENT_ADDBA   0x00000033
 
#define EVENT_DELBA   0x00000034
 
#define EVENT_BA_STREAM_TIEMOUT   0x00000037
 
#define EVENT_AMSDU_AGGR_CTRL   0x00000042
 
#define EVENT_UAP_BSS_IDLE   0x00000043
 
#define EVENT_UAP_BSS_ACTIVE   0x00000044
 
#define EVENT_WEP_ICV_ERR   0x00000046
 
#define EVENT_HS_ACT_REQ   0x00000047
 
#define EVENT_BW_CHANGE   0x00000048
 
#define EVENT_UAP_MIC_COUNTERMEASURES   0x0000004c
 
#define EVENT_HOSTWAKE_STAIE   0x0000004d
 
#define EVENT_REMAIN_ON_CHAN_EXPIRED   0x0000005f
 
#define EVENT_ID_MASK   0xffff
 
#define BSS_NUM_MASK   0xf
 
#define EVENT_GET_BSS_NUM(event_cause)   (((event_cause) >> 16) & BSS_NUM_MASK)
 
#define EVENT_GET_BSS_TYPE(event_cause)   (((event_cause) >> 24) & 0x00ff)
 
#define MWIFIEX_TxPD_POWER_MGMT_NULL_PACKET   0x01
 
#define MWIFIEX_TxPD_POWER_MGMT_LAST_PACKET   0x08
 
#define TSF_DATA_SIZE   8
 
#define KEYPARAMSET_FIXED_LEN   6
 
#define IGTK_PN_LEN   8
 
#define S_DS_GEN   sizeof(struct host_cmd_ds_gen)
 
#define BITMAP_AUTO_DS   0x01
 
#define BITMAP_STA_PS   0x10
 
#define MAX_SNMP_BUF_SIZE   128
 
#define MWIFIEX_USER_SCAN_CHAN_MAX   50
 
#define MWIFIEX_MAX_SSID_LIST_LENGTH   10
 
#define CONNECTION_TYPE_INFRA   0
 
#define CONNECTION_TYPE_ADHOC   1
 
#define CONNECTION_TYPE_AP   2
 
#define MAX_MGMT_IE_INDEX   16
 

Enumerations

enum  KEY_TYPE_ID {
  KEY_TYPE_ID_WEP = 0, KEY_TYPE_ID_TKIP, KEY_TYPE_ID_AES, KEY_TYPE_ID_WEP = 0,
  KEY_TYPE_ID_TKIP, KEY_TYPE_ID_AES, KEY_TYPE_ID_WAPI, KEY_TYPE_ID_AES_CMAC
}
 
enum  mwifiex_usb_ep { MWIFIEX_USB_EP_CMD_EVENT = 1, MWIFIEX_USB_EP_DATA = 2 }
 
enum  MWIFIEX_802_11_PRIVACY_FILTER { MWIFIEX_802_11_PRIV_FILTER_ACCEPT_ALL, MWIFIEX_802_11_PRIV_FILTER_8021X_WEP }
 
enum  ENH_PS_MODES {
  EN_PS = 1, DIS_PS = 2, EN_AUTO_DS = 3, DIS_AUTO_DS = 4,
  SLEEP_CONFIRM = 5, GET_PS = 0, EN_AUTO_PS = 0xff, DIS_AUTO_PS = 0xfe
}
 
enum  P2P_MODES { P2P_MODE_DISABLE = 0, P2P_MODE_DEVICE = 1, P2P_MODE_GO = 2, P2P_MODE_CLIENT = 3 }
 
enum  mwifiex_chan_scan_mode_bitmasks { MWIFIEX_PASSIVE_SCAN = BIT(0), MWIFIEX_DISABLE_CHAN_FILT = BIT(1) }
 
enum  sleep_resp_ctrl { RESP_NOT_NEEDED = 0, RESP_NEEDED }
 
enum  Host_Sleep_Action { HS_CONFIGURE = 0x0001, HS_ACTIVATE = 0x0002 }
 
enum  SNMP_MIB_INDEX {
  OP_RATE_SET_I = 1, DTIM_PERIOD_I = 3, RTS_THRESH_I = 5, SHORT_RETRY_LIM_I = 6,
  LONG_RETRY_LIM_I = 7, FRAG_THRESH_I = 8, DOT11D_I = 9
}
 

Variables

struct mwifiex_ie_types_header __packed
 

Macro Definition Documentation

#define A_SUPPORTED_RATES   9

Definition at line 49 of file fw.h.

#define ALL_802_11_BANDS   (BAND_A | BAND_B | BAND_G | BAND_GN)

Definition at line 52 of file fw.h.

#define B_SUPPORTED_RATES   5

Definition at line 46 of file fw.h.

#define BA_RESULT_SUCCESS   0x0

Definition at line 154 of file fw.h.

#define BA_RESULT_TIMEOUT   0x2

Definition at line 155 of file fw.h.

#define BA_STREAM_NOT_ALLOWED   0xff

Definition at line 159 of file fw.h.

#define BG_SUPPORTED_RATES   13

Definition at line 48 of file fw.h.

#define BITMAP_AUTO_DS   0x01

Definition at line 640 of file fw.h.

#define BITMAP_STA_PS   0x10

Definition at line 641 of file fw.h.

#define BSS_NUM_MASK   0xf

Definition at line 408 of file fw.h.

#define CAL_RSSI (   SNR,
  NF 
)    ((s16)((s16)(SNR)+(s16)(NF)))

Definition at line 97 of file fw.h.

#define CAL_SNR (   RSSI,
  NF 
)    ((s16)((s16)(RSSI)-(s16)(NF)))

Definition at line 96 of file fw.h.

#define CIPHER_AES_CCMP   0x08

Definition at line 283 of file fw.h.

#define CIPHER_TKIP   0x04

Definition at line 282 of file fw.h.

#define CMD_F_CANCELED   (1 << 1)

Definition at line 332 of file fw.h.

#define CMD_F_HOSTCMD   (1 << 0)

Definition at line 331 of file fw.h.

#define CONNECTION_TYPE_ADHOC   1

Definition at line 1388 of file fw.h.

#define CONNECTION_TYPE_AP   2

Definition at line 1389 of file fw.h.

#define CONNECTION_TYPE_INFRA   0

Definition at line 1387 of file fw.h.

#define EVENT_ADDBA   0x00000033

Definition at line 394 of file fw.h.

#define EVENT_ADHOC_BCN_LOST   0x00000011

Definition at line 374 of file fw.h.

#define EVENT_AMSDU_AGGR_CTRL   0x00000042

Definition at line 397 of file fw.h.

#define EVENT_BA_STREAM_TIEMOUT   0x00000037

Definition at line 396 of file fw.h.

#define EVENT_BG_SCAN_REPORT   0x00000018

Definition at line 377 of file fw.h.

#define EVENT_BW_CHANGE   0x00000048

Definition at line 402 of file fw.h.

#define EVENT_DATA_RSSI_HIGH   0x00000026

Definition at line 386 of file fw.h.

#define EVENT_DATA_RSSI_LOW   0x00000024

Definition at line 384 of file fw.h.

#define EVENT_DATA_SNR_HIGH   0x00000027

Definition at line 387 of file fw.h.

#define EVENT_DATA_SNR_LOW   0x00000025

Definition at line 385 of file fw.h.

#define EVENT_DEAUTHENTICATED   0x00000008

Definition at line 367 of file fw.h.

#define EVENT_DEEP_SLEEP_AWAKE   0x00000010

Definition at line 373 of file fw.h.

#define EVENT_DELBA   0x00000034

Definition at line 395 of file fw.h.

#define EVENT_DISASSOCIATED   0x00000009

Definition at line 368 of file fw.h.

#define EVENT_DUMMY_HOST_WAKEUP_SIGNAL   0x00000001

Definition at line 362 of file fw.h.

#define EVENT_GET_BSS_NUM (   event_cause)    (((event_cause) >> 16) & BSS_NUM_MASK)

Definition at line 410 of file fw.h.

#define EVENT_GET_BSS_TYPE (   event_cause)    (((event_cause) >> 24) & 0x00ff)

Definition at line 413 of file fw.h.

#define EVENT_HOSTWAKE_STAIE   0x0000004d

Definition at line 404 of file fw.h.

#define EVENT_HS_ACT_REQ   0x00000047

Definition at line 401 of file fw.h.

#define EVENT_IBSS_COALESCED   0x0000001e

Definition at line 383 of file fw.h.

#define EVENT_ID_MASK   0xffff

Definition at line 407 of file fw.h.

#define EVENT_INIT_DONE   0x00000007

Definition at line 366 of file fw.h.

#define EVENT_LINK_LOST   0x00000003

Definition at line 363 of file fw.h.

#define EVENT_LINK_QUALITY   0x00000028

Definition at line 388 of file fw.h.

#define EVENT_LINK_SENSED   0x00000004

Definition at line 364 of file fw.h.

#define EVENT_MAX_FAIL   0x0000001b

Definition at line 380 of file fw.h.

#define EVENT_MIB_CHANGED   0x00000006

Definition at line 365 of file fw.h.

#define EVENT_MIC_ERR_MULTICAST   0x0000000d

Definition at line 371 of file fw.h.

#define EVENT_MIC_ERR_UNICAST   0x0000000e

Definition at line 372 of file fw.h.

#define EVENT_PORT_RELEASE   0x0000002b

Definition at line 389 of file fw.h.

#define EVENT_PRE_BEACON_LOST   0x00000031

Definition at line 393 of file fw.h.

#define EVENT_PS_AWAKE   0x0000000a

Definition at line 369 of file fw.h.

#define EVENT_PS_SLEEP   0x0000000b

Definition at line 370 of file fw.h.

#define EVENT_REMAIN_ON_CHAN_EXPIRED   0x0000005f

Definition at line 405 of file fw.h.

#define EVENT_RSSI_HIGH   0x0000001c

Definition at line 381 of file fw.h.

#define EVENT_RSSI_LOW   0x00000019

Definition at line 378 of file fw.h.

#define EVENT_SNR_HIGH   0x0000001d

Definition at line 382 of file fw.h.

#define EVENT_SNR_LOW   0x0000001a

Definition at line 379 of file fw.h.

#define EVENT_UAP_BSS_ACTIVE   0x00000044

Definition at line 399 of file fw.h.

#define EVENT_UAP_BSS_IDLE   0x00000043

Definition at line 398 of file fw.h.

#define EVENT_UAP_BSS_START   0x0000002e

Definition at line 392 of file fw.h.

#define EVENT_UAP_MIC_COUNTERMEASURES   0x0000004c

Definition at line 403 of file fw.h.

#define EVENT_UAP_STA_ASSOC   0x0000002d

Definition at line 391 of file fw.h.

#define EVENT_UAP_STA_DEAUTH   0x0000002c

Definition at line 390 of file fw.h.

#define EVENT_WEP_ICV_ERR   0x00000046

Definition at line 400 of file fw.h.

#define EVENT_WMM_STATUS_CHANGE   0x00000017

Definition at line 376 of file fw.h.

#define FIRMWARE_READY_PCIE   0xfedcba00

Definition at line 84 of file fw.h.

#define FIRMWARE_READY_SDIO   0xfedc

Definition at line 83 of file fw.h.

#define FW_MULTI_BANDS_SUPPORT   (BIT(8) | BIT(9) | BIT(10) | BIT(11))

Definition at line 54 of file fw.h.

#define G_SUPPORTED_RATES   9

Definition at line 47 of file fw.h.

#define GET_FW_DEFAULT_BANDS (   adapter)    ((adapter->fw_cap_info >> 8) & ALL_802_11_BANDS)

Definition at line 57 of file fw.h.

#define GET_RXMCSSUPP (   DevMCSSupported)    (DevMCSSupported & 0x0f)

Definition at line 209 of file fw.h.

#define HOST_SLEEP_CFG_CANCEL   0xffffffff

Definition at line 326 of file fw.h.

#define HOST_SLEEP_CFG_COND_DEF   0x00000000

Definition at line 327 of file fw.h.

#define HOST_SLEEP_CFG_GAP_DEF   0

Definition at line 329 of file fw.h.

#define HOST_SLEEP_CFG_GPIO_DEF   0xff

Definition at line 328 of file fw.h.

#define HostCmd_ACT_BITWISE_CLR   0x0003

Definition at line 309 of file fw.h.

#define HostCmd_ACT_BITWISE_SET   0x0002

Definition at line 308 of file fw.h.

#define HostCmd_ACT_GEN_GET   0x0000

Definition at line 305 of file fw.h.

#define HostCmd_ACT_GEN_REMOVE   0x0004

Definition at line 307 of file fw.h.

#define HostCmd_ACT_GEN_SET   0x0001

Definition at line 306 of file fw.h.

#define HostCmd_ACT_MAC_ADHOC_G_PROTECTION_ON   0x2000

Definition at line 318 of file fw.h.

#define HostCmd_ACT_MAC_ALL_MULTICAST_ENABLE   0x0100

Definition at line 317 of file fw.h.

#define HostCmd_ACT_MAC_ETHERNETII_ENABLE   0x0010

Definition at line 315 of file fw.h.

#define HostCmd_ACT_MAC_PROMISCUOUS_ENABLE   0x0080

Definition at line 316 of file fw.h.

#define HostCmd_ACT_MAC_RX_ON   0x0001

Definition at line 312 of file fw.h.

#define HostCmd_ACT_MAC_TX_ON   0x0002

Definition at line 313 of file fw.h.

#define HostCmd_ACT_MAC_WEP_ENABLE   0x0008

Definition at line 314 of file fw.h.

#define HostCmd_ACT_SET_BOTH   0x0003

Definition at line 344 of file fw.h.

#define HostCmd_ACT_SET_RX   0x0001

Definition at line 342 of file fw.h.

#define HostCmd_ACT_SET_TX   0x0002

Definition at line 343 of file fw.h.

#define HostCmd_BSS_MODE_ANY   0x0003

Definition at line 321 of file fw.h.

#define HostCmd_BSS_MODE_IBSS   0x0002

Definition at line 320 of file fw.h.

#define HostCmd_BSS_NUM_MASK   0x0f00

Definition at line 338 of file fw.h.

#define HostCmd_BSS_TYPE_MASK   0xf000

Definition at line 340 of file fw.h.

#define HostCmd_CMD_11N_ADDBA_REQ   0x00ce

Definition at line 257 of file fw.h.

#define HostCmd_CMD_11N_ADDBA_RSP   0x00cf

Definition at line 258 of file fw.h.

#define HostCmd_CMD_11N_CFG   0x00cd

Definition at line 256 of file fw.h.

#define HostCmd_CMD_11N_DELBA   0x00d0

Definition at line 259 of file fw.h.

#define HostCmd_CMD_802_11_AD_HOC_JOIN   0x002c

Definition at line 239 of file fw.h.

#define HostCmd_CMD_802_11_AD_HOC_START   0x002b

Definition at line 238 of file fw.h.

#define HostCmd_CMD_802_11_AD_HOC_STOP   0x0040

Definition at line 240 of file fw.h.

#define HostCmd_CMD_802_11_ASSOCIATE   0x0012

Definition at line 228 of file fw.h.

#define HostCmd_CMD_802_11_BG_SCAN_QUERY   0x006c

Definition at line 244 of file fw.h.

#define HostCmd_CMD_802_11_DEAUTHENTICATE   0x0024

Definition at line 236 of file fw.h.

#define HostCmd_CMD_802_11_EEPROM_ACCESS   0x0059

Definition at line 227 of file fw.h.

#define HostCmd_CMD_802_11_GET_LOG   0x000b

Definition at line 225 of file fw.h.

#define HostCmd_CMD_802_11_HS_CFG_ENH   0x00e5

Definition at line 265 of file fw.h.

#define HostCmd_CMD_802_11_IBSS_COALESCING_STATUS   0x0083

Definition at line 248 of file fw.h.

#define HostCmd_CMD_802_11_KEY_MATERIAL   0x005e

Definition at line 243 of file fw.h.

#define HostCmd_CMD_802_11_MAC_ADDRESS   0x004D

Definition at line 241 of file fw.h.

#define HostCmd_CMD_802_11_PS_MODE_ENH   0x00e4

Definition at line 264 of file fw.h.

#define HostCmd_CMD_802_11_SCAN   0x0006

Definition at line 224 of file fw.h.

#define HostCmd_CMD_802_11_SNMP_MIB   0x0016

Definition at line 229 of file fw.h.

#define HostCmd_CMD_802_11_SUBSCRIBE_EVENT   0x0075

Definition at line 246 of file fw.h.

#define HostCmd_CMD_802_11_TX_RATE_QUERY   0x007f

Definition at line 247 of file fw.h.

#define HostCmd_CMD_802_11D_DOMAIN_INFO   0x005b

Definition at line 242 of file fw.h.

#define HostCmd_CMD_AMSDU_AGGR_CTRL   0x00df

Definition at line 261 of file fw.h.

#define HostCmd_CMD_BBP_REG_ACCESS   0x001a

Definition at line 231 of file fw.h.

#define HostCmd_CMD_CAU_REG_ACCESS   0x00ed

Definition at line 267 of file fw.h.

#define HostCmd_CMD_FUNC_INIT   0x00a9

Definition at line 251 of file fw.h.

#define HostCmd_CMD_FUNC_SHUTDOWN   0x00aa

Definition at line 252 of file fw.h.

#define HostCmd_CMD_GET_HW_SPEC   0x0003

Definition at line 223 of file fw.h.

#define HostCmd_CMD_ID_MASK   0x0fff

Definition at line 334 of file fw.h.

#define HostCmd_CMD_MAC_CONTROL   0x0028

Definition at line 237 of file fw.h.

#define HostCmd_CMD_MAC_MULTICAST_ADR   0x0010

Definition at line 226 of file fw.h.

#define HostCmd_CMD_MAC_REG_ACCESS   0x0019

Definition at line 230 of file fw.h.

#define HostCmd_CMD_MGMT_FRAME_REG   0x010c

Definition at line 270 of file fw.h.

#define HostCmd_CMD_P2P_MODE_CFG   0x00eb

Definition at line 266 of file fw.h.

#define HostCmd_CMD_PCIE_DESC_DETAILS   0x00fa

Definition at line 269 of file fw.h.

#define HostCmd_CMD_PMIC_REG_ACCESS   0x00ad

Definition at line 233 of file fw.h.

#define HostCmd_CMD_RECONFIGURE_TX_BUFF   0x00d9

Definition at line 260 of file fw.h.

#define HostCmd_CMD_REMAIN_ON_CHAN   0x010d

Definition at line 271 of file fw.h.

#define HostCmd_CMD_RF_ANTENNA   0x0020

Definition at line 235 of file fw.h.

#define HostCmd_CMD_RF_REG_ACCESS   0x001b

Definition at line 232 of file fw.h.

#define HostCmd_CMD_RF_TX_PWR   0x001e

Definition at line 234 of file fw.h.

#define HostCmd_CMD_RSSI_INFO   0x00a4

Definition at line 250 of file fw.h.

#define HostCmd_CMD_SET_BSS_MODE   0x00f7

Definition at line 268 of file fw.h.

#define HostCmd_CMD_TX_RATE_CFG   0x00d6

Definition at line 263 of file fw.h.

#define HostCmd_CMD_TXPWR_CFG   0x00d1

Definition at line 262 of file fw.h.

#define HostCmd_CMD_UAP_BSS_START   0x00b1

Definition at line 254 of file fw.h.

#define HostCmd_CMD_UAP_BSS_STOP   0x00b2

Definition at line 255 of file fw.h.

#define HostCmd_CMD_UAP_SYS_CONFIG   0x00b0

Definition at line 253 of file fw.h.

#define HostCmd_CMD_VERSION_EXT   0x0097

Definition at line 249 of file fw.h.

#define HostCmd_CMD_WMM_GET_STATUS   0x0071

Definition at line 245 of file fw.h.

#define HostCmd_GET_BSS_NO (   seq)    (((seq) & HostCmd_BSS_NUM_MASK) >> 8)

Definition at line 356 of file fw.h.

#define HostCmd_GET_BSS_TYPE (   seq)    (((seq) & HostCmd_BSS_TYPE_MASK) >> 12)

Definition at line 359 of file fw.h.

#define HostCmd_GET_SEQ_NO (   seq)    ((seq) & HostCmd_SEQ_NUM_MASK)

Definition at line 353 of file fw.h.

#define HostCmd_RESULT_OK   0x0000

Definition at line 310 of file fw.h.

#define HostCmd_RET_BIT   0x8000

Definition at line 304 of file fw.h.

#define HostCmd_SCAN_RADIO_TYPE_A   1

Definition at line 324 of file fw.h.

#define HostCmd_SCAN_RADIO_TYPE_BG   0

Definition at line 323 of file fw.h.

#define HostCmd_SEQ_NUM_MASK   0x00ff

Definition at line 336 of file fw.h.

#define HostCmd_SET_SEQ_NO_BSS_INFO (   seq,
  num,
  type 
)
Value:
{ \
(((seq) & 0x00ff) | \
(((num) & 0x000f) << 8)) | \
(((type) & 0x000f) << 12); }

Definition at line 348 of file fw.h.

#define HOSTCMD_SUPPORTED_RATES   14

Definition at line 50 of file fw.h.

#define HostCmd_WEP_KEY_INDEX_MASK   0x3fff

Definition at line 60 of file fw.h.

#define HT_BW_20   0

Definition at line 220 of file fw.h.

#define HT_BW_40   1

Definition at line 221 of file fw.h.

#define HT_STREAM_2X2   0x22

Definition at line 211 of file fw.h.

#define IGTK_PN_LEN   8

Definition at line 604 of file fw.h.

#define INITIATOR_BIT (   DelBAParamSet)
Value:
(((DelBAParamSet) &\

Definition at line 164 of file fw.h.

#define INTF_HEADER_LEN   4

Definition at line 26 of file fw.h.

#define IS_11N_ENABLED (   priv)
Value:
((priv->adapter->config_bands & BAND_GN || \
priv->adapter->config_bands & BAND_AN) && \
priv->curr_bss_params.bss_descriptor.bcn_ht_cap)

Definition at line 161 of file fw.h.

#define IS_BASTREAM_SETUP (   ptr)    (ptr->ba_status)

Definition at line 157 of file fw.h.

#define IS_SUPPORT_MULTI_BANDS (   adapter)    (adapter->fw_cap_info & FW_MULTI_BANDS_SUPPORT)

Definition at line 55 of file fw.h.

#define ISSUPP_11NENABLED (   FwCapInfo)    (FwCapInfo & BIT(11))

Definition at line 170 of file fw.h.

#define ISSUPP_CHANWIDTH40 (   Dot11nDevCap)    (Dot11nDevCap & BIT(17))

Definition at line 191 of file fw.h.

#define ISSUPP_GREENFIELD (   Dot11nDevCap)    (Dot11nDevCap & BIT(29))

Definition at line 196 of file fw.h.

#define ISSUPP_RXSTBC (   Dot11nDevCap)    (Dot11nDevCap & BIT(26))

Definition at line 195 of file fw.h.

#define ISSUPP_SHORTGI20 (   Dot11nDevCap)    (Dot11nDevCap & BIT(23))

Definition at line 192 of file fw.h.

#define ISSUPP_SHORTGI40 (   Dot11nDevCap)    (Dot11nDevCap & BIT(24))

Definition at line 193 of file fw.h.

#define ISSUPP_TXSTBC (   Dot11nDevCap)    (Dot11nDevCap & BIT(25))

Definition at line 194 of file fw.h.

#define KEY_ENABLED   BIT(2)

Definition at line 72 of file fw.h.

#define KEY_IGTK   BIT(10)

Definition at line 73 of file fw.h.

#define KEY_INFO_ENABLED   0x01

Definition at line 62 of file fw.h.

#define KEY_MCAST   BIT(0)

Definition at line 70 of file fw.h.

#define KEY_MGMT_EAP   0x01

Definition at line 281 of file fw.h.

#define KEY_MGMT_NONE   0x04

Definition at line 279 of file fw.h.

#define KEY_MGMT_PSK   0x02

Definition at line 280 of file fw.h.

#define KEY_UNICAST   BIT(1)

Definition at line 71 of file fw.h.

#define KEYPARAMSET_FIXED_LEN   6

Definition at line 593 of file fw.h.

#define LLC_SNAP_LEN   8

Definition at line 215 of file fw.h.

#define MAX_FIRMWARE_POLL_TRIES   100

Definition at line 81 of file fw.h.

#define MAX_MGMT_IE_INDEX   16

Definition at line 1437 of file fw.h.

#define MAX_MULTI_INTERFACE_POLL_TRIES   1000

Definition at line 79 of file fw.h.

#define MAX_POLL_TRIES   100

Definition at line 77 of file fw.h.

#define MAX_SNMP_BUF_SIZE   128

Definition at line 886 of file fw.h.

#define MGMT_MASK_ASSOC_REQ   0x01

Definition at line 103 of file fw.h.

#define MGMT_MASK_ASSOC_RESP   0x02

Definition at line 105 of file fw.h.

#define MGMT_MASK_BEACON   0x100

Definition at line 109 of file fw.h.

#define MGMT_MASK_PROBE_REQ   0x10

Definition at line 107 of file fw.h.

#define MGMT_MASK_PROBE_RESP   0x20

Definition at line 108 of file fw.h.

#define MGMT_MASK_REASSOC_REQ   0x04

Definition at line 104 of file fw.h.

#define MGMT_MASK_REASSOC_RESP   0x08

Definition at line 106 of file fw.h.

#define MOD_CLASS_HR_DSSS   0x03

Definition at line 217 of file fw.h.

#define MOD_CLASS_HT   0x08

Definition at line 219 of file fw.h.

#define MOD_CLASS_OFDM   0x07

Definition at line 218 of file fw.h.

#define MWIFIEX_AUTO_IDX_MASK   0xffff

Definition at line 101 of file fw.h.

#define MWIFIEX_DEF_AMPDU   IEEE80211_HT_AMPDU_PARM_FACTOR

Definition at line 176 of file fw.h.

#define MWIFIEX_DEF_HT_CAP
Value:

Definition at line 172 of file fw.h.

#define MWIFIEX_DELETE_MASK   0x0000

Definition at line 102 of file fw.h.

#define MWIFIEX_FW_DEF_HTTXCFG   (BIT(1) | BIT(4) | BIT(5) | BIT(6))

Definition at line 207 of file fw.h.

#define MWIFIEX_MAX_SSID_LIST_LENGTH   10

Definition at line 965 of file fw.h.

#define MWIFIEX_TX_DATA_BUF_SIZE_2K   2048

Definition at line 150 of file fw.h.

#define MWIFIEX_TX_DATA_BUF_SIZE_4K   4096

Definition at line 167 of file fw.h.

#define MWIFIEX_TX_DATA_BUF_SIZE_8K   8192

Definition at line 168 of file fw.h.

#define MWIFIEX_TxPD_POWER_MGMT_LAST_PACKET   0x08

Definition at line 427 of file fw.h.

#define MWIFIEX_TxPD_POWER_MGMT_NULL_PACKET   0x01

Definition at line 426 of file fw.h.

#define MWIFIEX_USER_SCAN_CHAN_MAX   50

Definition at line 963 of file fw.h.

#define N_SUPPORTED_RATES   3

Definition at line 51 of file fw.h.

#define PROPRIETARY_TLV_BASE_ID   0x0100

Definition at line 114 of file fw.h.

#define PROTOCOL_EAP   0x40

Definition at line 278 of file fw.h.

#define PROTOCOL_NO_SECURITY   0x01

Definition at line 273 of file fw.h.

#define PROTOCOL_STATIC_WEP   0x02

Definition at line 274 of file fw.h.

#define PROTOCOL_WPA   0x08

Definition at line 275 of file fw.h.

#define PROTOCOL_WPA2   0x20

Definition at line 276 of file fw.h.

#define PROTOCOL_WPA2_MIXED   0x28

Definition at line 277 of file fw.h.

#define RF_ANTENNA_AUTO   0xFFFF

Definition at line 346 of file fw.h.

#define S_DS_GEN   sizeof(struct host_cmd_ds_gen)

Definition at line 623 of file fw.h.

#define SET_SECONDARYCHAN (   RadioType,
  SECCHAN 
)    (RadioType |= (SECCHAN << 4))

Definition at line 213 of file fw.h.

#define SETHT_MCS32 (   x)    (x[4] |= 1)

Definition at line 210 of file fw.h.

#define SSN_MASK   0xfff0

Definition at line 152 of file fw.h.

#define TLV_TYPE_AUTH_TYPE   (PROPRIETARY_TLV_BASE_ID + 31)

Definition at line 124 of file fw.h.

#define TLV_TYPE_AUTO_DS_PARAM   (PROPRIETARY_TLV_BASE_ID + 113)

Definition at line 144 of file fw.h.

#define TLV_TYPE_CHANLIST   (PROPRIETARY_TLV_BASE_ID + 1)

Definition at line 116 of file fw.h.

#define TLV_TYPE_CHANNELBANDLIST   (PROPRIETARY_TLV_BASE_ID + 42)

Definition at line 126 of file fw.h.

#define TLV_TYPE_GWK_CIPHER   (PROPRIETARY_TLV_BASE_ID + 146)

Definition at line 148 of file fw.h.

#define TLV_TYPE_KEY_MATERIAL   (PROPRIETARY_TLV_BASE_ID + 0)

Definition at line 115 of file fw.h.

#define TLV_TYPE_MGMT_IE   (PROPRIETARY_TLV_BASE_ID + 105)

Definition at line 143 of file fw.h.

#define TLV_TYPE_NUMPROBES   (PROPRIETARY_TLV_BASE_ID + 2)

Definition at line 117 of file fw.h.

#define TLV_TYPE_PASSTHROUGH   (PROPRIETARY_TLV_BASE_ID + 10)

Definition at line 119 of file fw.h.

#define TLV_TYPE_POWER_GROUP   (PROPRIETARY_TLV_BASE_ID + 84)

Definition at line 139 of file fw.h.

#define TLV_TYPE_PS_PARAM   (PROPRIETARY_TLV_BASE_ID + 114)

Definition at line 145 of file fw.h.

#define TLV_TYPE_PWK_CIPHER   (PROPRIETARY_TLV_BASE_ID + 145)

Definition at line 147 of file fw.h.

#define TLV_TYPE_RATE_DROP_CONTROL   (PROPRIETARY_TLV_BASE_ID + 82)

Definition at line 137 of file fw.h.

#define TLV_TYPE_RATE_SCOPE   (PROPRIETARY_TLV_BASE_ID + 83)

Definition at line 138 of file fw.h.

#define TLV_TYPE_RSSI_HIGH   (PROPRIETARY_TLV_BASE_ID + 22)

Definition at line 123 of file fw.h.

#define TLV_TYPE_RSSI_LOW   (PROPRIETARY_TLV_BASE_ID + 4)

Definition at line 118 of file fw.h.

#define TLV_TYPE_STA_MAC_ADDR   (PROPRIETARY_TLV_BASE_ID + 32)

Definition at line 125 of file fw.h.

#define TLV_TYPE_TSFTIMESTAMP   (PROPRIETARY_TLV_BASE_ID + 19)

Definition at line 122 of file fw.h.

#define TLV_TYPE_UAP_AKMP   (PROPRIETARY_TLV_BASE_ID + 65)

Definition at line 135 of file fw.h.

#define TLV_TYPE_UAP_AO_TIMER   (PROPRIETARY_TLV_BASE_ID + 57)

Definition at line 131 of file fw.h.

#define TLV_TYPE_UAP_BCAST_SSID   (PROPRIETARY_TLV_BASE_ID + 48)

Definition at line 129 of file fw.h.

#define TLV_TYPE_UAP_BEACON_PERIOD   (PROPRIETARY_TLV_BASE_ID + 44)

Definition at line 127 of file fw.h.

#define TLV_TYPE_UAP_DTIM_PERIOD   (PROPRIETARY_TLV_BASE_ID + 45)

Definition at line 128 of file fw.h.

#define TLV_TYPE_UAP_ENCRY_PROTOCOL   (PROPRIETARY_TLV_BASE_ID + 64)

Definition at line 134 of file fw.h.

#define TLV_TYPE_UAP_FRAG_THRESHOLD   (PROPRIETARY_TLV_BASE_ID + 70)

Definition at line 136 of file fw.h.

#define TLV_TYPE_UAP_MGMT_FRAME   (PROPRIETARY_TLV_BASE_ID + 104)

Definition at line 142 of file fw.h.

#define TLV_TYPE_UAP_PS_AO_TIMER   (PROPRIETARY_TLV_BASE_ID + 123)

Definition at line 146 of file fw.h.

#define TLV_TYPE_UAP_RATES   0x0001

Definition at line 112 of file fw.h.

#define TLV_TYPE_UAP_RETRY_LIMIT   (PROPRIETARY_TLV_BASE_ID + 93)

Definition at line 140 of file fw.h.

#define TLV_TYPE_UAP_RTS_THRESHOLD   (PROPRIETARY_TLV_BASE_ID + 51)

Definition at line 130 of file fw.h.

#define TLV_TYPE_UAP_SSID   0x0000

Definition at line 111 of file fw.h.

#define TLV_TYPE_UAP_WEP_KEY   (PROPRIETARY_TLV_BASE_ID + 59)

Definition at line 132 of file fw.h.

#define TLV_TYPE_UAP_WPA_PASSPHRASE   (PROPRIETARY_TLV_BASE_ID + 60)

Definition at line 133 of file fw.h.

#define TLV_TYPE_WAPI_IE   (PROPRIETARY_TLV_BASE_ID + 94)

Definition at line 141 of file fw.h.

#define TLV_TYPE_WILDCARDSSID   (PROPRIETARY_TLV_BASE_ID + 18)

Definition at line 121 of file fw.h.

#define TLV_TYPE_WMMQSTATUS   (PROPRIETARY_TLV_BASE_ID + 16)

Definition at line 120 of file fw.h.

#define TSF_DATA_SIZE   8

Definition at line 534 of file fw.h.

#define UAP_BSS_PARAMS_I   0

Definition at line 99 of file fw.h.

#define UAP_CUSTOM_IE_I   1

Definition at line 100 of file fw.h.

#define VALID_CIPHER_BITMAP   0x0c

Definition at line 284 of file fw.h.

#define WAPI_KEY_LEN   50

Definition at line 75 of file fw.h.

Enumeration Type Documentation

Enumerator:
EN_PS 
DIS_PS 
EN_AUTO_DS 
DIS_AUTO_DS 
SLEEP_CONFIRM 
GET_PS 
EN_AUTO_PS 
DIS_AUTO_PS 

Definition at line 286 of file fw.h.

Enumerator:
HS_CONFIGURE 
HS_ACTIVATE 

Definition at line 852 of file fw.h.

Enumerator:
KEY_TYPE_ID_WEP 
KEY_TYPE_ID_TKIP 
KEY_TYPE_ID_AES 
KEY_TYPE_ID_WEP 
KEY_TYPE_ID_TKIP 
KEY_TYPE_ID_AES 
KEY_TYPE_ID_WAPI 
KEY_TYPE_ID_AES_CMAC 

Definition at line 63 of file fw.h.

Enumerator:
MWIFIEX_802_11_PRIV_FILTER_ACCEPT_ALL 
MWIFIEX_802_11_PRIV_FILTER_8021X_WEP 

Definition at line 91 of file fw.h.

Enumerator:
MWIFIEX_PASSIVE_SCAN 
MWIFIEX_DISABLE_CHAN_FILT 

Definition at line 485 of file fw.h.

Enumerator:
MWIFIEX_USB_EP_CMD_EVENT 
MWIFIEX_USB_EP_DATA 

Definition at line 86 of file fw.h.

enum P2P_MODES
Enumerator:
P2P_MODE_DISABLE 
P2P_MODE_DEVICE 
P2P_MODE_GO 
P2P_MODE_CLIENT 

Definition at line 297 of file fw.h.

Enumerator:
RESP_NOT_NEEDED 
RESP_NEEDED 

Definition at line 625 of file fw.h.

Enumerator:
OP_RATE_SET_I 
DTIM_PERIOD_I 
RTS_THRESH_I 
SHORT_RETRY_LIM_I 
LONG_RETRY_LIM_I 
FRAG_THRESH_I 
DOT11D_I 

Definition at line 876 of file fw.h.

Variable Documentation