aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/io_impl.cpp
Commit message (Collapse)AuthorAgeFilesLines
* usrp-n: some rx path fixesJosh Blum2010-11-291-2/+3
| | | | | | removed stop streaming command from init (taken care of by reset) fixed incoming packet filter to pass inline message packets
* usrp_nxxx: software workarounds for weird power up stateJosh Blum2010-11-231-17/+32
|
* Merge branch 'flow_ctrl' into nextJosh Blum2010-11-231-33/+111
|\
| * Merge branch 'master' of ettus.sourcerepo.com:ettus/uhdpriv into flow_ctrlNick Foster2010-11-171-0/+9
| |\ | | | | | | | | | | | | | | | | | | | | | Conflicts: host/lib/transport/udp_simple.cpp host/lib/usrp/usrp2/mboard_impl.cpp host/lib/usrp/usrp2/usrp2_iface.cpp host/lib/usrp/usrp2/usrp2_regs.hpp
| * | usrp2: implemented clear state for RX and TX control, and zero sample ↵Josh Blum2010-11-081-25/+0
| | | | | | | | | | | | command support
| * | Merge branch 'usrp2_overflow' into flow_ctrlJosh Blum2010-10-211-1/+7
| |\ \ | | | | | | | | | | | | | | | | Conflicts: host/lib/usrp/usrp2/usrp2_impl.hpp
| * \ \ Merge branch 'master' into flow_ctrlJosh Blum2010-10-181-1/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: host/lib/usrp/usrp2/io_impl.cpp
| * | | | usrp2: dont need to start streaming for this hackJosh Blum2010-10-151-1/+0
| | | | |
| * | | | usrp2: temp fix to send dummy packets and flush so FPGA vita machine are in ↵Josh Blum2010-10-151-0/+26
| | | | | | | | | | | | | | | | | | | | known state
| * | | | usrp2: move udp port initialization into mboard impl so its done before ↵Josh Blum2010-10-141-10/+0
| | | | | | | | | | | | | | | | | | | | async registers are setup
| * | | | udp: fix to use concurrency hint, default hint is zero when no async enabledJosh Blum2010-10-131-0/+1
| | | | |
| * | | | usrp2: increment tx sequence after commitJosh Blum2010-10-131-0/+1
| | | | |
| * | | | uhd: test eob ack message, usrp2: remove rx drain on init with the promise ↵Josh Blum2010-10-121-2/+0
| | | | | | | | | | | | | | | | | | | | of a reset register
| * | | | usrp2: enable the cycles per ack, and drain recv without the timeout (fixes ↵Josh Blum2010-10-111-1/+1
| | | | | | | | | | | | | | | | | | | | previous conflict)
| * | | | usrp2: use 32-bit flow control sequence numbersJosh Blum2010-10-111-17/+12
| | | | |
| * | | | usrp2: implemented flow control monitorJosh Blum2010-10-111-13/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | set registers in mboard impl to enable asyn fc packets modified microblaze code to handle dummy data packet offset
| * | | | usrp2: implement fc seq number on tx header packingJosh Blum2010-10-111-19/+35
| | | | |
* | | | | usrp2: ms didnt seem to like unlocking an unlocked mutexJosh Blum2010-11-221-3/+4
| |_|_|/ |/| | |
* | | | usrp: use a spawn thread to ensure that a pirate is spawned before ↵Josh Blum2010-11-161-0/+9
| |_|/ |/| | | | | | | | continuing (fixes lockup issue)
* | | usrp2: handle real overflow packets in host, reload continuous stream cmd, ↵Josh Blum2010-10-211-1/+7
| |/ |/| | | | | remove firmware handling
* | usrp2: make the booty smaller than the number of recv framesJosh Blum2010-10-161-1/+1
|/ | | | | | | | | | | | | | | | This may fix some of our woes when the host cannot keep up. That is, with a smaller booty, the managed buffers will get freed up and the call to get buffer will never block waiting for a buffer to become free. This has several side effects: 1) Overflows are more likely to occur in the pirate thread. Pirate-based overflows will overwrite old packets, whereas socket-based overflows will discard newer incoming packets. 2) The pirate thread will continue to pull in async packets rather than loosing them in a socket-based overflow.
* usrp2: moved samples per packet calculation into io_implJosh Blum2010-10-071-0/+19
|
* uhd: replaced frame params for the zero copy interfaces with a device addressJosh Blum2010-10-051-2/+2
| | | | | | | | | | the device address gives a key, value pair of infinite optional capabilities added a cast option to the device address to cast string to type T added call to the zero_copy_if to get send and recv frame sizes changed the usrp2 impl to calculate recv/send spp from the data transport
* usrp2: removed extra print-outs in initJosh Blum2010-10-041-4/+0
|
* uhd: implemented a double timeout (in seconds) for send and recv chainsJosh Blum2010-10-011-16/+16
| | | | | | | | converted all size_t timeout_ms to double timeout bounded and alignment buffer now take double timeout added timeout to device::send and zero_copy_if::get_send_buff
* uhd: implemented recv timeout for zero copy interfaceJosh Blum2010-09-301-2/+3
|
* uhd: fix warning by adding brackets for while(cond){};Josh Blum2010-09-271-1/+1
|
* usrp1: reworked the io_impl for usrp1 to use the vrt packet handlerJosh Blum2010-09-221-1/+1
| | | | | | | | used dummy packers and unpackets that have a header size of zero created wrapper around the data transport to handle non-512 multiple sends honor the eob flag on send to flush the send buffer
* usrp2: flush the error flow messages, issue the stop before register ↵Josh Blum2010-08-311-2/+2
| | | | configure to align count
* usrp2: stop streaming and drain buffer (if left running)Josh Blum2010-07-301-4/+6
|
* Merge branch 'tx_report'Josh Blum2010-07-261-3/+38
|\ | | | | | | | | Conflicts: host/lib/usrp/usrp2/io_impl.cpp
| * usrp2: added async event types, and common code for handling context wordsJosh Blum2010-07-211-4/+1
| |
| * uhd: added async recv message call to device apiJosh Blum2010-07-201-5/+35
| | | | | | | | | | | | implemented in usrp2 io impl added async metadata type
| * Merge branch 'master' into tx_reportJosh Blum2010-07-201-10/+8
| |\
| * | usrp2: added registers and handling for tx async reportsJosh Blum2010-07-191-0/+6
| | |
* | | usrp2: moved timeout into bound callback in io_implJosh Blum2010-07-221-5/+3
| |/ |/|
* | uhd: bring timeout parameter to the device::recv call, implement in usrp2Josh Blum2010-07-201-10/+8
|/
* usrp2: removed SX packet count stuff from vrt packet handler, moved to usrp2 ↵Josh Blum2010-07-091-5/+9
| | | | io impl and replaced with Os
* uhd: ssize_t for phony zero copy return types, null sptr for timeout/error ↵Josh Blum2010-07-091-1/+1
| | | | with get managed buffers
* usrp2: use the actual pointer in bind so the sptr is not copiedJosh Blum2010-07-071-2/+2
|
* usrp2: some cleanup and tweaks in io implJosh Blum2010-07-051-41/+76
|
* usrp2: moved calculations for max packet size and otw types into shared ↵Josh Blum2010-07-051-25/+10
| | | | object between device and mboards
* usrp2: split mboard impl into its own class, usrp2 device can instantiate N ↵Josh Blum2010-07-051-57/+56
| | | | mboard impls for mimo setup (works with 1 for now)
* uhd: work vectorizing the vrt packet handler, reworked vrt packet stuff, ↵Josh Blum2010-07-051-9/+23
| | | | needs testing
* uhd: work on thread priority schedulingJosh Blum2010-06-161-0/+2
|
* Replaced the vrt pack and unpack with a pack and unpack for big endian and a ↵Josh Blum2010-06-071-0/+2
| | | | | | pack and unpack for little endian. The vrt handler code was templatized to take the relevant packer/unpacker as an argument.
* usrp2 regs naming conventionJosh Blum2010-06-041-6/+6
|
* Created macros for dealing with pimpls and implemented in code.Josh Blum2010-06-021-1/+1
|
* use smart pointer for io impl, simplify send buffer callbackJosh Blum2010-06-021-10/+2
|
* disable boost thread interrupt when doing pop with timed wait, fixed error ↵Josh Blum2010-06-021-2/+4
| | | | on exit