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

Go to the source code of this file.

Data Structures

struct  sq_threshold_params
 
struct  wmi_data_sync_bufs
 
struct  wmi
 
struct  host_app_area
 
struct  wmi_data_hdr
 
struct  wmi_tx_meta_v1
 
struct  wmi_tx_meta_v2
 
struct  wmi_rx_meta_v1
 
struct  wmi_rx_meta_v2
 
struct  wmi_cmd_hdr
 
struct  wmi_connect_cmd
 
struct  wmi_reconnect_cmd
 
struct  wmi_add_cipher_key_cmd
 
struct  wmi_delete_cipher_key_cmd
 
struct  wmi_add_krk_cmd
 
struct  wmi_setpmkid_cmd
 
struct  wmi_supp_rates
 
struct  wmi_begin_scan_cmd
 
struct  wmi_start_scan_cmd
 
struct  wmi_scan_params_cmd
 
struct  wmi_bss_filter_cmd
 
struct  wmi_probed_ssid_cmd
 
struct  wmi_listen_int_cmd
 
struct  wmi_bmiss_time_cmd
 
struct  wmi_sta_bmiss_enhance_cmd
 
struct  wmi_power_mode_cmd
 
struct  wmi_power_params_cmd
 
struct  wmi_set_tx_select_rates32_cmd
 
struct  wmi_set_tx_select_rates64_cmd
 
struct  wmi_disc_timeout_cmd
 
struct  wmi_sync_cmd
 
struct  wmi_create_pstream_cmd
 
struct  wmi_delete_pstream_cmd
 
struct  wmi_rssi_threshold_params_cmd
 
struct  wmi_snr_threshold_params_cmd
 
struct  wmi_set_lpreamble_cmd
 
struct  wmi_set_rts_cmd
 
struct  wmi_set_tx_pwr_cmd
 
struct  wmi_tx_pwr_reply
 
struct  wmi_report_sleep_state_event
 
struct  wmi_mcast_filter_cmd
 
struct  wmi_mcast_filter_add_del_cmd
 
struct  wmi_set_htcap_cmd
 
struct  wmi_channel_list_reply
 
struct  wmi_ready_event_2
 
struct  wmi_connect_event
 
struct  ath6kl_wmi_regdomain
 
struct  wmi_disconnect_event
 
struct  bss_bias
 
struct  bss_bias_info
 
struct  low_rssi_scan_params
 
struct  roam_ctrl_cmd
 
struct  set_dtim_cmd
 
struct  wmi_bss_info_hdr2
 
struct  wmi_cmd_error_event
 
struct  wmi_pstream_timeout_event
 
struct  wmi_neighbor_info
 
struct  wmi_neighbor_report_event
 
struct  wmi_tkip_micerr_event
 
struct  wmi_scan_complete_event
 
struct  wmi_opt_rx_info_hdr
 
struct  tx_stats
 
struct  rx_stats
 
struct  tkip_ccmp_stats
 
struct  pm_stats
 
struct  cserv_stats
 
struct  wlan_net_stats
 
struct  arp_stats
 
struct  wlan_wow_stats
 
struct  wmi_target_stats
 
struct  wmi_rssi_threshold_event
 
struct  wmi_snr_threshold_event
 
struct  wmi_bss_roam_info
 
struct  wmi_target_roam_tbl
 
struct  wmi_cac_event
 
struct  wmi_ap_info_v1
 
union  wmi_ap_info
 
struct  wmi_aplist_event
 
struct  wmi_bit_rate_reply
 
struct  wmi_fix_rates_reply
 
struct  wmi_target_roam_time
 
struct  wmi_set_wmm_txop_cmd
 
struct  wmi_set_keepalive_cmd
 
struct  wmi_get_keepalive_cmd
 
struct  wmi_set_appie_cmd
 
struct  wmi_set_ie_cmd
 
struct  wow_filter
 
struct  wmi_set_ip_cmd
 
struct  wmi_set_host_sleep_mode_cmd
 
struct  wmi_set_wow_mode_cmd
 
struct  wmi_add_wow_pattern_cmd
 
struct  wmi_del_wow_pattern_cmd
 
struct  wmi_pmkid
 
struct  wmi_pmkid_list_reply
 
struct  wmi_addba_req_event
 
struct  wmi_addba_resp_event
 
struct  wmi_delba_event
 
struct  wmi_peer_node_event
 
struct  tx_complete_msg_v1
 
struct  wmi_tx_complete_event
 
struct  wmi_ap_set_mlme_cmd
 
struct  wmi_ap_set_pvb_cmd
 
struct  wmi_rx_frame_format_cmd
 
struct  wmi_ap_hidden_ssid_cmd
 
struct  wmi_set_inact_period_cmd
 
struct  wmi_ap_set_apsd_cmd
 
struct  wmi_ap_apsd_buffered_traffic_cmd
 
struct  wmi_pspoll_event
 
struct  wmi_per_sta_stat
 
struct  wmi_ap_mode_stat
 
struct  wmi_remain_on_chnl_cmd
 
struct  wmi_send_action_cmd
 
struct  wmi_send_mgmt_cmd
 
struct  wmi_tx_status_event
 
struct  wmi_probe_req_report_cmd
 
struct  wmi_disable_11b_rates_cmd
 
struct  wmi_set_appie_extended_cmd
 
struct  wmi_remain_on_chnl_event
 
struct  wmi_cancel_remain_on_chnl_event
 
struct  wmi_rx_action_event
 
struct  wmi_p2p_capabilities_event
 
struct  wmi_p2p_rx_probe_req_event
 
struct  wmi_get_p2p_info
 
struct  wmi_p2p_info_event
 
struct  wmi_p2p_capabilities
 
struct  wmi_p2p_macaddr
 
struct  wmi_p2p_hmodel
 
struct  wmi_p2p_probe_response_cmd
 
struct  wmix_cmd_hdr
 
struct  wmix_hb_challenge_resp_cmd
 
struct  ath6kl_wmix_dbglog_cfg_module_cmd
 

Macros

#define HTC_PROTOCOL_VERSION   0x0002
 
#define WMI_PROTOCOL_VERSION   0x0002
 
#define WMI_CONTROL_MSG_MAX_LEN   256
 
#define is_ethertype(type_or_len)   ((type_or_len) >= 0x0600)
 
#define IP_ETHERTYPE   0x0800
 
#define WMI_IMPLICIT_PSTREAM   0xFF
 
#define WMI_MAX_THINSTREAM   15
 
#define SSID_IE_LEN_INDEX   13
 
#define SIG_QUALITY_THRESH_LVLS   6
 
#define SIG_QUALITY_UPPER_THRESH_LVLS   SIG_QUALITY_THRESH_LVLS
 
#define SIG_QUALITY_LOWER_THRESH_LVLS   SIG_QUALITY_THRESH_LVLS
 
#define A_BAND_24GHZ   0
 
#define A_BAND_5GHZ   1
 
#define A_NUM_BANDS   2
 
#define WMI_IMPLICIT_PSTREAM_INACTIVITY_INT   5000
 
#define WMM_NUM_AC   4
 
#define WMM_AC_BE   0 /* best effort */
 
#define WMM_AC_BK   1 /* background */
 
#define WMM_AC_VI   2 /* video */
 
#define WMM_AC_VO   3 /* voice */
 
#define WMI_VOICE_USER_PRIORITY   0x7
 
#define WMI_DATA_HDR_MSG_TYPE_MASK   0x03
 
#define WMI_DATA_HDR_MSG_TYPE_SHIFT   0
 
#define WMI_DATA_HDR_UP_MASK   0x07
 
#define WMI_DATA_HDR_UP_SHIFT   2
 
#define WMI_DATA_HDR_PS_MASK   0x1
 
#define WMI_DATA_HDR_PS_SHIFT   5
 
#define WMI_DATA_HDR_MORE   0x20
 
#define WMI_DATA_HDR_DATA_TYPE_MASK   0x3
 
#define WMI_DATA_HDR_DATA_TYPE_SHIFT   6
 
#define WMI_DATA_HDR_SEQNO_MASK   0xFFF
 
#define WMI_DATA_HDR_SEQNO_SHIFT   0
 
#define WMI_DATA_HDR_AMSDU_MASK   0x1
 
#define WMI_DATA_HDR_AMSDU_SHIFT   12
 
#define WMI_DATA_HDR_META_MASK   0x7
 
#define WMI_DATA_HDR_META_SHIFT   13
 
#define WMI_DATA_HDR_PAD_BEFORE_DATA_MASK   0xFF
 
#define WMI_DATA_HDR_PAD_BEFORE_DATA_SHIFT   0x8
 
#define WMI_DATA_HDR_IF_IDX_MASK   0xF
 
#define WMI_DATA_HDR_TRIG   0x10
 
#define WMI_DATA_HDR_EOSP   0x10
 
#define WMI_MAX_TX_META_SZ   12
 
#define WMI_META_VERSION_1   0x01
 
#define WMI_META_VERSION_2   0x02
 
#define WMI_META_V2_FLAG_CSUM_OFFLOAD   0x01
 
#define WMI_CMD_HDR_IF_ID_MASK   0xF
 
#define WMI_MAX_KEY_INDEX   3
 
#define WMI_MAX_KEY_LEN   32
 
#define ATH6KL_CIPHER_WEP   0
 
#define ATH6KL_CIPHER_TKIP   1
 
#define ATH6KL_CIPHER_AES_OCB   2
 
#define ATH6KL_CIPHER_AES_CCM   3
 
#define ATH6KL_CIPHER_CKIP   5
 
#define ATH6KL_CIPHER_CCKM_KRK   6
 
#define ATH6KL_CIPHER_NONE   7 /* pseudo value */
 
#define ATH6KL_RATE_MAXSIZE   15 /* max rates we'll handle */
 
#define ATH_OUI_TYPE   0x01
 
#define WPA_OUI_TYPE   0x01
 
#define WMM_PARAM_OUI_SUBTYPE   0x01
 
#define WMM_OUI_TYPE   0x02
 
#define WSC_OUT_TYPE   0x04
 
#define KEY_OP_INIT_TSC   0x01
 
#define KEY_OP_INIT_RSC   0x02
 
#define KEY_OP_INIT_VAL   0x03
 
#define KEY_OP_VALID_MASK   0x03
 
#define WMI_KRK_LEN   16
 
#define WMI_PMKID_LEN   16
 
#define MAX_PROBED_SSIDS   16
 
#define WMI_MAX_CHANNELS   32
 
#define ATH6KL_MCAST_FILTER_MAC_ADDR_SIZE   6
 
#define ATH6KL_COUNTRY_RD_SHIFT   16
 
#define DEF_LRSSI_SCAN_PERIOD   5
 
#define DEF_LRSSI_ROAM_THRESHOLD   20
 
#define DEF_LRSSI_ROAM_FLOOR   60
 
#define DEF_SCAN_FOR_ROAM_INTVL   2
 
#define MAX_OPT_DATA_LEN   1400
 
#define MAX_ROAM_TBL_CAND   5
 
#define WMM_TSPEC_IE_LEN   63
 
#define WSC_REG_ACTIVE   1
 
#define WSC_REG_INACTIVE   0
 
#define WOW_MAX_FILTERS_PER_LIST   4
 
#define WOW_PATTERN_SIZE   64
 
#define WOW_MASK_SIZE   64
 
#define MAC_MAX_FILTERS_PER_LIST   4
 
#define MAX_IP_ADDRS   2
 
#define PEER_NODE_JOIN_EVENT   0x00
 
#define PEER_NODE_LEAVE_EVENT   0x01
 
#define PEER_FIRST_NODE_JOIN_EVENT   0x10
 
#define PEER_LAST_NODE_LEAVE_EVENT   0x11
 
#define TX_COMPLETE_STATUS_SUCCESS   0
 
#define TX_COMPLETE_STATUS_RETRIES   1
 
#define TX_COMPLETE_STATUS_NOLINK   2
 
#define TX_COMPLETE_STATUS_TIMEOUT   3
 
#define TX_COMPLETE_STATUS_OTHER   4
 
#define AP_MAX_NUM_STA   10
 
#define MCAST_AID   0xFF
 
#define DEF_AP_COUNTRY_CODE   "US "
 
#define WMI_AP_MLME_ASSOC   1 /* associate station */
 
#define WMI_AP_DISASSOC   2 /* disassociate station */
 
#define WMI_AP_DEAUTH   3 /* deauthenticate station */
 
#define WMI_AP_MLME_AUTHORIZE   4 /* authorize station */
 
#define WMI_AP_MLME_UNAUTHORIZE   5 /* unauthorize station */
 
#define P2P_FLAG_CAPABILITIES_REQ   (0x00000001)
 
#define P2P_FLAG_MACADDR_REQ   (0x00000002)
 
#define P2P_FLAG_HMODEL_REQ   (0x00000002)
 

Typedefs

typedef __s16 __bitwise a_sle16
 
typedef __s32 __bitwise a_sle32
 

Enumerations

enum  wmi_msg_type { DATA_MSGTYPE = 0x0, CNTL_MSGTYPE, SYNC_MSGTYPE, OPT_MSGTYPE }
 
enum  wmi_data_hdr_data_type { WMI_DATA_HDR_DATA_TYPE_802_3 = 0, WMI_DATA_HDR_DATA_TYPE_802_11, WMI_DATA_HDR_DATA_TYPE_ACL }
 
enum  wmi_data_hdr_flags { WMI_DATA_HDR_FLAGS_MORE = 0x1, WMI_DATA_HDR_FLAGS_EOSP = 0x2, WMI_DATA_HDR_FLAGS_UAPSD = 0x4 }
 
