iPXE
Data Structures | Defines | Functions
base.h File Reference
#include "ath5k.h"
#include <ipxe/iobuf.h>

Go to the source code of this file.

Data Structures

struct  ath5k_buf
struct  ath5k_txq
struct  ath5k_softc

Defines

#define ATH_RXBUF   16 /* number of RX buffers */
#define ATH_TXBUF   16 /* number of TX buffers */
#define ATH_CHAN_MAX   (14+14+14+252+20)
#define ATH_STAT_INVALID   0x01 /* disable hardware accesses */
#define ATH_STAT_MRRETRY   0x02 /* multi-rate retry support */
#define ATH_STAT_PROMISC   0x04
#define ATH_STAT_LEDSOFT   0x08 /* enable LED gpio status */
#define ATH_STAT_STARTED   0x10 /* opened & irqs enabled */
#define ath5k_hw_hasbssidmask(_ah)   (ath5k_hw_get_capability(_ah, AR5K_CAP_BSSIDMASK, 0, NULL) == 0)
#define ath5k_hw_hasveol(_ah)   (ath5k_hw_get_capability(_ah, AR5K_CAP_VEOL, 0, NULL) == 0)

Functions

 FILE_LICENCE (BSD3)

Define Documentation

#define ATH_RXBUF   16 /* number of RX buffers */

Definition at line 52 of file base.h.

Referenced by ath5k_desc_alloc(), and ath9k_init_device().

#define ATH_TXBUF   16 /* number of TX buffers */

Definition at line 53 of file base.h.

Referenced by ath5k_desc_alloc(), and ath9k_init_device().

#define ATH_CHAN_MAX   (14+14+14+252+20)

Definition at line 83 of file base.h.

#define ATH_STAT_INVALID   0x01 /* disable hardware accesses */

Definition at line 104 of file base.h.

Referenced by ath5k_poll(), ath5k_probe(), ath5k_stop_hw(), and ath5k_txq_cleanup().

#define ATH_STAT_MRRETRY   0x02 /* multi-rate retry support */

Definition at line 105 of file base.h.

#define ATH_STAT_PROMISC   0x04

Definition at line 106 of file base.h.

#define ATH_STAT_LEDSOFT   0x08 /* enable LED gpio status */

Definition at line 107 of file base.h.

#define ATH_STAT_STARTED   0x10 /* opened & irqs enabled */

Definition at line 108 of file base.h.

#define ath5k_hw_hasbssidmask (   _ah)    (ath5k_hw_get_capability(_ah, AR5K_CAP_BSSIDMASK, 0, NULL) == 0)

Definition at line 140 of file base.h.

Referenced by ath5k_mode_setup().

#define ath5k_hw_hasveol (   _ah)    (ath5k_hw_get_capability(_ah, AR5K_CAP_VEOL, 0, NULL) == 0)

Definition at line 142 of file base.h.


Function Documentation

FILE_LICENCE ( BSD3  )