diff options
author | Eric Blossom | 2009-09-04 15:35:01 -0700 |
---|---|---|
committer | Eric Blossom | 2009-09-04 15:35:01 -0700 |
commit | 49a17dca1ee9cf7c0fd02b6baf83814a68c4e5e8 (patch) | |
tree | 9e2eebf93e5e3867664fe4cb3ab3514ed76051ee /usrp2/firmware/apps/tx_standalone.c | |
parent | 9a100f391e52106ca872dd5df8287273eea64b0c (diff) | |
download | gnuradio-49a17dca1ee9cf7c0fd02b6baf83814a68c4e5e8.tar.gz gnuradio-49a17dca1ee9cf7c0fd02b6baf83814a68c4e5e8.tar.bz2 gnuradio-49a17dca1ee9cf7c0fd02b6baf83814a68c4e5e8.zip |
Firmware now inserts mac source address value in each frame.
The old mac used to do this automatically.
Diffstat (limited to 'usrp2/firmware/apps/tx_standalone.c')
-rw-r--r-- | usrp2/firmware/apps/tx_standalone.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usrp2/firmware/apps/tx_standalone.c b/usrp2/firmware/apps/tx_standalone.c index 25ba8fd40..6350a6956 100644 --- a/usrp2/firmware/apps/tx_standalone.c +++ b/usrp2/firmware/apps/tx_standalone.c @@ -195,6 +195,7 @@ start_tx_transfers(void) u2_eth_packet_t pkt; memset(&pkt, 0, sizeof(pkt)); //pkt.ehdr.dst = *host; + pkt.ehdr.src = *ethernet_mac_addr(); pkt.ehdr.ethertype = U2_ETHERTYPE; u2p_set_word0(&pkt.fixed, U2P_TX_IMMEDIATE | U2P_TX_START_OF_BURST, 0); |