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

Go to the source code of this file.

Data Structures

struct  ath5k_ini_rfbuffer
 
struct  ath5k_rfb_field
 
struct  ath5k_rf_reg
 

Macros

#define AR5K_RF5111_RF_TURBO   { 1, 3, 0 }
 
#define AR5K_RF5111_OB_2GHZ   { 3, 119, 0 }
 
#define AR5K_RF5111_DB_2GHZ   { 3, 122, 0 }
 
#define AR5K_RF5111_OB_5GHZ   { 3, 104, 0 }
 
#define AR5K_RF5111_DB_5GHZ   { 3, 107, 0 }
 
#define AR5K_RF5111_PWD_XPD   { 1, 95, 0 }
 
#define AR5K_RF5111_XPD_GAIN   { 4, 96, 0 }
 
#define AR5K_RF5111_PWD(_n)   { 1, (135 - _n), 3 }
 
#define AR5K_RF5111_GAIN_I   { 6, 29, 0 }
 
#define AR5K_RF5111_PLO_SEL   { 1, 4, 0 }
 
#define AR5K_RF5111_RFGAIN_SEL   { 1, 36, 0 }
 
#define AR5K_RF5111_RFGAIN_STEP   { 6, 37, 0 }
 
#define AR5K_RF5111_WAIT_S   { 5, 19, 0 }
 
#define AR5K_RF5111_WAIT_I   { 5, 24, 0 }
 
#define AR5K_RF5111_MAX_TIME   { 2, 49, 0 }
 
#define AR5K_RF5112X_RF_TURBO   { 1, 1, 2 }
 
#define AR5K_RF5112X_GAIN_I   { 6, 14, 0 }
 
#define AR5K_RF5112X_MIXVGA_OVR   { 1, 36, 0 }
 
#define AR5K_RF5112X_MIXGAIN_OVR   { 2, 37, 0 }
 
#define AR5K_RF5112X_MIXGAIN_STEP   { 4, 32, 0 }
 
#define AR5K_RF5112X_PD_DELAY_A   { 4, 58, 0 }
 
#define AR5K_RF5112X_PD_DELAY_B   { 4, 62, 0 }
 
#define AR5K_RF5112X_PD_DELAY_XR   { 4, 66, 0 }
 
#define AR5K_RF5112X_PD_PERIOD_A   { 4, 70, 0 }
 
#define AR5K_RF5112X_PD_PERIOD_B   { 4, 74, 0 }
 
#define AR5K_RF5112X_PD_PERIOD_XR   { 4, 78, 0 }
 
#define AR5K_RF5112_OB_2GHZ   { 3, 269, 0 }
 
#define AR5K_RF5112_DB_2GHZ   { 3, 272, 0 }
 
#define AR5K_RF5112_OB_5GHZ   { 3, 261, 0 }
 
#define AR5K_RF5112_DB_5GHZ   { 3, 264, 0 }
 
#define AR5K_RF5112_FIXED_BIAS_A   { 1, 260, 0 }
 
#define AR5K_RF5112_FIXED_BIAS_B   { 1, 259, 0 }
 
#define AR5K_RF5112_XPD_SEL   { 1, 284, 0 }
 
#define AR5K_RF5112_XPD_GAIN   { 2, 252, 0 }
 
#define AR5K_RF5112_PWD(_n)   { 1, (302 - _n), 3 }
 
#define AR5K_RF5112A_OB_2GHZ   { 3, 287, 0 }
 
#define AR5K_RF5112A_DB_2GHZ   { 3, 290, 0 }
 
#define AR5K_RF5112A_OB_5GHZ   { 3, 279, 0 }
 
#define AR5K_RF5112A_DB_5GHZ   { 3, 282, 0 }
 
#define AR5K_RF5112A_FIXED_BIAS_A   { 1, 278, 0 }
 
#define AR5K_RF5112A_FIXED_BIAS_B   { 1, 277, 0 }
 
#define AR5K_RF5112A_XPD_SEL   { 1, 302, 0 }
 