enum  wmi_cmd_id {
  WMI_CONNECT_CMDID = 0x0001, WMI_RECONNECT_CMDID, WMI_DISCONNECT_CMDID, WMI_SYNCHRONIZE_CMDID,
  WMI_CREATE_PSTREAM_CMDID, WMI_DELETE_PSTREAM_CMDID, WMI_START_SCAN_CMDID, WMI_SET_SCAN_PARAMS_CMDID,
  WMI_SET_BSS_FILTER_CMDID, WMI_SET_PROBED_SSID_CMDID, WMI_SET_LISTEN_INT_CMDID, WMI_SET_BMISS_TIME_CMDID,
  WMI_SET_DISC_TIMEOUT_CMDID, WMI_GET_CHANNEL_LIST_CMDID, WMI_SET_BEACON_INT_CMDID, WMI_GET_STATISTICS_CMDID,
  WMI_SET_CHANNEL_PARAMS_CMDID, WMI_SET_POWER_MODE_CMDID, WMI_SET_IBSS_PM_CAPS_CMDID, WMI_SET_POWER_PARAMS_CMDID,
  WMI_SET_POWERSAVE_TIMERS_POLICY_CMDID, WMI_ADD_CIPHER_KEY_CMDID, WMI_DELETE_CIPHER_KEY_CMDID, WMI_ADD_KRK_CMDID,
  WMI_DELETE_KRK_CMDID, WMI_SET_PMKID_CMDID, WMI_SET_TX_PWR_CMDID, WMI_GET_TX_PWR_CMDID,
  WMI_SET_ASSOC_INFO_CMDID, WMI_ADD_BAD_AP_CMDID, WMI_DELETE_BAD_AP_CMDID, WMI_SET_TKIP_COUNTERMEASURES_CMDID,
  WMI_RSSI_THRESHOLD_PARAMS_CMDID, WMI_TARGET_ERROR_REPORT_BITMASK_CMDID, WMI_SET_ACCESS_PARAMS_CMDID, WMI_SET_RETRY_LIMITS_CMDID,
  WMI_SET_OPT_MODE_CMDID, WMI_OPT_TX_FRAME_CMDID, WMI_SET_VOICE_PKT_SIZE_CMDID, WMI_SET_MAX_SP_LEN_CMDID,
  WMI_SET_ROAM_CTRL_CMDID, WMI_GET_ROAM_TBL_CMDID, WMI_GET_ROAM_DATA_CMDID, WMI_ENABLE_RM_CMDID,
  WMI_SET_MAX_OFFHOME_DURATION_CMDID, WMI_EXTENSION_CMDID, WMI_SNR_THRESHOLD_PARAMS_CMDID, WMI_LQ_THRESHOLD_PARAMS_CMDID,
  WMI_SET_LPREAMBLE_CMDID, WMI_SET_RTS_CMDID, WMI_CLR_RSSI_SNR_CMDID, WMI_SET_FIXRATES_CMDID,
  WMI_GET_FIXRATES_CMDID, WMI_SET_AUTH_MODE_CMDID, WMI_SET_REASSOC_MODE_CMDID, WMI_SET_WMM_CMDID,
  WMI_SET_WMM_TXOP_CMDID, WMI_TEST_CMDID, WMI_SET_BT_STATUS_CMDID, WMI_SET_BT_PARAMS_CMDID,
  WMI_SET_KEEPALIVE_CMDID, WMI_GET_KEEPALIVE_CMDID, WMI_SET_APPIE_CMDID, WMI_GET_APPIE_CMDID,
  WMI_SET_WSC_STATUS_CMDID, WMI_SET_HOST_SLEEP_MODE_CMDID, WMI_SET_WOW_MODE_CMDID, WMI_GET_WOW_LIST_CMDID,
  WMI_ADD_WOW_PATTERN_CMDID, WMI_DEL_WOW_PATTERN_CMDID, WMI_SET_FRAMERATES_CMDID, WMI_SET_AP_PS_CMDID,
  WMI_SET_QOS_SUPP_CMDID, WMI_SET_IE_CMDID, WMI_THIN_RESERVED_START = 0x8000, WMI_THIN_RESERVED_END = 0x8fff,
  WMI_SET_BITRATE_CMDID = 0xF000, WMI_GET_BITRATE_CMDID, WMI_SET_WHALPARAM_CMDID, WMI_SET_MAC_ADDRESS_CMDID,
  WMI_SET_AKMP_PARAMS_CMDID, WMI_SET_PMKID_LIST_CMDID, WMI_GET_PMKID_LIST_CMDID, WMI_ABORT_SCAN_CMDID,
  WMI_SET_TARGET_EVENT_REPORT_CMDID, WMI_UNUSED1, WMI_UNUSED2, WMI_AP_HIDDEN_SSID_CMDID,
  WMI_AP_SET_NUM_STA_CMDID, WMI_AP_ACL_POLICY_CMDID, WMI_AP_ACL_MAC_LIST_CMDID, WMI_AP_CONFIG_COMMIT_CMDID,
  WMI_AP_SET_MLME_CMDID, WMI_AP_SET_PVB_CMDID, WMI_AP_CONN_INACT_CMDID, WMI_AP_PROT_SCAN_TIME_CMDID,
  WMI_AP_SET_COUNTRY_CMDID, WMI_AP_SET_DTIM_CMDID, WMI_AP_MODE_STAT_CMDID, WMI_SET_IP_CMDID,
  WMI_SET_PARAMS_CMDID, WMI_SET_MCAST_FILTER_CMDID, WMI_DEL_MCAST_FILTER_CMDID, WMI_ALLOW_AGGR_CMDID,
  WMI_ADDBA_REQ_CMDID, WMI_DELBA_REQ_CMDID, WMI_SET_HT_CAP_CMDID, WMI_SET_HT_OP_CMDID,
  WMI_SET_TX_SELECT_RATES_CMDID, WMI_SET_TX_SGI_PARAM_CMDID, WMI_SET_RATE_POLICY_CMDID, WMI_HCI_CMD_CMDID,
  WMI_RX_FRAME_FORMAT_CMDID, WMI_SET_THIN_MODE_CMDID, WMI_SET_BT_WLAN_CONN_PRECEDENCE_CMDID, WMI_AP_SET_11BG_RATESET_CMDID,
  WMI_SET_PMK_CMDID, WMI_MCAST_FILTER_CMDID, WMI_SET_BTCOEX_FE_ANT_CMDID, WMI_SET_BTCOEX_COLOCATED_BT_DEV_CMDID,
  WMI_SET_BTCOEX_SCO_CONFIG_CMDID, WMI_SET_BTCOEX_A2DP_CONFIG_CMDID, WMI_SET_BTCOEX_ACLCOEX_CONFIG_CMDID, WMI_SET_BTCOEX_BTINQUIRY_PAGE_CONFIG_CMDID,
  WMI_SET_BTCOEX_DEBUG_CMDID, WMI_SET_BTCOEX_BT_OPERATING_STATUS_CMDID, WMI_GET_BTCOEX_STATS_CMDID, WMI_GET_BTCOEX_CONFIG_CMDID,
  WMI_SET_DFS_ENABLE_CMDID, WMI_SET_DFS_MINRSSITHRESH_CMDID, WMI_SET_DFS_MAXPULSEDUR_CMDID, WMI_DFS_RADAR_DETECTED_CMDID,
  WMI_P2P_SET_CONFIG_CMDID, WMI_WPS_SET_CONFIG_CMDID, WMI_SET_REQ_DEV_ATTR_CMDID, WMI_P2P_FIND_CMDID,
  WMI_P2P_STOP_FIND_CMDID, WMI_P2P_GO_NEG_START_CMDID, WMI_P2P_LISTEN_CMDID, WMI_CONFIG_TX_MAC_RULES_CMDID,
  WMI_SET_PROMISCUOUS_MODE_CMDID, WMI_RX_FRAME_FILTER_CMDID, WMI_SET_CHANNEL_CMDID, WMI_ENABLE_WAC_CMDID,
  WMI_WAC_SCAN_REPLY_CMDID, WMI_WAC_CTRL_REQ_CMDID, WMI_SET_DIV_PARAMS_CMDID, WMI_GET_PMK_CMDID,
  WMI_SET_PASSPHRASE_CMDID, WMI_SEND_ASSOC_RES_CMDID, WMI_SET_ASSOC_REQ_RELAY_CMDID, WMI_ACS_CTRL_CMDID,
  WMI_SET_EXCESS_TX_RETRY_THRES_CMDID, WMI_SET_TBD_TIME_CMDID, WMI_PKTLOG_ENABLE_CMDID, WMI_PKTLOG_DISABLE_CMDID,
  WMI_P2P_GO_NEG_REQ_RSP_CMDID, WMI_P2P_GRP_INIT_CMDID, WMI_P2P_GRP_FORMATION_DONE_CMDID, WMI_P2P_INVITE_CMDID,
  WMI_P2P_INVITE_REQ_RSP_CMDID, WMI_P2P_PROV_DISC_REQ_CMDID, WMI_P2P_SET_CMDID, WMI_GET_RFKILL_MODE_CMDID,
  WMI_SET_RFKILL_MODE_CMDID, WMI_AP_SET_APSD_CMDID, WMI_AP_APSD_BUFFERED_TRAFFIC_CMDID, WMI_P2P_SDPD_TX_CMDID,
  WMI_P2P_STOP_SDPD_CMDID, WMI_P2P_CANCEL_CMDID, WMI_STORERECALL_CONFIGURE_CMDID, WMI_STORERECALL_RECALL_CMDID,
  WMI_STORERECALL_HOST_READY_CMDID, WMI_FORCE_TARGET_ASSERT_CMDID, WMI_SET_PROBED_SSID_EX_CMDID, WMI_SET_NETWORK_LIST_OFFLOAD_CMDID,
  WMI_SET_ARP_NS_OFFLOAD_CMDID, WMI_ADD_WOW_EXT_PATTERN_CMDID, WMI_GTK_OFFLOAD_OP_CMDID, WMI_REMAIN_ON_CHNL_CMDID,
  WMI_CANCEL_REMAIN_ON_CHNL_CMDID, WMI_SEND_ACTION_CMDID, WMI_PROBE_REQ_REPORT_CMDID, WMI_DISABLE_11B_RATES_CMDID,
  WMI_SEND_PROBE_RESPONSE_CMDID, WMI_GET_P2P_INFO_CMDID, WMI_AP_JOIN_BSS_CMDID, WMI_SMPS_ENABLE_CMDID,
  WMI_SMPS_CONFIG_CMDID, WMI_SET_RATECTRL_PARM_CMDID, WMI_LPL_FORCE_ENABLE_CMDID, WMI_LPL_SET_POLICY_CMDID,
  WMI_LPL_GET_POLICY_CMDID, WMI_LPL_GET_HWSTATE_CMDID, WMI_LPL_SET_PARAMS_CMDID, WMI_LPL_GET_PARAMS_CMDID,
  WMI_SET_BUNDLE_PARAM_CMDID, WMI_GREENTX_PARAMS_CMDID, WMI_RTT_MEASREQ_CMDID, WMI_RTT_CAPREQ_CMDID,
  WMI_RTT_STATUSREQ_CMDID, WMI_WPS_START_CMDID, WMI_GET_WPS_STATUS_CMDID, WMI_SET_NOA_CMDID,
  WMI_GET_NOA_CMDID, WMI_SET_OPPPS_CMDID, WMI_GET_OPPPS_CMDID, WMI_ADD_PORT_CMDID,
  WMI_DEL_PORT_CMDID, WMI_SET_RSN_CAP_CMDID, WMI_GET_RSN_CAP_CMDID, WMI_SET_IGTK_CMDID,
  WMI_RX_FILTER_COALESCE_FILTER_OP_CMDID, WMI_RX_FILTER_SET_FRAME_TEST_LIST_CMDID, WMI_SEND_MGMT_CMDID, WMI_BEGIN_SCAN_CMDID,
  WMI_SET_BLACK_LIST, WMI_SET_MCASTRATE, WMI_STA_BMISS_ENHANCE_CMDID, WMI_ECHO_CMDID = 0x0001,
  WMI_ACCESS_MEMORY_CMDID, WMI_GET_FW_VERSION, WMI_DISABLE_INTR_CMDID, WMI_ENABLE_INTR_CMDID,
  WMI_ATH_INIT_CMDID, WMI_ABORT_TXQ_CMDID, WMI_STOP_TX_DMA_CMDID, WMI_ABORT_TX_DMA_CMDID,
  WMI_DRAIN_TXQ_CMDID, WMI_DRAIN_TXQ_ALL_CMDID, WMI_START_RECV_CMDID, WMI_STOP_RECV_CMDID,
  WMI_FLUSH_RECV_CMDID, WMI_SET_MODE_CMDID, WMI_NODE_CREATE_CMDID, WMI_NODE_REMOVE_CMDID,
  WMI_VAP_REMOVE_CMDID, WMI_VAP_CREATE_CMDID, WMI_REG_READ_CMDID, WMI_REG_WRITE_CMDID,
  WMI_RC_STATE_CHANGE_CMDID, WMI_RC_RATE_UPDATE_CMDID, WMI_TARGET_IC_UPDATE_CMDID, WMI_TX_AGGR_ENABLE_CMDID,
  WMI_TGT_DETACH_CMDID, WMI_NODE_UPDATE_CMDID, WMI_INT_STATS_CMDID, WMI_TX_STATS_CMDID,
  WMI_RX_STATS_CMDID, WMI_BITRATE_MASK_CMDID
}
 
enum  wmi_mgmt_frame_type {
  WMI_FRAME_BEACON = 0, WMI_FRAME_PROBE_REQ, WMI_FRAME_PROBE_RESP, WMI_FRAME_ASSOC_REQ,
  WMI_FRAME_ASSOC_RESP, WMI_NUM_MGMT_FRAME
}
 
enum  wmi_ie_field_type { WMI_RSN_IE_CAPB = 0x1, WMI_IE_FULL = 0xFF }
 
enum  network_type { INFRA_NETWORK = 0x01, ADHOC_NETWORK = 0x02, ADHOC_CREATOR = 0x04, AP_NETWORK = 0x10 }
 
enum  network_subtype {
  SUBTYPE_NONE, SUBTYPE_BT, SUBTYPE_P2PDEV, SUBTYPE_P2PCLIENT,
  SUBTYPE_P2PGO
}
 
enum  dot11_auth_mode { OPEN_AUTH = 0x01, SHARED_AUTH = 0x02, LEAP_AUTH = 0x04 }
 
enum  auth_mode {
  NONE_AUTH = 0x01, WPA_AUTH = 0x02, WPA2_AUTH = 0x04, WPA_PSK_AUTH = 0x08,
  WPA2_PSK_AUTH = 0x10, WPA_AUTH_CCKM = 0x20, WPA2_AUTH_CCKM = 0x40
}
 
enum  wmi_connect_ctrl_flags_bits {
  CONNECT_ASSOC_POLICY_USER = 0x0001, CONNECT_SEND_REASSOC = 0x0002, CONNECT_IGNORE_WPAx_GROUP_CIPHER = 0x0004, CONNECT_PROFILE_MATCH_DONE = 0x0008,
  CONNECT_IGNORE_AAC_BEACON = 0x0010, CONNECT_CSA_FOLLOW_BSS = 0x0020, CONNECT_DO_WPA_OFFLOAD = 0x0040, CONNECT_DO_NOT_DEAUTH = 0x0080,
  CONNECT_WPS_FLAG = 0x0100
}
 
enum  key_usage { PAIRWISE_USAGE = 0x00, GROUP_USAGE = 0x01, TX_USAGE = 0x02 }
 
enum  pmkid_enable_flg { PMKID_DISABLE = 0, PMKID_ENABLE = 1 }
 
enum  wmi_scan_type { WMI_LONG_SCAN = 0, WMI_SHORT_SCAN = 1 }
 
