Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
acx.h File Reference
#include "wlcore.h"
#include "cmd.h"

Go to the source code of this file.

Data Structures

struct  acx_header
 
struct  acx_error_counter
 
struct  acx_sleep_auth
 
struct  acx_rx_msdu_lifetime
 
struct  acx_slot
 
struct  acx_dot11_grp_addr_tbl
 
struct  acx_rx_timeout
 
struct  acx_rts_threshold
 
struct  acx_beacon_filter_option
 
struct  acx_beacon_filter_ie_table
 
struct  acx_conn_monit_params
 
struct  acx_bt_wlan_coex
 
struct  acx_bt_wlan_coex_param
 
struct  acx_dco_itrim_params
 
struct  acx_energy_detection
 
struct  acx_beacon_broadcast
 
struct  acx_event_mask
 
struct  acx_feature_config
 
struct  acx_current_tx_power
 
struct  acx_wake_up_condition
 
struct  acx_aid
 
struct  acx_preamble
 
struct  acx_ctsprotect
 
struct  acx_rate_class
 
struct  acx_rate_policy
 
struct  acx_ac_cfg
 
struct  acx_tid_config
 
struct  acx_frag_threshold
 
struct  acx_tx_config_options
 
struct  wl12xx_acx_config_memory
 
struct  wl1271_acx_mem_map
 
struct  wl1271_acx_rx_config_opt
 
struct  wl1271_acx_bet_enable
 
struct  wl1271_acx_arp_filter
 
struct  wl1271_acx_pm_config
 
struct  wl1271_acx_keep_alive_mode
 
struct  wl1271_acx_keep_alive_config
 
struct  wl1271_acx_rssi_snr_trigger
 
struct  wl1271_acx_rssi_snr_avg_weights
 
struct  wl1271_acx_ht_capabilities
 
struct  wl1271_acx_ht_information
 
struct  wl1271_acx_ba_initiator_policy
 
struct  wl1271_acx_ba_receiver_setup
 
struct  wl12xx_acx_fw_tsf_information
 
struct  wl1271_acx_ps_rx_streaming
 
struct  wl1271_acx_ap_max_tx_retry
 
struct  wl1271_acx_config_ps
 
struct  wl1271_acx_inconnection_sta
 
struct  wl1271_acx_fm_coex
 
struct  wl12xx_acx_set_rate_mgmt_params
 
struct  wl12xx_acx_config_hangover
 
struct  acx_default_rx_filter
 
struct  acx_rx_filter_cfg
 

Macros

#define WL1271_ACX_INTR_WATCHDOG   BIT(0)
 
#define WL1271_ACX_INTR_INIT_COMPLETE   BIT(1)
 
#define WL1271_ACX_INTR_EVENT_A   BIT(2)
 
#define WL1271_ACX_INTR_EVENT_B   BIT(3)
 
#define WL1271_ACX_INTR_CMD_COMPLETE   BIT(4)
 
#define WL1271_ACX_INTR_HW_AVAILABLE   BIT(5)
 
#define WL1271_ACX_INTR_DATA   BIT(6)
 
#define WL1271_ACX_INTR_TRACE_A   BIT(7)
 
#define WL1271_ACX_INTR_TRACE_B   BIT(8)
 
#define WL1271_ACX_SW_INTR_WATCHDOG   BIT(9)
 
#define WL1271_ACX_INTR_ALL   0xFFFFFFFF
 
#define WLCORE_ALL_INTR_MASK
 
#define DEFAULT_UCAST_PRIORITY   0
 
#define DEFAULT_RX_Q_PRIORITY   0
 
#define DEFAULT_RXQ_PRIORITY   0 /* low 0 .. 15 high */
 
#define DEFAULT_RXQ_TYPE   0x07 /* All frames, Data/Ctrl/Mgmt */
 
#define TRACE_BUFFER_MAX_SIZE   256
 
#define DP_RX_PACKET_RING_CHUNK_SIZE   1600
 
#define DP_TX_PACKET_RING_CHUNK_SIZE   1600
 
#define DP_RX_PACKET_RING_CHUNK_NUM   2
 
#define DP_TX_PACKET_RING_CHUNK_NUM   2
 
#define DP_TX_COMPLETE_TIME_OUT   20
 
#define TX_MSDU_LIFETIME_MIN   0
 
#define TX_MSDU_LIFETIME_MAX   3000
 
#define TX_MSDU_LIFETIME_DEF   512
 
#define RX_MSDU_LIFETIME_MIN   0
 
#define RX_MSDU_LIFETIME_MAX   0xFFFFFFFF
 
#define RX_MSDU_LIFETIME_DEF   512000
 
#define STATION_WONE_INDEX   0
 
#define ACX_MC_ADDRESS_GROUP_MAX   (8)
 
#define ADDRESS_GROUP_MAX_LEN   (ETH_ALEN * ACX_MC_ADDRESS_GROUP_MAX)
 
#define BEACON_FILTER_TABLE_MAX_IE_NUM   (32)
 
#define BEACON_FILTER_TABLE_MAX_VENDOR_SPECIFIC_IE_NUM   (6)
 