#define AR5K_RF5112A_PDGAINLO   { 2, 270, 0 }
 
#define AR5K_RF5112A_PDGAINHI   { 2, 257, 0 }
 
#define AR5K_RF5112A_PWD(_n)   { 1, (306 - _n), 3 }
 
#define AR5K_RF5112A_HIGH_VC_CP   { 2, 90, 2 }
 
#define AR5K_RF5112A_MID_VC_CP   { 2, 92, 2 }
 
#define AR5K_RF5112A_LOW_VC_CP   { 2, 94, 2 }
 
#define AR5K_RF5112A_PUSH_UP   { 1, 254, 2 }
 
#define AR5K_RF5112A_PAD2GND   { 1, 281, 1 }
 
#define AR5K_RF5112A_XB2_LVL   { 2, 1, 3 }
 
#define AR5K_RF5112A_XB5_LVL   { 2, 3, 3 }
 
#define AR5K_RF2413_RF_TURBO   { 1, 1, 2 }
 
#define AR5K_RF2413_OB_2GHZ   { 3, 168, 0 }
 
#define AR5K_RF2413_DB_2GHZ   { 3, 165, 0 }
 
#define AR5K_RF2316_RF_TURBO   { 1, 1, 2 }
 
#define AR5K_RF2316_OB_2GHZ   { 3, 178, 0 }
 
#define AR5K_RF2316_DB_2GHZ   { 3, 175, 0 }
 
#define AR5K_RF5413_OB_2GHZ   { 3, 241, 0 }
 
#define AR5K_RF5413_DB_2GHZ   { 3, 238, 0 }
 
#define AR5K_RF5413_OB_5GHZ   { 3, 247, 0 }
 
#define AR5K_RF5413_DB_5GHZ   { 3, 244, 0 }
 
#define AR5K_RF5413_PWD_ICLOBUF2G   { 3, 131, 3 }
 
#define AR5K_RF5413_DERBY_CHAN_SEL_MODE   { 1, 291, 2 }
 
#define AR5K_RF2425_RF_TURBO   { 1, 1, 2 }
 
#define AR5K_RF2425_OB_2GHZ   { 3, 193, 0 }
 
#define AR5K_RF2425_DB_2GHZ   { 3, 190, 0 }
 

Enumerations

enum  ath5k_rf_regs_idx {
  AR5K_RF_TURBO = 0, AR5K_RF_OB_2GHZ, AR5K_RF_OB_5GHZ, AR5K_RF_DB_2GHZ,
  AR5K_RF_DB_5GHZ, AR5K_RF_FIXED_BIAS_A, AR5K_RF_FIXED_BIAS_B, AR5K_RF_PWD_XPD,
  AR5K_RF_XPD_SEL, AR5K_RF_XPD_GAIN, AR5K_RF_PD_GAIN_LO, AR5K_RF_PD_GAIN_HI,
  AR5K_RF_HIGH_VC_CP, AR5K_RF_MID_VC_CP, AR5K_RF_LOW_VC_CP, AR5K_RF_PUSH_UP,
  AR5K_RF_PAD2GND, AR5K_RF_XB2_LVL, AR5K_RF_XB5_LVL, AR5K_RF_PWD_ICLOBUF_2G,
  AR5K_RF_PWD_84, AR5K_RF_PWD_90, AR5K_RF_PWD_130, AR5K_RF_PWD_131,
  AR5K_RF_PWD_132, AR5K_RF_PWD_136, AR5K_RF_PWD_137, AR5K_RF_PWD_138,
  AR5K_RF_PWD_166, AR5K_RF_PWD_167, AR5K_RF_DERBY_CHAN_SEL_MODE, AR5K_RF_GAIN_I,
  AR5K_RF_PLO_SEL, AR5K_RF_RFGAIN_SEL, AR5K_RF_RFGAIN_STEP, AR5K_RF_WAIT_S,
  AR5K_RF_WAIT_I, AR5K_RF_MAX_TIME, AR5K_RF_MIXVGA_OVR, AR5K_RF_MIXGAIN_OVR,
  AR5K_RF_MIXGAIN_STEP, AR5K_RF_PD_DELAY_A, AR5K_RF_PD_DELAY_B, AR5K_RF_PD_DELAY_XR,
  AR5K_RF_PD_PERIOD_A, AR5K_RF_PD_PERIOD_B, AR5K_RF_PD_PERIOD_XR
}
 

