Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
acx.c File Reference
#include "acx.h"
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/spi/spi.h>
#include <linux/slab.h>
#include "wlcore.h"
#include "debug.h"
#include "wl12xx_80211.h"
#include "ps.h"
#include "hw_ops.h"

Go to the source code of this file.

Macros

#define ACX_CONN_MONIT_DISABLE_VALUE   0xffffffff
 

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)
 
 EXPORT_SYMBOL_GPL (wl1271_acx_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)
 
 EXPORT_SYMBOL_GPL (wl12xx_acx_mem_cfg)
 
int wl1271_acx_init_mem_config (struct wl1271 *wl)
 
 EXPORT_SYMBOL_GPL (wl1271_acx_init_mem_config)
 
int wl1271_acx_init_rx_interrupt (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)
 
 EXPORT_SYMBOL_GPL (wl1271_acx_pm_config)
 
int wl1271_acx_keep_alive_mode (struct wl1271 *wl, struct wl12xx_vif *wlvif, 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)
 

Macro Definition Documentation

#define ACX_CONN_MONIT_DISABLE_VALUE   0xffffffff

Definition at line 449 of file acx.c.

Function Documentation

EXPORT_SYMBOL_GPL ( wl1271_acx_sleep_auth  )
EXPORT_SYMBOL_GPL ( wl12xx_acx_mem_cfg  )
EXPORT_SYMBOL_GPL ( wl1271_acx_init_mem_config  )
EXPORT_SYMBOL_GPL ( wl1271_acx_pm_config  )
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.

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

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_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.