#define BEACON_FILTER_TABLE_IE_ENTRY_SIZE   (2)
 
#define BEACON_FILTER_TABLE_EXTRA_VENDOR_SPECIFIC_IE_SIZE   (6)
 
#define BEACON_FILTER_TABLE_MAX_SIZE
 
#define SCAN_PASSIVE   BIT(0)
 
#define SCAN_5GHZ_BAND   BIT(1)
 
#define SCAN_TRIGGERED   BIT(2)
 
#define SCAN_PRIORITY_HIGH   BIT(3)
 
#define DF_ENCRYPTION_DISABLE   0x01
 
#define DF_SNIFF_MODE_ENABLE   0x80
 
#define ACX_IPV4_VERSION   4
 
#define ACX_IPV6_VERSION   6
 
#define ACX_IPV4_ADDR_SIZE   4
 
#define ACX_ARP_FILTER_ARP_FILTERING   BIT(0)
 
#define ACX_ARP_FILTER_AUTO_ARP   BIT(1)
 
#define HOST_IF_CFG_RX_FIFO_ENABLE   BIT(0)
 
#define HOST_IF_CFG_TX_EXTRA_BLKS_SWAP   BIT(1)
 
#define HOST_IF_CFG_TX_PAD_TO_SDIO_BLK   BIT(3)
 
#define HOST_IF_CFG_RX_PAD_TO_SDIO_BLK   BIT(4)
 
#define HOST_IF_CFG_ADD_RX_ALIGNMENT   BIT(6)
 
#define WL12XX_HT_CAP_HT_OPERATION   BIT(16)
 
#define RX_BA_MAX_SESSIONS   3
 
#define ACX_RATE_MGMT_ALL_PARAMS   0xff
 

Enumerations

enum  wl12xx_role {
  WL1271_ROLE_STA = 0, WL1271_ROLE_IBSS, WL1271_ROLE_AP, WL1271_ROLE_DEVICE,
  WL1271_ROLE_P2P_CL, WL1271_ROLE_P2P_GO, WL12XX_INVALID_ROLE_TYPE = 0xff
}
 
enum  wl1271_psm_mode {
  WL1271_PSM_CAM = 0, WL1271_PSM_PS = 1, WL1271_PSM_ELP = 2, WL1271_PSM_MAX = WL1271_PSM_ELP,
  WL1271_PSM_ILLEGAL = 0xff
}
 
enum  {
  HOSTIF_PCI_MASTER_HOST_INDIRECT, HOSTIF_PCI_MASTER_HOST_DIRECT, HOSTIF_SLAVE, HOSTIF_PKT_RING,
  HOSTIF_DONTCARE = 0xFF
}
 
enum  acx_slot_type {
  SLOT_TIME_LONG = 0, SLOT_TIME_SHORT = 1, DEFAULT_SLOT_TIME = SLOT_TIME_SHORT, MAX_SLOT_TIMES = 0xFF,
  SLOT_TIME_LONG = 0, SLOT_TIME_SHORT = 1, DEFAULT_SLOT_TIME = SLOT_TIME_SHORT, MAX_SLOT_TIMES = 0xFF
}
 
enum  acx_preamble_type { ACX_PREAMBLE_LONG = 0, ACX_PREAMBLE_SHORT = 1, ACX_PREAMBLE_LONG = 0, ACX_PREAMBLE_SHORT = 1 }
 
enum  acx_ctsprotect_type { CTSPROTECT_DISABLE = 0, CTSPROTECT_ENABLE = 1, CTSPROTECT_DISABLE = 0, CTSPROTECT_ENABLE = 1 }
 
enum  { ACX_KEEP_ALIVE_NO_TX = 0, ACX_KEEP_ALIVE_PERIOD_ONLY }
 
enum  { ACX_KEEP_ALIVE_TPL_INVALID = 0, ACX_KEEP_ALIVE_TPL_VALID }
 
enum  { WL1271_ACX_TRIG_TYPE_LEVEL = 0, WL1271_ACX_TRIG_TYPE_EDGE }
 
enum  { WL1271_ACX_TRIG_DIR_LOW = 0, WL1271_ACX_TRIG_DIR_HIGH, WL1271_ACX_TRIG_DIR_BIDIR }
 
enum  { WL1271_ACX_TRIG_ENABLE = 1, WL1271_ACX_TRIG_DISABLE }
 
enum  { WL1271_ACX_TRIG_METRIC_RSSI_BEACON = 0, WL1271_ACX_TRIG_METRIC_RSSI_DATA, WL1271_ACX_TRIG_METRIC_SNR_BEACON, WL1271_ACX_TRIG_METRIC_SNR_DATA }
 
enum  { WL1271_ACX_TRIG_IDX_RSSI = 0, WL1271_ACX_TRIG_COUNT = 8 }
 
