summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-10-11 16:31:51 -0700
committerJosh Blum <josh@joshknows.com>2010-10-11 16:31:51 -0700
commit453b450aa2f40f1ab3689855654fd2167f554ccc (patch)
tree7a5fd3d4b46734cd708e7881fd375f77528b6806 /firmware
parent37f1f1451f65aace9ca978ac3edcaa31d16e8c0d (diff)
downloaduhd-453b450aa2f40f1ab3689855654fd2167f554ccc.tar.gz
uhd-453b450aa2f40f1ab3689855654fd2167f554ccc.tar.bz2
uhd-453b450aa2f40f1ab3689855654fd2167f554ccc.zip
usrp2: implemented flow control monitor
set registers in mboard impl to enable asyn fc packets modified microblaze code to handle dummy data packet offset
Diffstat (limited to 'firmware')
-rw-r--r--firmware/microblaze/apps/txrx_uhd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/microblaze/apps/txrx_uhd.c b/firmware/microblaze/apps/txrx_uhd.c
index 1dd6e80ac..e38eb621d 100644
--- a/firmware/microblaze/apps/txrx_uhd.c
+++ b/firmware/microblaze/apps/txrx_uhd.c
@@ -372,7 +372,7 @@ eth_pkt_inspector(dbsm_t *sm, int bufno)
// In the future, a hardware state machine will do this...
if ( //warning! magic numbers approaching....
(((buff + ((2 + 14 + 20)/sizeof(uint32_t)))[0] & 0xffff) == USRP2_UDP_DATA_PORT) &&
- ((buff + ((2 + 14 + 20 + 8)/sizeof(uint32_t)))[0] != USRP2_INVALID_VRT_HEADER)
+ ((buff + ((2 + 14 + 20 + 8)/sizeof(uint32_t)))[1] != USRP2_INVALID_VRT_HEADER)
) return false;
//test if its an ip recovery packet