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/txrx.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/txrx.c')
-rw-r--r-- | usrp2/firmware/apps/txrx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usrp2/firmware/apps/txrx.c b/usrp2/firmware/apps/txrx.c index 935e62a72..fc2f8a49e 100644 --- a/usrp2/firmware/apps/txrx.c +++ b/usrp2/firmware/apps/txrx.c @@ -168,6 +168,7 @@ start_rx_streaming_cmd(const u2_mac_addr_t *host, op_start_rx_streaming_t *p) 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, 0, 0); // DSP RX will fill in timestamp |