enum  wmi_scan_ctrl_flags_bits {
  CONNECT_SCAN_CTRL_FLAGS = 0x01, SCAN_CONNECTED_CTRL_FLAGS = 0x02, ACTIVE_SCAN_CTRL_FLAGS = 0x04, ROAM_SCAN_CTRL_FLAGS = 0x08,
  REPORT_BSSINFO_CTRL_FLAGS = 0x10, ENABLE_AUTO_CTRL_FLAGS = 0x20, ENABLE_SCAN_ABORT_EVENT = 0x40
}
 
enum  wmi_bss_filter {
  NONE_BSS_FILTER = 0x0, ALL_BSS_FILTER, PROFILE_FILTER, ALL_BUT_PROFILE_FILTER,
  CURRENT_BSS_FILTER, ALL_BUT_BSS_FILTER, PROBED_SSID_FILTER, MATCHED_SSID_FILTER,
  LAST_BSS_FILTER
}
 
enum  wmi_ssid_flag { DISABLE_SSID_FLAG = 0, SPECIFIC_SSID_FLAG = 0x01, ANY_SSID_FLAG = 0x02, MATCH_SSID_FLAG = 0x08 }
 
enum  wmi_power_mode { REC_POWER = 0x01, MAX_PERF_POWER }
 
enum  power_save_fail_event_policy { SEND_POWER_SAVE_FAIL_EVENT_ALWAYS = 1, IGNORE_PS_FAIL_DURING_SCAN = 2 }
 
enum  wmi_mode_phy {
  WMI_RATES_MODE_11A = 0, WMI_RATES_MODE_11G, WMI_RATES_MODE_11B, WMI_RATES_MODE_11GONLY,
  WMI_RATES_MODE_11A_HT20, WMI_RATES_MODE_11G_HT20, WMI_RATES_MODE_11A_HT40, WMI_RATES_MODE_11G_HT40,
  WMI_RATES_MODE_MAX
}
 
enum  dir_type { UPLINK_TRAFFIC = 0, DNLINK_TRAFFIC = 1, BIDIR_TRAFFIC = 2 }
 
enum  voiceps_cap_type { DISABLE_FOR_THIS_AC = 0, ENABLE_FOR_THIS_AC = 1, ENABLE_FOR_ALL_AC = 2 }
 
enum  traffic_type {
  LLFC_TRAFFIC_TYPE_NW, LLFC_TRAFFIC_TYPE_FCOE, LLFC_TRAFFIC_TYPE_ISCSI, MAX_TRAFFIC_TYPE,
  TRAFFIC_TYPE_APERIODIC = 0, TRAFFIC_TYPE_PERIODIC = 1
}
 
enum  wmi_phy_mode {
  WMI_11A_MODE = 0x1, WMI_11G_MODE = 0x2, WMI_11AG_MODE = 0x3, WMI_11B_MODE = 0x4,
  WMI_11GONLY_MODE = 0x5, WMI_11G_HT20 = 0x6
}
 
enum  wmi_preamble_policy { WMI_IGNORE_BARKER_IN_ERP = 0, WMI_FOLLOW_BARKER_IN_ERP }
 
enum  wmi_report_sleep_status { WMI_REPORT_SLEEP_STATUS_IS_DEEP_SLEEP = 0, WMI_REPORT_SLEEP_STATUS_IS_AWAKE }
 
enum  target_event_report_config { DISCONN_EVT_IN_RECONN = 0, NO_DISCONN_EVT_IN_RECONN }
 
enum  wmi_event_id {
  WMI_READY_EVENTID = 0x1001, WMI_CONNECT_EVENTID, WMI_DISCONNECT_EVENTID, WMI_BSSINFO_EVENTID,
  WMI_CMDERROR_EVENTID, WMI_REGDOMAIN_EVENTID, WMI_PSTREAM_TIMEOUT_EVENTID, WMI_NEIGHBOR_REPORT_EVENTID,
  WMI_TKIP_MICERR_EVENTID, WMI_SCAN_COMPLETE_EVENTID, WMI_REPORT_STATISTICS_EVENTID, WMI_RSSI_THRESHOLD_EVENTID,
  WMI_ERROR_REPORT_EVENTID, WMI_OPT_RX_FRAME_EVENTID, WMI_REPORT_ROAM_TBL_EVENTID, WMI_EXTENSION_EVENTID,
  WMI_CAC_EVENTID, WMI_SNR_THRESHOLD_EVENTID, WMI_LQ_THRESHOLD_EVENTID, WMI_TX_RETRY_ERR_EVENTID,
  WMI_REPORT_ROAM_DATA_EVENTID, WMI_TEST_EVENTID, WMI_APLIST_EVENTID, WMI_GET_WOW_LIST_EVENTID,
  WMI_GET_PMKID_LIST_EVENTID, WMI_CHANNEL_CHANGE_EVENTID, WMI_PEER_NODE_EVENTID, WMI_PSPOLL_EVENTID,
  WMI_DTIMEXPIRY_EVENTID, WMI_WLAN_VERSION_EVENTID, WMI_SET_PARAMS_REPLY_EVENTID, WMI_ADDBA_REQ_EVENTID,
  WMI_ADDBA_RESP_EVENTID, WMI_DELBA_REQ_EVENTID, WMI_TX_COMPLETE_EVENTID, WMI_HCI_EVENT_EVENTID,
  WMI_ACL_DATA_EVENTID, WMI_REPORT_SLEEP_STATE_EVENTID, WMI_REPORT_BTCOEX_STATS_EVENTID, WMI_REPORT_BTCOEX_CONFIG_EVENTID,
  WMI_GET_PMK_EVENTID, WMI_DFS_HOST_ATTACH_EVENTID, WMI_DFS_HOST_INIT_EVENTID, WMI_DFS_RESET_DELAYLINES_EVENTID,
  WMI_DFS_RESET_RADARQ_EVENTID, WMI_DFS_RESET_AR_EVENTID, WMI_DFS_RESET_ARQ_EVENTID, WMI_DFS_SET_DUR_MULTIPLIER_EVENTID,
  WMI_DFS_SET_BANGRADAR_EVENTID, WMI_DFS_SET_DEBUGLEVEL_EVENTID, WMI_DFS_PHYERR_EVENTID, WMI_CCX_RM_STATUS_EVENTID,
  WMI_P2P_GO_NEG_RESULT_EVENTID, WMI_WAC_SCAN_DONE_EVENTID, WMI_WAC_REPORT_BSS_EVENTID, WMI_WAC_START_WPS_EVENTID,
  WMI_WAC_CTRL_REQ_REPLY_EVENTID, WMI_REPORT_WMM_PARAMS_EVENTID, WMI_WAC_REJECT_WPS_EVENTID, WMI_P2P_GO_NEG_REQ_EVENTID,
  WMI_P2P_INVITE_REQ_EVENTID, WMI_P2P_INVITE_RCVD_RESULT_EVENTID, WMI_P2P_INVITE_SENT_RESULT_EVENTID, WMI_P2P_PROV_DISC_RESP_EVENTID,
  WMI_P2P_PROV_DISC_REQ_EVENTID, WMI_RFKILL_STATE_CHANGE_EVENTID, WMI_RFKILL_GET_MODE_CMD_EVENTID, WMI_P2P_START_SDPD_EVENTID,
  WMI_P2P_SDPD_RX_EVENTID, WMI_SET_HOST_SLEEP_MODE_CMD_PROCESSED_EVENTID = 0x1047, WMI_THIN_RESERVED_START_EVENTID = 0x8000, WMI_THIN_RESERVED_END_EVENTID = 0x8fff,
  WMI_SET_CHANNEL_EVENTID, WMI_ASSOC_REQ_EVENTID, WMI_ACS_EVENTID, WMI_STORERECALL_STORE_EVENTID,
  WMI_WOW_EXT_WAKE_EVENTID, WMI_GTK_OFFLOAD_STATUS_EVENTID, WMI_NETWORK_LIST_OFFLOAD_EVENTID, WMI_REMAIN_ON_CHNL_EVENTID,
  WMI_CANCEL_REMAIN_ON_CHNL_EVENTID, WMI_TX_STATUS_EVENTID, WMI_RX_PROBE_REQ_EVENTID, WMI_P2P_CAPABILITIES_EVENTID,
  WMI_RX_ACTION_EVENTID, WMI_P2P_INFO_EVENTID, WMI_TGT_RDY_EVENTID = 0x1001, WMI_SWBA_EVENTID,
  WMI_FATAL_EVENTID, WMI_TXTO_EVENTID, WMI_BMISS_EVENTID, WMI_DELBA_EVENTID,
  WMI_TXSTATUS_EVENTID
}
 
enum  wmi_phy_cap {
  WMI_11A_CAP = 0x01, WMI_11G_CAP = 0x02, WMI_11AG_CAP = 0x03, WMI_11AN_CAP = 0x04,
  WMI_11GN_CAP = 0x05, WMI_11AGN_CAP = 0x06
}
 
enum  wmi_disconnect_reason {
  NO_NETWORK_AVAIL = 0x01, LOST_LINK = 0x02, DISCONNECT_CMD = 0x03, BSS_DISCONNECTED = 0x04,
  AUTH_FAILED = 0x05, ASSOC_FAILED = 0x06, NO_RESOURCES_AVAIL = 0x07, CSERV_DISCONNECT = 0x08,
  INVALID_PROFILE = 0x0a, DOT11H_CHANNEL_SWITCH = 0x0b, PROFILE_MISMATCH = 0x0c, CONNECTION_EVICTED = 0x0d,
  IBSS_MERGE = 0xe
}
 
enum  ap_disconnect_reason {
  WMI_AP_REASON_STA_LEFT = 101, WMI_AP_REASON_FROM_HOST = 102, WMI_AP_REASON_COMM_TIMEOUT = 103, WMI_AP_REASON_MAX_STA = 104,
  WMI_AP_REASON_ACL = 105, WMI_AP_REASON_STA_ROAM = 106, WMI_AP_REASON_DFS_CHANNEL = 107
}
 
enum  wmi_bi_ftype { BEACON_FTYPE = 0x1, PROBERESP_FTYPE, ACTION_MGMT_FTYPE, PROBEREQ_FTYPE }
 
enum  wmi_roam_ctrl { WMI_FORCE_ROAM = 1, WMI_SET_ROAM_MODE, WMI_SET_HOST_BIAS, WMI_SET_LRSSI_SCAN_PARAMS }
 
enum  wmi_roam_mode { WMI_DEFAULT_ROAM_MODE = 1, WMI_HOST_BIAS_ROAM_MODE = 2, WMI_LOCK_BSS_MODE = 3 }
 
enum  wmi_error_code { INVALID_PARAM = 0x01, ILLEGAL_STATE = 0x02, INTERNAL_ERROR = 0x03 }
 
enum  wmi_bss_flags { WMI_DEFAULT_BSS_FLAGS = 0x00, WMI_PREAUTH_CAPABLE_BSS = 0x01, WMI_PMKID_VALID_BSS = 0x02 }
 
enum  wmi_scan_status { WMI_SCAN_STATUS_SUCCESS = 0 }
 
enum  wmi_rssi_threshold_val {
  WMI_RSSI_THRESHOLD1_ABOVE = 0, WMI_RSSI_THRESHOLD2_ABOVE, WMI_RSSI_THRESHOLD3_ABOVE, WMI_RSSI_THRESHOLD4_ABOVE,
  WMI_RSSI_THRESHOLD5_ABOVE, WMI_RSSI_THRESHOLD6_ABOVE, WMI_RSSI_THRESHOLD1_BELOW, WMI_RSSI_THRESHOLD2_BELOW,
  WMI_RSSI_THRESHOLD3_BELOW, WMI_RSSI_THRESHOLD4_BELOW, WMI_RSSI_THRESHOLD5_BELOW, WMI_RSSI_THRESHOLD6_BELOW
}
 
enum  wmi_snr_threshold_val {
  WMI_SNR_THRESHOLD1_ABOVE = 1, WMI_SNR_THRESHOLD1_BELOW, WMI_SNR_THRESHOLD2_ABOVE, WMI_SNR_THRESHOLD2_BELOW,
  WMI_SNR_THRESHOLD3_ABOVE, WMI_SNR_THRESHOLD3_BELOW, WMI_SNR_THRESHOLD4_ABOVE, WMI_SNR_THRESHOLD4_BELOW
}
 
enum  cac_indication { CAC_INDICATION_ADMISSION = 0x00, CAC_INDICATION_ADMISSION_RESP = 0x01, CAC_INDICATION_DELETE = 0x02, CAC_INDICATION_NO_RESP = 0x03 }
 
enum  aplist_ver { APLIST_VER1 = 1 }
 
enum  wmi_bit_rate {
  RATE_AUTO = -1, RATE_1Mb = 0, RATE_2Mb = 1, RATE_5_5Mb = 2,
  RATE_11Mb = 3, RATE_6Mb = 4, RATE_9Mb = 5, RATE_12Mb = 6,
  RATE_18Mb = 7, RATE_24Mb = 8, RATE_36Mb = 9, RATE_48Mb = 10,
  RATE_54Mb = 11, RATE_MCS_0_20 = 12, RATE_MCS_1_20 = 13, RATE_MCS_2_20 = 14,
  RATE_MCS_3_20 = 15, RATE_MCS_4_20 = 16, RATE_MCS_5_20 = 17, RATE_MCS_6_20 = 18,
  RATE_MCS_7_20 = 19, RATE_MCS_0_40 = 20, RATE_MCS_1_40 = 21, RATE_MCS_2_40 = 22,
  RATE_MCS_3_40 = 23, RATE_MCS_4_40 = 24, RATE_MCS_5_40 = 25, RATE_MCS_6_40 = 26,
  RATE_MCS_7_40 = 27
}
 
enum  roam_data_type { ROAM_DATA_TIME = 1 }
 
enum  wmi_txop_cfg { WMI_TXOP_DISABLED = 0, WMI_TXOP_ENABLED }
 
enum  ath6kl_wow_filters {
  WOW_FILTER_SSID = BIT(1), WOW_FILTER_OPTION_MAGIC_PACKET = BIT(2), WOW_FILTER_OPTION_EAP_REQ = BIT(3), WOW_FILTER_OPTION_PATTERNS = BIT(4),
  WOW_FILTER_OPTION_OFFLOAD_ARP = BIT(5), WOW_FILTER_OPTION_OFFLOAD_NS = BIT(6), WOW_FILTER_OPTION_OFFLOAD_GTK = BIT(7), WOW_FILTER_OPTION_8021X_4WAYHS = BIT(8),
  WOW_FILTER_OPTION_NLO_DISCVRY = BIT(9), WOW_FILTER_OPTION_NWK_DISASSOC = BIT(10), WOW_FILTER_OPTION_GTK_ERROR = BIT(11), WOW_FILTER_OPTION_TEST_MODE = BIT(15)
}
 
