Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Variables
eeprom.h File Reference

Go to the source code of this file.

Data Structures

struct  ar9170_eeprom_modal
 
struct  ar9170_eeprom_modal::spur_channel
 
struct  ar9170_calibration_data_per_freq
 
struct  ar9170_calibration_target_power_legacy
 
struct  ar9170_calibration_target_power_ht
 
struct  ar9170_calctl_edges
 
struct  ar9170_calctl_data
 
struct  ar9170_eeprom
 
struct  ar9170_led_mode
 

Macros

#define AR9170_EEPROM_START   0x1600
 
#define AR5416_MAX_CHAINS   2
 
#define AR5416_MODAL_SPURS   5
 
#define AR5416_NUM_PD_GAINS   4
 
#define AR5416_PD_GAIN_ICEPTS   5
 
#define AR5416_NUM_5G_CAL_PIERS   8
 
#define AR5416_NUM_2G_CAL_PIERS   4
 
#define AR5416_NUM_5G_TARGET_PWRS   8
 
#define AR5416_NUM_2G_CCK_TARGET_PWRS   3
 
#define AR5416_NUM_2G_OFDM_TARGET_PWRS   4
 
#define AR5416_MAX_NUM_TGT_PWRS   8
 
#define AR5416_NUM_CTLS   24
 
#define AR9170_CALCTL_EDGE_FLAGS   0xC0
 
#define AR5416_NUM_BAND_EDGES   8
 
#define AR9170_OPFLAG_5GHZ   1
 
#define AR9170_OPFLAG_2GHZ   2
 
#define AR9170_LED_MODE_POWER_ON   0x0001
 
#define AR9170_LED_MODE_RESERVED   0x0002
 
#define AR9170_LED_MODE_DISABLE_STATE   0x0004
 
#define AR9170_LED_MODE_OFF_IN_PSM   0x0008
 
#define AR9170_LED_MODE_FREQUENCY_S   4
 
#define AR9170_LED_MODE_FREQUENCY   0x0030
 
#define AR9170_LED_MODE_FREQUENCY_1HZ   0x0000
 
#define AR9170_LED_MODE_FREQUENCY_0_5HZ   0x0010
 
#define AR9170_LED_MODE_FREQUENCY_0_25HZ   0x0020
 
#define AR9170_LED_MODE_FREQUENCY_0_125HZ   0x0030
 
#define AR9170_LED_MODE_CONN_STATE_S   4
 
#define AR9170_LED_MODE_CONN_STATE   0x0030
 
#define AR9170_LED_MODE_CONN_STATE_FORCE_OFF   0x0000
 
#define AR9170_LED_MODE_CONN_STATE_FORCE_ON   0x0010
 
#define AR9170_LED_MODE_CONN_STATE_IOFF_AON   0x0020
 
#define AR9170_LED_MODE_CONN_STATE_ION_AOFF   0x0010
 
#define AR9170_LED_MODE_MODE   0x0040
 
#define AR9170_LED_MODE_RESERVED2   0x0080
 
#define AR9170_LED_MODE_TON_SCAN_S   8
 
#define AR9170_LED_MODE_TON_SCAN   0x0f00
 
#define AR9170_LED_MODE_TOFF_SCAN_S   12
 
#define AR9170_LED_MODE_TOFF_SCAN   0xf000
 

Variables

struct ar9170_eeprom_modal __packed
 

Macro Definition Documentation

#define AR5416_MAX_CHAINS   2

Definition at line 43 of file eeprom.h.

#define AR5416_MAX_NUM_TGT_PWRS   8

Definition at line 99 of file eeprom.h.

#define AR5416_MODAL_SPURS   5

Definition at line 44 of file eeprom.h.

#define AR5416_NUM_2G_CAL_PIERS   4

Definition at line 94 of file eeprom.h.

#define AR5416_NUM_2G_CCK_TARGET_PWRS   3

Definition at line 97 of file eeprom.h.

#define AR5416_NUM_2G_OFDM_TARGET_PWRS   4

Definition at line 98 of file eeprom.h.

#define AR5416_NUM_5G_CAL_PIERS   8

Definition at line 93 of file eeprom.h.

#define AR5416_NUM_5G_TARGET_PWRS   8

Definition at line 96 of file eeprom.h.

#define AR5416_NUM_BAND_EDGES   8

Definition at line 119 of file eeprom.h.

#define AR5416_NUM_CTLS   24

Definition at line 111 of file eeprom.h.

#define AR5416_NUM_PD_GAINS   4

Definition at line 85 of file eeprom.h.

#define AR5416_PD_GAIN_ICEPTS   5

Definition at line 86 of file eeprom.h.

#define AR9170_CALCTL_EDGE_FLAGS   0xC0

Definition at line 115 of file eeprom.h.

#define AR9170_EEPROM_START   0x1600

Definition at line 41 of file eeprom.h.

#define AR9170_LED_MODE_CONN_STATE   0x0030

Definition at line 195 of file eeprom.h.

#define AR9170_LED_MODE_CONN_STATE_FORCE_OFF   0x0000

Definition at line 196 of file eeprom.h.

#define AR9170_LED_MODE_CONN_STATE_FORCE_ON   0x0010

Definition at line 197 of file eeprom.h.

#define AR9170_LED_MODE_CONN_STATE_IOFF_AON   0x0020

Definition at line 199 of file eeprom.h.

#define AR9170_LED_MODE_CONN_STATE_ION_AOFF   0x0010

Definition at line 201 of file eeprom.h.

#define AR9170_LED_MODE_CONN_STATE_S   4

Definition at line 194 of file eeprom.h.

#define AR9170_LED_MODE_DISABLE_STATE   0x0004

Definition at line 182 of file eeprom.h.

#define AR9170_LED_MODE_FREQUENCY   0x0030

Definition at line 187 of file eeprom.h.

#define AR9170_LED_MODE_FREQUENCY_0_125HZ   0x0030

Definition at line 191 of file eeprom.h.

#define AR9170_LED_MODE_FREQUENCY_0_25HZ   0x0020

Definition at line 190 of file eeprom.h.

#define AR9170_LED_MODE_FREQUENCY_0_5HZ   0x0010

Definition at line 189 of file eeprom.h.

#define AR9170_LED_MODE_FREQUENCY_1HZ   0x0000

Definition at line 188 of file eeprom.h.

#define AR9170_LED_MODE_FREQUENCY_S   4

Definition at line 186 of file eeprom.h.

#define AR9170_LED_MODE_MODE   0x0040

Definition at line 203 of file eeprom.h.

#define AR9170_LED_MODE_OFF_IN_PSM   0x0008

Definition at line 183 of file eeprom.h.

#define AR9170_LED_MODE_POWER_ON   0x0001

Definition at line 180 of file eeprom.h.

#define AR9170_LED_MODE_RESERVED   0x0002

Definition at line 181 of file eeprom.h.

#define AR9170_LED_MODE_RESERVED2   0x0080

Definition at line 204 of file eeprom.h.

#define AR9170_LED_MODE_TOFF_SCAN   0xf000

Definition at line 210 of file eeprom.h.

#define AR9170_LED_MODE_TOFF_SCAN_S   12

Definition at line 209 of file eeprom.h.

#define AR9170_LED_MODE_TON_SCAN   0x0f00

Definition at line 207 of file eeprom.h.

#define AR9170_LED_MODE_TON_SCAN_S   8

Definition at line 206 of file eeprom.h.

#define AR9170_OPFLAG_2GHZ   2

Definition at line 132 of file eeprom.h.

#define AR9170_OPFLAG_5GHZ   1

Definition at line 131 of file eeprom.h.

Variable Documentation