444 #define AR5K_GAIN_CRN_FIX_BITS_5111 4 445 #define AR5K_GAIN_CRN_FIX_BITS_5112 7 446 #define AR5K_GAIN_CRN_MAX_FIX_BITS AR5K_GAIN_CRN_FIX_BITS_5112 447 #define AR5K_GAIN_DYN_ADJUST_HI_MARGIN 15 448 #define AR5K_GAIN_DYN_ADJUST_LO_MARGIN 20 449 #define AR5K_GAIN_CCK_PROBE_CORR 5 450 #define AR5K_GAIN_CCK_OFDM_GAIN_DELTA 15 451 #define AR5K_GAIN_STEP_COUNT 10 455 #define AR5K_GAIN_CHECK_ADJUST(_g) \ 456 ((_g)->g_current <= (_g)->g_low || (_g)->g_current >= (_g)->g_high) 480 { { 4, 1, 1, 1 }, 6 },
481 { { 4, 0, 1, 1 }, 4 },
482 { { 3, 1, 1, 1 }, 3 },
483 { { 4, 0, 0, 1 }, 1 },
484 { { 4, 1, 1, 0 }, 0 },
485 { { 4, 0, 1, 0 }, -2 },
486 { { 3, 1, 1, 0 }, -3 },
487 { { 4, 0, 0, 0 }, -4 },
488 { { 2, 1, 1, 0 }, -6 }
506 { { 3, 0, 0, 0, 0, 0, 0 }, 6 },
507 { { 2, 0, 0, 0, 0, 0, 0 }, 0 },
508 { { 1, 0, 0, 0, 0, 0, 0 }, -3 },
509 { { 0, 0, 0, 0, 0, 0, 0 }, -6 },
510 { { 0, 1, 1, 0, 0, 0, 0 }, -8 },
511 { { 0, 1, 1, 0, 1, 1, 0 }, -10 },
512 { { 0, 1, 0, 1, 1, 1, 0 }, -13 },
513 { { 0, 1, 0, 1, 1, 0, 1 }, -16 },
static const struct ath5k_gain_opt rfgain_opt_5111
const struct ath5k_gain_opt_step go_step[AR5K_GAIN_STEP_COUNT]
static const struct ath5k_ini_rfgain rfgain_2425[]
static const struct ath5k_ini_rfgain rfgain_2316[]
s8 gos_param[AR5K_GAIN_CRN_MAX_FIX_BITS]
static const struct ath5k_ini_rfgain rfgain_5112[]
static const struct ath5k_ini_rfgain rfgain_2413[]
#define AR5K_GAIN_CRN_MAX_FIX_BITS
static const struct ath5k_gain_opt rfgain_opt_5112
static const struct ath5k_ini_rfgain rfgain_5111[]
#define AR5K_GAIN_STEP_COUNT
static const struct ath5k_ini_rfgain rfgain_5413[]