enum  ath6kl_host_mode { ATH6KL_HOST_MODE_AWAKE, ATH6KL_HOST_MODE_ASLEEP }
 
enum  ath6kl_wow_mode { ATH6KL_WOW_MODE_DISABLE, ATH6KL_WOW_MODE_ENABLE }
 
enum  wmi_ap_apsd_buffered_traffic_flags { WMI_AP_APSD_NO_DELIVERY_FRAMES = 0x1 }
 
enum  wmix_command_id {
  WMIX_DSETOPEN_REPLY_CMDID = 0x2001, WMIX_DSETDATA_REPLY_CMDID, WMIX_GPIO_OUTPUT_SET_CMDID, WMIX_GPIO_INPUT_GET_CMDID,
  WMIX_GPIO_REGISTER_SET_CMDID, WMIX_GPIO_REGISTER_GET_CMDID, WMIX_GPIO_INTR_ACK_CMDID, WMIX_HB_CHALLENGE_RESP_CMDID,
  WMIX_DBGLOG_CFG_MODULE_CMDID, WMIX_PROF_CFG_CMDID, WMIX_PROF_ADDR_SET_CMDID, WMIX_PROF_START_CMDID,
  WMIX_PROF_STOP_CMDID, WMIX_PROF_COUNT_GET_CMDID
}
 
enum  wmix_event_id {
  WMIX_DSETOPENREQ_EVENTID = 0x3001, WMIX_DSETCLOSE_EVENTID, WMIX_DSETDATAREQ_EVENTID, WMIX_GPIO_INTR_EVENTID,
  WMIX_GPIO_DATA_EVENTID, WMIX_GPIO_ACK_EVENTID, WMIX_HB_CHALLENGE_RESP_EVENTID, WMIX_DBGLOG_EVENTID,
  WMIX_PROF_COUNT_EVENTID
}
 
enum  wmi_sync_flag {
  NO_SYNC_WMIFLAG = 0, SYNC_BEFORE_WMIFLAG, SYNC_AFTER_WMIFLAG, SYNC_BOTH_WMIFLAG,
  END_WMIFLAG
}
 

Functions

enum htc_endpoint_id ath6kl_wmi_get_control_ep (struct wmi *wmi)
 
void ath6kl_wmi_set_control_ep (struct wmi *wmi, enum htc_endpoint_id ep_id)
 
int ath6kl_wmi_dix_2_dot3 (struct wmi *wmi, struct sk_buff *skb)
 
int ath6kl_wmi_data_hdr_add (struct wmi *wmi, struct sk_buff *skb, u8 msg_type, u32 flags, enum wmi_data_hdr_data_type data_type, u8 meta_ver, void *tx_meta_info, u8 if_idx)
 
int ath6kl_wmi_dot11_hdr_remove (struct wmi *wmi, struct sk_buff *skb)
 
int ath6kl_wmi_dot3_2_dix (struct sk_buff *skb)
 
int ath6kl_wmi_implicit_create_pstream (struct wmi *wmi, u8 if_idx, struct sk_buff *skb, u32 layer2_priority, bool wmm_enabled, u8 *ac)
 
int ath6kl_wmi_control_rx (struct wmi *wmi, struct sk_buff *skb)
 
int ath6kl_wmi_cmd_send (struct wmi *wmi, u8 if_idx, struct sk_buff *skb, enum wmi_cmd_id cmd_id, enum wmi_sync_flag sync_flag)
 
int ath6kl_wmi_connect_cmd (struct wmi *wmi, u8 if_idx, enum network_type nw_type, enum dot11_auth_mode dot11_auth_mode, enum auth_mode auth_mode, enum crypto_type pairwise_crypto, u8 pairwise_crypto_len, enum crypto_type group_crypto, u8 group_crypto_len, int ssid_len, u8 *ssid, u8 *bssid, u16 channel, u32 ctrl_flags, u8 nw_subtype)
 
int ath6kl_wmi_reconnect_cmd (struct wmi *wmi, u8 if_idx, u8 *bssid, u16 channel)
 
int ath6kl_wmi_disconnect_cmd (struct wmi *wmi, u8 if_idx)
 
int ath6kl_wmi_startscan_cmd (struct wmi *wmi, u8 if_idx, enum wmi_scan_type scan_type, u32 force_fgscan, u32 is_legacy, u32 home_dwell_time, u32 force_scan_interval, s8 num_chan, u16 *ch_list)
 
int ath6kl_wmi_beginscan_cmd (struct wmi *wmi, u8 if_idx, enum wmi_scan_type scan_type, u32 force_fgscan, u32 is_legacy, u32 home_dwell_time, u32 force_scan_interval, s8 num_chan, u16 *ch_list, u32 no_cck, u32 *rates)
 
int ath6kl_wmi_scanparams_cmd (struct wmi *wmi, u8 if_idx, u16 fg_start_sec, u16 fg_end_sec, u16 bg_sec, u16 minact_chdw_msec, u16 maxact_chdw_msec, u16 pas_chdw_msec, u8 short_scan_ratio, u8 scan_ctrl_flag, u32 max_dfsch_act_time, u16 maxact_scan_per_ssid)
 
int ath6kl_wmi_bssfilter_cmd (struct wmi *wmi, u8 if_idx, u8 filter, u32 ie_mask)
 
int ath6kl_wmi_probedssid_cmd (struct wmi *wmi, u8 if_idx, u8 index, u8 flag, u8 ssid_len, u8 *ssid)
 
int ath6kl_wmi_listeninterval_cmd (struct wmi *wmi, u8 if_idx, u16 listen_interval, u16 listen_beacons)
 
int ath6kl_wmi_bmisstime_cmd (struct wmi *wmi, u8 if_idx, u16 bmiss_time, u16 num_beacons)
 
int ath6kl_wmi_powermode_cmd (struct wmi *wmi, u8 if_idx, u8 pwr_mode)
 
int ath6kl_wmi_pmparams_cmd (struct wmi *wmi, u8 if_idx, u16 idle_period, u16 ps_poll_num, u16 dtim_policy, u16 tx_wakup_policy, u16 num_tx_to_wakeup, u16 ps_fail_event_policy)
 
int ath6kl_wmi_create_pstream_cmd (struct wmi *wmi, u8 if_idx, struct wmi_create_pstream_cmd *pstream)
 
int ath6kl_wmi_delete_pstream_cmd (struct wmi *wmi, u8 if_idx, u8 traffic_class, u8 tsid)
 
int ath6kl_wmi_disctimeout_cmd (struct wmi *wmi, u8 if_idx, u8 timeout)
 
int ath6kl_wmi_set_rts_cmd (struct wmi *wmi, u16 threshold)
 
int ath6kl_wmi_set_lpreamble_cmd (struct wmi *wmi, u8 if_idx, u8 status, u8 preamble_policy)
 
int ath6kl_wmi_get_challenge_resp_cmd (struct wmi *wmi, u32 cookie, u32 source)
 
int ath6kl_wmi_config_debug_module_cmd (struct wmi *wmi, u32 valid, u32 config)
 
int ath6kl_wmi_get_stats_cmd (struct wmi *wmi, u8 if_idx)
 
int ath6kl_wmi_addkey_cmd (struct wmi *wmi, u8 if_idx, u8 key_index, enum crypto_type key_type, u8 key_usage, u8 key_len, u8 *key_rsc, unsigned int key_rsc_len, u8 *key_material, u8 key_op_ctrl, u8 *mac_addr, enum wmi_sync_flag sync_flag)
 
int ath6kl_wmi_add_krk_cmd (struct wmi *wmi, u8 if_idx, u8 *krk)
 
int ath6kl_wmi_deletekey_cmd (struct wmi *wmi, u8 if_idx, u8 key_index)
 
int ath6kl_wmi_setpmkid_cmd (struct wmi *wmi, u8 if_idx, const u8 *bssid, const u8 *pmkid, bool set)
 
int ath6kl_wmi_set_tx_pwr_cmd (struct wmi *wmi, u8 if_idx, u8 dbM)
 
int ath6kl_wmi_get_tx_pwr_cmd (struct wmi *wmi, u8 if_idx)
 
int ath6kl_wmi_get_roam_tbl_cmd (struct wmi *wmi)
 
int ath6kl_wmi_set_wmm_txop (struct wmi *wmi, u8 if_idx, enum wmi_txop_cfg cfg)
 
int ath6kl_wmi_set_keepalive_cmd (struct wmi *wmi, u8 if_idx, u8 keep_alive_intvl)
 
int ath6kl_wmi_set_htcap_cmd (struct wmi *wmi, u8 if_idx, enum ieee80211_band band, struct ath6kl_htcap *htcap)
 
int ath6kl_wmi_test_cmd (struct wmi *wmi, void *buf, size_t len)
 
s32 ath6kl_wmi_get_rate (s8 rate_index)
 
int ath6kl_wmi_set_ip_cmd (struct wmi *wmi, u8 if_idx, __be32 ips0, __be32 ips1)
 
int ath6kl_wmi_set_host_sleep_mode_cmd (struct wmi *wmi, u8 if_idx, enum ath6kl_host_mode host_mode)
 
int ath6kl_wmi_set_bitrate_mask (struct wmi *wmi, u8 if_idx, const struct cfg80211_bitrate_mask *mask)
 
int ath6kl_wmi_set_wow_mode_cmd (struct wmi *wmi, u8 if_idx, enum ath6kl_wow_mode wow_mode, u32 filter, u16 host_req_delay)
 
int ath6kl_wmi_add_wow_pattern_cmd (struct wmi *wmi, u8 if_idx, u8 list_id, u8 filter_size, u8 filter_offset, const u8 *filter, const u8 *mask)
 
int ath6kl_wmi_del_wow_pattern_cmd (struct wmi *wmi, u8 if_idx, u16 list_id, u16 filter_id)
 
int ath6kl_wmi_set_roam_lrssi_cmd (struct wmi *wmi, u8 lrssi)
 
int ath6kl_wmi_ap_set_dtim_cmd (struct wmi *wmi, u8 if_idx, u32 dtim_period)
 
int ath6kl_wmi_force_roam_cmd (struct wmi *wmi, const u8 *bssid)
 
int ath6kl_wmi_set_roam_mode_cmd (struct wmi *wmi, enum wmi_roam_mode mode)
 
int ath6kl_wmi_mcast_filter_cmd (struct wmi *wmi, u8 if_idx, bool mc_all_on)
 
int ath6kl_wmi_add_del_mcast_filter_cmd (struct wmi *wmi, u8 if_idx, u8 *filter, bool add_filter)
 
int ath6kl_wmi_sta_bmiss_enhance_cmd (struct wmi *wmi, u8 if_idx, bool enable)
 
int ath6kl_wmi_ap_set_apsd (struct wmi *wmi, u8 if_idx, u8 enable)
 
int ath6kl_wmi_set_apsd_bfrd_traf (struct wmi *wmi, u8 if_idx, u16 aid, u16 bitmap, u32 flags)
 
u8 ath6kl_wmi_get_traffic_class (u8 user_priority)
 
u8 ath6kl_wmi_determine_user_priority (u8 *pkt, u32 layer2_pri)
 
int ath6kl_wmi_ap_hidden_ssid (struct wmi *wmi, u8 if_idx, bool enable)
 
int ath6kl_wmi_ap_profile_commit (struct wmi *wmip, u8 if_idx, struct wmi_connect_cmd *p)
 
int ath6kl_wmi_ap_set_mlme (struct wmi *wmip, u8 if_idx, u8 cmd, const u8 *mac, u16 reason)
 
int ath6kl_wmi_set_pvb_cmd (struct wmi *wmi, u8 if_idx, u16 aid, bool flag)
 
int ath6kl_wmi_set_rx_frame_format_cmd (struct wmi *wmi, u8 if_idx, u8 rx_meta_version, bool rx_dot11_hdr, bool defrag_on_host)
 
int ath6kl_wmi_set_appie_cmd (struct wmi *wmi, u8 if_idx, u8 mgmt_frm_type, const u8 *ie, u8 ie_len)
 
int ath6kl_wmi_set_ie_cmd (struct wmi *wmi, u8 if_idx, u8 ie_id, u8 ie_field, const u8 *ie_info, u8 ie_len)
 
int ath6kl_wmi_disable_11b_rates_cmd (struct wmi *wmi, bool disable)
 
int ath6kl_wmi_remain_on_chnl_cmd (struct wmi *wmi, u8 if_idx, u32 freq, u32 dur)
 
int ath6kl_wmi_send_mgmt_cmd (struct wmi *wmi, u8 if_idx, u32 id, u32 freq, u32 wait, const u8 *data, u16 data_len, u32 no_cck)
 
int ath6kl_wmi_send_probe_response_cmd (struct wmi *wmi, u8 if_idx, u32 freq, const u8 *dst, const u8 *data, u16 data_len)
 
int ath6kl_wmi_probe_report_req_cmd (struct wmi *wmi, u8 if_idx, bool enable)
 
int ath6kl_wmi_info_req_cmd (struct wmi *wmi, u8 if_idx, u32 info_req_flags)
 
int ath6kl_wmi_cancel_remain_on_chnl_cmd (struct wmi *wmi, u8 if_idx)
 
int ath6kl_wmi_set_inact_period (struct wmi *wmi, u8 if_idx, int inact_timeout)
 
void ath6kl_wmi_sscan_timer (unsigned long ptr)
 
struct ath6kl_vifath6kl_get_vif_by_index (struct ath6kl *ar, u8 if_idx)
 
voidath6kl_wmi_init (struct ath6kl *devt)
 
void ath6kl_wmi_shutdown (struct wmi *wmi)
 
void ath6kl_wmi_reset (struct wmi *wmi)
 

Variables

struct host_app_area __packed
 

Macro Definition Documentation

#define A_BAND_24GHZ   0

Definition at line 49 of file wmi.h.

#define A_BAND_5GHZ   1

Definition at line 50 of file wmi.h.

#define A_NUM_BANDS   2

Definition at line 51 of file wmi.h.

#define AP_MAX_NUM_STA   10

Definition at line 2188 of file wmi.h.

#define ATH6KL_CIPHER_AES_CCM   3

Definition at line 693 of file wmi.h.

#define ATH6KL_CIPHER_AES_OCB   2

Definition at line 692 of file wmi.h.

#define ATH6KL_CIPHER_CCKM_KRK   6

Definition at line 695 of file wmi.h.

#define ATH6KL_CIPHER_CKIP   5

Definition at line 694 of file wmi.h.

#define ATH6KL_CIPHER_NONE   7 /* pseudo value */

Definition at line 696 of file wmi.h.

#define ATH6KL_CIPHER_TKIP   1

