diff options
author | Josh Blum | 2010-03-16 18:22:10 -0700 |
---|---|---|
committer | Josh Blum | 2010-03-16 18:22:10 -0700 |
commit | d43d40813c1a8343a86abb231876a8b7c0e9f806 (patch) | |
tree | e919c7da99aca7918ca5533e899cd7c9bbbf76bd /usrp2/firmware/apps/app_common_v2.c | |
parent | 19d3c0cab37123f8bfd19fdfc576f44b6069300f (diff) | |
parent | ac422b700282e21956dbf7643ee2dfbeeebdaf45 (diff) | |
download | gnuradio-d43d40813c1a8343a86abb231876a8b7c0e9f806.tar.gz gnuradio-d43d40813c1a8343a86abb231876a8b7c0e9f806.tar.bz2 gnuradio-d43d40813c1a8343a86abb231876a8b7c0e9f806.zip |
Merge branch 'master' of http://gnuradio.org/git/gnuradio into uhd
Diffstat (limited to 'usrp2/firmware/apps/app_common_v2.c')
-rw-r--r-- | usrp2/firmware/apps/app_common_v2.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/usrp2/firmware/apps/app_common_v2.c b/usrp2/firmware/apps/app_common_v2.c index 036d0bace..7716ed992 100644 --- a/usrp2/firmware/apps/app_common_v2.c +++ b/usrp2/firmware/apps/app_common_v2.c @@ -494,6 +494,14 @@ handle_control_chan_frame(u2_eth_packet_t *pkt, size_t len) ok = true; goto generic_reply; + case OP_RX_ANTENNA: + ok = db_set_antenna(rx_dboard, ((op_config_mimo_t *)payload)->flags); + goto generic_reply; + + case OP_TX_ANTENNA: + ok = db_set_antenna(tx_dboard, ((op_config_mimo_t *)payload)->flags); + goto generic_reply; + case OP_BURN_MAC_ADDR: ok = ethernet_set_mac_addr(&((op_burn_mac_addr_t *)payload)->addr); goto generic_reply; |