view autocal/stdband.h @ 52:e93b5e727230

autocal: use DUALEXT STD for 900 and 1800 MHz bands
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 27 May 2017 07:53:36 +0000
parents dcf7cd305e2b
children
line wrap: on
line source

/* macro for encoding std and band in rfpw 7 command */

#define	RFPW_STD_BAND(std,band)	((std) | ((band) << 8))

#define	RFPW_STD_BAND_850	RFPW_STD_BAND(7, 0)
#define	RFPW_STD_BAND_900	RFPW_STD_BAND(6, 0)
#define	RFPW_STD_BAND_1800	RFPW_STD_BAND(6, 1)
#define	RFPW_STD_BAND_1900	RFPW_STD_BAND(3, 0)