Definition at line 691 of file wmi.h.

#define ATH6KL_CIPHER_WEP   0

Definition at line 690 of file wmi.h.

#define ATH6KL_COUNTRY_RD_SHIFT   16

Definition at line 1540 of file wmi.h.

#define ATH6KL_MCAST_FILTER_MAC_ADDR_SIZE   6

Definition at line 1323 of file wmi.h.

#define ATH6KL_RATE_MAXSIZE   15 /* max rates we'll handle */

Definition at line 701 of file wmi.h.

#define ATH_OUI_TYPE   0x01

Definition at line 703 of file wmi.h.

#define DEF_AP_COUNTRY_CODE   "US "

Definition at line 2193 of file wmi.h.

#define DEF_LRSSI_ROAM_FLOOR   60

Definition at line 1575 of file wmi.h.

#define DEF_LRSSI_ROAM_THRESHOLD   20

Definition at line 1574 of file wmi.h.

#define DEF_LRSSI_SCAN_PERIOD   5

Definition at line 1573 of file wmi.h.

#define DEF_SCAN_FOR_ROAM_INTVL   2

Definition at line 1576 of file wmi.h.

#define HTC_PROTOCOL_VERSION   0x0002

Definition at line 32 of file wmi.h.

#define IP_ETHERTYPE   0x0800

Definition at line 37 of file wmi.h.

#define is_ethertype (   type_or_len)    ((type_or_len) >= 0x0600)

Definition at line 35 of file wmi.h.

#define KEY_OP_INIT_RSC   0x02

Definition at line 760 of file wmi.h.

#define KEY_OP_INIT_TSC   0x01

Definition at line 759 of file wmi.h.

#define KEY_OP_INIT_VAL   0x03

Definition at line 763 of file wmi.h.

#define KEY_OP_VALID_MASK   0x03

Definition at line 764 of file wmi.h.

#define MAC_MAX_FILTERS_PER_LIST   4

Definition at line 2024 of file wmi.h.

#define MAX_IP_ADDRS   2

Definition at line 2035 of file wmi.h.

#define MAX_OPT_DATA_LEN   1400

Definition at line 1695 of file wmi.h.

#define MAX_PROBED_SSIDS   16

Definition at line 988 of file wmi.h.

#define MAX_ROAM_TBL_CAND   5

Definition at line 1855 of file wmi.h.

#define MCAST_AID   0xFF

Definition at line 2191 of file wmi.h.

#define P2P_FLAG_CAPABILITIES_REQ   (0x00000001)

Definition at line 2362 of file wmi.h.

#define P2P_FLAG_HMODEL_REQ   (0x00000002)

Definition at line 2364 of file wmi.h.

#define P2P_FLAG_MACADDR_REQ   (0x00000002)

Definition at line 2363 of file wmi.h.

#define PEER_FIRST_NODE_JOIN_EVENT   0x10

Definition at line 2136 of file wmi.h.

#define PEER_LAST_NODE_LEAVE_EVENT   0x11

Definition at line 2137 of file wmi.h.

#define PEER_NODE_JOIN_EVENT   0x00

Definition at line 2134 of file wmi.h.

#define PEER_NODE_LEAVE_EVENT   0x01

Definition at line 2135 of file wmi.h.

#define SIG_QUALITY_LOWER_THRESH_LVLS   SIG_QUALITY_THRESH_LVLS

Definition at line 47 of file wmi.h.

#define SIG_QUALITY_THRESH_LVLS   6

Definition at line 45 of file wmi.h.

#define SIG_QUALITY_UPPER_THRESH_LVLS   SIG_QUALITY_THRESH_LVLS

Definition at line 46 of file wmi.h.

#define SSID_IE_LEN_INDEX   13

Definition at line 42 of file wmi.h.

#define TX_COMPLETE_STATUS_NOLINK   2

Definition at line 2150 of file wmi.h.

#define TX_COMPLETE_STATUS_OTHER   4

Definition at line 2152 of file wmi.h.

#define TX_COMPLETE_STATUS_RETRIES   1

Definition at line 2149 of file wmi.h.

#define TX_COMPLETE_STATUS_SUCCESS   0

Definition at line 2148 of file wmi.h.

#define TX_COMPLETE_STATUS_TIMEOUT   3

Definition at line 2151 of file wmi.h.

#define WMI_AP_DEAUTH   3 /* deauthenticate station */

Definition at line 2204 of file wmi.h.

#define WMI_AP_DISASSOC   2 /* disassociate station */

Definition at line 2203 of file wmi.h.

#define WMI_AP_MLME_ASSOC   1 /* associate station */

Definition at line 2202 of file wmi.h.

#define WMI_AP_MLME_AUTHORIZE   4 /* authorize station */

Definition at line 2205 of file wmi.h.

#define WMI_AP_MLME_UNAUTHORIZE   5 /* unauthorize station */

Definition at line 2206 of file wmi.h.

#define WMI_CMD_HDR_IF_ID_MASK   0xF

Definition at line 326 of file wmi.h.

#define WMI_CONTROL_MSG_MAX_LEN   256

Definition at line 34 of file wmi.h.

#define WMI_DATA_HDR_AMSDU_MASK   0x1

Definition at line 181 of file wmi.h.

#define WMI_DATA_HDR_AMSDU_SHIFT   12

Definition at line 182 of file wmi.h.

#define WMI_DATA_HDR_DATA_TYPE_MASK   0x3

Definition at line 174 of file wmi.h.

#define WMI_DATA_HDR_DATA_TYPE_SHIFT   6

Definition at line 175 of file wmi.h.

#define WMI_DATA_HDR_EOSP   0x10

Definition at line 194 of file wmi.h.

#define WMI_DATA_HDR_IF_IDX_MASK   0xF

Definition at line 191 of file wmi.h.

#define WMI_DATA_HDR_META_MASK   0x7

Definition at line 184 of file wmi.h.

#define WMI_DATA_HDR_META_SHIFT   13

Definition at line 185 of file wmi.h.

#define WMI_DATA_HDR_MORE   0x20

Definition at line 157 of file wmi.h.

#define WMI_DATA_HDR_MSG_TYPE_MASK   0x03

Definition at line 146 of file wmi.h.

#define WMI_DATA_HDR_MSG_TYPE_SHIFT   0

Definition at line 147 of file wmi.h.

#define WMI_DATA_HDR_PAD_BEFORE_DATA_MASK   0xFF

Definition at line 187 of file wmi.h.

#define WMI_DATA_HDR_PAD_BEFORE_DATA_SHIFT   0x8

Definition at line 188 of file wmi.h.

#define WMI_DATA_HDR_PS_MASK   0x1

Definition at line 154 of file wmi.h.

#define WMI_DATA_HDR_PS_SHIFT   5

Definition at line 155 of file wmi.h.

#define WMI_DATA_HDR_SEQNO_MASK   0xFFF

Definition at line 178 of file wmi.h.

#define WMI_DATA_HDR_SEQNO_SHIFT   0

Definition at line 179 of file wmi.h.

#define WMI_DATA_HDR_TRIG   0x10

Definition at line 193 of file wmi.h.

#define WMI_DATA_HDR_UP_MASK   0x07

Definition at line 148 of file wmi.h.

#define WMI_DATA_HDR_UP_SHIFT   2

Definition at line 149 of file wmi.h.

#define WMI_IMPLICIT_PSTREAM   0xFF

Definition at line 39 of file wmi.h.

#define WMI_IMPLICIT_PSTREAM_INACTIVITY_INT   5000

Definition at line 54 of file wmi.h.

#define WMI_KRK_LEN   16

Definition at line 791 of file wmi.h.

#define WMI_MAX_CHANNELS   32

Definition at line 1204 of file wmi.h.

#define WMI_MAX_KEY_INDEX   3

Definition at line 681 of file wmi.h.

#define WMI_MAX_KEY_LEN   32

Definition at line 683 of file wmi.h.

#define WMI_MAX_THINSTREAM   15

Definition at line 40 of file wmi.h.

#define WMI_MAX_TX_META_SZ   12

Definition at line 275 of file wmi.h.

#define WMI_META_V2_FLAG_CSUM_OFFLOAD   0x01

Definition at line 280 of file wmi.h.

#define WMI_META_VERSION_1   0x01

Definition at line 276 of file wmi.h.

#define WMI_META_VERSION_2   0x02

Definition at line 277 of file wmi.h.

#define WMI_PMKID_LEN   16

Definition at line 800 of file wmi.h.

#define WMI_PROTOCOL_VERSION   0x0002

Definition at line 33 of file wmi.h.

#define WMI_VOICE_USER_PRIORITY   0x7

Definition at line 109 of file wmi.h.

#define WMM_AC_BE   0 /* best effort */

Definition at line 104 of file wmi.h.

#define WMM_AC_BK   1 /* background */

Definition at line 105 of file wmi.h.

#define WMM_AC_VI   2 /* video */

Definition at line 106 of file wmi.h.

#define WMM_AC_VO   3 /* voice */

Definition at line 107 of file wmi.h.

#define WMM_NUM_AC   4

Definition at line 103 of file wmi.h.

#define WMM_OUI_TYPE   0x02

Definition at line 706 of file wmi.h.

#define WMM_PARAM_OUI_SUBTYPE   0x01

Definition at line 705 of file wmi.h.

#define WMM_TSPEC_IE_LEN   63

Definition at line 1884 of file wmi.h.

#define WOW_MASK_SIZE   64

Definition at line 2022 of file wmi.h.

#define WOW_MAX_FILTERS_PER_LIST   4

Definition at line 2020 of file wmi.h.

#define WOW_PATTERN_SIZE   64

Definition at line 2021 of file wmi.h.

#define WPA_OUI_TYPE   0x01

Definition at line 704 of file wmi.h.

#define WSC_OUT_TYPE   0x04

Definition at line 707 of file wmi.h.

#define WSC_REG_ACTIVE   1

Definition at line 2017 of file wmi.h.

#define WSC_REG_INACTIVE   0

Definition at line 2018 of file wmi.h.

Typedef Documentation

Definition at line 63 of file wmi.h.

Definition at line 64 of file wmi.h.

Enumeration Type Documentation

Enumerator:
WMI_AP_REASON_STA_LEFT 
WMI_AP_REASON_FROM_HOST 
WMI_AP_REASON_COMM_TIMEOUT 
WMI_AP_REASON_MAX_STA 
WMI_AP_REASON_ACL 
WMI_AP_REASON_STA_ROAM 
WMI_AP_REASON_DFS_CHANNEL 

Definition at line 1530 of file wmi.h.

enum aplist_ver
Enumerator:
APLIST_VER1 

Definition at line 1895 of file wmi.h.

Enumerator:
ATH6KL_HOST_MODE_AWAKE 
ATH6KL_HOST_MODE_ASLEEP 

Definition at line 2057 of file wmi.h.

Enumerator:
WOW_FILTER_SSID 
WOW_FILTER_OPTION_MAGIC_PACKET 
WOW_FILTER_OPTION_EAP_REQ 
WOW_FILTER_OPTION_PATTERNS 
WOW_FILTER_OPTION_OFFLOAD_ARP 
WOW_FILTER_OPTION_OFFLOAD_NS 
WOW_FILTER_OPTION_OFFLOAD_GTK 
WOW_FILTER_OPTION_8021X_4WAYHS 
WOW_FILTER_OPTION_NLO_DISCVRY 
WOW_FILTER_OPTION_NWK_DISASSOC 
WOW_FILTER_OPTION_GTK_ERROR 
WOW_FILTER_OPTION_TEST_MODE 

Definition at line 2042 of file wmi.h.

Enumerator:
ATH6KL_WOW_MODE_DISABLE 
ATH6KL_WOW_MODE_ENABLE 

Definition at line 2067 of file wmi.h.

enum auth_mode
Enumerator:
NONE_AUTH 
WPA_AUTH 
WPA2_AUTH 
WPA_PSK_AUTH 
WPA2_PSK_AUTH 
WPA_AUTH_CCKM 
WPA2_AUTH_CCKM 

Definition at line 671 of file wmi.h.

Enumerator:
CAC_INDICATION_ADMISSION 
CAC_INDICATION_ADMISSION_RESP 
CAC_INDICATION_DELETE 
CAC_INDICATION_NO_RESP 

Definition at line 1877 of file wmi.h.

enum dir_type
Enumerator:
UPLINK_TRAFFIC 
DNLINK_TRAFFIC 
BIDIR_TRAFFIC 

Definition at line 1102 of file wmi.h.

Enumerator:
OPEN_AUTH 
SHARED_AUTH 
LEAP_AUTH 

Definition at line 663 of file wmi.h.

enum key_usage
Enumerator:
PAIRWISE_USAGE 
GROUP_USAGE 
TX_USAGE 

Definition at line 747 of file wmi.h.

Enumerator:
SUBTYPE_NONE 
SUBTYPE_BT 
SUBTYPE_P2PDEV 
SUBTYPE_P2PCLIENT 
SUBTYPE_P2PGO 

Definition at line 655 of file wmi.h.

Enumerator:
INFRA_NETWORK 
ADHOC_NETWORK 
ADHOC_CREATOR 
AP_NETWORK 

Definition at line 648 of file wmi.h.

Enumerator:
PMKID_DISABLE 
PMKID_ENABLE 

Definition at line 802 of file wmi.h.

Enumerator:
SEND_POWER_SAVE_FAIL_EVENT_ALWAYS 
IGNORE_PS_FAIL_DURING_SCAN 

Definition at line 1050 of file wmi.h.

Enumerator:
ROAM_DATA_TIME 

Definition at line 1968 of file wmi.h.

Enumerator:
DISCONN_EVT_IN_RECONN 
NO_DISCONN_EVT_IN_RECONN 

Definition at line 1312 of file wmi.h.

Enumerator:
LLFC_TRAFFIC_TYPE_NW 
LLFC_TRAFFIC_TYPE_FCOE 
LLFC_TRAFFIC_TYPE_ISCSI 
MAX_TRAFFIC_TYPE 
TRAFFIC_TYPE_APERIODIC 
TRAFFIC_TYPE_PERIODIC 

Definition at line 1114 of file wmi.h.

Enumerator:
DISABLE_FOR_THIS_AC 
ENABLE_FOR_THIS_AC 
ENABLE_FOR_ALL_AC 

Definition at line 1108 of file wmi.h.

Enumerator:
WMI_AP_APSD_NO_DELIVERY_FRAMES 

Definition at line 2254 of file wmi.h.

Enumerator:
BEACON_FTYPE 
PROBERESP_FTYPE 
ACTION_MGMT_FTYPE 
PROBEREQ_FTYPE 

Definition at line 1566 of file wmi.h.

