aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/io_impl.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Implemented pirate thread, moved io impl details into io impl cpp file. ↵Josh Blum2010-06-011-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 Blum2010-06-011-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 Blum2010-05-271-1/+1
| | | | onto a ring of managed buffers.
* Added tx timed samples example.Josh Blum2010-05-181-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 Blum2010-05-181-4/+6
|
* Created inline send vrt packer function that also handles fragmentation.Josh Blum2010-05-171-40/+8
|
* work on generic packet handler (got rx working)Josh Blum2010-05-171-89/+6
|
* calculate max samples per packet using otw typeJosh Blum2010-05-171-8/+15
|
* Merge branch 'shrinkfw' into usrp2Josh Blum2010-05-101-6/+16
|\
| * Added reload flag to the stream cmd.Josh Blum2010-04-281-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 variableJosh Blum2010-05-071-0/+3
|/
* Created a usrp2 interface class with the control, spi, peek/poke functionality.Josh Blum2010-04-131-0/+1
| | | | Its used in all the implementation level code
* merged unit type and gpio bank for dboard interface into one type, expanded ↵Josh Blum2010-04-121-1/+0
| | | | dboard clock config api
* Merge branch 'rfx' of git@ettus.sourcerepo.com:ettus/uhd into ioJosh Blum2010-04-121-2/+5
|\ | | | | | | | | Conflicts: host/lib/usrp/usrp2/io_impl.cpp
| * converted timespec to use nanoseconds for fractional partJosh Blum2010-04-081-4/+7
| |
* | store the mtu and hdr len stuff only in the usrp2 implJosh Blum2010-04-121-4/+5
| |
* | Added data type conversion routines to transport api.Josh Blum2010-04-121-107/+21
| |
* | Created zero copy interface/framework, made use of it in usrp2 udp transport ↵Josh Blum2010-04-121-9/+12
|/ | | | stuff.
* handle tx fragment eob flag caseJosh Blum2010-04-051-1/+7
|
* extended stream cmd with mode enum, and extended fragment flags in metadataJosh Blum2010-04-031-1/+6
|
* Added io type and otw type for describing types.Josh Blum2010-03-301-35/+33
|
* Overhaullllllled the way we do streaming. There is an odd bug whereJosh Blum2010-03-251-2/+6
| | | | | | | | | a zero length command (now, no chain) used to stop the streaming. Now it seems to do the reverse... must investigate. Made all clock configuration into enums. The strings were painful and there cant be that many variations that enums cant cover them. The enums will make more sense to developers than mystery strings.
* mess with that usrp2 io loop unroll, also py app gets installed executableJosh Blum2010-03-241-22/+23
|
* got uhd almost compiling in windowze. figured out special flags. also had to ↵Josh Blum2010-03-171-32/+33
| | | | use boost stdint because its missing in visual c++, added a bunch of numeric casts to reduce warnings
* changes to get tuning workingJosh Blum2010-03-161-1/+1
|
* Moved timeouts into the udp transports.Josh Blum2010-03-041-8/+6
| | | | | | Simplified the fast path checking in the fw, but it turns out this was not the issue. Fixed some bad bit operations with the 16sc words (dont forget sign extension). Added some more documentation to the headers....
* Some tweaks and changes to io impl that fix segfaults.Josh Blum2010-03-031-7/+16
| | | | Seems to work now!
* Split metadata into rx and tx specific metadata.Josh Blum2010-03-031-7/+13
| | | | | | The rx metadata has fragment flags and the tx metatdata has burst flags. Made the io impl for usrp2 rx routine fill in the rx metatdata fragment flag. Added device documentation for send and recv in regards to fragmentation.
* memcpy size fix, change to some send logicJosh Blum2010-03-031-3/+4
|