view autocal/rxtables.h @ 101:b0618796d28d

fc-rfcal-txband: added safety checks for NaN power measurements and out-of-tolerance final Tx power levels
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 11 Aug 2017 03:20:43 +0000
parents 2588f9eed11a
children
line wrap: on
line source

/* definitions of the L1 Rx table structures we need */

struct rx_agc_params {
	uint16_t g_magic;
	uint16_t lna_att;
	uint16_t lna_switch_thr_low;
	uint16_t lna_switch_thr_high;
};

#define	RX_CALCHAN_ENTRIES	10

struct rx_calchan_entry {
	uint16_t upper_bound;
	int16_t  agc_calib;
};