enum  {
  ACX_WAKE_UP_CONDITIONS = 0x0000, ACX_MEM_CFG = 0x0001, ACX_SLOT = 0x0002, ACX_AC_CFG = 0x0003,
  ACX_MEM_MAP = 0x0004, ACX_AID = 0x0005, ACX_MEDIUM_USAGE = 0x0006, ACX_STATISTICS = 0x0007,
  ACX_PWR_CONSUMPTION_STATISTICS = 0x0008, ACX_TID_CFG = 0x0009, ACX_PS_RX_STREAMING = 0x000A, ACX_BEACON_FILTER_OPT = 0x000B,
  ACX_NOISE_HIST = 0x000C, ACX_HDK_VERSION = 0x000D, ACX_PD_THRESHOLD = 0x000E, ACX_TX_CONFIG_OPT = 0x000F,
  ACX_CCA_THRESHOLD = 0x0010, ACX_EVENT_MBOX_MASK = 0x0011, ACX_CONN_MONIT_PARAMS = 0x0012, ACX_DISABLE_BROADCASTS = 0x0013,
  ACX_BCN_DTIM_OPTIONS = 0x0014, ACX_SG_ENABLE = 0x0015, ACX_SG_CFG = 0x0016, ACX_FM_COEX_CFG = 0x0017,
  ACX_BEACON_FILTER_TABLE = 0x0018, ACX_ARP_IP_FILTER = 0x0019, ACX_ROAMING_STATISTICS_TBL = 0x001A, ACX_RATE_POLICY = 0x001B,
  ACX_CTS_PROTECTION = 0x001C, ACX_SLEEP_AUTH = 0x001D, ACX_PREAMBLE_TYPE = 0x001E, ACX_ERROR_CNT = 0x001F,
  ACX_IBSS_FILTER = 0x0020, ACX_SERVICE_PERIOD_TIMEOUT = 0x0021, ACX_TSF_INFO = 0x0022, ACX_CONFIG_PS_WMM = 0x0023,
  ACX_ENABLE_RX_DATA_FILTER = 0x0024, ACX_SET_RX_DATA_FILTER = 0x0025, ACX_GET_DATA_FILTER_STATISTICS = 0x0026, ACX_RX_CONFIG_OPT = 0x0027,
  ACX_FRAG_CFG = 0x0028, ACX_BET_ENABLE = 0x0029, ACX_RSSI_SNR_TRIGGER = 0x002A, ACX_RSSI_SNR_WEIGHTS = 0x002B,
  ACX_KEEP_ALIVE_MODE = 0x002C, ACX_SET_KEEP_ALIVE_CONFIG = 0x002D, ACX_BA_SESSION_INIT_POLICY = 0x002E, ACX_BA_SESSION_RX_SETUP = 0x002F,
  ACX_PEER_HT_CAP = 0x0030, ACX_HT_BSS_OPERATION = 0x0031, ACX_COEX_ACTIVITY = 0x0032, ACX_BURST_MODE = 0x0033,
  ACX_SET_RATE_MGMT_PARAMS = 0x0034, ACX_GET_RATE_MGMT_PARAMS = 0x0035, ACX_SET_RATE_ADAPT_PARAMS = 0x0036, ACX_SET_DCO_ITRIM_PARAMS = 0x0037,
  ACX_GEN_FW_CMD = 0x0038, ACX_HOST_IF_CFG_BITMAP = 0x0039, ACX_MAX_TX_FAILURE = 0x003A, ACX_UPDATE_INCONNECTION_STA_LIST = 0x003B,
  DOT11_RX_MSDU_LIFE_TIME = 0x003C, DOT11_CUR_TX_PWR = 0x003D, DOT11_RTS_THRESHOLD = 0x003E, DOT11_GROUP_ADDRESS_TBL = 0x003F,
  ACX_PM_CONFIG = 0x0040, ACX_CONFIG_PS = 0x0041, ACX_CONFIG_HANGOVER = 0x0042, ACX_FEATURE_CFG = 0x0043,
  ACX_PROTECTION_CFG = 0x0044, ACX_CHECKSUM_CONFIG = 0x0045
}
 

Functions

int wl1271_acx_wake_up_conditions (struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 wake_up_event, u8 listen_interval)
 
int wl1271_acx_sleep_auth (struct wl1271 *wl, u8 sleep_auth)
 
int wl1271_acx_tx_power (struct wl1271 *wl, struct wl12xx_vif *wlvif, int power)
 
int wl1271_acx_feature_cfg (struct wl1271 *wl, struct wl12xx_vif *wlvif)
 
int wl1271_acx_mem_map (struct wl1271 *wl, struct acx_header *mem_map, size_t len)
 
int wl1271_acx_rx_msdu_life_time (struct wl1271 *wl)
 
int wl1271_acx_slot (struct wl1271 *wl, struct wl12xx_vif *wlvif, enum acx_slot_type slot_time)
 
int wl1271_acx_group_address_tbl (struct wl1271 *wl, struct wl12xx_vif *wlvif, bool enable, void *mc_list, u32 mc_list_len)
 
int wl1271_acx_service_period_timeout (struct wl1271 *wl, struct wl12xx_vif *wlvif)
 
int wl1271_acx_rts_threshold (struct wl1271 *wl, struct wl12xx_vif *wlvif, u32 rts_threshold)
 
int wl1271_acx_dco_itrim_params (struct wl1271 *wl)
 
int wl1271_acx_beacon_filter_opt (struct wl1271 *wl, struct wl12xx_vif *wlvif, bool enable_filter)
 
