iPXE
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

Macros

#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)
#define ath5k_hw_hasveol(_ah)

Functions

 FILE_LICENCE (BSD3)
 FILE_SECBOOT (FORBIDDEN)

Macro Definition Documentation

◆ ATH_RXBUF

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

Definition at line 53 of file base.h.

Referenced by ath5k_desc_alloc(), and ath9k_init_device().

◆ ATH_TXBUF

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

Definition at line 54 of file base.h.

Referenced by ath5k_desc_alloc(), and ath9k_init_device().

◆ ATH_CHAN_MAX

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

Definition at line 84 of file base.h.

◆ ATH_STAT_INVALID

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

Definition at line 105 of file base.h.

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

◆ ATH_STAT_MRRETRY

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

Definition at line 106 of file base.h.

◆ ATH_STAT_PROMISC

#define ATH_STAT_PROMISC   0x04

Definition at line 107 of file base.h.

◆ ATH_STAT_LEDSOFT

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

Definition at line 108 of file base.h.

◆ ATH_STAT_STARTED

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

Definition at line 109 of file base.h.

◆ ath5k_hw_hasbssidmask

#define ath5k_hw_hasbssidmask ( _ah)
Value:
#define NULL
NULL pointer (VOID *)
Definition Base.h:322
int ath5k_hw_get_capability(struct ath5k_hw *ah, enum ath5k_capability_type cap_type, u32 capability, u32 *result)
Definition ath5k_caps.c:116
@ AR5K_CAP_BSSIDMASK
Definition ath5k.h:900

Definition at line 141 of file base.h.

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

Referenced by ath5k_mode_setup().

◆ ath5k_hw_hasveol

#define ath5k_hw_hasveol ( _ah)
Value:
@ AR5K_CAP_VEOL
Definition ath5k.h:894

Definition at line 143 of file base.h.

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

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( BSD3 )

◆ FILE_SECBOOT()

FILE_SECBOOT ( FORBIDDEN )