summaryrefslogtreecommitdiffstats
path: root/host/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into nextJosh Blum2011-02-091-0/+8
|\ | | | | | | | | Conflicts: host/lib/transport/udp_zero_copy_asio.cpp
| * uhd: potential fix for macos asio recv issue (just disable it)Josh Blum2011-02-081-0/+6
| |
| * usrp2: fix for lingering packet problemJosh Blum2011-02-081-0/+8
| |
* | uhd: tweaks to vrt pkt handler and usrp2 fc monitorJosh Blum2011-02-092-16/+21
| | | | | | | | | | | | pkt handler, only resize once per call to send/recv (not per fragment) fc monitor, code tweaks, check ready before touching time wait stuff (faster)
* | uhd: tweaks for windows warnings and errorsJosh Blum2011-02-091-3/+3
| |
* | uhd: replaced std::vector<type> for buffer arguments in send/recvJosh Blum2011-02-097-17/+17
| | | | | | | | | | | | | | | | | | Created new type ref_vector for representing a vector of pointers. Can be created from std::vector or a pointer. Removes the convenience constrcutors for send/recv, its not needed. Removes malloc/free overhead when using send/recv with pointer.
* | udp: removed asio implementation, created custom managed buffer classes to ↵Josh Blum2011-02-091-155/+115
| | | | | | | | re-use
* | usrp2: initialize _ctrl_seq_num to remove many valgrind warningsJosh Blum2011-02-091-1/+2
| |
* | uhd: replace asio buffer in make safe w/ memory and length, makes things simplerJosh Blum2011-02-075-32/+37
| |
* | usrp2: pre-bind the get buffers methods on init so its not in fast-pathJosh Blum2011-02-071-16/+21
| |
* | uhd: removed instances of shared_from_this() in transportsJosh Blum2011-02-053-9/+7
| | | | | | | | | | | | Its known to be slow and using sptrs of large objects. This should be a slight performance improvement for libusb and usrp_e100_mmap implementation.
* | uhd: change bounded_buffer implementation and code using itJosh Blum2011-02-056-44/+40
| | | | | | | | | | | | | | The bounded buffer now uses the detail idiom to hide implementation to inline better. The whole sptr/make idiom was removed from bounded buffer to just construct directly. The code using bounded buffer was changed for the new api: replaces access operators and calls to the factory function.
* | uhd: work to remove dynamic allocations of std::vector in vrt_packet_handler ↵Josh Blum2011-02-051-22/+25
| | | | | | | | calls
* | udp: simplfy zero copy asio overhead with less shared_from_this, and timed ↵Josh Blum2011-02-051-19/+25
| | | | | | | | waits when not needed
* | uhd: various performance tweaksJosh Blum2011-02-045-73/+104
|/
* Merge branch 'convert_fc64'Josh Blum2011-02-0311-357/+98
|\
| * uhd: added io type and conversion for complex64 (its not really useful)Josh Blum2011-02-034-6/+38
| |
| * Merge branch 'multi_usrp_only' into convert_fc64Josh Blum2011-02-037-351/+60
| |\
| | * usrp: added set and get master clock rates to usrp APIJosh Blum2011-01-315-10/+48
| | | | | | | | | | | | | | | | | | implemented set and get rates in usrp1 (its all soft) implemented set and get rates in usrp2 (only 100MHz)
| | * uhd: remove single usrp (leave a typedef), multi-usrp is a superset nowJosh Blum2011-01-273-341/+12
| | |
* | | N210: initialize codec gains so it doesn't barf if you call get_rx_gain ↵Nick Foster2011-02-031-0/+6
|/ / | | | | | | before set_rx_gain.
* | usrp1: fix for tx disable on EOBJosh Blum2011-02-022-12/+5
| | | | | | | | | | Leave the tx digital always enabled, flush with zeros is enough to turn it "off". Fixed the flush routine to send something (when zero) to ensure zeros go out.
* | uhd: simplify the mach time usage based on example from webJosh Blum2011-01-311-6/+3
| |
* | uhd: use time spec get_system_time to simplify soft time controlJosh Blum2011-01-302-30/+10
| |
* | uhd: implemented high-res get time in time_spec_tJosh Blum2011-01-302-0/+128
|/ | | | | | | clock_gettime for linux, mach_absolute_time for macos, QueryPerformanceFrequency for windows, and fallback to boost microsec_clock
* usrp2: dont set the time for slave devices, they always take from mimo cableJosh Blum2011-01-271-0/+3
|
* usrp-e100: revert compat number until its readyJosh Blum2011-01-271-1/+1
|
* Merge branch 'udp_xport_work'Josh Blum2011-01-261-45/+9
|\
| * udp_zero_copy_asio: removed the #ifdefed num frames and min buff size stuffJosh Blum2011-01-261-45/+9
| | | | | | | | | | | | basically, everything can share a common number of frames, and there is no min buff size, only resize if a size was specified, this simplifies the warnings and resize code
* | uhd: if_addrs check that iter->ifa_addr is NULL before continuingJosh Blum2011-01-261-0/+1
|/ | | | | Happened when building UHD within the OpenWRT environment where ifa_addr can be null it seems!
* uhd: fixed maxosx bug, was resizing the transport bufferJosh Blum2011-01-264-7/+7
| | | | | | but it cant be resized on macos and I messed up the code that blocked that behavior reimplemented block in usrp2_impl, seems more correct here
* N210: longer GPS timeout, removed try/catch in safe_recv loop (since it ↵Nick Foster2011-01-252-15/+7
| | | | can't throw any more)
* usrp1: changes that make benchmark rx workJosh Blum2011-01-241-0/+3
| | | | | | initialize the time to something in soft time control use std::max(0, lost) because the time is emulated, lost can be negative which means huge positive unsigned...
* uhd: added docs on usrp2/n, removed empty n2xx doc page, miscJosh Blum2011-01-241-2/+0
|
* udp: revert depadding hack for recv_frame_sizeJosh Blum2011-01-211-1/+1
|
* usb: restored disable_interruption on get_lut_with_wait (gets called externally)Josh Blum2011-01-211-0/+1
|
* udp: shrink default recv_frame_size by 4 bytes until FPGA handles 2 byte pad ↵Josh Blum2011-01-211-1/+1
| | | | correctly (1516)
* TVRX: forgot to disable debug messagesNick Foster2011-01-211-1/+1
|
* TVRX: fixed spectrum inversion on USRP1, hopefully for the last $%^&* time.Nick Foster2011-01-211-2/+10
|
* Merge branch 'next'Josh Blum2011-01-1987-1847/+2794
|\ | | | | | | | | Conflicts: host/lib/usrp/usrp2/codec_impl.cpp
| * usrp1: set eob on md when shutting off receiver, because we canJosh Blum2011-01-181-0/+1
| |
| * Merge branch 'next' of ettus.sourcerepo.com:ettus/uhdpriv into nextNick Foster2011-01-1711-93/+163
| |\
| | * Merge branch 'usrp1' into nextJosh Blum2011-01-1711-93/+163
| | |\
| | | * usrp1: work on usrp1 hardware compat with the apiJosh Blum2011-01-1710-85/+154
| | | | | | | | | | | | | | | | | | | | | | | | today we added shutoff the DAC when not transmitting using EOB as an indicator added various other features and cleaned up code for soft time control
| | | * usb: use thread interruption in usb zero copy on deconstructionJosh Blum2011-01-171-8/+9
| | | |
| * | | next: generalized the GPS interface to any USRP device. just give it a ↵Nick Foster2011-01-179-79/+47
| |/ / | | | | | | | | | | | | | | | | | | function to write/read strings to UART. not sure if i'm happy with the interface; maybe inheriting is cleaner. this works though. gps interface for usrp2 is disabled right now in mboard_impl.
| * / next: fngets() fixed for GPS driver. polling/timeout moved to host side. ↵Nick Foster2011-01-172-2/+3
| |/ | | | | | | small changes to GPS output text.
| * usrp-e100: added readbacks for time now and time ppsJosh Blum2011-01-124-3/+34
| | | | | | | | | | | | incremented fpga compat number added slave 7 to regs map removed old copy of regs map
| * uhd: make static block safe with a try,catch,printJosh Blum2011-01-142-1/+34
| |
| * uhd: more useful prints for component macroJosh Blum2011-01-142-22/+1
| | | | | | | | | | | | made libuhd a component so we can just build the docs do the python tests in the top level cmakelists misc other tweaks