iPXE
Data Structures | Defines | Variables
rfgain.h File Reference

Go to the source code of this file.

Data Structures

struct  ath5k_ini_rfgain
struct  ath5k_gain_opt_step
struct  ath5k_gain_opt

Defines

#define AR5K_GAIN_CRN_FIX_BITS_5111   4
#define AR5K_GAIN_CRN_FIX_BITS_5112   7
#define AR5K_GAIN_CRN_MAX_FIX_BITS   AR5K_GAIN_CRN_FIX_BITS_5112
#define AR5K_GAIN_DYN_ADJUST_HI_MARGIN   15
#define AR5K_GAIN_DYN_ADJUST_LO_MARGIN   20
#define AR5K_GAIN_CCK_PROBE_CORR   5
#define AR5K_GAIN_CCK_OFDM_GAIN_DELTA   15
#define AR5K_GAIN_STEP_COUNT   10
#define AR5K_GAIN_CHECK_ADJUST(_g)   ((_g)->g_current <= (_g)->g_low || (_g)->g_current >= (_g)->g_high)

Variables

static struct ath5k_ini_rfgain rfgain_5111 []
static struct ath5k_ini_rfgain rfgain_5112 []
static struct ath5k_ini_rfgain rfgain_2413 []
static struct ath5k_ini_rfgain rfgain_2316 []
static struct ath5k_ini_rfgain rfgain_5413 []
static struct ath5k_ini_rfgain rfgain_2425 []
static struct ath5k_gain_opt rfgain_opt_5111
static struct ath5k_gain_opt rfgain_opt_5112

Define Documentation

Definition at line 444 of file rfgain.h.

Definition at line 445 of file rfgain.h.

Definition at line 446 of file rfgain.h.

Definition at line 447 of file rfgain.h.

Referenced by ath5k_hw_rf_check_gainf_readback().

Definition at line 448 of file rfgain.h.

Referenced by ath5k_hw_rf_check_gainf_readback().

#define AR5K_GAIN_CCK_PROBE_CORR   5

Definition at line 449 of file rfgain.h.

Referenced by ath5k_hw_gainf_calibrate().

Definition at line 450 of file rfgain.h.

#define AR5K_GAIN_STEP_COUNT   10

Definition at line 451 of file rfgain.h.

#define AR5K_GAIN_CHECK_ADJUST (   _g)    ((_g)->g_current <= (_g)->g_low || (_g)->g_current >= (_g)->g_high)

Definition at line 455 of file rfgain.h.

Referenced by ath5k_hw_gainf_calibrate().


Variable Documentation

struct ath5k_ini_rfgain rfgain_5111[] [static]

Definition at line 32 of file rfgain.h.

Referenced by ath5k_hw_rfgain_init().

struct ath5k_ini_rfgain rfgain_5112[] [static]

Definition at line 101 of file rfgain.h.

Referenced by ath5k_hw_rfgain_init().

struct ath5k_ini_rfgain rfgain_2413[] [static]

Definition at line 170 of file rfgain.h.

Referenced by ath5k_hw_rfgain_init().

struct ath5k_ini_rfgain rfgain_2316[] [static]

Definition at line 238 of file rfgain.h.

Referenced by ath5k_hw_rfgain_init().

struct ath5k_ini_rfgain rfgain_5413[] [static]

Definition at line 307 of file rfgain.h.

Referenced by ath5k_hw_rfgain_init().

struct ath5k_ini_rfgain rfgain_2425[] [static]

Definition at line 377 of file rfgain.h.

Referenced by ath5k_hw_rfgain_init().

Initial value:
 {
        4,
        9,
        {
                { { 4, 1, 1, 1 }, 6 },
                { { 4, 0, 1, 1 }, 4 },
                { { 3, 1, 1, 1 }, 3 },
                { { 4, 0, 0, 1 }, 1 },
                { { 4, 1, 1, 0 }, 0 },
                { { 4, 0, 1, 0 }, -2 },
                { { 3, 1, 1, 0 }, -3 },
                { { 4, 0, 0, 0 }, -4 },
                { { 2, 1, 1, 0 }, -6 }
        }
}

Definition at line 476 of file rfgain.h.

Referenced by ath5k_hw_rf_gainf_adjust(), ath5k_hw_rfgain_opt_init(), and ath5k_hw_rfregs_init().

Initial value:
 {
        1,
        8,
        {
                { { 3, 0, 0, 0, 0, 0, 0 }, 6 },
                { { 2, 0, 0, 0, 0, 0, 0 }, 0 },
                { { 1, 0, 0, 0, 0, 0, 0 }, -3 },
                { { 0, 0, 0, 0, 0, 0, 0 }, -6 },
                { { 0, 1, 1, 0, 0, 0, 0 }, -8 },
                { { 0, 1, 1, 0, 1, 1, 0 }, -10 },
                { { 0, 1, 0, 1, 1, 1, 0 }, -13 },
                { { 0, 1, 0, 1, 1, 0, 1 }, -16 },
        }
}

Definition at line 502 of file rfgain.h.

Referenced by ath5k_hw_rf_gainf_adjust(), ath5k_hw_rf_gainf_corr(), ath5k_hw_rfgain_opt_init(), and ath5k_hw_rfregs_init().