Macro Definition Documentation

#define AR5K_RF2316_DB_2GHZ   { 3, 175, 0 }

Definition at line 584 of file rfbuffer.h.

#define AR5K_RF2316_OB_2GHZ   { 3, 178, 0 }

Definition at line 583 of file rfbuffer.h.

#define AR5K_RF2316_RF_TURBO   { 1, 1, 2 }

Definition at line 580 of file rfbuffer.h.

#define AR5K_RF2413_DB_2GHZ   { 3, 165, 0 }

Definition at line 525 of file rfbuffer.h.

#define AR5K_RF2413_OB_2GHZ   { 3, 168, 0 }

Definition at line 524 of file rfbuffer.h.

#define AR5K_RF2413_RF_TURBO   { 1, 1, 2 }

Definition at line 521 of file rfbuffer.h.

#define AR5K_RF2425_DB_2GHZ   { 3, 190, 0 }

Definition at line 717 of file rfbuffer.h.

#define AR5K_RF2425_OB_2GHZ   { 3, 193, 0 }

Definition at line 716 of file rfbuffer.h.

#define AR5K_RF2425_RF_TURBO   { 1, 1, 2 }

Definition at line 713 of file rfbuffer.h.

#define AR5K_RF5111_DB_2GHZ   { 3, 122, 0 }

Definition at line 169 of file rfbuffer.h.

#define AR5K_RF5111_DB_5GHZ   { 3, 107, 0 }

Definition at line 172 of file rfbuffer.h.

#define AR5K_RF5111_GAIN_I   { 6, 29, 0 }

Definition at line 181 of file rfbuffer.h.

#define AR5K_RF5111_MAX_TIME   { 2, 49, 0 }

Definition at line 188 of file rfbuffer.h.

#define AR5K_RF5111_OB_2GHZ   { 3, 119, 0 }

Definition at line 168 of file rfbuffer.h.

#define AR5K_RF5111_OB_5GHZ   { 3, 104, 0 }

Definition at line 171 of file rfbuffer.h.

#define AR5K_RF5111_PLO_SEL   { 1, 4, 0 }

Definition at line 182 of file rfbuffer.h.

#define AR5K_RF5111_PWD (   _n)    { 1, (135 - _n), 3 }

Definition at line 178 of file rfbuffer.h.

#define AR5K_RF5111_PWD_XPD   { 1, 95, 0 }

Definition at line 174 of file rfbuffer.h.

#define AR5K_RF5111_RF_TURBO   { 1, 3, 0 }

Definition at line 165 of file rfbuffer.h.

#define AR5K_RF5111_RFGAIN_SEL   { 1, 36, 0 }

Definition at line 183 of file rfbuffer.h.

#define AR5K_RF5111_RFGAIN_STEP   { 6, 37, 0 }

Definition at line 184 of file rfbuffer.h.

#define AR5K_RF5111_WAIT_I   { 5, 24, 0 }

Definition at line 187 of file rfbuffer.h.

#define AR5K_RF5111_WAIT_S   { 5, 19, 0 }

Definition at line 186 of file rfbuffer.h.

#define AR5K_RF5111_XPD_GAIN   { 4, 96, 0 }

Definition at line 175 of file rfbuffer.h.

#define AR5K_RF5112_DB_2GHZ   { 3, 272, 0 }

Definition at line 284 of file rfbuffer.h.

#define AR5K_RF5112_DB_5GHZ   { 3, 264, 0 }

Definition at line 287 of file rfbuffer.h.

#define AR5K_RF5112_FIXED_BIAS_A   { 1, 260, 0 }

