Author: gnychis
Date: 2007-09-11 13:20:01 -0600 (Tue, 11 Sep 2007)
New Revision: 6406
Modified:
gnuradio/branches/developers/gnychis/inband/usrp/host/apps-inband/test_gmac_tx.cc
Log:
Deadlines confirmed to be working in GNU Radio and the USRP.
Modified:
gnuradio/branches/developers/gnychis/inband/usrp/host/apps-inband/test_gmac_tx.cc
===================================================================
---
gnuradio/branches/developers/gnychis/inband/usrp/host/apps-inband/test_gmac_tx.cc
2007-09-11 19:10:10 UTC (rev 6405)
+++
gnuradio/branches/developers/gnychis/inband/usrp/host/apps-inband/test_gmac_tx.cc
2007-09-11 19:20:01 UTC (rev 6406)
@@ -191,7 +191,7 @@
d_cs->send(s_cmd_carrier_sense_deadline,
pmt_list2(PMT_NIL,
- pmt_from_long(100000000)));
+ pmt_from_long(50000000)));
build_and_send_next_frame(); // fire off 4 to start pipeline
build_and_send_next_frame();
@@ -275,20 +275,20 @@
pmt_list1(PMT_NIL));
}
- if(d_nframes_xmitted > 90000) {
+ if(d_nframes_xmitted > 90000 && d_nframes_xmitted < 110000) {
pmt_dict_set(tx_properties,
pmt_intern("carrier-sense"),
PMT_T);
}
-// if(d_nframes_xmitted > 110000) {
-//
-// if(d_nframes_xmitted % 10 == 0)
-// pmt_dict_set(tx_properties,
-// pmt_intern("carrier-sense"),
-// PMT_T);
-// }
+ if(d_nframes_xmitted > 110000) {
+ if(d_nframes_xmitted % 100 == 0)
+ pmt_dict_set(tx_properties,
+ pmt_intern("carrier-sense"),
+ PMT_T);
+}
+
pmt_t timestamp = pmt_from_long(0xffffffff); // NOW
d_tx->send(s_cmd_tx_pkt,
pmt_list4(PMT_NIL, // invocation-handle
_______________________________________________
Commit-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnuradio