FreeBSD kernel ATH device code
ah_eeprom_9287.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  base_eep_ar9287_header
 
struct  modal_eep_ar9287_header
 
struct  cal_data_op_loop_ar9287
 
struct  cal_data_per_freq_ar9287
 
union  cal_data_per_freq_ar9287_u
 
struct  cal_ctl_data_ar9287
 
struct  ar9287_eeprom
 
struct  HAL_EEPROM_9287
 

Macros

#define OLC_FOR_AR9287_10_LATER
 
#define AR9287_EEP_VER   0xE
 
#define AR9287_EEP_VER_MINOR_MASK   0xFFF
 
#define AR9287_EEP_MINOR_VER_1   0x1
 
#define AR9287_EEP_MINOR_VER_2   0x2
 
#define AR9287_EEP_MINOR_VER_3   0x3
 
#define AR9287_EEP_MINOR_VER   AR9287_EEP_MINOR_VER_3
 
#define AR9287_EEP_MINOR_VER_b   AR9287_EEP_MINOR_VER
 
#define AR9287_EEP_NO_BACK_VER   AR9287_EEP_MINOR_VER_1
 
#define AR9287_RDEXT_DEFAULT   0x1F
 
#define AR9287_EEP_START_LOC   128
 
#define AR9287_HTC_EEP_START_LOC   256
 
#define AR9287_NUM_2G_CAL_PIERS   3
 
#define AR9287_NUM_2G_CCK_TARGET_POWERS   3
 
#define AR9287_NUM_2G_20_TARGET_POWERS   3
 
#define AR9287_NUM_2G_40_TARGET_POWERS   3
 
#define AR9287_NUM_CTLS   12
 
#define AR9287_NUM_BAND_EDGES   4
 
#define AR9287_PD_GAIN_ICEPTS   1
 
#define AR9287_EEPMISC_BIG_ENDIAN   0x01
 
#define AR9287_EEPMISC_WOW   0x02
 
#define AR9287_MAX_CHAINS   2
 
#define AR9287_ANT_16S   32
 
#define AR9287_DATA_SZ   32
 
#define AR9287_PWR_TABLE_OFFSET_DB   -5
 
#define AR9287_CHECKSUM_LOCATION   (AR9287_EEP_START_LOC + 1)
 
#define NUM_EDGES   8
 

Typedefs

typedef struct modal_eep_ar9287_header MODAL_EEP_9287_HEADER
 
typedef struct base_eep_ar9287_header BASE_EEP_9287_HEADER
 

Variables

struct base_eep_ar9287_header __packed
 

Macro Definition Documentation

◆ AR9287_ANT_16S

#define AR9287_ANT_16S   32

Definition at line 50 of file ah_eeprom_9287.h.

◆ AR9287_CHECKSUM_LOCATION

#define AR9287_CHECKSUM_LOCATION   (AR9287_EEP_START_LOC + 1)

Definition at line 56 of file ah_eeprom_9287.h.

◆ AR9287_DATA_SZ

#define AR9287_DATA_SZ   32

Definition at line 52 of file ah_eeprom_9287.h.

◆ AR9287_EEP_MINOR_VER

#define AR9287_EEP_MINOR_VER   AR9287_EEP_MINOR_VER_3

Definition at line 32 of file ah_eeprom_9287.h.

◆ AR9287_EEP_MINOR_VER_1

#define AR9287_EEP_MINOR_VER_1   0x1

Definition at line 29 of file ah_eeprom_9287.h.

◆ AR9287_EEP_MINOR_VER_2

#define AR9287_EEP_MINOR_VER_2   0x2

Definition at line 30 of file ah_eeprom_9287.h.

◆ AR9287_EEP_MINOR_VER_3

#define AR9287_EEP_MINOR_VER_3   0x3

Definition at line 31 of file ah_eeprom_9287.h.

◆ AR9287_EEP_MINOR_VER_b

#define AR9287_EEP_MINOR_VER_b   AR9287_EEP_MINOR_VER