Definition at line 289 of file rfbuffer.h.

#define AR5K_RF5112_FIXED_BIAS_B   { 1, 259, 0 }

Definition at line 290 of file rfbuffer.h.

#define AR5K_RF5112_OB_2GHZ   { 3, 269, 0 }

Definition at line 283 of file rfbuffer.h.

#define AR5K_RF5112_OB_5GHZ   { 3, 261, 0 }

Definition at line 286 of file rfbuffer.h.

#define AR5K_RF5112_PWD (   _n)    { 1, (302 - _n), 3 }

Definition at line 296 of file rfbuffer.h.

#define AR5K_RF5112_XPD_GAIN   { 2, 252, 0 }

Definition at line 293 of file rfbuffer.h.

#define AR5K_RF5112_XPD_SEL   { 1, 284, 0 }

Definition at line 292 of file rfbuffer.h.

#define AR5K_RF5112A_DB_2GHZ   { 3, 290, 0 }

Definition at line 389 of file rfbuffer.h.

#define AR5K_RF5112A_DB_5GHZ   { 3, 282, 0 }

Definition at line 392 of file rfbuffer.h.

#define AR5K_RF5112A_FIXED_BIAS_A   { 1, 278, 0 }

Definition at line 394 of file rfbuffer.h.

#define AR5K_RF5112A_FIXED_BIAS_B   { 1, 277, 0 }

Definition at line 395 of file rfbuffer.h.

#define AR5K_RF5112A_HIGH_VC_CP   { 2, 90, 2 }

Definition at line 405 of file rfbuffer.h.

#define AR5K_RF5112A_LOW_VC_CP   { 2, 94, 2 }

Definition at line 407 of file rfbuffer.h.

#define AR5K_RF5112A_MID_VC_CP   { 2, 92, 2 }

Definition at line 406 of file rfbuffer.h.

#define AR5K_RF5112A_OB_2GHZ   { 3, 287, 0 }

Definition at line 388 of file rfbuffer.h.

#define AR5K_RF5112A_OB_5GHZ   { 3, 279, 0 }

Definition at line 391 of file rfbuffer.h.

#define AR5K_RF5112A_PAD2GND   { 1, 281, 1 }

Definition at line 411 of file rfbuffer.h.

#define AR5K_RF5112A_PDGAINHI   { 2, 257, 0 }

Definition at line 399 of file rfbuffer.h.

#define AR5K_RF5112A_PDGAINLO   { 2, 270, 0 }

Definition at line 398 of file rfbuffer.h.

#define AR5K_RF5112A_PUSH_UP   { 1, 254, 2 }

Definition at line 408 of file rfbuffer.h.

#define AR5K_RF5112A_PWD (   _n)    { 1, (306 - _n), 3 }

Definition at line 402 of file rfbuffer.h.

#define AR5K_RF5112A_XB2_LVL   { 2, 1, 3 }

Definition at line 412 of file rfbuffer.h.

#define AR5K_RF5112A_XB5_LVL   { 2, 3, 3 }

Definition at line 413 of file rfbuffer.h.

#define AR5K_RF5112A_XPD_SEL   { 1, 302, 0 }

Definition at line 397 of file rfbuffer.h.

#define AR5K_RF5112X_GAIN_I   { 6, 14, 0 }

Definition at line 269 of file rfbuffer.h.

#define AR5K_RF5112X_MIXGAIN_OVR   { 2, 37, 0 }

Definition at line 271 of file rfbuffer.h.

#define AR5K_RF5112X_MIXGAIN_STEP   { 4, 32, 0 }

Definition at line 272 of file rfbuffer.h.

#define AR5K_RF5112X_MIXVGA_OVR   { 1, 36, 0 }

Definition at line 270 of file rfbuffer.h.

#define AR5K_RF5112X_PD_DELAY_A   { 4, 58, 0 }

Definition at line 273 of file rfbuffer.h.

#define AR5K_RF5112X_PD_DELAY_B   { 4, 62, 0 }

