summaryrefslogtreecommitdiff
path: root/usrp2/firmware/include/usrp2_eth_packet.h
diff options
context:
space:
mode:
authorJosh Blum2010-02-25 15:46:01 -0800
committerJosh Blum2010-02-25 15:46:01 -0800
commit803cb1d7974ed7d419550cc66480c107c2f0d454 (patch)
tree6127f99d30952b5d8a9491fdb9afc5fe3aae446d /usrp2/firmware/include/usrp2_eth_packet.h
parentdb29a2cfc18554ae0a3c55a4e13dc4cbfa86317f (diff)
downloadgnuradio-803cb1d7974ed7d419550cc66480c107c2f0d454.tar.gz
gnuradio-803cb1d7974ed7d419550cc66480c107c2f0d454.tar.bz2
gnuradio-803cb1d7974ed7d419550cc66480c107c2f0d454.zip
Added call to set antenna. Split XCVR into new thing cuz size.
Diffstat (limited to 'usrp2/firmware/include/usrp2_eth_packet.h')
-rw-r--r--usrp2/firmware/include/usrp2_eth_packet.h6
1 files changed, 5 insertions, 1 deletions
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.