int wl1271_acx_beacon_filter_table (struct wl1271 *wl, struct wl12xx_vif *wlvif)
 
int wl1271_acx_conn_monit_params (struct wl1271 *wl, struct wl12xx_vif *wlvif, bool enable)
 
int wl1271_acx_sg_enable (struct wl1271 *wl, bool enable)
 
int wl12xx_acx_sg_cfg (struct wl1271 *wl)
 
int wl1271_acx_cca_threshold (struct wl1271 *wl)
 
int wl1271_acx_bcn_dtim_options (struct wl1271 *wl, struct wl12xx_vif *wlvif)
 
int wl1271_acx_aid (struct wl1271 *wl, struct wl12xx_vif *wlvif, u16 aid)
 
int wl1271_acx_event_mbox_mask (struct wl1271 *wl, u32 event_mask)
 
int wl1271_acx_set_preamble (struct wl1271 *wl, struct wl12xx_vif *wlvif, enum acx_preamble_type preamble)
 
int wl1271_acx_cts_protect (struct wl1271 *wl, struct wl12xx_vif *wlvif, enum acx_ctsprotect_type ctsprotect)
 
int wl1271_acx_statistics (struct wl1271 *wl, void *stats)
 
int wl1271_acx_sta_rate_policies (struct wl1271 *wl, struct wl12xx_vif *wlvif)
 
int wl1271_acx_ap_rate_policy (struct wl1271 *wl, struct conf_tx_rate_class *c, u8 idx)
 
int wl1271_acx_ac_cfg (struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 ac, u8 cw_min, u16 cw_max, u8 aifsn, u16 txop)
 
int wl1271_acx_tid_cfg (struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue_id, u8 channel_type, u8 tsid, u8 ps_scheme, u8 ack_policy, u32 apsd_conf0, u32 apsd_conf1)
 
int wl1271_acx_frag_threshold (struct wl1271 *wl, u32 frag_threshold)
 
int wl1271_acx_tx_config_options (struct wl1271 *wl)
 
int wl12xx_acx_mem_cfg (struct wl1271 *wl)
 
int wl1271_acx_init_mem_config (struct wl1271 *wl)
 
int wl1271_acx_init_rx_interrupt (struct wl1271 *wl)
 
int wl1271_acx_smart_reflex (struct wl1271 *wl)
 
int wl1271_acx_bet_enable (struct wl1271 *wl, struct wl12xx_vif *wlvif, bool enable)
 
int wl1271_acx_arp_ip_filter (struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 enable, __be32 address)
 
int wl1271_acx_pm_config (struct wl1271 *wl)
 
int wl1271_acx_keep_alive_mode (struct wl1271 *wl, struct wl12xx_vif *vif, bool enable)
 
int wl1271_acx_keep_alive_config (struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 index, u8 tpl_valid)
 
int wl1271_acx_rssi_snr_trigger (struct wl1271 *wl, struct wl12xx_vif *wlvif, bool enable, s16 thold, u8 hyst)
 
int wl1271_acx_rssi_snr_avg_weights (struct wl1271 *wl, struct wl12xx_vif *wlvif)
 
int wl1271_acx_set_ht_capabilities (struct wl1271 *wl, struct ieee80211_sta_ht_cap *ht_cap, bool allow_ht_operation, u8 hlid)
 
int wl1271_acx_set_ht_information (struct wl1271 *wl, struct wl12xx_vif *wlvif, u16 ht_operation_mode)
 
int wl12xx_acx_set_ba_initiator_policy (struct wl1271 *wl, struct wl12xx_vif *wlvif)
 
int wl12xx_acx_set_ba_receiver_session (struct wl1271 *wl, u8 tid_index, u16 ssn, bool enable, u8 peer_hlid)
 
int wl12xx_acx_tsf_info (struct wl1271 *wl, struct wl12xx_vif *wlvif, u64 *mactime)
 
int wl1271_acx_ps_rx_streaming (struct wl1271 *wl, struct wl12xx_vif *wlvif, bool enable)
 
int wl1271_acx_ap_max_tx_retry (struct wl1271 *wl, struct wl12xx_vif *wlvif)
 
int wl12xx_acx_config_ps (struct wl1271 *wl, struct wl12xx_vif *wlvif)
 
int wl1271_acx_set_inconnection_sta (struct wl1271 *wl, u8 *addr)
 
int wl1271_acx_fm_coex (struct wl1271 *wl)
 
int wl12xx_acx_set_rate_mgmt_params (struct wl1271 *wl)
 
int wl12xx_acx_config_hangover (struct wl1271 *wl)
 

Variables

struct acx_header __packed
 

Macro Definition Documentation

#define ACX_ARP_FILTER_ARP_FILTERING   BIT(0)

Definition at line 556 of file acx.h.

#define ACX_ARP_FILTER_AUTO_ARP   BIT(1)

Definition at line 557 of file acx.h.

#define ACX_IPV4_ADDR_SIZE   4

Definition at line 553 of file acx.h.

#define ACX_IPV4_VERSION   4

Definition at line 551 of file acx.h.

