FreeBSD kernel ATH device code
if_ath_alq.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  if_ath_alq_init_state
 
struct  if_ath_alq_tdma_beacon_state
 
struct  if_ath_alq_tdma_timer_config
 
struct  if_ath_alq_tdma_slot_calc
 
struct  if_ath_alq_tdma_tsf_adjust
 
struct  if_ath_alq_tdma_timer_set
 
struct  if_ath_alq_interrupt
 
struct  if_ath_alq_mib_counters
 
struct  if_ath_alq_tx_fifo_push
 
struct  if_ath_alq
 
struct  if_ath_alq_hdr
 
struct  if_ath_alq_payload
 

Macros

#define ATH_ALQ_INIT_STATE   1
 
#define ATH_ALQ_EDMA_TXSTATUS   2
 
#define ATH_ALQ_EDMA_RXSTATUS   3
 
#define ATH_ALQ_EDMA_TXDESC   4
 
#define ATH_ALQ_TDMA_BEACON_STATE   5
 
#define ATH_ALQ_TDMA_TIMER_CONFIG   6
 
#define ATH_ALQ_TDMA_SLOT_CALC   7
 
#define ATH_ALQ_TDMA_TSF_ADJUST   8
 
#define ATH_ALQ_TDMA_TIMER_SET   9
 
#define ATH_ALQ_INTR_STATUS   10
 
#define ATH_ALQ_MIB_COUNTERS   11
 
#define ATH_ALQ_MISSED_BEACON   12
 
#define ATH_ALQ_STUCK_BEACON   13
 
#define ATH_ALQ_RESUME_BEACON   14
 
#define ATH_ALQ_TX_FIFO_PUSH   15
 
#define ATH_ALQ_LOG_ALWAYS_MASK   0x00000001
 
#define ATH_ALQ_FILENAME_LEN   128
 
#define ATH_ALQ_DEVNAME_LEN   32
 
#define ATH_ALQ_PAYLOAD_LEN   112
 

Functions

static int if_ath_alq_checkdebug (struct if_ath_alq *alq, uint16_t op)
 
void if_ath_alq_init (struct if_ath_alq *alq, const char *devname)
 
void if_ath_alq_setcfg (struct if_ath_alq *alq, uint32_t macVer, uint32_t macRev, uint32_t phyRev, uint32_t halMagic)
 
void if_ath_alq_tidyup (struct if_ath_alq *alq)
 
int if_ath_alq_start (struct if_ath_alq *alq)
 
int if_ath_alq_stop (struct if_ath_alq *alq)
 
void if_ath_alq_post (struct if_ath_alq *alq, uint16_t op, uint16_t len, const char *buf)
 
static void if_ath_alq_post_intr (struct if_ath_alq *alq, uint32_t status, uint32_t *state, uint32_t sync_state)
 

Macro Definition Documentation

◆ ATH_ALQ_DEVNAME_LEN

#define ATH_ALQ_DEVNAME_LEN   32

Definition at line 132 of file if_ath_alq.h.

◆ ATH_ALQ_EDMA_RXSTATUS

#define ATH_ALQ_EDMA_RXSTATUS   3

Definition at line 45 of file if_ath_alq.h.

◆ ATH_ALQ_EDMA_TXDESC

#define ATH_ALQ_EDMA_TXDESC   4

Definition at line 46 of file if_ath_alq.h.

◆ ATH_ALQ_EDMA_TXSTATUS

#define ATH_ALQ_EDMA_TXSTATUS   2

Definition at line 44 of file if_ath_alq.h.

◆ ATH_ALQ_FILENAME_LEN

#define ATH_ALQ_FILENAME_LEN   128

Definition at line 131 of file if_ath_alq.h.

◆ ATH_ALQ_INIT_STATE

#define ATH_ALQ_INIT_STATE   1

Definition at line 36 of file if_ath_alq.h.

◆ ATH_ALQ_INTR_STATUS

