FreeBSD kernel ATH device code
|
#include "ah_eeprom.h"
Go to the source code of this file.
Data Structures | |
struct | spurChanStruct |
struct | CalTargetPowerLegacy |
struct | CalTargetPowerHt |
struct | CalCtlEdges |
struct | BaseEepHeader |
struct | ModalEepHeader |
struct | calDataPerFreqOpLoop |
struct | CalCtlData |
struct | calDataPerFreq |
struct | ar5416eeprom |
struct | HAL_EEPROM_v14 |
Typedefs | |
typedef struct spurChanStruct | SPUR_CHAN |
typedef struct CalTargetPowerLegacy | CAL_TARGET_POWER_LEG |
typedef struct CalTargetPowerHt | CAL_TARGET_POWER_HT |
typedef struct CalCtlEdges | CAL_CTL_EDGES |
typedef struct BaseEepHeader | BASE_EEP_HEADER |
typedef struct ModalEepHeader | MODAL_EEP_HEADER |
typedef struct calDataPerFreqOpLoop | CAL_DATA_PER_FREQ_OP_LOOP |
typedef struct CalCtlData | CAL_CTL_DATA |
typedef struct calDataPerFreq | CAL_DATA_PER_FREQ |
Variables | |
struct ar5416eeprom | __packed |
#define AR5416_ANT_16S 25 |
Definition at line 86 of file ah_eeprom_v14.h.
#define AR5416_ANT_CHAIN_MASK 0x7 |
Definition at line 92 of file ah_eeprom_v14.h.
#define AR5416_ANT_COMMON_MASK 0xf |
Definition at line 93 of file ah_eeprom_v14.h.
#define AR5416_BCHAN_UNUSED 0xFF |
Definition at line 80 of file ah_eeprom_v14.h.
#define AR5416_CHAIN_0_IDX 0 |
Definition at line 94 of file ah_eeprom_v14.h.
#define AR5416_CHAIN_1_IDX 1 |
Definition at line 95 of file ah_eeprom_v14.h.
#define AR5416_CHAIN_2_IDX 2 |
Definition at line 96 of file ah_eeprom_v14.h.
#define AR5416_EEP_FLAG_FEMBANDSELECT 0x10 /* FEM band select used */ |
Definition at line 238 of file ah_eeprom_v14.h.
#define AR5416_EEP_FLAG_FORCEXPAON 0x40 /* force XPA bit for 5G */ |
Definition at line 236 of file ah_eeprom_v14.h.
#define AR5416_EEP_FLAG_LOCALBIAS 0x20 /* enable local bias */ |
Definition at line 237 of file ah_eeprom_v14.h.
#define AR5416_EEP_FLAG_USEANT1 0x80 /* +1 configured antenna */ |
Definition at line 235 of file ah_eeprom_v14.h.
#define AR5416_EEP_FLAG_XLNABUFIN 0x08 |
Definition at line 239 of file ah_eeprom_v14.h.
#define AR5416_EEP_FLAG_XLNABUFMODE 0x01 |
Definition at line 242 of file ah_eeprom_v14.h.
#define AR5416_EEP_FLAG_XLNAISEL1 0x04 |
Definition at line 240 of file ah_eeprom_v14.h.
#define AR5416_EEP_FLAG_XLNAISEL2 0x02 |
Definition at line 241 of file ah_eeprom_v14.h.
#define AR5416_EEP_MINOR_VER_10 0xa |
Definition at line 54 of file ah_eeprom_v14.h.
#define AR5416_EEP_MINOR_VER_16 0x10 |
Definition at line 55 of file ah_eeprom_v14.h.
#define AR5416_EEP_MINOR_VER_17 0x11 |
Definition at line 56 of file ah_eeprom_v14.h.
#define AR5416_EEP_MINOR_VER_19 0x13 |
Definition at line 57 of file ah_eeprom_v14.h.
#define AR5416_EEP_MINOR_VER_2 0x2 |
Definition at line 49 of file ah_eeprom_v14.h.
#define AR5416_EEP_MINOR_VER_20 0x14 |
Definition at line 58 of file ah_eeprom_v14.h.
#define AR5416_EEP_MINOR_VER_21 0x15 |
Definition at line 59 of file ah_eeprom_v14.h.
#define AR5416_EEP_MINOR_VER_22 0x16 |
Definition at line 60 of file ah_eeprom_v14.h.
#define AR5416_EEP_MINOR_VER_3 0x3 |
Definition at line 51 of file ah_eeprom_v14.h.
#define AR5416_EEP_MINOR_VER_7 0x7 |
Definition at line 52 of file ah_eeprom_v14.h.
#define AR5416_EEP_MINOR_VER_9 0x9 |
Definition at line 53 of file ah_eeprom_v14.h.
#define AR5416_EEP_NO_BACK_VER 0x1 |
Definition at line 45 of file ah_eeprom_v14.h.
#define AR5416_EEP_RXGAIN_13dB_BACKOFF 1 |
Definition at line 115 of file ah_eeprom_v14.h.
#define AR5416_EEP_RXGAIN_23dB_BACKOFF 0 |
Definition at line 114 of file ah_eeprom_v14.h.
#define AR5416_EEP_RXGAIN_ORIG 2 |
Definition at line 116 of file ah_eeprom_v14.h.
#define AR5416_EEP_START_LOC 256 |
Definition at line 63 of file ah_eeprom_v14.h.
#define AR5416_EEP_TXGAIN_HIGH_POWER 1 |
Definition at line 120 of file ah_eeprom_v14.h.
#define AR5416_EEP_TXGAIN_ORIG 0 |
Definition at line 119 of file ah_eeprom_v14.h.
#define AR5416_EEP_VER 0xE |
Definition at line 46 of file ah_eeprom_v14.h.
#define AR5416_EEP_VER_MINOR_MASK 0xFFF |
Definition at line 47 of file ah_eeprom_v14.h.
#define AR5416_EEPMISC_BIG_ENDIAN 0x01 |
Definition at line 82 of file ah_eeprom_v14.h.
#define AR5416_EEPROM_MAGIC 0xa55a |
Definition at line 31 of file ah_eeprom_v14.h.
#define AR5416_EEPROM_MAGIC_OFFSET 0x0 |
Definition at line 32 of file ah_eeprom_v14.h.
#define AR5416_EEPROM_MAX 0xae0 /* Ignore for the moment used only on the flash implementations */ |
Definition at line 30 of file ah_eeprom_v14.h.
#define AR5416_EEPROM_MODAL_SPURS 5 |
Definition at line 76 of file ah_eeprom_v14.h.
#define AR5416_EEPROM_OFFSET 0x2000 |
Definition at line 28 of file ah_eeprom_v14.h.
#define AR5416_EEPROM_S 2 |
Definition at line 27 of file ah_eeprom_v14.h.
#define AR5416_EEPROM_START_ADDR 0x503f1200 |
Definition at line 29 of file ah_eeprom_v14.h.
#define AR5416_MAX_CHAINS 3 |
Definition at line 84 of file ah_eeprom_v14.h.
#define AR5416_MAX_PWR_RANGE_IN_HALF_DB 64 |
Definition at line 81 of file ah_eeprom_v14.h.
#define AR5416_MAX_RATE_POWER 63 |
Definition at line 77 of file ah_eeprom_v14.h.
#define AR5416_NUM_2G_20_TARGET_POWERS 4 |
Definition at line 69 of file ah_eeprom_v14.h.
#define AR5416_NUM_2G_40_TARGET_POWERS 4 |
Definition at line 70 of file ah_eeprom_v14.h.
#define AR5416_NUM_2G_CAL_PIERS 4 |
Definition at line 65 of file ah_eeprom_v14.h.
#define AR5416_NUM_2G_CCK_TARGET_POWERS 3 |
Definition at line 68 of file ah_eeprom_v14.h.
#define AR5416_NUM_5G_20_TARGET_POWERS 8 |
Definition at line 66 of file ah_eeprom_v14.h.
#define AR5416_NUM_5G_40_TARGET_POWERS 8 |
Definition at line 67 of file ah_eeprom_v14.h.
#define AR5416_NUM_5G_CAL_PIERS 8 |
Definition at line 64 of file ah_eeprom_v14.h.
#define AR5416_NUM_ANT_CHAIN_FIELDS 7 |
Definition at line 88 of file ah_eeprom_v14.h.
#define AR5416_NUM_ANT_COMMON_FIELDS 4 |
Definition at line 89 of file ah_eeprom_v14.h.
#define AR5416_NUM_BAND_EDGES 8 |
Definition at line 72 of file ah_eeprom_v14.h.
#define AR5416_NUM_CTLS 24 |
Definition at line 71 of file ah_eeprom_v14.h.
#define AR5416_NUM_PD_GAINS 4 |
Definition at line 73 of file ah_eeprom_v14.h.
#define AR5416_NUM_PDADC_VALUES 128 |
Definition at line 78 of file ah_eeprom_v14.h.
#define AR5416_NUM_RATES 16 |
Definition at line 79 of file ah_eeprom_v14.h.
#define AR5416_OPFLAGS_11A 0x01 |
Definition at line 98 of file ah_eeprom_v14.h.
#define AR5416_OPFLAGS_11G 0x02 |
Definition at line 99 of file ah_eeprom_v14.h.
#define AR5416_OPFLAGS_N_2G_HT20 0x20 |
Definition at line 103 of file ah_eeprom_v14.h.
#define AR5416_OPFLAGS_N_2G_HT40 0x08 |
Definition at line 101 of file ah_eeprom_v14.h.
#define AR5416_OPFLAGS_N_5G_HT20 0x10 |
Definition at line 102 of file ah_eeprom_v14.h.
#define AR5416_OPFLAGS_N_5G_HT40 0x04 /* If set, disable 5G HT40 */ |
Definition at line 100 of file ah_eeprom_v14.h.
#define AR5416_PD_GAIN_ICEPTS 5 |
Definition at line 75 of file ah_eeprom_v14.h.
#define AR5416_PD_GAINS_IN_MASK 4 |
Definition at line 74 of file ah_eeprom_v14.h.
#define AR5416_PWR_TABLE_OFFSET_DB -5 |
Definition at line 85 of file ah_eeprom_v14.h.
#define AR5416_REGDMN_EN_FCC_DFS_HT40 0x04 /* FCC HT40 + DFS operation */ |
Definition at line 153 of file ah_eeprom_v14.h.
#define AR5416_REGDMN_EN_FCC_MID 0x01 /* 5.47 - 5.7GHz operation */ |
Definition at line 151 of file ah_eeprom_v14.h.
#define AR5416_REGDMN_EN_JAP_DFS_HT40 0x10 /* JP HT40 + DFS operation */ |
Definition at line 155 of file ah_eeprom_v14.h.
#define AR5416_REGDMN_EN_JAP_HT40 0x08 /* JP HT40 operation */ |
Definition at line 154 of file ah_eeprom_v14.h.
#define AR5416_REGDMN_EN_JAP_MID 0x02 /* 5.47 - 5.7GHz operation */ |
Definition at line 152 of file ah_eeprom_v14.h.
#define AR5416_SIZE_ANT_CHAIN_FIELD 3 |
Definition at line 90 of file ah_eeprom_v14.h.
#define AR5416_SIZE_ANT_COMMON_FIELD 4 |
Definition at line 91 of file ah_eeprom_v14.h.
#define CAL_CTL_EDGES_FLAG 0xc0 |
Definition at line 143 of file ah_eeprom_v14.h.
#define CAL_CTL_EDGES_FLAG_S 6 |
Definition at line 144 of file ah_eeprom_v14.h.
#define CAL_CTL_EDGES_POWER 0x3f |
Definition at line 141 of file ah_eeprom_v14.h.
#define CAL_CTL_EDGES_POWER_S 0 |
Definition at line 142 of file ah_eeprom_v14.h.
#define EEP_RFSILENT_ENABLED 0x0001 /* enabled/disabled */ |
Definition at line 106 of file ah_eeprom_v14.h.
#define EEP_RFSILENT_ENABLED_S 0 |
Definition at line 107 of file ah_eeprom_v14.h.
#define EEP_RFSILENT_GPIO_SEL 0x001c /* gpio PIN */ |
Definition at line 110 of file ah_eeprom_v14.h.
#define EEP_RFSILENT_GPIO_SEL_S 2 |
Definition at line 111 of file ah_eeprom_v14.h.
#define EEP_RFSILENT_POLARITY 0x0002 /* polarity */ |
Definition at line 108 of file ah_eeprom_v14.h.
#define EEP_RFSILENT_POLARITY_S 1 |
Definition at line 109 of file ah_eeprom_v14.h.
#define FREQ2FBIN | ( | x, | |
y | |||
) | ((y) ? ((x) - 2300) : (((x) - 4800) / 5)) |
Definition at line 83 of file ah_eeprom_v14.h.
#define NUM_EDGES 8 |
Definition at line 288 of file ah_eeprom_v14.h.
#define owl_eep_start_loc 256 |
Definition at line 40 of file ah_eeprom_v14.h.
#define owl_get_ntxchains | ( | _txchainmask | ) | (((_txchainmask >> 2) & 1) + ((_txchainmask >> 1) & 1) + (_txchainmask & 1)) |
Definition at line 34 of file ah_eeprom_v14.h.
typedef struct BaseEepHeader BASE_EEP_HEADER |
typedef struct CalCtlData CAL_CTL_DATA |
typedef struct CalCtlEdges CAL_CTL_EDGES |
typedef struct calDataPerFreq CAL_DATA_PER_FREQ |
typedef struct calDataPerFreqOpLoop CAL_DATA_PER_FREQ_OP_LOOP |
typedef struct CalTargetPowerHt CAL_TARGET_POWER_HT |
typedef struct CalTargetPowerLegacy CAL_TARGET_POWER_LEG |
typedef struct ModalEepHeader MODAL_EEP_HEADER |
typedef struct spurChanStruct SPUR_CHAN |
struct ar5416eeprom __packed |