aboutsummaryrefslogtreecommitdiffstats
path: root/host
Commit message (Collapse)AuthorAgeFilesLines
* lmk: Update LMK04828 driver with values for MagnesiumDerek Kozel2017-12-222-49/+69
|
* lib: usrp: magnesium: Stub out a radio_ctrl for magnesiumMoritz Fischer2017-12-226-2/+279
| | | | | Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com> Signed-off-by: Martin Braun <martin.braun@ettus.com>
* uhd: add a simple make_transport to netd_implAndrej Rode2017-12-222-9/+14
|
* usrp: add netd find and impl, add uhd rpc client wrapperAndrej Rode2017-12-229-7/+498
|
* uhd: add cut-down rpclib source tree and import toolAndrej Rode2017-12-22520-0/+84485
|
* Initial commit for N3xx development.Martin Braun2017-12-226-1/+236
| | | | | | | | | | | | | | - Creates mpm/ subdirectory - First pass at hardware daemon/MPM - New code for LMK04828, AD9371 - spidev integration Contributions by: Martin Braun <martin.braun@ettus.com> Derek Kozel <derek.kozel@ettus.com> Mark Meserve <mark.meserve@ni.com> Andrej Rode <andrej.rode@ettus.com>
* lib: Add non-public include directoryMartin Braun2017-12-222-0/+9
| | | | This is meant for headers that don't export symbols.
* Clean up build processMartin Braun2017-12-227-312/+66
| | | | | | - Removed stale files (i2c_core_100, spi_core_100) - Made more compilation condiational; disabling some devices will disable dependencies as well so they don't get compiled in by default.
* Move all license headers to SPDX format.Martin Braun2017-12-22751-9262/+1012
|
* rfnoc: ddc: Removed boost::bind usage, other minor cleanupMartin Braun2017-12-201-39/+60
|
* ddc/duc: enhance ddc/duc with new parametersRyan Marlow2017-12-203-42/+115
| | | | | | | | | | | | - NUM_HALFBANDS and CIC_MAX are no longer hard coded and are now readback regs. - both DDC and DUC use same encoding to enable halfbands (increment the number) - removed hacky hack & fixed get_output_rate/get_input_rate to include only valid rates based on NUM_HALFBANDS and CIC_MAX. - added compatibility number readback w/ warning/error messages - Updated images package to include new DDC/DUC (affects X-Series only) - Updated fpga-src submodule pointer
* X300: Add retry to DAC synchronizationmichael-west2017-12-203-38/+90
| | | | | Reviewed-by: Martin Braun <martin.braun@ettus.com> Reviewed-by: Ashish Chaudhari <ashish.chaudhari@ettus.com>
* e300: Fix use of basic_datagram_socket::native()Martin Braun2017-12-191-1/+1
|
* Fix build with Boost 1.66ilovezfs2017-12-194-5/+5
| | | | Thanks to FX Coudert for suggesting this fix.
* TwinRX: Added ADF5356 synth and TwinRX Rev C supportDerek Kozel2017-12-0812-463/+747
| | | | | | | | | ADF5355 and ADF5356 support merged into adf535x class Default register values moved into regmap Reviewed-By: Martin Braun <martin.braun@ettus.com> Reviewed-By: Ashish Chaudhari <ashish@ettus.com> Reviewed-By: Mark Meserve <mark.meserve@ni.com>
* UBX: Add support for UBX-TDDmichael-west2017-12-075-5/+53
|
* UBX: Add implementation of TDD xcvr mode and force TX PA on in TDD mode to ↵michael-west2017-12-071-12/+47
| | | | reduce transient at start of transmission
* UHD: Add eeprom info to dboard_basemichael-west2017-12-079-50/+67
|
* rfnoc: Added TX LO APIs to radio_ctrlMartin Braun2017-12-063-6/+211
| | | | | | | Also added stubs in the default impl. Reviewed-By: Ashish Chaudhari <ashish@ettus.com> Reviewed-By: Derek Kozel <derek.kozel@ettus.com>
* multi_usrp: Expose APIs for TX LO controlsMartin Braun2017-12-062-37/+467
| | | | | Reviewed-By: Ashish Chaudhari <ashish@ettus.com> Reviewed-By: Derek Kozel <derek.kozel@ettus.com>
* fpga load: adding component_file typeBrent Stapleton2017-11-141-0/+35
| | | | | Adding struct that contains the data and metadata for a file that defines a component.
* fixup! uhd: Changed mboard_eeprom_t interface, refactored MB EEPROM codeMartin Braun2017-11-131-1/+1
|
* adf435x: Add APIs for cp current and aux levelAlex Williams2017-10-302-9/+76
|
* n230: Properly initialize request before discoveryMartin Braun2017-10-231-0/+2
| | | | | | The request struct passed to send() was not fully initialized, causing code checkers to choke. This fix doesn't affect functionality (the values were not used for anything), but removes warnings.
* docs: Updates to legacy devices, XCVR2450Martin Braun2017-10-233-3/+149
| | | | | | | - Added comment that the XCVR2450 is incompatible with X310 - Moved more devices to legacy, clarified meaning - Added back E1x0 manual for reference purposes, but with deprecation warning
* transport: nirio_zero_copy: Remove redundant buffer poolsMoritz Fischer2017-10-111-5/+0
| | | | | | | Remove the redundant send/recv buffer_pools from nirio_zero_copy_impl class as no one is using them. Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* transport: liberio: Check return values for liberio_chan_set_fixed_size()Moritz Fischer2017-10-101-4/+10
| | | | | | | Check return value of liberio_chan_set_fixed_size() since it can fail, and bad things happen if one just proceeds. Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* docs: Fixed B200 power LED descriptionMarcus Müller2017-10-051-3/+3
|
* transport: liberio: Fix bug with recv timeout conversionMoritz Fischer2017-10-051-3/+3
| | | | | | | | | | | | | The timeout value passed in by UHD would get multiplied by USEC, to convert from the UHD value in seconds to the liberio value in microseconds. The bug manifested itself by calling liberio_dequeue_buf() with a timeout equivalent to 100s. Fixes ed1c64c81 ('transport: Added liberio_zero_copy transport ...') Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com> Cc: Alex Williams <alex.williams@ni.com>
* transport: liberio: Fix indentsMoritz Fischer2017-10-051-4/+4
| | | | | | | Remove stray tabs from liberio_zero_copy transport and clarify actual code flow by fixing indent. Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* udp: Modify log messages of UDP transportMartin Braun2017-10-042-10/+27
| | | | | - Remove multi-line log message for socket creation - Include local addr and port in trace messages
* udp: Added option to query local address of socketMartin Braun2017-10-043-1/+38
|
* rfnoc: Fix potential double-overrun handling in rx stream terminatorMartin Braun2017-10-042-0/+9
| | | | | | It's feasible that error messages are sent out during overrun handling, which would cause a nested invocation of handle_overrun(). This adds a lock to prevent that.
* dram_fifo, BIST: BUS_CLK_RATE is now a readback reg.Ryan Marlow2017-09-293-8/+17
|
* uhd: Removed drivers for E100/E110Martin Braun2017-09-2925-3772/+0
| | | | The E1x0 series is still supported on the 3.9 LTS branch.
* converters: Remove log message in register_converterMartin Braun2017-09-291-1/+1
| | | | | Similar to b431866a5, this reduces logging in static initializer blocks. Those are prone to hang during DLL initialization.
* uhd: Changed mboard_eeprom_t interface, refactored MB EEPROM codeMartin Braun2017-09-2934-935/+1026
| | | | | | | | | | | | - uhd::usrp::mboard_eeprom_t is now simply a map. Its commit() method has no utility being a public API call, because the user never gets access to the appropriate I2C object (Minor API breakage) - The central mboard_eeprom.cpp file was broken up and put into many smaller compilation units in every device's implementation folder. - Renamed some of the constants (e.g. B000_* -> USRP1_*, N100_* -> N200_*) - Removed the N000_* EEPROM code, because, well, you know, there's no such device
* C API: Better error handling in uhd_usrp_get_?x_streamMartin Braun2017-09-281-2/+4
| | | | | In uhd_usrp_get_rx_stream and uhd_usrp_get_tx_stream, an error will now be propagated into the streamer handle.
* C API: Make uhd_rx_streamer_last_error use SAFE_CCarl Reinke2017-09-281-1/+1
| | | | | | | uhd_tx_streamer_last_error and uhd_usrp_last_error use UHD_SAFE_C and so uhd_rx_streamer_last_error should as well in order to be consistent. Currently using UHD_SAFE_C_SAVE_ERROR.
* rfnoc: Fixed seq # error message in ctrl_ifaceMartin Braun2017-09-281-2/+3
|
* rfnoc: Do not pop a sequence number earlyTom Bereknyei2017-09-281-1/+1
| | | | | | The ctrl_iface class will assume that a response packet is available. There are cases where no response packet is available, in which case sequence numbers should not get popped from the stack prematurely.
* uhd: Deprecating atomic.hpp and time_spec_t::get_system_time()HEADmasterMartin Braun2017-09-012-3/+6
| | | | | These APIs will be moved to a non-public API in the future and should no longer be used in user applications.
* C API: Dboard EEPROM revision error handling fixMartin Braun2017-09-012-2/+28
| | | | | For invalid dboard revisions stored in the EEPROM, provide a better error message.
* C API: Make uhd_get_last_error() thread-safeMartin Braun2017-08-072-3/+8
| | | | | | The function was directly accessing the error message cache, bypassing locks, and thus could be faulty if being called the same time as another UHD component would update the error string.
* C API: Remove API calls that don't map to C++ callsMartin Braun2017-08-072-37/+0
| | | | | Specifically, remove set_tx_dc_offset() and set_tx_iq_balance() calls that require doubles, and were given bools.
* transport: Added liberio_zero_copy transport implementationMoritz Fischer2017-08-076-0/+341
| | | | | | | | | | | | This adds a zero copy transport using the liberio library. Currently supported API version for liberio is 0.3, this might still very much break, since the library is still in development. So far nobody uses it UHD so we might as well merge it. Signed-off-by: Alex Williams <alex.williams@ni.com> Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* lib: rfnoc: cmake: Fix typo in CMakeLists.txtMoritz Fischer2017-07-271-2/+2
| | | | | | | | The file was missing a .cpp suffix for the dma_fifo_block_ctrl_impl file, somehow CMake was being smart and inferring the filetype. Be explicit. Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* build: Enable SSSE3 sc12 converters by build switch onlyTom Tsou2017-07-261-0/+2
| | | | | | | | | | | | | | | The existence of SSSE3 intrinsic headers is not a sufficient condition that SSSE3 support is available, which may lead to 'illegal instruction' runtime failuire on some platforms. Major OS distributions (Ubuntu, Fedora, etc.) include x86_64 intrinsic headers, though the underlying architecture may or may not support the instruction set. Assuming SSE2 availability is safe as instructions are present on all x86_64 architectures for which instrinsic headers would be present. The same cannot be said for SSSE3. Issue: #1761
* convert: Add SSE implementation for sc12Tom Tsou2017-07-257-211/+719
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implementation uses SSSE3 intructions to perform 12-bit sample pack/unpack operations to/from standard 16 and 32 bit host values. Input/output shuffle orderings for a single 128-bit SSE register with 16-bit integers shown below. 16-bit interleaved I/Q --------------------------------------- | Q3 | I3 | Q2 | I2 | Q1 | I1 | Q0 | I0 | Input --------------------------------------- | 127 0 | 12-bit packed I/Q byteswapped ----------------------- | I0 | Q0 | I1 | 0 |-----------------------| | I1 | Q1 | I2 | Q2 | Output |-----------------------| | Q2 | I3 | Q3 | |-----------------------| | Unused | 3 ----------------------- 31 0 Fixes: #1740, #966 Related: #1739
* C API: Added logging macrosMartin Braun2017-07-215-0/+170
|