#define ATH_ALQ_INTR_STATUS   10

Definition at line 97 of file if_ath_alq.h.

◆ ATH_ALQ_LOG_ALWAYS_MASK

#define ATH_ALQ_LOG_ALWAYS_MASK   0x00000001

Definition at line 129 of file if_ath_alq.h.

◆ ATH_ALQ_MIB_COUNTERS

#define ATH_ALQ_MIB_COUNTERS   11

Definition at line 104 of file if_ath_alq.h.

◆ ATH_ALQ_MISSED_BEACON

#define ATH_ALQ_MISSED_BEACON   12

Definition at line 114 of file if_ath_alq.h.

◆ ATH_ALQ_PAYLOAD_LEN

#define ATH_ALQ_PAYLOAD_LEN   112

Definition at line 146 of file if_ath_alq.h.

◆ ATH_ALQ_RESUME_BEACON

#define ATH_ALQ_RESUME_BEACON   14

Definition at line 116 of file if_ath_alq.h.

◆ ATH_ALQ_STUCK_BEACON

#define ATH_ALQ_STUCK_BEACON   13

Definition at line 115 of file if_ath_alq.h.

◆ ATH_ALQ_TDMA_BEACON_STATE

#define ATH_ALQ_TDMA_BEACON_STATE   5

Definition at line 48 of file if_ath_alq.h.

◆ ATH_ALQ_TDMA_SLOT_CALC

#define ATH_ALQ_TDMA_SLOT_CALC   7

Definition at line 69 of file if_ath_alq.h.

◆ ATH_ALQ_TDMA_TIMER_CONFIG

#define ATH_ALQ_TDMA_TIMER_CONFIG   6

Definition at line 58 of file if_ath_alq.h.

◆ ATH_ALQ_TDMA_TIMER_SET

#define ATH_ALQ_TDMA_TIMER_SET   9

Definition at line 85 of file if_ath_alq.h.

◆ ATH_ALQ_TDMA_TSF_ADJUST

#define ATH_ALQ_TDMA_TSF_ADJUST   8

Definition at line 78 of file if_ath_alq.h.

◆ ATH_ALQ_TX_FIFO_PUSH

#define ATH_ALQ_TX_FIFO_PUSH   15

Definition at line 118 of file if_ath_alq.h.

Function Documentation

◆ if_ath_alq_checkdebug()

◆ if_ath_alq_init()

void if_ath_alq_init ( struct if_ath_alq alq,
const char *  devname 
)

Referenced by ath_attach().

Here is the caller graph for this function:

◆ if_ath_alq_post()

void if_ath_alq_post ( struct if_ath_alq alq,
uint16_t  op,
uint16_t  len,
const char *  buf 
)

◆ if_ath_alq_post_intr()

static void if_ath_alq_post_intr ( struct if_ath_alq alq,
uint32_t  status,
uint32_t *  state,
uint32_t  sync_state 
)
inlinestatic

Definition at line 181 of file if_ath_alq.h.

References ATH_ALQ_INTR_STATUS, if_ath_alq_checkdebug(), if_ath_alq_post(), if_ath_alq_interrupt::intr_state, if_ath_alq_interrupt::intr_status, and if_ath_alq_interrupt::intr_syncstate.

Referenced by ath_intr().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ if_ath_alq_setcfg()

void if_ath_alq_setcfg ( struct if_ath_alq alq,
uint32_t  macVer,
uint32_t  macRev,
uint32_t  phyRev,
uint32_t  halMagic 
)

Referenced by ath_attach().

Here is the caller graph for this function:

◆ if_ath_alq_start()

int if_ath_alq_start ( struct if_ath_alq alq)

◆ if_ath_alq_stop()

int if_ath_alq_stop ( struct if_ath_alq alq)

◆ if_ath_alq_tidyup()

void if_ath_alq_tidyup ( struct if_ath_alq alq)

Referenced by ath_detach().

Here is the caller graph for this function: