aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib
Commit message (Collapse)AuthorAgeFilesLines
* usb: usb_dummy made to match usb_control and usb_zero_copyMartin Braun2016-08-021-2/+10
|
* usb: tweak types for consistency between LIBUSB API calls and internal UHD ↵Michael Dickens2016-08-012-8/+8
| | | | usage of returned values.
* usb: add virtual destructors where needed; make virtual destructors ↵Michael Dickens2016-08-014-20/+73
| | | | out-of-line from class definition to reduce number of vtables emitted (according to clang).
* usb: fix interfaces to be type 'int' and endpoints to be type 'unsigned ↵Michael Dickens2016-08-012-11/+11
| | | | char' to match the libusb API.
* usb: fix 'timeout' variables to be unsigned since that is what the ↵Michael Dickens2016-08-012-3/+3
| | | | 'libusb_control_transfer' API uses.
* usb: fix 'submit' to return 'int' since that is what ↵Michael Dickens2016-08-011-7/+7
| | | | 'libusb_control_transfer' returns; otherwise 'submit' is used with the correct types internally.
* Merge branch 'maint'Martin Braun2016-08-017-43/+60
|\ | | | | | | | | | | Conflicts: host/lib/usrp/dboard/db_wbx_version2.cpp host/lib/usrp/dboard/db_wbx_version3.cpp
| * WBX: Make frequencies <100 MHz work for v2 and v3 boards when reference ↵michael-west2016-08-012-16/+22
| | | | | | | | clock <100 MHz (i.e. on X300)
| * Octoclock: Fixed issues related to missing strings from GPSDO.michael-west2016-06-282-13/+26
| | | | | | | | | | - Corrected case when num_wraps overflowed - Added limit to cache age
| * Octoclock: Fix firmware version compatibilitymichael-west2016-06-277-30/+34
| |
* | transport: fixed an issue where the number of conversions were incorrectly ↵Paul David2016-08-012-2/+2
| | | | | | | | | | | | | | based on the number of buffers - The number of conversions should be based on the number of channels available - This fix corrects a segmentation fault in rx_multi_samples
* | common: adf5355: 'Fix' compiler warningMoritz Fischer2016-08-011-2/+2
| | | | | | | | | | | | | | GCC6 doesn't like nested /* /* */ */ comments (rightly so), and complains. Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* | usrp3: Added SW muxer/demuxer for the zero_copy interfaceAshish Chaudhari2016-07-292-0/+251
| | | | | | | | | | | | | | - Can be used to share a single zero_copy_if object with multiple streams - Allows creating of virtual streams that are indistinguishable from low-level streams
* | B200: Adding separate B200 radio control codemichael-west2016-07-226-10/+422
| |
* | UHD: Fixes for super_recv_packet_hadlermichael-west2016-07-221-3/+14
| | | | | | | | | | - Make recv() return immediately on EOB - In the timeout case, don't call the flow control hander if none exists
* | C API: wrapped multi_usrp functions for interacting with LO'sNicholas Corgan2016-07-191-1/+90
| |
* | multi_usrp: Added LO control APIDerek Kozel2016-07-191-0/+161
| |
* | Added TwinRX daughterboard control.Ashish Chaudhari2016-07-1910-0/+3845
| |
* | adf_synth: Added muxout config API to 435x controllersAshish Chaudhari2016-07-191-0/+34
| |
* | twinrx: Added ADF5355 control moduleAshish Chaudhari2016-07-195-0/+605
| | | | | | | | | | - Added regmap - Added controller class
* | x300: Minor: Assert if FPGA image identifier is not long enoughAshish Chaudhari2016-07-121-0/+2
| |
* | x300: UHD is now compatible with FPGA images with Aurora supportAshish Chaudhari2016-07-072-25/+45
| | | | | | | | | | - UHD and ZPU is now aware of Aurora SFP+ transceivers in the FPGA image - Added script to exercise Aurora BIST features
* | Merge branch 'maint'Martin Braun2016-06-235-5/+41
|\| | | | | | | | | Conflicts: host/lib/usrp/b200/b200_impl.cpp
| * converters: Clarifying comment re packingMartin Braun2016-06-222-0/+10
| |
| * b200: Update DSPs after changing tick rateMartin Braun2016-06-223-6/+32
| | | | | | | | | | Reviewed-By: Andrew Lynch <andrew.lynch@ni.com> Reviewed-By: Michael West <michael.west@ettus.com>
* | Merge branch 'maint'Martin Braun2016-06-222-6/+16
|\|
| * lib: fixed GCC 6 warnings/errorsNicholas Corgan2016-06-212-6/+16
| | | | | | | | | | * gpsd_iface: fixed ambiguity in boost::assign::list_of usage * b100/clock_ctrl: fixed "misleading indentation" warning
* | Merge branch 'maint'Martin Braun2016-06-178-37/+73
|\|
| * Added the option to disable ADC self-testMarcus Müller2016-06-171-1/+1
| | | | | | | | | | | | This proved helpful on devices where the EEPROM is wrong about hardware revision, and the EEPROM writing doesn't work, because the ADC self-test fails due to being run for the wrong board revision.
| * octoclock: bugfixes, bumped firmware compat number to 4Nicholas Corgan2016-06-176-32/+62
| | | | | | | | | | | | | | | | | | * host: consistency in setting packet sequence numbers * firmware: populate packet length field when setting GPSDO cache * both: logic for dealing with mismatching compatibility numbers Reviewed-By: Michael West <michael.west@ettus.com> Reviewed-By: Martin Braun <martin.braun@ettus.com>
| * convert: remove duplicate registration of sc12 sizeNicholas Corgan2016-06-171-2/+1
| |
| * Octoclock: Fix off by one errors in uart codemichael-west2016-06-161-2/+2
| |
| * cmake: allow UHD library and utilities to be in separate lib directoriesNicholas Corgan2016-06-161-1/+8
| |
* | Changing UHD's versioning systemNicholas Corgan2016-06-142-3/+4
| | | | | | | | * Version numbers now Major.API.ABI.Patch
* | Merge branch 'maint'Martin Braun2016-06-142-8/+8
|\|
| * Spelling fixesNicholas Corgan2016-06-142-8/+8
| |
* | Merge branch 'maint'Martin Braun2016-06-141-1/+1
|\|
| * Fix off-by-one errorJonathan Wakely2016-06-071-1/+1
| | | | | | | | There's an off-by-one error in base64_decode_value that results in undefined behaviour when it's passed `'\x7b'`
* | transport: Removing task barrier for conversion calls in the ↵Paul David2016-06-081-22/+13
| | | | | | | | super_send_packet_handler
* | transport: Removing task barrier for conversion calls in the ↵Paul David2016-06-081-23/+12
| | | | | | | | super_recv_packet_handler
* | Added the option to disable ADC self-testMarcus Müller2016-06-061-1/+1
| | | | | | | | | | | | This proved helpful on devices where the EEPROM is wrong about hardware revision, and the EEPROM writing doesn't work, because the ADC self-test fails due to being run for the wrong board revision.
* | Merge branch 'maint'Martin Braun2016-06-061-8/+10
|\|
| * octoclock: Fix multi-line #define statementsMarcus Müller2016-06-061-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now, use `do{...} while(0)` to pack multiple statements into a single one that isn't fragile. Currently ``` if(state_just_right) OCTOCLOCK_SEND_AND_RECV(all,the,options); ``` would introduce annoying bugs. Generally, there's no good reason this is a `#define` rather than a C/C++ function. The `OCTOCLOCK_PACKET_MATCHES` should probably be a C function, too, or simply an overloaded `==` operator on to `const octoclock_packet_t&`.
* | Merge branch 'maint'Martin Braun2016-05-271-7/+26
|\|
| * UBX: Force RX LNAs on to reduce RX settling timemichael-west2016-05-261-7/+26
| |
* | Merge branch 'maint'Martin Braun2016-05-261-23/+37
|\|
| * UBX: Fixed noise issues and reduced power consumption and heatmichael-west2016-05-261-23/+37
| | | | | | | | | | - Removed force on of components to reduce noise, power consumption, and heat - Set TX PA force on only when RX antenna set to RX2 to remove long TX transient caused by HW issue on TX path
* | Merge branch 'maint'Ashish Chaudhari2016-05-263-15/+4
|\|
| * bugfix#1102: Prevented X300 DAC FIFO from underflowingAshish Chaudhari2016-05-253-15/+4
| | | | | | | | | | | | | | - The spectral distortion was begin caused by the DAC FIFO underflowing. The fix was to run through the DAC sync procedure which uses the falling edge clock to sample the RefClk and sync it with the data clk
* | x300: Fixed an issue where the wrong XB port was being selectedPaul David2016-05-191-18/+43
| | | | | | | | | | | | - If there were duplicate IPs in the mboard eeprom, the last one would be selected instead of the first - The default IP addresses (used for the case where the mboard eeprom can't be read) would overwrite the previous settings - Added a warning for duplicate IP entries in the mboard eeprom