Enumerator:
RATE_AUTO 
RATE_1Mb 
RATE_2Mb 
RATE_5_5Mb 
RATE_11Mb 
RATE_6Mb 
RATE_9Mb 
RATE_12Mb 
RATE_18Mb 
RATE_24Mb 
RATE_36Mb 
RATE_48Mb 
RATE_54Mb 
RATE_MCS_0_20 
RATE_MCS_1_20 
RATE_MCS_2_20 
RATE_MCS_3_20 
RATE_MCS_4_20 
RATE_MCS_5_20 
RATE_MCS_6_20 
RATE_MCS_7_20 
RATE_MCS_0_40 
RATE_MCS_1_40 
RATE_MCS_2_40 
RATE_MCS_3_40 
RATE_MCS_4_40 
RATE_MCS_5_40 
RATE_MCS_6_40 
RATE_MCS_7_40 

Definition at line 1921 of file wmi.h.

Enumerator:
NONE_BSS_FILTER 
ALL_BSS_FILTER 
PROFILE_FILTER 
ALL_BUT_PROFILE_FILTER 
CURRENT_BSS_FILTER 
ALL_BUT_BSS_FILTER 
PROBED_SSID_FILTER 
MATCHED_SSID_FILTER 
LAST_BSS_FILTER 

Definition at line 945 of file wmi.h.

Enumerator:
WMI_DEFAULT_BSS_FLAGS 
WMI_PREAUTH_CAPABLE_BSS 
WMI_PMKID_VALID_BSS 

Definition at line 1664 of file wmi.h.

enum wmi_cmd_id
Enumerator:
WMI_CONNECT_CMDID 
WMI_RECONNECT_CMDID 
WMI_DISCONNECT_CMDID 
WMI_SYNCHRONIZE_CMDID 
WMI_CREATE_PSTREAM_CMDID 
WMI_DELETE_PSTREAM_CMDID 
WMI_START_SCAN_CMDID 
WMI_SET_SCAN_PARAMS_CMDID 
WMI_SET_BSS_FILTER_CMDID 
WMI_SET_PROBED_SSID_CMDID 
WMI_SET_LISTEN_INT_CMDID 
WMI_SET_BMISS_TIME_CMDID 
WMI_SET_DISC_TIMEOUT_CMDID 
WMI_GET_CHANNEL_LIST_CMDID 
WMI_SET_BEACON_INT_CMDID 
WMI_GET_STATISTICS_CMDID 
WMI_SET_CHANNEL_PARAMS_CMDID 
WMI_SET_POWER_MODE_CMDID 
WMI_SET_IBSS_PM_CAPS_CMDID 
WMI_SET_POWER_PARAMS_CMDID 
WMI_SET_POWERSAVE_TIMERS_POLICY_CMDID 
WMI_ADD_CIPHER_KEY_CMDID 
WMI_DELETE_CIPHER_KEY_CMDID 
WMI_ADD_KRK_CMDID 
WMI_DELETE_KRK_CMDID 
WMI_SET_PMKID_CMDID 
WMI_SET_TX_PWR_CMDID 
WMI_GET_TX_PWR_CMDID 
WMI_SET_ASSOC_INFO_CMDID 
WMI_ADD_BAD_AP_CMDID 
WMI_DELETE_BAD_AP_CMDID 
WMI_SET_TKIP_COUNTERMEASURES_CMDID 
WMI_RSSI_THRESHOLD_PARAMS_CMDID 
WMI_TARGET_ERROR_REPORT_BITMASK_CMDID 
WMI_SET_ACCESS_PARAMS_CMDID 
WMI_SET_RETRY_LIMITS_CMDID 
WMI_SET_OPT_MODE_CMDID 
WMI_OPT_TX_FRAME_CMDID 
WMI_SET_VOICE_PKT_SIZE_CMDID 
WMI_SET_MAX_SP_LEN_CMDID 
WMI_SET_ROAM_CTRL_CMDID 
WMI_GET_ROAM_TBL_CMDID 
WMI_GET_ROAM_DATA_CMDID 
WMI_ENABLE_RM_CMDID 
WMI_SET_MAX_OFFHOME_DURATION_CMDID 
WMI_EXTENSION_CMDID 
WMI_SNR_THRESHOLD_PARAMS_CMDID 
WMI_LQ_THRESHOLD_PARAMS_CMDID 
WMI_SET_LPREAMBLE_CMDID 
WMI_SET_RTS_CMDID 
WMI_CLR_RSSI_SNR_CMDID 
WMI_SET_FIXRATES_CMDID 
WMI_GET_FIXRATES_CMDID 
WMI_SET_AUTH_MODE_CMDID 
WMI_SET_REASSOC_MODE_CMDID 
WMI_SET_WMM_CMDID 
WMI_SET_WMM_TXOP_CMDID 
WMI_TEST_CMDID 
WMI_SET_BT_STATUS_CMDID 
WMI_SET_BT_PARAMS_CMDID 
WMI_SET_KEEPALIVE_CMDID 
WMI_GET_KEEPALIVE_CMDID 
WMI_SET_APPIE_CMDID 
WMI_GET_APPIE_CMDID 
WMI_SET_WSC_STATUS_CMDID 
WMI_SET_HOST_SLEEP_MODE_CMDID 
WMI_SET_WOW_MODE_CMDID 
WMI_GET_WOW_LIST_CMDID 
WMI_ADD_WOW_PATTERN_CMDID 
WMI_DEL_WOW_PATTERN_CMDID 
WMI_SET_FRAMERATES_CMDID 
WMI_SET_AP_PS_CMDID 
WMI_SET_QOS_SUPP_CMDID 
WMI_SET_IE_CMDID 
WMI_THIN_RESERVED_START 
WMI_THIN_RESERVED_END 
WMI_SET_BITRATE_CMDID 
WMI_GET_BITRATE_CMDID 
WMI_SET_WHALPARAM_CMDID 
WMI_SET_MAC_ADDRESS_CMDID 
WMI_SET_AKMP_PARAMS_CMDID 
WMI_SET_PMKID_LIST_CMDID 
WMI_GET_PMKID_LIST_CMDID 
WMI_ABORT_SCAN_CMDID 
WMI_SET_TARGET_EVENT_REPORT_CMDID 
WMI_UNUSED1 
WMI_UNUSED2 
WMI_AP_HIDDEN_SSID_CMDID 
WMI_AP_SET_NUM_STA_CMDID 
WMI_AP_ACL_POLICY_CMDID 
WMI_AP_ACL_MAC_LIST_CMDID 
WMI_AP_CONFIG_COMMIT_CMDID 
WMI_AP_SET_MLME_CMDID 
WMI_AP_SET_PVB_CMDID 
WMI_AP_CONN_INACT_CMDID 
WMI_AP_PROT_SCAN_TIME_CMDID 
WMI_AP_SET_COUNTRY_CMDID 
WMI_AP_SET_DTIM_CMDID 
WMI_AP_MODE_STAT_CMDID 
WMI_SET_IP_CMDID 
WMI_SET_PARAMS_CMDID 
WMI_SET_MCAST_FILTER_CMDID 
WMI_DEL_MCAST_FILTER_CMDID 
WMI_ALLOW_AGGR_CMDID 
WMI_ADDBA_REQ_CMDID 
WMI_DELBA_REQ_CMDID 
WMI_SET_HT_CAP_CMDID 
WMI_SET_HT_OP_CMDID 
WMI_SET_TX_SELECT_RATES_CMDID 
WMI_SET_TX_SGI_PARAM_CMDID 
WMI_SET_RATE_POLICY_CMDID 
WMI_HCI_CMD_CMDID 
WMI_RX_FRAME_FORMAT_CMDID 
WMI_SET_THIN_MODE_CMDID 
WMI_SET_BT_WLAN_CONN_PRECEDENCE_CMDID 
WMI_AP_SET_11BG_RATESET_CMDID 
WMI_SET_PMK_CMDID 
WMI_MCAST_FILTER_CMDID 
WMI_SET_BTCOEX_FE_ANT_CMDID 
WMI_SET_BTCOEX_COLOCATED_BT_DEV_CMDID 
WMI_SET_BTCOEX_SCO_CONFIG_CMDID 
WMI_SET_BTCOEX_A2DP_CONFIG_CMDID 
WMI_SET_BTCOEX_ACLCOEX_CONFIG_CMDID 
WMI_SET_BTCOEX_BTINQUIRY_PAGE_CONFIG_CMDID 
WMI_SET_BTCOEX_DEBUG_CMDID 
WMI_SET_BTCOEX_BT_OPERATING_STATUS_CMDID 
WMI_GET_BTCOEX_STATS_CMDID 
WMI_GET_BTCOEX_CONFIG_CMDID 
WMI_SET_DFS_ENABLE_CMDID 
WMI_SET_DFS_MINRSSITHRESH_CMDID 
WMI_SET_DFS_MAXPULSEDUR_CMDID 
WMI_DFS_RADAR_DETECTED_CMDID 
WMI_P2P_SET_CONFIG_CMDID 
WMI_WPS_SET_CONFIG_CMDID 
WMI_SET_REQ_DEV_ATTR_CMDID 
WMI_P2P_FIND_CMDID 
WMI_P2P_STOP_FIND_CMDID 
WMI_P2P_GO_NEG_START_CMDID 
WMI_P2P_LISTEN_CMDID 
WMI_CONFIG_TX_MAC_RULES_CMDID 
WMI_SET_PROMISCUOUS_MODE_CMDID 
WMI_RX_FRAME_FILTER_CMDID 
WMI_SET_CHANNEL_CMDID 
WMI_ENABLE_WAC_CMDID 
WMI_WAC_SCAN_REPLY_CMDID 
WMI_WAC_CTRL_REQ_CMDID 
WMI_SET_DIV_PARAMS_CMDID 
WMI_GET_PMK_CMDID 
WMI_SET_PASSPHRASE_CMDID 
WMI_SEND_ASSOC_RES_CMDID 
WMI_SET_ASSOC_REQ_RELAY_CMDID 
WMI_ACS_CTRL_CMDID 
WMI_SET_EXCESS_TX_RETRY_THRES_CMDID 
WMI_SET_TBD_TIME_CMDID 
WMI_PKTLOG_ENABLE_CMDID 
WMI_PKTLOG_DISABLE_CMDID 
WMI_P2P_GO_NEG_REQ_RSP_CMDID 
WMI_P2P_GRP_INIT_CMDID 
WMI_P2P_GRP_FORMATION_DONE_CMDID 
WMI_P2P_INVITE_CMDID 
WMI_P2P_INVITE_REQ_RSP_CMDID 
WMI_P2P_PROV_DISC_REQ_CMDID 
WMI_P2P_SET_CMDID 
WMI_GET_RFKILL_MODE_CMDID 
WMI_SET_RFKILL_MODE_CMDID 
WMI_AP_SET_APSD_CMDID 
WMI_AP_APSD_BUFFERED_TRAFFIC_CMDID 
WMI_P2P_SDPD_TX_CMDID 
WMI_P2P_STOP_SDPD_CMDID 
WMI_P2P_CANCEL_CMDID 
WMI_STORERECALL_CONFIGURE_CMDID 
WMI_STORERECALL_RECALL_CMDID 
WMI_STORERECALL_HOST_READY_CMDID 
WMI_FORCE_TARGET_ASSERT_CMDID 
WMI_SET_PROBED_SSID_EX_CMDID 
WMI_SET_NETWORK_LIST_OFFLOAD_CMDID 
WMI_SET_ARP_NS_OFFLOAD_CMDID 
WMI_ADD_WOW_EXT_PATTERN_CMDID 
WMI_GTK_OFFLOAD_OP_CMDID 
WMI_REMAIN_ON_CHNL_CMDID 
WMI_CANCEL_REMAIN_ON_CHNL_CMDID 
WMI_SEND_ACTION_CMDID 
WMI_PROBE_REQ_REPORT_CMDID 
WMI_DISABLE_11B_RATES_CMDID 
WMI_SEND_PROBE_RESPONSE_CMDID 
WMI_GET_P2P_INFO_CMDID 
WMI_AP_JOIN_BSS_CMDID 
WMI_SMPS_ENABLE_CMDID 
WMI_SMPS_CONFIG_CMDID 
WMI_SET_RATECTRL_PARM_CMDID 
WMI_LPL_FORCE_ENABLE_CMDID 
WMI_LPL_SET_POLICY_CMDID 
WMI_LPL_GET_POLICY_CMDID 
WMI_LPL_GET_HWSTATE_CMDID 
WMI_LPL_SET_PARAMS_CMDID 
WMI_LPL_GET_PARAMS_CMDID 
WMI_SET_BUNDLE_PARAM_CMDID 
WMI_GREENTX_PARAMS_CMDID 
WMI_RTT_MEASREQ_CMDID 
WMI_RTT_CAPREQ_CMDID 
WMI_RTT_STATUSREQ_CMDID 
WMI_WPS_START_CMDID 
WMI_GET_WPS_STATUS_CMDID 
WMI_SET_NOA_CMDID 
WMI_GET_NOA_CMDID 
WMI_SET_OPPPS_CMDID 
WMI_GET_OPPPS_CMDID 
WMI_ADD_PORT_CMDID 
WMI_DEL_PORT_CMDID 
WMI_SET_RSN_CAP_CMDID 
WMI_GET_RSN_CAP_CMDID 
WMI_SET_IGTK_CMDID 
WMI_RX_FILTER_COALESCE_FILTER_OP_CMDID 
WMI_RX_FILTER_SET_FRAME_TEST_LIST_CMDID 
WMI_SEND_MGMT_CMDID 
WMI_BEGIN_SCAN_CMDID 
WMI_SET_BLACK_LIST 
WMI_SET_MCASTRATE 
WMI_STA_BMISS_ENHANCE_CMDID 
WMI_ECHO_CMDID 
WMI_ACCESS_MEMORY_CMDID 
WMI_GET_FW_VERSION 
WMI_DISABLE_INTR_CMDID 
WMI_ENABLE_INTR_CMDID 
WMI_ATH_INIT_CMDID 
WMI_ABORT_TXQ_CMDID 
WMI_STOP_TX_DMA_CMDID 
WMI_ABORT_TX_DMA_CMDID 
WMI_DRAIN_TXQ_CMDID 
WMI_DRAIN_TXQ_ALL_CMDID 
WMI_START_RECV_CMDID 
WMI_STOP_RECV_CMDID 
WMI_FLUSH_RECV_CMDID 
WMI_SET_MODE_CMDID 
WMI_NODE_CREATE_CMDID 
WMI_NODE_REMOVE_CMDID 
WMI_VAP_REMOVE_CMDID 
WMI_VAP_CREATE_CMDID 
WMI_REG_READ_CMDID 
WMI_REG_WRITE_CMDID 
WMI_RC_STATE_CHANGE_CMDID 
WMI_RC_RATE_UPDATE_CMDID 
WMI_TARGET_IC_UPDATE_CMDID 
WMI_TX_AGGR_ENABLE_CMDID 
WMI_TGT_DETACH_CMDID 
WMI_NODE_UPDATE_CMDID 
WMI_INT_STATS_CMDID 
WMI_TX_STATS_CMDID 
WMI_RX_STATS_CMDID 
WMI_BITRATE_MASK_CMDID 

