From 803cb1d7974ed7d419550cc66480c107c2f0d454 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Thu, 25 Feb 2010 15:46:01 -0800 Subject: Added call to set antenna. Split XCVR into new thing cuz size. --- usrp2/firmware/include/usrp2_eth_packet.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'usrp2/firmware/include/usrp2_eth_packet.h') diff --git a/usrp2/firmware/include/usrp2_eth_packet.h b/usrp2/firmware/include/usrp2_eth_packet.h index 63d4b3af4..2f24556f0 100644 --- a/usrp2/firmware/include/usrp2_eth_packet.h +++ b/usrp2/firmware/include/usrp2_eth_packet.h @@ -1,6 +1,6 @@ /* -*- c++ -*- */ /* - * Copyright 2007,2008,2009 Free Software Foundation, Inc. + * Copyright 2007,2008,2009,2010 Free Software Foundation, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -209,6 +209,10 @@ typedef struct { #define OP_GPIO_WRITE_REPLY (OP_GPIO_WRITE | OP_REPLY_BIT) #define OP_GPIO_STREAM 21 #define OP_GPIO_STREAM_REPLY (OP_GPIO_STREAM | OP_REPLY_BIT) +#define OP_RX_ANTENNA 22 +#define OP_RX_ANTENNA_REPLY (OP_RX_ANTENNA | OP_REPLY_BIT) +#define OP_TX_ANTENNA 23 +#define OP_TX_ANTENNA_REPLY (OP_RX_ANTENNA | OP_REPLY_BIT) /* * All subpackets are a multiple of 4 bytes long. -- cgit