#define ACX_IPV6_VERSION   6

Definition at line 552 of file acx.h.

#define ACX_MC_ADDRESS_GROUP_MAX   (8)

Definition at line 195 of file acx.h.

#define ACX_RATE_MGMT_ALL_PARAMS   0xff

Definition at line 891 of file acx.h.

#define ADDRESS_GROUP_MAX_LEN   (ETH_ALEN * ACX_MC_ADDRESS_GROUP_MAX)

Definition at line 196 of file acx.h.

#define BEACON_FILTER_TABLE_EXTRA_VENDOR_SPECIFIC_IE_SIZE   (6)

Definition at line 269 of file acx.h.

#define BEACON_FILTER_TABLE_IE_ENTRY_SIZE   (2)

Definition at line 268 of file acx.h.

#define BEACON_FILTER_TABLE_MAX_IE_NUM   (32)

Definition at line 266 of file acx.h.

#define BEACON_FILTER_TABLE_MAX_SIZE
Value:

Definition at line 270 of file acx.h.

#define BEACON_FILTER_TABLE_MAX_VENDOR_SPECIFIC_IE_NUM   (6)

Definition at line 267 of file acx.h.

#define DEFAULT_RX_Q_PRIORITY   0

Definition at line 148 of file acx.h.

#define DEFAULT_RXQ_PRIORITY   0 /* low 0 .. 15 high */

Definition at line 149 of file acx.h.

#define DEFAULT_RXQ_TYPE   0x07 /* All frames, Data/Ctrl/Mgmt */

Definition at line 150 of file acx.h.

#define DEFAULT_UCAST_PRIORITY   0

Definition at line 147 of file acx.h.

#define DF_ENCRYPTION_DISABLE   0x01

Definition at line 353 of file acx.h.

#define DF_SNIFF_MODE_ENABLE   0x80

Definition at line 354 of file acx.h.

#define DP_RX_PACKET_RING_CHUNK_NUM   2

Definition at line 155 of file acx.h.

#define DP_RX_PACKET_RING_CHUNK_SIZE   1600

Definition at line 153 of file acx.h.

#define DP_TX_COMPLETE_TIME_OUT   20

Definition at line 157 of file acx.h.

#define DP_TX_PACKET_RING_CHUNK_NUM   2

Definition at line 156 of file acx.h.

#define DP_TX_PACKET_RING_CHUNK_SIZE   1600

Definition at line 154 of file acx.h.

#define HOST_IF_CFG_ADD_RX_ALIGNMENT   BIT(6)

Definition at line 612 of file acx.h.

#define HOST_IF_CFG_RX_FIFO_ENABLE   BIT(0)

Definition at line 608 of file acx.h.

#define HOST_IF_CFG_RX_PAD_TO_SDIO_BLK   BIT(4)

Definition at line 611 of file acx.h.

#define HOST_IF_CFG_TX_EXTRA_BLKS_SWAP   BIT(1)

Definition at line 609 of file acx.h.

#define HOST_IF_CFG_TX_PAD_TO_SDIO_BLK   BIT(3)

Definition at line 610 of file acx.h.

#define RX_BA_MAX_SESSIONS   3

Definition at line 731 of file acx.h.

#define RX_MSDU_LIFETIME_DEF   512000

Definition at line 164 of file acx.h.

#define RX_MSDU_LIFETIME_MAX   0xFFFFFFFF

Definition at line 163 of file acx.h.

#define RX_MSDU_LIFETIME_MIN   0

Definition at line 162 of file acx.h.

#define SCAN_5GHZ_BAND   BIT(1)

Definition at line 348 of file acx.h.

#define SCAN_PASSIVE   BIT(0)

Definition at line 347 of file acx.h.

#define SCAN_PRIORITY_HIGH   BIT(3)

Definition at line 350 of file acx.h.

#define SCAN_TRIGGERED   BIT(2)

Definition at line 349 of file acx.h.

#define STATION_WONE_INDEX   0

Definition at line 183 of file acx.h.

#define TRACE_BUFFER_MAX_SIZE   256

Definition at line 151 of file acx.h.

#define TX_MSDU_LIFETIME_DEF   512

Definition at line 161 of file acx.h.

#define TX_MSDU_LIFETIME_MAX   3000

Definition at line 160 of file acx.h.

#define TX_MSDU_LIFETIME_MIN   0

Definition at line 159 of file acx.h.

#define WL1271_ACX_INTR_ALL   0xFFFFFFFF

Definition at line 57 of file acx.h.

#define WL1271_ACX_INTR_CMD_COMPLETE   BIT(4)

Definition at line 45 of file acx.h.

#define WL1271_ACX_INTR_DATA   BIT(6)

Definition at line 49 of file acx.h.

#define WL1271_ACX_INTR_EVENT_A   BIT(2)

Definition at line 41 of file acx.h.

#define WL1271_ACX_INTR_EVENT_B   BIT(3)

Definition at line 43 of file acx.h.

#define WL1271_ACX_INTR_HW_AVAILABLE   BIT(5)

Definition at line 47 of file acx.h.

#define WL1271_ACX_INTR_INIT_COMPLETE   BIT(1)