Definition at line 33 of file ah_eeprom_9287.h.

◆ AR9287_EEP_NO_BACK_VER

#define AR9287_EEP_NO_BACK_VER   AR9287_EEP_MINOR_VER_1

Definition at line 34 of file ah_eeprom_9287.h.

◆ AR9287_EEP_START_LOC

#define AR9287_EEP_START_LOC   128

Definition at line 38 of file ah_eeprom_9287.h.

◆ AR9287_EEP_VER

#define AR9287_EEP_VER   0xE

Definition at line 27 of file ah_eeprom_9287.h.

◆ AR9287_EEP_VER_MINOR_MASK

#define AR9287_EEP_VER_MINOR_MASK   0xFFF

Definition at line 28 of file ah_eeprom_9287.h.

◆ AR9287_EEPMISC_BIG_ENDIAN

#define AR9287_EEPMISC_BIG_ENDIAN   0x01

Definition at line 47 of file ah_eeprom_9287.h.

◆ AR9287_EEPMISC_WOW

#define AR9287_EEPMISC_WOW   0x02

Definition at line 48 of file ah_eeprom_9287.h.

◆ AR9287_HTC_EEP_START_LOC

#define AR9287_HTC_EEP_START_LOC   256

Definition at line 39 of file ah_eeprom_9287.h.

◆ AR9287_MAX_CHAINS

#define AR9287_MAX_CHAINS   2

Definition at line 49 of file ah_eeprom_9287.h.

◆ AR9287_NUM_2G_20_TARGET_POWERS

#define AR9287_NUM_2G_20_TARGET_POWERS   3

Definition at line 42 of file ah_eeprom_9287.h.

◆ AR9287_NUM_2G_40_TARGET_POWERS

#define AR9287_NUM_2G_40_TARGET_POWERS   3

Definition at line 43 of file ah_eeprom_9287.h.

◆ AR9287_NUM_2G_CAL_PIERS

#define AR9287_NUM_2G_CAL_PIERS   3

Definition at line 40 of file ah_eeprom_9287.h.

◆ AR9287_NUM_2G_CCK_TARGET_POWERS

#define AR9287_NUM_2G_CCK_TARGET_POWERS   3

Definition at line 41 of file ah_eeprom_9287.h.

◆ AR9287_NUM_BAND_EDGES

#define AR9287_NUM_BAND_EDGES   4

Definition at line 45 of file ah_eeprom_9287.h.

◆ AR9287_NUM_CTLS

#define AR9287_NUM_CTLS   12

Definition at line 44 of file ah_eeprom_9287.h.

◆ AR9287_PD_GAIN_ICEPTS

#define AR9287_PD_GAIN_ICEPTS   1

Definition at line 46 of file ah_eeprom_9287.h.

◆ AR9287_PWR_TABLE_OFFSET_DB

#define AR9287_PWR_TABLE_OFFSET_DB   -5

Definition at line 54 of file ah_eeprom_9287.h.

◆ AR9287_RDEXT_DEFAULT

#define AR9287_RDEXT_DEFAULT   0x1F

Definition at line 36 of file ah_eeprom_9287.h.

◆ NUM_EDGES

#define NUM_EDGES   8

Definition at line 159 of file ah_eeprom_9287.h.

◆ OLC_FOR_AR9287_10_LATER

#define OLC_FOR_AR9287_10_LATER
Value:
(AR_SREV_9287_11_OR_LATER(ah) && \
ah->eep_ops->get_eeprom(ah, EEP_OL_PWRCTRL))

Definition at line 24 of file ah_eeprom_9287.h.

Typedef Documentation

◆ BASE_EEP_9287_HEADER

Definition at line 167 of file ah_eeprom_9287.h.

◆ MODAL_EEP_9287_HEADER

Definition at line 166 of file ah_eeprom_9287.h.

Variable Documentation

◆ __packed

struct ar9287_eeprom __packed