#include <linux/config.h>
#include <linux/version.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/skbuff.h>
#include <linux/netdevice.h>
#include <linux/random.h>
#include <linux/delay.h>
#include <linux/cache.h>
#include <linux/sysctl.h>
#include <linux/proc_fs.h>
#include <linux/if_arp.h>
#include <linux/wait.h>
#include <linux/timer.h>
#include <linux/etherdevice.h>
#include <linux/if_ether.h>
#include <asm/uaccess.h>
#include "../../click_wifi/packet_anno.h"
#include "if_athvar.h"
#include "ah_desc.h"
#include "ah_devid.h"
#include "if_llc.h"
#include "if_ath_bus.h"
#include "if_ethersubr.h"
Include dependency graph for if_ath.c:
Go to the source code of this file.
Defines | |
#define | AR_DEBUG |
#define | timeradd(a, b, result) |
#define | timersub(a, b, result) |
#define | LE_READ_2(p) |
#define | LE_READ_4(p) |
#define | IFF_DUMPPKTS(_ic) (ath_debug) |
#define | DPRINTF(sc, _m, _fmt,) |
#define | DS2PHYS(_sc, _ds) ((_sc)->sc_desc_daddr + ((caddr_t)(_ds) - (caddr_t)(_sc)->sc_desc)) |
#define | PA2DESC(_sc, _pa) |
#define | N(a) (sizeof(a)/sizeof(a[0])) |
#define | IEEE80211_ACK_SIZE (2+2+IEEE80211_ADDR_LEN+4) |
#define | MIN(a, b) ((a) < (b) ? (a) : (b)) |
#define | MAX(a, b) ((a) > (b) ? (a) : (b)) |
#define | PA2DESC(_sc, _pa) |
#define | N(a) (sizeof(a) / sizeof(a[0])) |
Enumerations | |
enum | { ATH_DEBUG_ANY = 0xffffffff } |
Functions | |
static int | ath_init (struct net_device *) |
static int | ath_reset (struct net_device *) |
static void | ath_fatal_tasklet (TQUEUE_ARG) |
static void | ath_rxorn_tasklet (TQUEUE_ARG) |
static int | ath_stop (struct net_device *) |
static void | ath_initkeytable (struct net_device *) |
static void | ath_mode_init (struct net_device *) |
static int | ath_desc_alloc (struct ath_softc *) |
static void | ath_desc_free (struct ath_softc *) |
static int | ath_rxbuf_init (struct ath_softc *, struct ath_buf *) |
static void | ath_rx_tasklet (TQUEUE_ARG data) |
static int | ath_tx_setup (struct ath_softc *, int ac, int txq) |
static int | ath_hardstart (struct sk_buff *, struct net_device *) |
static int | ath_tx_start (struct net_device *, struct ath_buf *, struct sk_buff *) |
static void | ath_tx_tasklet (TQUEUE_ARG data) |
static void | ath_tx_timeout (struct net_device *) |
static void | ath_draintxq (struct ath_softc *) |
static void | ath_stoprecv (struct ath_softc *) |
static int | ath_startrecv (struct net_device *) |
static void | ath_calibrate (unsigned long) |
static struct net_device_stats * | ath_getstats (struct net_device *) |
static int | ath_getchannels (struct net_device *, u_int cc, HAL_BOOL outdoor, HAL_BOOL xchanmode) |
static void | ath_update_led (struct ath_softc *, u_int16_t) |
static int | ath_set_mac_address (struct net_device *, void *) |
static int | ath_change_mtu (struct net_device *, int) |
static int | ath_ioctl (struct net_device *, struct ifreq *, int) |
static int | ath_setchannel (struct ath_softc *, struct ieee80211channel *channel) |
static void | ath_announce (struct net_device *) |
static int | ath_rate_setup (struct net_device *dev, u_int mode) |
static void | ath_printrxbuf (struct ath_buf *bf, int) |
static void | ath_printtxbuf (struct ath_buf *bf, int) |
const char * | ether_sprintf (const u_int8_t *mac) |
u_int | chan2ieee (struct ath_softc *sc, struct ieee80211channel *c) |
void | dump_pkt (struct sk_buff *skb) |
void | ieee80211_dump_pkt (u_int8_t *buf, int len, int rate, int rssi) |
sk_buff * | ieee80211_encap (struct net_device *dev, struct sk_buff *skb) |
enum ieee80211_phymode | chan2mode (struct ath_softc *sc, struct ieee80211channel *chan) |
iw_statistics * | ath_iw_getstats (struct net_device *) |
MODULE_PARM (countrycode,"i") | |
MODULE_PARM_DESC (countrycode,"Override default country code") | |
MODULE_PARM (outdoor,"i") | |
MODULE_PARM_DESC (outdoor,"Enable/disable outdoor use") | |
MODULE_PARM (xchanmode,"i") | |
MODULE_PARM_DESC (xchanmode,"Enable/disable extended channel mode") | |
int | ath_attach (u_int16_t devid, struct net_device *dev) |
int | ath_detach (struct net_device *dev) |
void | ath_suspend (struct net_device *dev) |
void | ath_resume (struct net_device *dev) |
void | ath_shutdown (struct net_device *dev) |
irqreturn_t | ath_intr (int irq, void *dev_id, struct pt_regs *regs) |
static u_int | ath_chan2flags (struct ath_softc *sc, struct ieee80211channel *chan) |
static int | ath_stop_locked (struct net_device *dev) |
static int | ath_skbhdr_adjust (struct sk_buff *skb, struct net_device *dev) |
static u_int32_t | ath_calcrxfilter (struct net_device *dev) |
static struct sk_buff * | ath_alloc_skb (u_int size, u_int align) |
sk_buff * | ieee80211_decap (struct net_device *dev, struct sk_buff *skb) |
static struct timeval | get_stamp (struct ath_hal *ah, u_int32_t t) |
static void | ath_setdefantenna (struct ath_softc *sc, u_int antenna) |
static void | ath_tx_processq (struct ath_softc *sc, struct ath_txq *txq) |
static void | ath_tx_draintxq (struct ath_softc *sc, struct ath_txq *txq) |
static void | ath_tx_stopdma (struct ath_softc *sc, struct ath_txq *txq) |
static int | ath_ioctl_diag (struct ath_softc *sc, struct ath_diag *ad) |
int | ath_ioctl_ethtool (struct ath_softc *sc, int cmd, void *addr) |
Variables | |
static int | ath_dwelltime = 200 |
static int | ath_calinterval = 30 |
static int | ath_countrycode = CTRY_DEFAULT |
static int | ath_regdomain = 0 |
static int | ath_outdoor = AH_TRUE |
static int | ath_xchanmode = AH_TRUE |
static int | ath_phyerr = AH_FALSE |
int | ath_debug = 0 |
const struct iw_handler_def | ath_iw_handler_def |
static int | countrycode = -1 |
static int | outdoor = -1 |
static int | xchanmode = -1 |
static const char * | acnames [] |
|
|
Value: do { \ if (sc->sc_debug & _m) \ printk(_fmt, __VA_ARGS__); \ } while (0) Definition at line 426 of file if_ath.c. Referenced by ath_attach(), ath_calibrate(), ath_desc_alloc(), ath_detach(), ath_hardstart(), ath_init(), ath_intr(), ath_mode_init(), ath_rate_setup(), ath_resume(), ath_rx_tasklet(), ath_rxbuf_init(), ath_set_mac_address(), ath_shutdown(), ath_startrecv(), ath_stop_locked(), ath_suspend(), ath_tx_processq(), ath_tx_start(), ath_tx_stopdma(), and ath_tx_tasklet(). |
|
|
Definition at line 1963 of file if_ath.c. Referenced by ath_tx_start(). |
|
Definition at line 168 of file if_ath.c. Referenced by ath_rx_tasklet(), and ath_tx_start(). |
|
Value: |
|
Value: ((u_int32_t) \ ((((u_int8_t *)(p))[0] ) | (((u_int8_t *)(p))[1] << 8) | \ (((u_int8_t *)(p))[2] << 16) | (((u_int8_t *)(p))[3] << 24))) Definition at line 114 of file if_ath.c. Referenced by ath_mode_init(). |
|
Referenced by ath_tx_start(). |
|
Referenced by ath_tx_start(). |
|
|
Referenced by ath_setchannel(), and ath_tx_setup(). |
|
Value: ((struct ath_desc *)((caddr_t)(_sc)->sc_desc + \ ((_pa) - (_sc)->sc_desc_daddr))) |
|
Value: ((struct ath_desc *)((caddr_t)(_sc)->sc_desc + \ ((_pa) - (_sc)->sc_desc_daddr))) Referenced by ath_rx_tasklet(), and ath_stoprecv(). |
|
Value: do { \ (result)->tv_sec = (a)->tv_sec + (b)->tv_sec; \ (result)->tv_usec = (a)->tv_usec + (b)->tv_usec; \ if ((result)->tv_usec >= 1000000) \ { \ ++(result)->tv_sec; \ (result)->tv_usec -= 1000000; \ } \ } while (0) |
|
Value: do { \ (result)->tv_sec = (a)->tv_sec - (b)->tv_sec; \ (result)->tv_usec = (a)->tv_usec - (b)->tv_usec; \ if ((result)->tv_usec < 0) { \ --(result)->tv_sec; \ (result)->tv_usec += 1000000; \ } \ } while (0) Definition at line 100 of file if_ath.c. Referenced by get_stamp(). |
|
|
Definition at line 1368 of file if_ath.c. Referenced by ath_rxbuf_init(). |
|
Referenced by ath_attach(). |
|
Here is the call graph for this function:
|
Definition at line 1309 of file if_ath.c. References ath_phyerr, HAL_RX_FILTER_BCAST, HAL_RX_FILTER_BEACON, HAL_RX_FILTER_CONTROL, HAL_RX_FILTER_MCAST, HAL_RX_FILTER_PHYERR, HAL_RX_FILTER_PROBEREQ, HAL_RX_FILTER_PROM, and HAL_RX_FILTER_UCAST. Referenced by ath_mode_init(). |
|
Definition at line 2662 of file if_ath.c. References ath_stats::ast_per_cal, ath_stats::ast_per_calfail, ath_stats::ast_per_rfgain, ath_calinterval, ath_chan2flags(), ATH_DEBUG_ANY, ath_hal_calibrate, ath_hal_getrfgain, ath_reset(), HAL_CHANNEL::channel, HAL_CHANNEL::channelFlags, ath_softc::current_channel, DPRINTF, HAL_RFGAIN_NEED_CHANGE, ath_softc::sc_ah, ath_softc::sc_cal_ch, and ath_softc::sc_stats. Referenced by ath_attach(). |
Here is the call graph for this function:
|
Definition at line 957 of file if_ath.c. References chan2mode(), CHANNEL_A, CHANNEL_B, CHANNEL_PUREG, and CHANNEL_T. Referenced by ath_calibrate(), ath_init(), and ath_reset(). |
Here is the call graph for this function:
|
Definition at line 2993 of file if_ath.c. References ATH_MAX_MTU, ATH_MIN_MTU, and ath_reset(). Referenced by ath_attach(). |
Here is the call graph for this function:
|
Definition at line 1383 of file if_ath.c. References ATH_DEBUG_ANY, ATH_RXBUF, ATH_TXBUF, ATH_TXDESC, ath_buf::bf_daddr, ath_buf::bf_desc, bus_alloc_consistent, bus_free_consistent, DPRINTF, STAILQ_INIT, and STAILQ_INSERT_TAIL. Referenced by ath_attach(). |
|
Definition at line 1439 of file if_ath.c. References ath_buf::bf_skb, ath_buf::bf_skbaddr, BUS_DMA_FROMDEVICE, BUS_DMA_TODEVICE, bus_free_consistent, bus_unmap_single, dev_kfree_skb_any(), STAILQ_FOREACH, and STAILQ_INIT. Referenced by ath_attach(), and ath_detach(). |
Here is the call graph for this function:
|
Definition at line 790 of file if_ath.c. References ATH_DEBUG_ANY, ath_desc_free(), ath_hal_detach(), ATH_LOCK_DESTROY, ath_stop(), ATH_TXBUF_LOCK_DESTROY, ATH_TXQ_LOCK_DESTROY, ATH_TXQ_SETUP, ath_softc::dev, DPRINTF, HAL_NUM_TX_QUEUES, ath_softc::sc_ah, ath_softc::sc_invalid, and ath_softc::sc_txq. Referenced by ath_pci_remove(). |
Here is the call graph for this function:
|
Definition at line 2574 of file if_ath.c. References ath_tx_draintxq(), ath_tx_stopdma(), ATH_TXQ_SETUP, and HAL_NUM_TX_QUEUES. Referenced by ath_reset(), and ath_stop_locked(). |
Here is the call graph for this function:
|
Definition at line 938 of file if_ath.c. References ath_reset(). Referenced by ath_attach(). |
Here is the call graph for this function:
|
Definition at line 2701 of file if_ath.c. References ath_hal_getregdomain, ath_hal_init_channels(), ath_hal_mhz2ieee(), HAL_CHANNEL::channel, HAL_CHANNEL::channelFlags, HAL_MODE_ALL, ath_softc::ic_channels, ath_softc::ic_flags, IEEE80211_CHAN_MAX, outdoor, ath_softc::sc_ah, and xchanmode. Referenced by ath_attach(). |
Here is the call graph for this function:
|
Definition at line 2949 of file if_ath.c. References ath_stats::ast_rx_badcrypt, ath_stats::ast_rx_crcerr, ath_stats::ast_rx_fifoerr, ath_stats::ast_rx_tooshort, ath_stats::ast_tx_encap, ath_stats::ast_tx_fifoerr, ath_stats::ast_tx_filtered, ath_stats::ast_tx_nobuf, ath_stats::ast_tx_nobufmgt, ath_stats::ast_tx_nonode, ath_stats::ast_tx_xretries, ath_softc::ic_stats, and ath_softc::sc_stats. Referenced by ath_attach(). |
|
Definition at line 1207 of file if_ath.c. References ath_stats::ast_tx_invalid, ath_stats::ast_tx_nobuf, ath_stats::ast_tx_qstop, ATH_DEBUG_ANY, ath_skbhdr_adjust(), ath_tx_start(), ATH_TXBUF_LOCK_BH, ATH_TXBUF_UNLOCK_BH, dev_kfree_skb_any(), DPRINTF, pull_prism2_header(), pull_wifi_extra_header(), ath_softc::sc_invalid, ath_softc::sc_stats, STAILQ_EMPTY, STAILQ_FIRST, STAILQ_INSERT_TAIL, and STAILQ_REMOVE_HEAD. Referenced by ath_attach(). |
Here is the call graph for this function:
|
Here is the call graph for this function:
|
Definition at line 1948 of file if_ath.c. References ath_hal_keyreset, IEEE80211_WEP_NKID, and ath_softc::sc_ah. Referenced by ath_init(). |
|
|
Definition at line 3068 of file if_ath.c. References ath_ioctl_diag(), ath_ioctl_ethtool(), SIOCGATHDIAG, and SIOCGATHSTATS. Referenced by ath_attach(). |
Here is the call graph for this function:
|
Definition at line 3009 of file if_ath.c. References ATH_DIAG_DYN, ATH_DIAG_ID, ATH_DIAG_IN, and ath_hal_getdiagstate. Referenced by ath_ioctl(). |
|
Definition at line 318 of file if_ath_pci.c. References dev_info, and version. Referenced by ath_ioctl(). |
|
Referenced by ath_attach(). |
|
Definition at line 1332 of file if_ath.c. References ath_calcrxfilter(), ATH_DEBUG_ANY, ath_hal_setmcastfilter, ath_hal_setopmode, ath_hal_setrxfilter, DPRINTF, LE_READ_4, and ath_softc::sc_ah. Referenced by ath_attach(), and ath_startrecv(). |
Here is the call graph for this function:
|
Definition at line 2919 of file if_ath.c. References ath_desc::ds_ctl0, ath_desc::ds_ctl1, ath_desc::ds_data, ath_desc::ds_hw, and ath_desc::ds_link. Referenced by ath_rx_tasklet(), and ath_stoprecv(). |
|
Definition at line 2932 of file if_ath.c. References ath_desc::ds_ctl0, ath_desc::ds_ctl1, ath_desc::ds_data, ath_desc::ds_hw, and ath_desc::ds_link. Referenced by ath_tx_draintxq(), and ath_tx_processq(). |
|
Definition at line 2865 of file if_ath.c. References ATH_DEBUG_ANY, ath_hal_getratetable, DPRINTF, HAL_MODE_11A, HAL_MODE_11B, HAL_MODE_11G, HAL_MODE_TURBO, IEEE80211_MODE_11A, IEEE80211_MODE_11B, IEEE80211_MODE_11G, IEEE80211_RATE_MAXSIZE, HAL_RATE_TABLE::info, HAL_RATE_TABLE::rateCount, HAL_RATE::rateKbps, ath_softc::sc_ah, ath_softc::sc_rates, and HAL_RATE::valid. Referenced by ath_attach(). |
|
Definition at line 1144 of file if_ath.c. References AH_TRUE, ath_chan2flags(), ath_draintxq(), ath_hal_intrset, ath_hal_reset, ath_startrecv(), ath_stoprecv(), HAL_CHANNEL::channel, HAL_CHANNEL::channelFlags, ath_softc::current_channel, ath_softc::ic_opmode, ath_softc::sc_ah, and ath_softc::sc_imask. Referenced by ath_calibrate(), ath_change_mtu(), ath_fatal_tasklet(), ath_rxorn_tasklet(), and ath_set_mac_address(). |
Here is the call graph for this function:
|
Definition at line 826 of file if_ath.c. References ATH_DEBUG_ANY, ath_init(), and DPRINTF. |
Here is the call graph for this function:
|
Here is the call graph for this function:
|
Definition at line 1479 of file if_ath.c. References ath_alloc_skb(), ATH_DEBUG_ANY, ath_hal_setuprxdesc, ath_buf::bf_skb, ath_buf::bf_skbaddr, BUS_DMA_FROMDEVICE, bus_map_single, DPRINTF, ath_desc::ds_data, and ath_desc::ds_link. Referenced by ath_rx_tasklet(), and ath_startrecv(). |
Here is the call graph for this function:
|
Definition at line 947 of file if_ath.c. References ath_reset(). Referenced by ath_attach(). |
Here is the call graph for this function:
|
Definition at line 2974 of file if_ath.c. References ATH_DEBUG_ANY, ath_hal_setmac, ath_reset(), DPRINTF, and ath_softc::sc_ah. Referenced by ath_attach(). |
Here is the call graph for this function:
|
Definition at line 2753 of file if_ath.c. References chan2ieee(), chan2mode(), HAL_RATE::dot11Rate, IEEE80211_CHAN_A, IEEE80211_CHAN_B, IEEE80211_CHAN_MAX, IEEE80211_CHAN_PUREG, IEEE80211_CHAN_T, IEEE80211_CHAN_TURBO, IEEE80211_MODE_AUTO, IEEE80211_RATE_VAL, HAL_RATE_TABLE::info, isclr, KASSERT, N, HAL_RATE_TABLE::rateCodeToIndex, and HAL_RATE::valid. Referenced by ath_init(). |
Here is the call graph for this function:
|
Definition at line 1647 of file if_ath.c. References ath_hal_setdefantenna. |
|
Definition at line 834 of file if_ath.c. References ATH_DEBUG_ANY, ath_stop(), and DPRINTF. |
Here is the call graph for this function:
|
Definition at line 1186 of file if_ath.c. References dev_kfree_skb_any(), ath_softc::ic_flags, IEEE80211_ADDR_LEN, IEEE80211_WEP_IVLEN, and IEEE80211_WEP_KIDLEN. Referenced by ath_hardstart(). |
Here is the call graph for this function:
|
Definition at line 2629 of file if_ath.c. References ATH_DEBUG_ANY, ath_hal_putrxbuf, ath_hal_rxena, ath_hal_startpcurecv, ath_mode_init(), ath_rxbuf_init(), ath_buf::bf_daddr, ath_softc::dev, DPRINTF, roundup, ath_softc::sc_ah, ath_softc::sc_cachelsz, ath_softc::sc_rxbufsize, ath_softc::sc_rxlink, STAILQ_FIRST, and STAILQ_FOREACH. Referenced by ath_init(), and ath_reset(). |
Here is the call graph for this function:
|
Definition at line 1113 of file if_ath.c. References ath_hal_setpower, ATH_LOCK, ath_stop_locked(), ATH_UNLOCK, HAL_PM_FULL_SLEEP, ath_softc::sc_ah, and ath_softc::sc_invalid. Referenced by ath_attach(), ath_detach(), ath_init(), ath_shutdown(), and ath_suspend(). |
Here is the call graph for this function:
|
Definition at line 1070 of file if_ath.c. References ATH_DEBUG_ANY, ath_draintxq(), ath_hal_gpioset, ath_hal_intrset, ath_hal_phydisable, ath_stoprecv(), DPRINTF, ath_softc::sc_ah, ath_softc::sc_invalid, ath_softc::sc_ledpin, ath_softc::sc_rxlink, and ath_softc::sc_softled. Referenced by ath_stop(). |
Here is the call graph for this function:
|
Definition at line 2595 of file if_ath.c. References ath_debug, ATH_DEBUG_ANY, ath_hal_getrxbuf, ath_hal_rxprocdesc, ath_hal_setrxfilter, ath_hal_stopdmarecv, ath_hal_stoppcurecv, ath_printrxbuf(), ath_buf::bf_daddr, ath_buf::bf_desc, ath_desc::ds_link, HAL_OK, PA2DESC, and STAILQ_FOREACH. Referenced by ath_reset(), and ath_stop_locked(). |
Here is the call graph for this function:
|
Definition at line 818 of file if_ath.c. References ATH_DEBUG_ANY, ath_stop(), and DPRINTF. |
Here is the call graph for this function:
|
Definition at line 2526 of file if_ath.c. References ATH_DEBUG_ANY, ath_hal_txprocdesc, ath_printtxbuf(), ATH_TXBUF_LOCK, ATH_TXBUF_UNLOCK, ATH_TXQ_LOCK, ATH_TXQ_REMOVE_HEAD, ATH_TXQ_UNLOCK, ath_buf::bf_desc, ath_buf::bf_node, ath_buf::bf_skb, ath_buf::bf_skbaddr, BUS_DMA_TODEVICE, bus_unmap_single, HAL_OK, ath_softc::sc_ah, STAILQ_FIRST, and STAILQ_INSERT_TAIL. Referenced by ath_draintxq(). |
Here is the call graph for this function:
|
Here is the call graph for this function:
|
Definition at line 1891 of file if_ath.c. References acnames, ath_hal_setuptxqueue, ATH_TXQ_LOCK_INIT, ATH_TXQ_SETUP, ath_txq::axq_depth, ath_txq::axq_intrcnt, ath_txq::axq_link, ath_txq::axq_qnum, HAL_TX_QUEUE_DATA, N, STAILQ_INIT, TXQ_FLAG_TXDESCINT_ENABLE, and TXQ_FLAG_TXEOLINT_ENABLE. Referenced by ath_attach(). |
|
Here is the call graph for this function:
|
Definition at line 2561 of file if_ath.c. References ATH_DEBUG_ANY, ath_hal_gettxbuf, ath_hal_stoptxdma, and DPRINTF. Referenced by ath_draintxq(). |
|
Definition at line 2479 of file if_ath.c. References ATH_DEBUG_ANY, ath_tx_processq(), ATH_TXQ_SETUP, DPRINTF, HAL_NUM_TX_QUEUES, ath_softc::sc_txq, and STAILQ_EMPTY. Referenced by ath_attach(). |
Here is the call graph for this function:
|
Definition at line 2503 of file if_ath.c. References ath_stats::ast_watchdog, ath_hal_intrpend, ath_init(), ath_intr(), ath_softc::sc_ah, ath_softc::sc_stats, and ath_softc::subsequent_kicks. Referenced by ath_attach(). |
Here is the call graph for this function:
|
Definition at line 1540 of file if_ath.c. References ath_hal_gpioCfgOutput, and ath_hal_gpioset. Referenced by ath_rx_tasklet(), and ath_tx_start(). |
|
Definition at line 197 of file if_ath.c. References IEEE80211_CHAN_ANY, IEEE80211_CHAN_ANYC, and IEEE80211_CHAN_MAX. Referenced by ath_attach(), and ath_setchannel(). |
|
Definition at line 407 of file if_ath.c. References IEEE80211_CHAN_DYN, IEEE80211_CHAN_OFDM, IEEE80211_IS_CHAN_5GHZ, IEEE80211_MODE_11A, IEEE80211_MODE_11B, and IEEE80211_MODE_11G. Referenced by ath_chan2flags(), ath_init(), and ath_setchannel(). |
|
|
Definition at line 184 of file if_ath.c. Referenced by ath_attach(), and ieee80211_dump_pkt(). |
|
Definition at line 1611 of file if_ath.c. References ath_hal_gettsf32, get_stamp(), and timersub. Referenced by ath_rx_tasklet(), and get_stamp(). |
Here is the call graph for this function:
|
Here is the call graph for this function:
|
Definition at line 232 of file if_ath.c. References ether_sprintf(), ieee80211_frame::i_addr1, ieee80211_frame::i_addr2, ieee80211_frame::i_addr3, ieee80211_frame::i_fc, IEEE80211_FC0_TYPE_DATA, IEEE80211_FC0_TYPE_MASK, IEEE80211_FC0_TYPE_MGT, IEEE80211_FC1_DIR_DSTODS, IEEE80211_FC1_DIR_FROMDS, IEEE80211_FC1_DIR_MASK, IEEE80211_FC1_DIR_NODS, IEEE80211_FC1_DIR_TODS, IEEE80211_FC1_WEP, and IEEE80211_WEP_IVLEN. Referenced by ath_rx_tasklet(), and ath_tx_start(). |
Here is the call graph for this function:
|
Here is the call graph for this function:
|
|
|
|
|
|
|
Initial value: { "WME_AC_BE", "WME_AC_BK", "WME_AC_VI", "WME_AC_VO", "WME_UPSD", } Definition at line 443 of file if_ath.c. Referenced by ath_tx_setup(). |
|
Definition at line 159 of file if_ath.c. Referenced by ath_calibrate(). |
|
Definition at line 160 of file if_ath.c. Referenced by ath_attach(). |
|
Definition at line 167 of file if_ath.c. Referenced by ath_attach(), ath_intr(), ath_rx_tasklet(), ath_stoprecv(), and ath_tx_processq(). |
|
|
Referenced by ath_attach(). |
|
Definition at line 162 of file if_ath.c. Referenced by ath_attach(). |
|
Definition at line 164 of file if_ath.c. Referenced by ath_calcrxfilter(), and ath_rx_tasklet(). |
|
Definition at line 161 of file if_ath.c. Referenced by ath_attach(). |
|
Definition at line 163 of file if_ath.c. Referenced by ath_attach(). |
|
Definition at line 433 of file if_ath.c. Referenced by ath_attach(). |
|
Definition at line 436 of file if_ath.c. Referenced by ath_attach(), and ath_getchannels(). |
|
Definition at line 439 of file if_ath.c. Referenced by ath_attach(), and ath_getchannels(). |