Definition at line 39 of file acx.h.

#define WL1271_ACX_INTR_TRACE_A   BIT(7)

Definition at line 51 of file acx.h.

#define WL1271_ACX_INTR_TRACE_B   BIT(8)

Definition at line 53 of file acx.h.

#define WL1271_ACX_INTR_WATCHDOG   BIT(0)

Definition at line 37 of file acx.h.

#define WL1271_ACX_SW_INTR_WATCHDOG   BIT(9)

Definition at line 55 of file acx.h.

#define WL12XX_HT_CAP_HT_OPERATION   BIT(16)

Definition at line 670 of file acx.h.

#define WLCORE_ALL_INTR_MASK
Value:
WL1271_ACX_INTR_EVENT_A | \
WL1271_ACX_INTR_EVENT_B | \
WL1271_ACX_INTR_HW_AVAILABLE | \
WL1271_ACX_INTR_DATA | \
WL1271_ACX_SW_INTR_WATCHDOG)

Definition at line 60 of file acx.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
HOSTIF_PCI_MASTER_HOST_INDIRECT 
HOSTIF_PCI_MASTER_HOST_DIRECT 
HOSTIF_SLAVE 
HOSTIF_PKT_RING 
HOSTIF_DONTCARE 

Definition at line 139 of file acx.h.

anonymous enum
Enumerator:
ACX_KEEP_ALIVE_NO_TX 
ACX_KEEP_ALIVE_PERIOD_ONLY 

Definition at line 587 of file acx.h.

anonymous enum
Enumerator:
ACX_KEEP_ALIVE_TPL_INVALID 
ACX_KEEP_ALIVE_TPL_VALID 

Definition at line 592 of file acx.h.

anonymous enum
Enumerator:
WL1271_ACX_TRIG_TYPE_LEVEL 
WL1271_ACX_TRIG_TYPE_EDGE 

Definition at line 614 of file acx.h.

anonymous enum
Enumerator:
WL1271_ACX_TRIG_DIR_LOW 
WL1271_ACX_TRIG_DIR_HIGH 
WL1271_ACX_TRIG_DIR_BIDIR 

Definition at line 619 of file acx.h.

anonymous enum
Enumerator:
WL1271_ACX_TRIG_ENABLE 
WL1271_ACX_TRIG_DISABLE 

Definition at line 625 of file acx.h.

anonymous enum
Enumerator:
WL1271_ACX_TRIG_METRIC_RSSI_BEACON 
WL1271_ACX_TRIG_METRIC_RSSI_DATA 
WL1271_ACX_TRIG_METRIC_SNR_BEACON 
WL1271_ACX_TRIG_METRIC_SNR_DATA 

Definition at line 630 of file acx.h.

anonymous enum
Enumerator:
WL1271_ACX_TRIG_IDX_RSSI 
WL1271_ACX_TRIG_COUNT 

Definition at line 637 of file acx.h.

anonymous enum
Enumerator:
ACX_WAKE_UP_CONDITIONS 
ACX_MEM_CFG 
ACX_SLOT 
ACX_AC_CFG 
ACX_MEM_MAP 
ACX_AID 
ACX_MEDIUM_USAGE 
ACX_STATISTICS 
ACX_PWR_CONSUMPTION_STATISTICS 
ACX_TID_CFG 
ACX_PS_RX_STREAMING 
ACX_BEACON_FILTER_OPT 
ACX_NOISE_HIST 
ACX_HDK_VERSION 
ACX_PD_THRESHOLD 
ACX_TX_CONFIG_OPT 
ACX_CCA_THRESHOLD 
ACX_EVENT_MBOX_MASK 
ACX_CONN_MONIT_PARAMS 
ACX_DISABLE_BROADCASTS 
ACX_BCN_DTIM_OPTIONS 
ACX_SG_ENABLE 
ACX_SG_CFG 
ACX_FM_COEX_CFG 
ACX_BEACON_FILTER_TABLE 
ACX_ARP_IP_FILTER 
ACX_ROAMING_STATISTICS_TBL 
ACX_RATE_POLICY 
ACX_CTS_PROTECTION 
ACX_SLEEP_AUTH 
ACX_PREAMBLE_TYPE 
ACX_ERROR_CNT 
ACX_IBSS_FILTER 
ACX_SERVICE_PERIOD_TIMEOUT 
ACX_TSF_INFO 
ACX_CONFIG_PS_WMM 
ACX_ENABLE_RX_DATA_FILTER 
ACX_SET_RX_DATA_FILTER 
ACX_GET_DATA_FILTER_STATISTICS 
ACX_RX_CONFIG_OPT 
ACX_FRAG_CFG 
ACX_BET_ENABLE 
ACX_RSSI_SNR_TRIGGER 
ACX_RSSI_SNR_WEIGHTS 
ACX_KEEP_ALIVE_MODE 
ACX_SET_KEEP_ALIVE_CONFIG 
ACX_BA_SESSION_INIT_POLICY 
ACX_BA_SESSION_RX_SETUP 
ACX_PEER_HT_CAP 
ACX_HT_BSS_OPERATION 
ACX_COEX_ACTIVITY 
ACX_BURST_MODE 
ACX_SET_RATE_MGMT_PARAMS 
ACX_GET_RATE_MGMT_PARAMS 
ACX_SET_RATE_ADAPT_PARAMS 
ACX_SET_DCO_ITRIM_PARAMS 
ACX_GEN_FW_CMD 
ACX_HOST_IF_CFG_BITMAP 
ACX_MAX_TX_FAILURE 
ACX_UPDATE_INCONNECTION_STA_LIST 
DOT11_RX_MSDU_LIFE_TIME 
DOT11_CUR_TX_PWR 
DOT11_RTS_THRESHOLD 
DOT11_GROUP_ADDRESS_TBL 
ACX_PM_CONFIG 
ACX_CONFIG_PS 
ACX_CONFIG_HANGOVER 
ACX_FEATURE_CFG 
ACX_PROTECTION_CFG 
ACX_CHECKSUM_CONFIG 

