Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | usrp: use a spawn thread to ensure that a pirate is spawned before ↵ | Josh Blum | 2010-11-16 | 1 | -0/+9 |
| | | | | continuing (fixes lockup issue) | ||||
* | usrp2: handle real overflow packets in host, reload continuous stream cmd, ↵ | Josh Blum | 2010-10-21 | 1 | -1/+7 |
| | | | | remove firmware handling | ||||
* | usrp2: make the booty smaller than the number of recv frames | Josh Blum | 2010-10-16 | 1 | -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_impl | Josh Blum | 2010-10-07 | 1 | -0/+19 |
| | |||||
* | uhd: replaced frame params for the zero copy interfaces with a device address | Josh Blum | 2010-10-05 | 1 | -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 init | Josh Blum | 2010-10-04 | 1 | -4/+0 |
| | |||||
* | uhd: implemented a double timeout (in seconds) for send and recv chains | Josh Blum | 2010-10-01 | 1 | -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 interface | Josh Blum | 2010-09-30 | 1 | -2/+3 |
| | |||||
* | uhd: fix warning by adding brackets for while(cond){}; | Josh Blum | 2010-09-27 | 1 | -1/+1 |
| | |||||
* | usrp1: reworked the io_impl for usrp1 to use the vrt packet handler | Josh Blum | 2010-09-22 | 1 | -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 Blum | 2010-08-31 | 1 | -2/+2 |
| | | | | configure to align count | ||||
* | usrp2: stop streaming and drain buffer (if left running) | Josh Blum | 2010-07-30 | 1 | -4/+6 |
| | |||||
* | Merge branch 'tx_report' | Josh Blum | 2010-07-26 | 1 | -3/+38 |
|\ | | | | | | | | | Conflicts: host/lib/usrp/usrp2/io_impl.cpp | ||||
| * | usrp2: added async event types, and common code for handling context words | Josh Blum | 2010-07-21 | 1 | -4/+1 |
| | | |||||
| * | uhd: added async recv message call to device api | Josh Blum | 2010-07-20 | 1 | -5/+35 |
| | | | | | | | | | | | | implemented in usrp2 io impl added async metadata type | ||||
| * | Merge branch 'master' into tx_report | Josh Blum | 2010-07-20 | 1 | -10/+8 |
| |\ | |||||
| * | | usrp2: added registers and handling for tx async reports | Josh Blum | 2010-07-19 | 1 | -0/+6 |
| | | | |||||
* | | | usrp2: moved timeout into bound callback in io_impl | Josh Blum | 2010-07-22 | 1 | -5/+3 |
| |/ |/| | |||||
* | | uhd: bring timeout parameter to the device::recv call, implement in usrp2 | Josh Blum | 2010-07-20 | 1 | -10/+8 |
|/ | |||||
* | usrp2: removed SX packet count stuff from vrt packet handler, moved to usrp2 ↵ | Josh Blum | 2010-07-09 | 1 | -5/+9 |
| | | | | io impl and replaced with Os | ||||
* | uhd: ssize_t for phony zero copy return types, null sptr for timeout/error ↵ | Josh Blum | 2010-07-09 | 1 | -1/+1 |
| | | | | with get managed buffers | ||||
* | usrp2: use the actual pointer in bind so the sptr is not copied | Josh Blum | 2010-07-07 | 1 | -2/+2 |
| | |||||
* | usrp2: some cleanup and tweaks in io impl | Josh Blum | 2010-07-05 | 1 | -41/+76 |
| | |||||
* | usrp2: moved calculations for max packet size and otw types into shared ↵ | Josh Blum | 2010-07-05 | 1 | -25/+10 |
| | | | | object between device and mboards | ||||
* | usrp2: split mboard impl into its own class, usrp2 device can instantiate N ↵ | Josh Blum | 2010-07-05 | 1 | -57/+56 |
| | | | | mboard impls for mimo setup (works with 1 for now) | ||||
* | uhd: work vectorizing the vrt packet handler, reworked vrt packet stuff, ↵ | Josh Blum | 2010-07-05 | 1 | -9/+23 |
| | | | | needs testing | ||||
* | uhd: work on thread priority scheduling | Josh Blum | 2010-06-16 | 1 | -0/+2 |
| | |||||
* | Replaced the vrt pack and unpack with a pack and unpack for big endian and a ↵ | Josh Blum | 2010-06-07 | 1 | -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 convention | Josh Blum | 2010-06-04 | 1 | -6/+6 |
| | |||||
* | Created macros for dealing with pimpls and implemented in code. | Josh Blum | 2010-06-02 | 1 | -1/+1 |
| | |||||
* | use smart pointer for io impl, simplify send buffer callback | Josh Blum | 2010-06-02 | 1 | -10/+2 |
| | |||||
* | disable boost thread interrupt when doing pop with timed wait, fixed error ↵ | Josh Blum | 2010-06-02 | 1 | -2/+4 |
| | | | | on exit | ||||
* | Implemented pirate thread, moved io impl details into io impl cpp file. ↵ | Josh Blum | 2010-06-01 | 1 | -7/+66 |
| | | | | Fixed bug in bounded buffer push with pop on full. | ||||
* | Moved the packet handler state stuff into a separate header (so we dont pull ↵ | Josh Blum | 2010-06-01 | 1 | -2/+12 |
| | | | | | | in all the includes). Use callback for getting buffers rather than zc interface pointer so its more modular. | ||||
* | Tweak with the udp and zero-copy transport. Eventually, the caller will hang ↵ | Josh Blum | 2010-05-27 | 1 | -1/+1 |
| | | | | onto a ring of managed buffers. | ||||
* | Added tx timed samples example. | Josh Blum | 2010-05-18 | 1 | -3/+3 |
| | | | | | Added called to device to get max samples per packet. Removed device props that gave max samples per packet. | ||||
* | Added send and recv modes to the device class and packet handler implementation. | Josh Blum | 2010-05-18 | 1 | -4/+6 |
| | |||||
* | Created inline send vrt packer function that also handles fragmentation. | Josh Blum | 2010-05-17 | 1 | -40/+8 |
| | |||||
* | work on generic packet handler (got rx working) | Josh Blum | 2010-05-17 | 1 | -89/+6 |
| | |||||
* | calculate max samples per packet using otw type | Josh Blum | 2010-05-17 | 1 | -8/+15 |
| | |||||
* | Merge branch 'shrinkfw' into usrp2 | Josh Blum | 2010-05-10 | 1 | -6/+16 |
|\ | |||||
| * | Added reload flag to the stream cmd. | Josh Blum | 2010-04-28 | 1 | -6/+16 |
| | | | | | | | | | | This reloads the last command to handle continuous streaming in hardware. Moved rx control register setup and stream command issuing to the host. | ||||
* | | fix for first seqno on rx, init the variable | Josh Blum | 2010-05-07 | 1 | -0/+3 |
|/ | |||||
* | Created a usrp2 interface class with the control, spi, peek/poke functionality. | Josh Blum | 2010-04-13 | 1 | -0/+1 |
| | | | | Its used in all the implementation level code | ||||
* | merged unit type and gpio bank for dboard interface into one type, expanded ↵ | Josh Blum | 2010-04-12 | 1 | -1/+0 |
| | | | | dboard clock config api | ||||
* | Merge branch 'rfx' of git@ettus.sourcerepo.com:ettus/uhd into io | Josh Blum | 2010-04-12 | 1 | -2/+5 |
|\ | | | | | | | | | Conflicts: host/lib/usrp/usrp2/io_impl.cpp | ||||
| * | converted timespec to use nanoseconds for fractional part | Josh Blum | 2010-04-08 | 1 | -4/+7 |
| | | |||||
* | | store the mtu and hdr len stuff only in the usrp2 impl | Josh Blum | 2010-04-12 | 1 | -4/+5 |
| | | |||||
* | | Added data type conversion routines to transport api. | Josh Blum | 2010-04-12 | 1 | -107/+21 |
| | | |||||
* | | Created zero copy interface/framework, made use of it in usrp2 udp transport ↵ | Josh Blum | 2010-04-12 | 1 | -9/+12 |
|/ | | | | stuff. |