Definition at line 347 of file wmi.h.

Enumerator:
CONNECT_ASSOC_POLICY_USER 
CONNECT_SEND_REASSOC 
CONNECT_IGNORE_WPAx_GROUP_CIPHER 
CONNECT_PROFILE_MATCH_DONE 
CONNECT_IGNORE_AAC_BEACON 
CONNECT_CSA_FOLLOW_BSS 
CONNECT_DO_WPA_OFFLOAD 
CONNECT_DO_NOT_DEAUTH 
CONNECT_WPS_FLAG 

Definition at line 709 of file wmi.h.

Enumerator:
WMI_DATA_HDR_DATA_TYPE_802_3 
WMI_DATA_HDR_DATA_TYPE_802_11 
WMI_DATA_HDR_DATA_TYPE_ACL 

Definition at line 159 of file wmi.h.

Enumerator:
WMI_DATA_HDR_FLAGS_MORE 
WMI_DATA_HDR_FLAGS_EOSP 
WMI_DATA_HDR_FLAGS_UAPSD 

Definition at line 168 of file wmi.h.

Enumerator:
NO_NETWORK_AVAIL 
LOST_LINK 
DISCONNECT_CMD 
BSS_DISCONNECTED 
AUTH_FAILED 
ASSOC_FAILED 
NO_RESOURCES_AVAIL 
CSERV_DISCONNECT 
INVALID_PROFILE 
DOT11H_CHANNEL_SWITCH 
PROFILE_MISMATCH 
CONNECTION_EVICTED 
IBSS_MERGE 

Definition at line 1510 of file wmi.h.

Enumerator:
INVALID_PARAM 
ILLEGAL_STATE 
INTERNAL_ERROR 

Definition at line 1637 of file wmi.h.

Enumerator:
WMI_READY_EVENTID 
WMI_CONNECT_EVENTID 
WMI_DISCONNECT_EVENTID 
WMI_BSSINFO_EVENTID 
WMI_CMDERROR_EVENTID 
WMI_REGDOMAIN_EVENTID 
WMI_PSTREAM_TIMEOUT_EVENTID 
WMI_NEIGHBOR_REPORT_EVENTID 
WMI_TKIP_MICERR_EVENTID 
WMI_SCAN_COMPLETE_EVENTID 
WMI_REPORT_STATISTICS_EVENTID 
WMI_RSSI_THRESHOLD_EVENTID 
WMI_ERROR_REPORT_EVENTID 
WMI_OPT_RX_FRAME_EVENTID 
WMI_REPORT_ROAM_TBL_EVENTID 
WMI_EXTENSION_EVENTID 
WMI_CAC_EVENTID 
WMI_SNR_THRESHOLD_EVENTID 
WMI_LQ_THRESHOLD_EVENTID 
WMI_TX_RETRY_ERR_EVENTID 
WMI_REPORT_ROAM_DATA_EVENTID 
WMI_TEST_EVENTID 
WMI_APLIST_EVENTID 
WMI_GET_WOW_LIST_EVENTID 
WMI_GET_PMKID_LIST_EVENTID 
WMI_CHANNEL_CHANGE_EVENTID 
WMI_PEER_NODE_EVENTID 
WMI_PSPOLL_EVENTID 
WMI_DTIMEXPIRY_EVENTID 
WMI_WLAN_VERSION_EVENTID 
WMI_SET_PARAMS_REPLY_EVENTID 
WMI_ADDBA_REQ_EVENTID 
WMI_ADDBA_RESP_EVENTID 
WMI_DELBA_REQ_EVENTID 
WMI_TX_COMPLETE_EVENTID 
WMI_HCI_EVENT_EVENTID 
WMI_ACL_DATA_EVENTID 
WMI_REPORT_SLEEP_STATE_EVENTID 
WMI_REPORT_BTCOEX_STATS_EVENTID 
WMI_REPORT_BTCOEX_CONFIG_EVENTID 
WMI_GET_PMK_EVENTID 
WMI_DFS_HOST_ATTACH_EVENTID 
WMI_DFS_HOST_INIT_EVENTID 
WMI_DFS_RESET_DELAYLINES_EVENTID 
WMI_DFS_RESET_RADARQ_EVENTID 
WMI_DFS_RESET_AR_EVENTID 
WMI_DFS_RESET_ARQ_EVENTID 
WMI_DFS_SET_DUR_MULTIPLIER_EVENTID 
WMI_DFS_SET_BANGRADAR_EVENTID 
WMI_DFS_SET_DEBUGLEVEL_EVENTID 
WMI_DFS_PHYERR_EVENTID 
WMI_CCX_RM_STATUS_EVENTID 
WMI_P2P_GO_NEG_RESULT_EVENTID 
WMI_WAC_SCAN_DONE_EVENTID 
WMI_WAC_REPORT_BSS_EVENTID 
WMI_WAC_START_WPS_EVENTID 
WMI_WAC_CTRL_REQ_REPLY_EVENTID 
WMI_REPORT_WMM_PARAMS_EVENTID 
WMI_WAC_REJECT_WPS_EVENTID 
WMI_P2P_GO_NEG_REQ_EVENTID 
WMI_P2P_INVITE_REQ_EVENTID 
WMI_P2P_INVITE_RCVD_RESULT_EVENTID 
WMI_P2P_INVITE_SENT_RESULT_EVENTID 
WMI_P2P_PROV_DISC_RESP_EVENTID 
WMI_P2P_PROV_DISC_REQ_EVENTID 
WMI_RFKILL_STATE_CHANGE_EVENTID 
WMI_RFKILL_GET_MODE_CMD_EVENTID 
WMI_P2P_START_SDPD_EVENTID 
WMI_P2P_SDPD_RX_EVENTID 
WMI_SET_HOST_SLEEP_MODE_CMD_PROCESSED_EVENTID 
WMI_THIN_RESERVED_START_EVENTID 
WMI_THIN_RESERVED_END_EVENTID 
WMI_SET_CHANNEL_EVENTID 
WMI_ASSOC_REQ_EVENTID 
WMI_ACS_EVENTID 
WMI_STORERECALL_STORE_EVENTID 
WMI_WOW_EXT_WAKE_EVENTID 
WMI_GTK_OFFLOAD_STATUS_EVENTID 
WMI_NETWORK_LIST_OFFLOAD_EVENTID 
WMI_REMAIN_ON_CHNL_EVENTID 
WMI_CANCEL_REMAIN_ON_CHNL_EVENTID 
WMI_TX_STATUS_EVENTID 
WMI_RX_PROBE_REQ_EVENTID 
WMI_P2P_CAPABILITIES_EVENTID 
WMI_RX_ACTION_EVENTID 
WMI_P2P_INFO_EVENTID 
WMI_TGT_RDY_EVENTID 
WMI_SWBA_EVENTID 
WMI_FATAL_EVENTID 
WMI_TXTO_EVENTID 
WMI_BMISS_EVENTID 
WMI_DELBA_EVENTID 
WMI_TXSTATUS_EVENTID 

Definition at line 1352 of file wmi.h.

Enumerator:
WMI_RSN_IE_CAPB 
WMI_IE_FULL 

Definition at line 642 of file wmi.h.

Enumerator:
WMI_FRAME_BEACON 
WMI_FRAME_PROBE_REQ 
WMI_FRAME_PROBE_RESP 
WMI_FRAME_ASSOC_REQ 
WMI_FRAME_ASSOC_RESP 
WMI_NUM_MGMT_FRAME 

Definition at line 633 of file wmi.h.

Enumerator:
WMI_RATES_MODE_11A 
WMI_RATES_MODE_11G 
WMI_RATES_MODE_11B 
WMI_RATES_MODE_11GONLY 
WMI_RATES_MODE_11A_HT20 
WMI_RATES_MODE_11G_HT20 
WMI_RATES_MODE_11A_HT40 
WMI_RATES_MODE_11G_HT40 
WMI_RATES_MODE_MAX 

Definition at line 1074 of file wmi.h.

Enumerator:
DATA_MSGTYPE 
CNTL_MSGTYPE 
SYNC_MSGTYPE 
OPT_MSGTYPE 

Definition at line 135 of file wmi.h.

Enumerator:
WMI_11A_CAP 
WMI_11G_CAP 
WMI_11AG_CAP 
WMI_11AN_CAP 
WMI_11GN_CAP 
WMI_11AGN_CAP 

Definition at line 1468 of file wmi.h.

Enumerator:
WMI_11A_MODE 
WMI_11G_MODE 
WMI_11AG_MODE 
WMI_11B_MODE 
WMI_11GONLY_MODE 
WMI_11G_HT20 

Definition at line 1195 of file wmi.h.

Enumerator:
REC_POWER 
MAX_PERF_POWER 

Definition at line 1036 of file wmi.h.

Enumerator:
WMI_IGNORE_BARKER_IN_ERP 
WMI_FOLLOW_BARKER_IN_ERP 

Definition at line 1279 of file wmi.h.

Enumerator:
WMI_REPORT_SLEEP_STATUS_IS_DEEP_SLEEP 
WMI_REPORT_SLEEP_STATUS_IS_AWAKE 

Definition at line 1308 of file wmi.h.

Enumerator:
WMI_FORCE_ROAM 
WMI_SET_ROAM_MODE 
WMI_SET_HOST_BIAS 
WMI_SET_LRSSI_SCAN_PARAMS 

Definition at line 1578 of file wmi.h.

Enumerator:
WMI_DEFAULT_ROAM_MODE 
WMI_HOST_BIAS_ROAM_MODE 
WMI_LOCK_BSS_MODE 

Definition at line 1585 of file wmi.h.

Enumerator:
WMI_RSSI_THRESHOLD1_ABOVE 
WMI_RSSI_THRESHOLD2_ABOVE 
WMI_RSSI_THRESHOLD3_ABOVE 
WMI_RSSI_THRESHOLD4_ABOVE 
WMI_RSSI_THRESHOLD5_ABOVE 
WMI_RSSI_THRESHOLD6_ABOVE 
WMI_RSSI_THRESHOLD1_BELOW 
WMI_RSSI_THRESHOLD2_BELOW 
WMI_RSSI_THRESHOLD3_BELOW 
WMI_RSSI_THRESHOLD4_BELOW 
WMI_RSSI_THRESHOLD5_BELOW 
WMI_RSSI_THRESHOLD6_BELOW 

Definition at line 1816 of file wmi.h.

Enumerator:
CONNECT_SCAN_CTRL_FLAGS 
SCAN_CONNECTED_CTRL_FLAGS 
ACTIVE_SCAN_CTRL_FLAGS 
ROAM_SCAN_CTRL_FLAGS 
REPORT_BSSINFO_CTRL_FLAGS 
ENABLE_AUTO_CTRL_FLAGS 
ENABLE_SCAN_ABORT_EVENT 

Definition at line 886 of file wmi.h.

Enumerator:
WMI_SCAN_STATUS_SUCCESS 

Definition at line 1686 of file wmi.h.

Enumerator:
WMI_LONG_SCAN 
WMI_SHORT_SCAN 

Definition at line 817 of file wmi.h.

Enumerator:
WMI_SNR_THRESHOLD1_ABOVE 
WMI_SNR_THRESHOLD1_BELOW 
WMI_SNR_THRESHOLD2_ABOVE 
WMI_SNR_THRESHOLD2_BELOW 
WMI_SNR_THRESHOLD3_ABOVE 
WMI_SNR_THRESHOLD3_BELOW 
WMI_SNR_THRESHOLD4_ABOVE 
WMI_SNR_THRESHOLD4_BELOW 

Definition at line 1836 of file wmi.h.

Enumerator:
DISABLE_SSID_FLAG 
SPECIFIC_SSID_FLAG 
ANY_SSID_FLAG 
MATCH_SSID_FLAG 

Definition at line 990 of file wmi.h.

Enumerator:
NO_SYNC_WMIFLAG 
SYNC_BEFORE_WMIFLAG 
SYNC_AFTER_WMIFLAG 
SYNC_BOTH_WMIFLAG 
END_WMIFLAG 

Definition at line 2460 of file wmi.h.

Enumerator:
WMI_TXOP_DISABLED 
WMI_TXOP_ENABLED 

Definition at line 1984 of file wmi.h.

Enumerator:
WMIX_DSETOPEN_REPLY_CMDID 
WMIX_DSETDATA_REPLY_CMDID 
WMIX_GPIO_OUTPUT_SET_CMDID 
WMIX_GPIO_INPUT_GET_CMDID 
WMIX_GPIO_REGISTER_SET_CMDID 
WMIX_GPIO_REGISTER_GET_CMDID 
WMIX_GPIO_INTR_ACK_CMDID 
WMIX_HB_CHALLENGE_RESP_CMDID 
WMIX_DBGLOG_CFG_MODULE_CMDID 
WMIX_PROF_CFG_CMDID 
WMIX_PROF_ADDR_SET_CMDID 
WMIX_PROF_START_CMDID 
WMIX_PROF_STOP_CMDID 
WMIX_PROF_COUNT_GET_CMDID 

Definition at line 2411 of file wmi.h.

Enumerator:
WMIX_DSETOPENREQ_EVENTID 
WMIX_DSETCLOSE_EVENTID 
WMIX_DSETDATAREQ_EVENTID 
WMIX_GPIO_INTR_EVENTID 
WMIX_GPIO_DATA_EVENTID 
WMIX_GPIO_ACK_EVENTID 
WMIX_HB_CHALLENGE_RESP_EVENTID 
WMIX_DBGLOG_EVENTID 
WMIX_PROF_COUNT_EVENTID 

Definition at line 2428 of file wmi.h.

Function Documentation

struct ath6kl_vif* ath6kl_get_vif_by_index ( struct ath6kl ar,
u8  if_idx 
)
read

Definition at line 86 of file wmi.c.

int ath6kl_wmi_add_del_mcast_filter_cmd ( struct wmi wmi,
u8  if_idx,
u8 filter,
bool  add_filter 
)

Definition at line 3095 of file wmi.c.

int ath6kl_wmi_add_krk_cmd ( struct wmi wmi,
u8  if_idx,
u8 krk 
)

Definition at line 2198 of file wmi.c.

int ath6kl_wmi_add_wow_pattern_cmd ( struct wmi wmi,
u8  if_idx,
u8  list_id,
u8  filter_size,
u8  filter_offset,
const u8 filter,
const u8 mask 
)