Definition at line 958 of file acx.h.

Enumerator:
CTSPROTECT_DISABLE 
CTSPROTECT_ENABLE 
CTSPROTECT_DISABLE 
CTSPROTECT_ENABLE 

Definition at line 410 of file acx.h.

Enumerator:
ACX_PREAMBLE_LONG 
ACX_PREAMBLE_SHORT 
ACX_PREAMBLE_LONG 
ACX_PREAMBLE_SHORT 

Definition at line 393 of file acx.h.

Enumerator:
SLOT_TIME_LONG 
SLOT_TIME_SHORT 
DEFAULT_SLOT_TIME 
MAX_SLOT_TIMES 
SLOT_TIME_LONG 
SLOT_TIME_SHORT 
DEFAULT_SLOT_TIME 
MAX_SLOT_TIMES 

Definition at line 176 of file acx.h.

Enumerator:
WL1271_PSM_CAM 
WL1271_PSM_PS 
WL1271_PSM_ELP 
WL1271_PSM_MAX 
WL1271_PSM_ILLEGAL 

Definition at line 112 of file acx.h.

Enumerator:
WL1271_ROLE_STA 
WL1271_ROLE_IBSS 
WL1271_ROLE_AP 
WL1271_ROLE_DEVICE 
WL1271_ROLE_P2P_CL 
WL1271_ROLE_P2P_GO 
WL12XX_INVALID_ROLE_TYPE 

Definition at line 101 of file acx.h.

Function Documentation

int wl1271_acx_ac_cfg ( struct wl1271 wl,
struct wl12xx_vif wlvif,
u8  ac,
u8  cw_min,
u16  cw_max,
u8  aifsn,
u16  txop 
)

Definition at line 837 of file acx.c.

int wl1271_acx_aid ( struct wl1271 wl,
struct wl12xx_vif wlvif,
u16  aid 
)

Definition at line 606 of file acx.c.

Definition at line 1526 of file acx.c.

int wl1271_acx_ap_rate_policy ( struct wl1271 wl,
struct conf_tx_rate_class c,
u8  idx 
)

Definition at line 804 of file acx.c.

int wl1271_acx_arp_ip_filter ( struct wl1271 wl,
struct wl12xx_vif wlvif,
u8  enable,
__be32  address 
)

Definition at line 1102 of file acx.c.

int wl1271_acx_bcn_dtim_options ( struct wl1271 wl,
struct wl12xx_vif wlvif 
)

Definition at line 576 of file acx.c.

int wl1271_acx_beacon_filter_opt ( struct wl1271 wl,
struct wl12xx_vif wlvif,
bool  enable_filter 
)

Definition at line 354 of file acx.c.

int wl1271_acx_beacon_filter_table ( struct wl1271 wl,
struct wl12xx_vif wlvif 
)

Definition at line 393 of file acx.c.

int wl1271_acx_bet_enable ( struct wl1271 wl,
struct wl12xx_vif wlvif,
bool  enable 
)

Definition at line 1070 of file acx.c.

int wl1271_acx_cca_threshold ( struct wl1271 wl)

Definition at line 550 of file acx.c.

int wl1271_acx_conn_monit_params ( struct wl1271 wl,
struct wl12xx_vif wlvif,
bool  enable 
)

Definition at line 451 of file acx.c.

int wl1271_acx_cts_protect ( struct wl1271 wl,
struct wl12xx_vif wlvif,
enum acx_ctsprotect_type  ctsprotect 
)

Definition at line 690 of file acx.c.

int wl1271_acx_dco_itrim_params ( struct wl1271 wl)

Definition at line 325 of file acx.c.

int wl1271_acx_event_mbox_mask ( struct wl1271 wl,
u32  event_mask 
)

Definition at line 633 of file acx.c.

int wl1271_acx_feature_cfg ( struct wl1271 wl,
struct wl12xx_vif wlvif 
)

Definition at line 128 of file acx.c.

Definition at line 1606 of file acx.c.

int wl1271_acx_frag_threshold ( struct wl1271 wl,
u32  frag_threshold 
)

Definition at line 908 of file acx.c.

int wl1271_acx_group_address_tbl ( struct wl1271 wl,
struct wl12xx_vif wlvif,
bool  enable,
void mc_list,
u32  mc_list_len 
)

