aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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
* | x300: Check the maximum frame size for both linksPaul David2016-05-181-1/+22
| | | | | | | | | | - This change ensures that the smallest frame size is chosen with dual ethernet - It helps avoid any issues with using frame sizes larger than what the smaller link supports
* | dboard_iface: Added FE name input to set_fe_connectionAshish Chaudhari2016-05-165-15/+21
| | | | | | | | | | - A dboard_base class can have multiple frontends (subdevs) and the set_fe_connection needs to be able to distinguish between them
* | x300: Fixed false link capacity warning and cleaned up some codePaul David2016-05-132-11/+7
| | | | | | | | | | - Fixed an issue where 10GE on the HGS image presented a false warning for the link capacity - Removed some unnecessary variables after cleanup
* | Merge branch 'maint'Martin Braun2016-05-061-4/+8
|\| | | | | | | | | | | Conflicts: host/CMakeLists.txt host/lib/usrp/b200/b200_impl.cpp
| * b200: Changed implicit conversion to explicit conversion for wptrAndrew Lynch2016-05-051-2/+2
| |
| * b200: Changed tree sptr in lambda to wptrAndrew Lynch2016-05-041-2/+6
| |
* | Merge branch 'maint'Martin Braun2016-04-222-10/+18
|\| | | | | | | | | | | | | Conflicts: fpga-src host/cmake/Modules/UHDVersion.cmake host/lib/usrp/b200/b200_impl.cpp
| * b200: Fixed setting of max rateMartin Braun2016-04-222-10/+18
| | | | | | | | | | | | | | DSP rates are now being tracked as in whether or not they've been set. We can disregard unset DSPs for the automatic clock rate calculation. Reviewed-By: Derek Kozel <derek.kozel@ettus.com>
* | Merge branch 'maint'Martin Braun2016-04-201-0/+2
|\|
| * e3xx: spi: Fix issue introduced in 1b149f56Moritz Fischer2016-04-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Kernels (3.15+) introduce the possibility to do DUAL and QUAD spi operations via spidev. Prior to this commit nothing was setting the {tx,rx}_nbits members of the struct spi_ioc_transfer. from include/uapi/linux/spi/spidev.h struct spi_ioc_transfer { __u64 tx_buf; __u64 rx_buf; __u32 len; __u32 speed_hz; __u16 delay_usecs; __u8 bits_per_word; __u8 cs_change; __u8 tx_nbits; __u8 rx_nbits; __u16 pad; }; This turns into an issue on more recent kernels, where it turns all transactions into QUAD transactions, while the controller actually doesn't support that mode of operation. Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* | vita core: Fix the hard reset issue by flushing the flow control windowPaul David2016-04-181-0/+13
| |
* | transport optimize: Integrated the transport offloading into the X3XX codebasePaul David2016-04-185-54/+227
| |
* | transport optimize: Added a thread transport offload to share the workloadPaul David2016-04-182-0/+159
| |
* | Added option for writes to specify a SPI speedDerek Kozel2016-04-082-7/+22
| |
* | Merge branch 'maint'Martin Braun2016-04-071-2/+2
|\| | | | | | | | | Conflicts: host/lib/usrp/cores/gpio_core_200.cpp
| * gpio core: Fixed a mismatch in the address assignment for RX and full duplexPaul David2016-04-061-2/+2
| |
* | E310: Radio reset fixmichael-west2016-03-291-1/+1
| | | | | | | | | | | | - Updated images - E310: Bumped compat number to 16 for radio reset fix - Update fpga-src submodule pointer
* | Merge branch 'maint'Martin Braun2016-03-291-1/+1
|\|
| * ubx: Changed member declaration to satisfy debug builds on WindowsMartin Braun2016-03-291-1/+1
| |
* | Merge branch 'maint'Martin Braun2016-03-251-2/+46
|\|
| * Unroll the loops in the NEON float to/from integer converters.Philip Balister2016-03-231-2/+46
| | | | | | | | | | | | | | | | Unrolling the RX loop showed marked improvement with perf. The TX path was only slightly better. Checked signal correctness with shinysdr to verify received signal and tx_waveforms into a spectrum analyzer for TX. Signed-off-by: Philip Balister <philip@opensdr.com>
| * Added missing stdint.h includeNicholas Corgan2016-03-221-1/+2
| |
| * transport: Also send flow control ACKs on sequence errorsMartin Braun2016-03-161-0/+6
| |
* | x300: DSP updates to support heterodyne dboardsAshish Chaudhari2016-03-212-2/+7
| |
* | dboard_iface: Added method to configure front connection and settingsAshish Chaudhari2016-03-217-0/+36
| |