446 #define AR5K_GAIN_CRN_FIX_BITS_5111 4 447 #define AR5K_GAIN_CRN_FIX_BITS_5112 7 448 #define AR5K_GAIN_CRN_MAX_FIX_BITS AR5K_GAIN_CRN_FIX_BITS_5112 449 #define AR5K_GAIN_DYN_ADJUST_HI_MARGIN 15 450 #define AR5K_GAIN_DYN_ADJUST_LO_MARGIN 20 451 #define AR5K_GAIN_CCK_PROBE_CORR 5 452 #define AR5K_GAIN_CCK_OFDM_GAIN_DELTA 15 453 #define AR5K_GAIN_STEP_COUNT 10 457 #define AR5K_GAIN_CHECK_ADJUST(_g) \ 458 ((_g)->g_current <= (_g)->g_low || (_g)->g_current >= (_g)->g_high) 482 { { 4, 1, 1, 1 }, 6 },
483 { { 4, 0, 1, 1 }, 4 },
484 { { 3, 1, 1, 1 }, 3 },
485 { { 4, 0, 0, 1 }, 1 },
486 { { 4, 1, 1, 0 }, 0 },
487 { { 4, 0, 1, 0 }, -2 },
488 { { 3, 1, 1, 0 }, -3 },
489 { { 4, 0, 0, 0 }, -4 },
490 { { 2, 1, 1, 0 }, -6 }
508 { { 3, 0, 0, 0, 0, 0, 0 }, 6 },
509 { { 2, 0, 0, 0, 0, 0, 0 }, 0 },
510 { { 1, 0, 0, 0, 0, 0, 0 }, -3 },
511 { { 0, 0, 0, 0, 0, 0, 0 }, -6 },
512 { { 0, 1, 1, 0, 0, 0, 0 }, -8 },
513 { { 0, 1, 1, 0, 1, 1, 0 }, -10 },
514 { { 0, 1, 0, 1, 1, 1, 0 }, -13 },
515 { { 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[]