Definition at line 227 of file acx.c.

int wl1271_acx_init_mem_config ( struct wl1271 wl)

Definition at line 1009 of file acx.c.

int wl1271_acx_init_rx_interrupt ( struct wl1271 wl)

Definition at line 1040 of file acx.c.

int wl1271_acx_keep_alive_config ( struct wl1271 wl,
struct wl12xx_vif wlvif,
u8  index,
u8  tpl_valid 
)

Definition at line 1192 of file acx.c.

Definition at line 1164 of file acx.c.

int wl1271_acx_mem_map ( struct wl1271 wl,
struct acx_header mem_map,
size_t  len 
)

Definition at line 158 of file acx.c.

Definition at line 1135 of file acx.c.

int wl1271_acx_ps_rx_streaming ( struct wl1271 wl,
struct wl12xx_vif wlvif,
bool  enable 
)

Definition at line 1477 of file acx.c.

Definition at line 1265 of file acx.c.

int wl1271_acx_rssi_snr_trigger ( struct wl1271 wl,
struct wl12xx_vif wlvif,
bool  enable,
s16  thold,
u8  hyst 
)

Definition at line 1224 of file acx.c.

int wl1271_acx_rts_threshold ( struct wl1271 wl,
struct wl12xx_vif wlvif,
u32  rts_threshold 
)

Definition at line 290 of file acx.c.

int wl1271_acx_rx_msdu_life_time ( struct wl1271 wl)

Definition at line 172 of file acx.c.

int wl1271_acx_service_period_timeout ( struct wl1271 wl,
struct wl12xx_vif wlvif 
)

Definition at line 259 of file acx.c.

int wl1271_acx_set_ht_capabilities ( struct wl1271 wl,
struct ieee80211_sta_ht_cap ht_cap,
bool  allow_ht_operation,
u8  hlid 
)

Definition at line 1297 of file acx.c.

int wl1271_acx_set_ht_information ( struct wl1271 wl,
struct wl12xx_vif wlvif,
u16  ht_operation_mode 
)

Definition at line 1344 of file acx.c.

int wl1271_acx_set_inconnection_sta ( struct wl1271 wl,
u8 addr 
)

Definition at line 1581 of file acx.c.

int wl1271_acx_set_preamble ( struct wl1271 wl,
struct wl12xx_vif wlvif,
enum acx_preamble_type  preamble 
)

Definition at line 662 of file acx.c.

int wl1271_acx_sg_enable ( struct wl1271 wl,
bool  enable 
)

Definition at line 491 of file acx.c.

int wl1271_acx_sleep_auth ( struct wl1271 wl,
u8  sleep_auth 
)

Definition at line 68 of file acx.c.

int wl1271_acx_slot ( struct wl1271 wl,
struct wl12xx_vif wlvif,
enum acx_slot_type  slot_time 
)

Definition at line 198 of file acx.c.

int wl1271_acx_smart_reflex ( struct wl1271 wl)
int wl1271_acx_sta_rate_policies ( struct wl1271 wl,
struct wl12xx_vif wlvif 
)

Definition at line 734 of file acx.c.

int wl1271_acx_statistics ( struct wl1271 wl,
void stats 
)

Definition at line 718 of file acx.c.

int wl1271_acx_tid_cfg ( struct wl1271 wl,
struct wl12xx_vif wlvif,
u8  queue_id,
u8  channel_type,
u8  tsid,
u8  ps_scheme,
u8  ack_policy,
u32  apsd_conf0,
u32  apsd_conf1 
)

Definition at line 871 of file acx.c.

int wl1271_acx_tx_config_options ( struct wl1271 wl)

Definition at line 941 of file acx.c.

int wl1271_acx_tx_power ( struct wl1271 wl,
struct wl12xx_vif wlvif,
int  power 
)

Definition at line 97 of file acx.c.

int wl1271_acx_wake_up_conditions ( struct wl1271 wl,
struct wl12xx_vif wlvif,
u8  wake_up_event,
u8  listen_interval 
)

Definition at line 37 of file acx.c.

Definition at line 1688 of file acx.c.

int wl12xx_acx_config_ps ( struct wl1271 wl,
struct wl12xx_vif wlvif 
)

Definition at line 1551 of file acx.c.

int wl12xx_acx_mem_cfg ( struct wl1271 wl)

Definition at line 968 of file acx.c.

int wl12xx_acx_set_ba_initiator_policy ( struct wl1271 wl,
struct wl12xx_vif wlvif 
)

Definition at line 1381 of file acx.c.

int wl12xx_acx_set_ba_receiver_session ( struct wl1271 wl,
u8  tid_index,
u16  ssn,
bool  enable,
u8  peer_hlid 
)

Definition at line 1416 of file acx.c.

Definition at line 1646 of file acx.c.

int wl12xx_acx_sg_cfg ( struct wl1271 wl)

Definition at line 520 of file acx.c.

int wl12xx_acx_tsf_info ( struct wl1271 wl,
struct wl12xx_vif wlvif,
u64 mactime 
)

Definition at line 1448 of file acx.c.

Variable Documentation