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/mimo_app_common_v2.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/mimo_app_common_v2.c')
-rw-r--r-- | usrp2/firmware/apps/mimo_app_common_v2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usrp2/firmware/apps/mimo_app_common_v2.c b/usrp2/firmware/apps/mimo_app_common_v2.c index e5ab55fac..5dbecb0d0 100644 --- a/usrp2/firmware/apps/mimo_app_common_v2.c +++ b/usrp2/firmware/apps/mimo_app_common_v2.c @@ -67,6 +67,7 @@ void set_reply_hdr(u2_eth_packet_t *reply_pkt, u2_eth_packet_t const *cmd_pkt) { reply_pkt->ehdr.dst = cmd_pkt->ehdr.src; + reply_pkt->ehdr.src = *ethernet_mac_addr(); reply_pkt->ehdr.ethertype = U2_ETHERTYPE; reply_pkt->thdr.flags = 0; reply_pkt->thdr.fifo_status = 0; // written by protocol engine |