Definition at line 2796 of file wmi.c.

int ath6kl_wmi_addkey_cmd ( struct wmi wmi,
u8  if_idx,
u8  key_index,
enum crypto_type  key_type,
u8  key_usage,
u8  key_len,
u8 key_rsc,
unsigned int  key_rsc_len,
u8 key_material,
u8  key_op_ctrl,
u8 mac_addr,
enum wmi_sync_flag  sync_flag 
)

Definition at line 2150 of file wmi.c.

int ath6kl_wmi_ap_hidden_ssid ( struct wmi wmi,
u8  if_idx,
bool  enable 
)

Definition at line 3237 of file wmi.c.

int ath6kl_wmi_ap_profile_commit ( struct wmi wmip,
u8  if_idx,
struct wmi_connect_cmd p 
)

Definition at line 3192 of file wmi.c.

int ath6kl_wmi_ap_set_apsd ( struct wmi wmi,
u8  if_idx,
u8  enable 
)

Definition at line 3254 of file wmi.c.

int ath6kl_wmi_ap_set_dtim_cmd ( struct wmi wmi,
u8  if_idx,
u32  dtim_period 
)

Definition at line 755 of file wmi.c.

int ath6kl_wmi_ap_set_mlme ( struct wmi wmip,
u8  if_idx,
u8  cmd,
const u8 mac,
u16  reason 
)

Definition at line 3215 of file wmi.c.

int ath6kl_wmi_beginscan_cmd ( struct wmi wmi,
u8  if_idx,
enum wmi_scan_type  scan_type,
u32  force_fgscan,
u32  is_legacy,
u32  home_dwell_time,
u32  force_scan_interval,
s8  num_chan,
u16 ch_list,
u32  no_cck,
u32 rates 
)

Definition at line 1836 of file wmi.c.

int ath6kl_wmi_bmisstime_cmd ( struct wmi wmi,
u8  if_idx,
u16  bmiss_time,
u16  num_beacons 
)

Definition at line 2063 of file wmi.c.

int ath6kl_wmi_bssfilter_cmd ( struct wmi wmi,
u8  if_idx,
u8  filter,
u32  ie_mask 
)

Definition at line 1983 of file wmi.c.

int ath6kl_wmi_cancel_remain_on_chnl_cmd ( struct wmi wmi,
u8  if_idx 
)

Definition at line 3613 of file wmi.c.

int ath6kl_wmi_cmd_send ( struct wmi wmi,
u8  if_idx,
struct sk_buff skb,
enum wmi_cmd_id  cmd_id,
enum wmi_sync_flag  sync_flag 
)

Definition at line 1672 of file wmi.c.

int ath6kl_wmi_config_debug_module_cmd ( struct wmi wmi,
u32  valid,
u32  config 
)

Definition at line 2889 of file wmi.c.

int ath6kl_wmi_connect_cmd ( struct wmi wmi,
u8  if_idx,
enum network_type  nw_type,
enum dot11_auth_mode  dot11_auth_mode,
enum auth_mode  auth_mode,
enum crypto_type  pairwise_crypto,
u8  pairwise_crypto_len,
enum crypto_type  group_crypto,
u8  group_crypto_len,
int  ssid_len,
u8 ssid,
u8 bssid,
u16  channel,
u32  ctrl_flags,
u8  nw_subtype 
)
int ath6kl_wmi_control_rx ( struct wmi wmi,
struct sk_buff skb 
)

Definition at line 3910 of file wmi.c.

int ath6kl_wmi_create_pstream_cmd ( struct wmi wmi,
u8  if_idx,
struct wmi_create_pstream_cmd pstream 
)

Definition at line 2390 of file wmi.c.

int ath6kl_wmi_data_hdr_add ( struct wmi wmi,
struct sk_buff skb,
u8  msg_type,
u32  flags,
enum wmi_data_hdr_data_type  data_type,
u8  meta_ver,
void tx_meta_info,
u8  if_idx 
)

Definition at line 184 of file wmi.c.

int ath6kl_wmi_del_wow_pattern_cmd ( struct wmi wmi,
u8  if_idx,
u16  list_id,
u16  filter_id 
)

Definition at line 2833 of file wmi.c.

int ath6kl_wmi_delete_pstream_cmd ( struct wmi wmi,
u8  if_idx,
u8  traffic_class,
u8  tsid 
)

Definition at line 2484 of file wmi.c.

int ath6kl_wmi_deletekey_cmd ( struct wmi wmi,
u8  if_idx,
u8  key_index 
)

Definition at line 2217 of file wmi.c.

u8 ath6kl_wmi_determine_user_priority ( u8 pkt,
u32  layer2_pri 
)

Definition at line 221 of file wmi.c.

int ath6kl_wmi_disable_11b_rates_cmd ( struct wmi wmi,
bool  disable 
)

Definition at line 3406 of file wmi.c.

int ath6kl_wmi_disconnect_cmd ( struct wmi wmi,
u8  if_idx 
)

Definition at line 1822 of file wmi.c.

int ath6kl_wmi_disctimeout_cmd ( struct wmi wmi,
u8  if_idx,
u8  timeout 
)

Definition at line 2128 of file wmi.c.

int ath6kl_wmi_dix_2_dot3 ( struct wmi wmi,
struct sk_buff skb 
)

Definition at line 110 of file wmi.c.

int ath6kl_wmi_dot11_hdr_remove ( struct wmi wmi,
struct sk_buff skb 
)

Definition at line 337 of file wmi.c.

int ath6kl_wmi_dot3_2_dix ( struct sk_buff skb)

Definition at line 402 of file wmi.c.

int ath6kl_wmi_force_roam_cmd ( struct wmi wmi,
const u8 bssid 
)

Definition at line 736 of file wmi.c.

int ath6kl_wmi_get_challenge_resp_cmd ( struct wmi wmi,
u32  cookie,
u32  source 
)

Definition at line 2870 of file wmi.c.

enum htc_endpoint_id ath6kl_wmi_get_control_ep ( struct wmi wmi)

Definition at line 81 of file wmi.c.

s32 ath6kl_wmi_get_rate ( s8  rate_index)

Definition at line 3142 of file wmi.c.

int ath6kl_wmi_get_roam_tbl_cmd ( struct wmi wmi)

Definition at line 2937 of file wmi.c.

int ath6kl_wmi_get_stats_cmd ( struct wmi wmi,
u8  if_idx 
)

Definition at line 2908 of file wmi.c.

u8 ath6kl_wmi_get_traffic_class ( u8  user_priority)

Definition at line 243 of file wmi.c.

int ath6kl_wmi_get_tx_pwr_cmd ( struct wmi wmi,
u8  if_idx 
)

Definition at line 2932 of file wmi.c.

int ath6kl_wmi_implicit_create_pstream ( struct wmi wmi,
u8  if_idx,
struct sk_buff skb,
u32  layer2_priority,
bool  wmm_enabled,
u8 ac 
)

Definition at line 248 of file wmi.c.

int ath6kl_wmi_info_req_cmd ( struct wmi wmi,
u8  if_idx,
u32  info_req_flags 
)

Definition at line 3596 of file wmi.c.

void* ath6kl_wmi_init ( struct ath6kl devt)

Definition at line 3934 of file wmi.c.

int ath6kl_wmi_listeninterval_cmd ( struct wmi wmi,
u8  if_idx,
u16  listen_interval,
u16  listen_beacons 
)

Definition at line 2042 of file wmi.c.

int ath6kl_wmi_mcast_filter_cmd ( struct wmi wmi,
u8  if_idx,
bool  mc_all_on 
)

Definition at line 3077 of file wmi.c.

int ath6kl_wmi_pmparams_cmd ( struct wmi wmi,
u8  if_idx,
u16  idle_period,
u16  ps_poll_num,
u16  dtim_policy,
u16  tx_wakup_policy,
u16  num_tx_to_wakeup,
u16  ps_fail_event_policy 
)

Definition at line 2102 of file wmi.c.

int ath6kl_wmi_powermode_cmd ( struct wmi wmi,
u8  if_idx,
u8  pwr_mode 
)

Definition at line 2083 of file wmi.c.

int ath6kl_wmi_probe_report_req_cmd ( struct wmi wmi,
u8  if_idx,
bool  enable 
)

Definition at line 3579 of file wmi.c.

int ath6kl_wmi_probedssid_cmd ( struct wmi wmi,
u8  if_idx,
u8  index,
u8  flag,
u8  ssid_len,
u8 ssid 
)

Definition at line 2005 of file wmi.c.

int ath6kl_wmi_reconnect_cmd ( struct wmi wmi,
u8  if_idx,
u8 bssid,
u16  channel 
)

Definition at line 1794 of file wmi.c.

int ath6kl_wmi_remain_on_chnl_cmd ( struct wmi wmi,
u8  if_idx,
u32  freq,
u32  dur 
)

Definition at line 3424 of file wmi.c.

void ath6kl_wmi_reset ( struct wmi wmi)

Definition at line 3924 of file wmi.c.

int ath6kl_wmi_scanparams_cmd ( struct wmi wmi,
u8  if_idx,
u16  fg_start_sec,
u16  fg_end_sec,
u16  bg_sec,
u16  minact_chdw_msec,
u16  maxact_chdw_msec,
u16  pas_chdw_msec,
u8  short_scan_ratio,
u8  scan_ctrl_flag,
u32  max_dfsch_act_time,
u16  maxact_scan_per_ssid 
)

Definition at line 1950 of file wmi.c.

int ath6kl_wmi_send_mgmt_cmd ( struct wmi wmi,
u8  if_idx,
u32  id,
u32  freq,
u32  wait,
const u8 data,
u16  data_len,
u32  no_cck 
)

Definition at line 3525 of file wmi.c.

int ath6kl_wmi_send_probe_response_cmd ( struct wmi wmi,
u8  if_idx,
u32  freq,
const u8 dst,
const u8 data,
u16  data_len 
)

Definition at line 3551 of file wmi.c.

int ath6kl_wmi_set_appie_cmd ( struct wmi wmi,
u8  if_idx,
u8  mgmt_frm_type,
const u8 ie,
u8  ie_len 
)

Definition at line 3359 of file wmi.c.

int ath6kl_wmi_set_apsd_bfrd_traf ( struct wmi wmi,
u8  if_idx,
u16  aid,
u16  bitmap,
u32  flags 
)

Definition at line 3270 of file wmi.c.

int ath6kl_wmi_set_bitrate_mask ( struct wmi wmi,
u8  if_idx,
const struct cfg80211_bitrate_mask mask 
)

Definition at line 2714 of file wmi.c.

void ath6kl_wmi_set_control_ep ( struct wmi wmi,
enum htc_endpoint_id  ep_id 
)

Definition at line 73 of file wmi.c.

int ath6kl_wmi_set_host_sleep_mode_cmd ( struct wmi wmi,
u8  if_idx,
enum ath6kl_host_mode  host_mode 
)

Definition at line 2725 of file wmi.c.

int ath6kl_wmi_set_htcap_cmd ( struct wmi wmi,
u8  if_idx,
enum ieee80211_band  band,
struct ath6kl_htcap htcap 
)

Definition at line 3024 of file wmi.c.

int ath6kl_wmi_set_ie_cmd ( struct wmi wmi,
u8  if_idx,
u8  ie_id,
u8  ie_field,
const u8 ie_info,
u8  ie_len 
)

Definition at line 3383 of file wmi.c.

int ath6kl_wmi_set_inact_period ( struct wmi wmi,
u8  if_idx,
int  inact_timeout 
)

Definition at line 3620 of file wmi.c.

int ath6kl_wmi_set_ip_cmd ( struct wmi wmi,
u8  if_idx,
__be32  ips0,
__be32  ips1 
)

Definition at line 2542 of file wmi.c.

int ath6kl_wmi_set_keepalive_cmd ( struct wmi wmi,
u8  if_idx,
u8  keep_alive_intvl 
)

Definition at line 3001 of file wmi.c.

int ath6kl_wmi_set_lpreamble_cmd ( struct wmi wmi,
u8  if_idx,
u8  status,
u8  preamble_policy 
)

Definition at line 2942 of file wmi.c.

int ath6kl_wmi_set_pvb_cmd ( struct wmi wmi,
u8  if_idx,
u16  aid,
bool  flag 
)

Definition at line 3313 of file wmi.c.

int ath6kl_wmi_set_roam_lrssi_cmd ( struct wmi wmi,
u8  lrssi 
)

Definition at line 712 of file wmi.c.

int ath6kl_wmi_set_roam_mode_cmd ( struct wmi wmi,
enum wmi_roam_mode  mode 
)

Definition at line 771 of file wmi.c.

int ath6kl_wmi_set_rts_cmd ( struct wmi wmi,
u16  threshold 
)

Definition at line 2962 of file wmi.c.

int ath6kl_wmi_set_rx_frame_format_cmd ( struct wmi wmi,
u8  if_idx,
u8  rx_meta_version,
bool  rx_dot11_hdr,
bool  defrag_on_host 
)

Definition at line 3335 of file wmi.c.

int ath6kl_wmi_set_tx_pwr_cmd ( struct wmi wmi,
u8  if_idx,
u8  dbM 
)

Definition at line 2913 of file wmi.c.

int ath6kl_wmi_set_wmm_txop ( struct wmi wmi,
u8  if_idx,
enum wmi_txop_cfg  cfg 
)

Definition at line 2980 of file wmi.c.

int ath6kl_wmi_set_wow_mode_cmd ( struct wmi wmi,
u8  if_idx,
enum ath6kl_wow_mode  wow_mode,
u32  filter,
u16  host_req_delay 
)

Definition at line 2768 of file wmi.c.

int ath6kl_wmi_setpmkid_cmd ( struct wmi wmi,
u8  if_idx,
const u8 bssid,
const u8 pmkid,
bool  set 
)

Definition at line 2239 of file wmi.c.

void ath6kl_wmi_shutdown ( struct wmi wmi)

Definition at line 3953 of file wmi.c.

void ath6kl_wmi_sscan_timer ( unsigned long  ptr)

Definition at line 1013 of file wmi.c.

int ath6kl_wmi_sta_bmiss_enhance_cmd ( struct wmi wmi,
u8  if_idx,
bool  enable 
)

Definition at line 3123 of file wmi.c.

int ath6kl_wmi_startscan_cmd ( struct wmi wmi,
u8  if_idx,
enum wmi_scan_type  scan_type,
u32  force_fgscan,
u32  is_legacy,
u32  home_dwell_time,
u32  force_scan_interval,
s8  num_chan,
u16 ch_list 
)

Definition at line 1907 of file wmi.c.

int ath6kl_wmi_test_cmd ( struct wmi wmi,
void buf,
size_t  len 
)

Definition at line 3061 of file wmi.c.

Variable Documentation