Definition at line 274 of file rfbuffer.h.

#define AR5K_RF5112X_PD_DELAY_XR   { 4, 66, 0 }

Definition at line 275 of file rfbuffer.h.

#define AR5K_RF5112X_PD_PERIOD_A   { 4, 70, 0 }

Definition at line 276 of file rfbuffer.h.

#define AR5K_RF5112X_PD_PERIOD_B   { 4, 74, 0 }

Definition at line 277 of file rfbuffer.h.

#define AR5K_RF5112X_PD_PERIOD_XR   { 4, 78, 0 }

Definition at line 278 of file rfbuffer.h.

#define AR5K_RF5112X_RF_TURBO   { 1, 1, 2 }

Definition at line 266 of file rfbuffer.h.

#define AR5K_RF5413_DB_2GHZ   { 3, 238, 0 }

Definition at line 640 of file rfbuffer.h.

#define AR5K_RF5413_DB_5GHZ   { 3, 244, 0 }

Definition at line 643 of file rfbuffer.h.

#define AR5K_RF5413_DERBY_CHAN_SEL_MODE   { 1, 291, 2 }

Definition at line 646 of file rfbuffer.h.

#define AR5K_RF5413_OB_2GHZ   { 3, 241, 0 }

Definition at line 639 of file rfbuffer.h.

#define AR5K_RF5413_OB_5GHZ   { 3, 247, 0 }

Definition at line 642 of file rfbuffer.h.

#define AR5K_RF5413_PWD_ICLOBUF2G   { 3, 131, 3 }

Definition at line 645 of file rfbuffer.h.

Enumeration Type Documentation

enum ath5k_rf_regs_idx - Map RF registers to indexes

We do this to handle common bits and make our life easier by using an index for each register instead of a full rfb_field

Enumerator:
AR5K_RF_TURBO 
AR5K_RF_OB_2GHZ 
AR5K_RF_OB_5GHZ 
AR5K_RF_DB_2GHZ 
AR5K_RF_DB_5GHZ 
AR5K_RF_FIXED_BIAS_A 
AR5K_RF_FIXED_BIAS_B 
AR5K_RF_PWD_XPD 
AR5K_RF_XPD_SEL 
AR5K_RF_XPD_GAIN 
AR5K_RF_PD_GAIN_LO 
AR5K_RF_PD_GAIN_HI 
AR5K_RF_HIGH_VC_CP 
AR5K_RF_MID_VC_CP 
AR5K_RF_LOW_VC_CP 
AR5K_RF_PUSH_UP 
AR5K_RF_PAD2GND 
AR5K_RF_XB2_LVL 
AR5K_RF_XB5_LVL 
AR5K_RF_PWD_ICLOBUF_2G 
AR5K_RF_PWD_84 
AR5K_RF_PWD_90 
AR5K_RF_PWD_130 
AR5K_RF_PWD_131 
AR5K_RF_PWD_132 
AR5K_RF_PWD_136 
AR5K_RF_PWD_137 
AR5K_RF_PWD_138 
AR5K_RF_PWD_166 
AR5K_RF_PWD_167 
AR5K_RF_DERBY_CHAN_SEL_MODE 
AR5K_RF_GAIN_I 
AR5K_RF_PLO_SEL 
AR5K_RF_RFGAIN_SEL 
AR5K_RF_RFGAIN_STEP 
AR5K_RF_WAIT_S 
AR5K_RF_WAIT_I 
AR5K_RF_MAX_TIME 
AR5K_RF_MIXVGA_OVR 
AR5K_RF_MIXGAIN_OVR 
AR5K_RF_MIXGAIN_STEP 
AR5K_RF_PD_DELAY_A 
AR5K_RF_PD_DELAY_B 
AR5K_RF_PD_DELAY_XR 
AR5K_RF_PD_PERIOD_A 
AR5K_RF_PD_PERIOD_B 
AR5K_RF_PD_PERIOD_XR 

Definition at line 106 of file rfbuffer.h.