aboutsummaryrefslogtreecommitdiffstats
path: root/host
Commit message (Collapse)AuthorAgeFilesLines
* e320: Added E320 docs page, reg map updatedSugandha Gupta2018-10-172-0/+707
|
* lmx2592: remove initial scratch register readbackMark Meserve2018-10-171-24/+0
| | | | | - This is the only read operation in the driver, so removing it simplifies the driver's requirements significantly.
* lmx2592: add spur dodgingMark Meserve2018-10-172-23/+330
|
* lib: ad9361: De-boostify AD9361 driverMartin Braun2018-10-172-106/+195
| | | | No functional or API changes.
* docs: Fix N210 MIMO Phase Alignment commandBrent Stapleton2018-10-121-1/+1
| | | | | | | The synchronization source for the N210 MIMO phase alignment needs to be set to anything other than 'pps' or 'auto' (which is actually 'pps'). 'default' skips the call to `set_time_unknown_pps`, which is the proper way to synchronize in this sitation.
* utils: fix bmark_rate MIMO synchronizationBrent Stapleton2018-10-121-9/+10
| | | | | | | | | | Fix USRP2 MIMO synchronization in benchmark_rate. When synchronizing N2XXs connected with a MIMO cable, only the master's time needs to be set; the slave will be synchronized automatically. Currently, calling set_time_unknown_pps will attempt to synchronize the slave on the next PPS, which can cause problems since the MIMO cable doesn't propogate a PPS signal.
* uhd: Improve documentation for the UHD exception typesMartin Braun2018-10-121-0/+51
|
* multi_usrp: Add sync_source APIMartin Braun2018-10-112-6/+211
| | | | | | | | | | The sync_source API is an atomic setter for all sync-related settings. If supported by the underlying USRP, it can be faster to call set_sync_source() rather than sequentially calling set_clock_source() and set_time_source(). If the underlying device does not support the sync_source API, it will fall back to the set_clock_source() and set_time_source() APIs, making this change backward-compatiple.
* uhd: Add benchmark_streamer exampleCiro Nishiguchi2018-10-112-0/+498
|
* uhd: Add traffic counter to null source sinkCiro Nishiguchi2018-10-112-0/+100
|
* mpmd: Increase rpcc timeout when calling set_time_source()Trung Tran2018-10-111-0/+2
| | | | | | | set_time_source() for N310 and N300 can take longer than the default RPC client timeout of 2 seconds due to dboard initialization. We need increase this timeout, by using the init timeout value which is 2 minutes.
* docs: Added TwinRX pageDerek Kozel2018-10-095-0/+91
|
* uhd: Fix rounding in ddc/duc rate calculationCiro Nishiguchi2018-10-052-2/+2
| | | | | | | | The DDC and DUC convert the requested rate to an integer before selecting a decimated / interpolated rate. This causes the selection to select a lower rate than requested in some corner cases. The effect is more pronounced when the input rate of the DDC or the output rate of the DUC is very small.
* mg: fixup set_rx_antennaTrung Tran2018-10-041-1/+1
| | | | | | After going to 2 radios configuration (FPGA), the channnel value is passed into this set_rx_antenna now have value either 0 or 1. We want the mapping of {radio_channel:cpld_channel} = {0:CHAN1} or {1:CHAN2}.
* multi_usrp: move definition of constantsAndrew Lynch2018-10-042-2/+4
| | | | ALL_MBOARDS and ALL_CHANS will be exported on GCC and MSVC
* uhd: reconcile time_spec operators with boost conceptsMark Meserve2018-09-282-18/+14
| | | | | | - Removes operator+ which was ambiguously defined in some cases - Adds additive concept for time_spec_t and double operators - Remove unnecessary ctime header
* rfnoc: install the DMA FIFO block headerMarcus Müller2018-09-261-0/+1
| | | | Reported-by: Brian Padalino <bpadalino@gmail.com>
* e320: devtest: Reduce sample rate for 1G devtestSugandha Gupta2018-09-261-1/+1
| | | | | | The E320 default master clock rate is 16MHz, therefore we need to reduce the 2 channel receive rate to 8MHz in order to be able to meet the requested rate.
* cores: Update rx_frontend_gen3.v controls for 1/4-rate mixerMartin Braun2018-09-252-8/+12
| | | | | | | This tracks the changes on rx_frontend_gen3.v, which was updated to use a quarter-rate downconverter instead of a generic CORDIC. The X3x0 FPGA compat number is incremented as the rx_frontend is part of the device architecture rather than an RFNoC block.
* e320: Fix master_clock_rate settingSugandha Gupta2018-09-241-0/+4
| | | | | | The master clock rate was getting overwritten while running the codec loopback self test. So now we save the current rate before running the test and then reapply it.
* e320: Add R&D testing procedureSugandha Gupta2018-09-241-12/+120
|
* examples: add rfnoc_radio_loopbackTrung Tran2018-09-142-0/+214
| | | | This example will allow an RF->RF loopback using RFNoC devices.
* uhd: rfnoc: add async message handlerTrung Tran2018-09-147-9/+421
|
* radio_ctrl: add disable time stampTrung Tran2018-09-143-0/+13
|
* devtest: n3x0: Enable rx_samples_to_file testSugandha Gupta2018-09-141-1/+1
|
* mg: clipping frequencyTrung Tran2018-09-142-4/+7
| | | | | Clipping requested frequency to acceptable ranges in Magnesium TX/RX set frequency functions.
* usb: fix dummy compilation in msvcMark Meserve2018-09-141-0/+8
|
* x300_impl: remove default_buff_args propertiesTrung Tran2018-09-131-7/+0
| | | | ...that are already handled in udp_zero_copy.
* device3_io_impl: remove tx_hint[send_buff_size]Trung Tran2018-09-131-6/+0
| | | | | we're no longer need this. Because there are default send buff size in each transport type impl.
* mpmd: add link speed to xport udpTrung Tran2018-09-131-6/+29
| | | | This is used to determine send_buff_size and recv_buff_size
* udp_zero_copy: add default xport params.Trung Tran2018-09-131-14/+58
|
* fixup! DDC/DUC: switch CORDIC -> DDS for all relevant variable namesmichael-west2018-09-132-12/+12
|
* host: lib: convert: Add CMake flag for NEON SIMDBrent Stapleton2018-09-121-1/+5
| | | | | | | Adding CMake flag to enable/disable NEON SIMD instructions. This is an addition to the previous checks (check for NEON headers and checking the size of pointers), so behavior is unchanged unless users specify that they do not want to use NEON instructions.
* devtest: e320: Re-enable rx_samples_to_file testSugandha Gupta2018-09-121-1/+1
| | | | | The test has been fixed in commit 9c7d251b32eb476e11f8fce13a797c4de9abc796 to parse for D and S correctly
* e320: gpio: Fix front panel GPIO readbackSugandha Gupta2018-09-122-2/+5
| | | | The gpio devtest passes after this fix. Enabling the test
* python: Fix duration of benchmark rateBrent Stapleton2018-09-121-1/+1
| | | | | | | | Duration of multichannel benchmark was 50 seconds longer than intended- a 50ms initialization delay was mistakenly multiplied by 1000. Fixes e735a63ff9e ("python: Adding Python API benchmark rate")
* docs: Minor tweaks to the Python API manual pageMartin Braun2018-09-101-2/+4
|
* mpmd: add option to enum rfnoc blocks from argsTrung Tran2018-08-311-5/+21
|
* cmake: Check for rte_ethdev.h when finding DPDKAlex Williams2018-08-291-1/+9
| | | | | | | Ubuntu splits headers between the arch-specific and noarch directories, so we were only getting one of them. That caused build failure for DPDK. This fixes the issue by grabbing a fundamental header from the other set.
* uhd-dpdk: Add DPDK-based sockets-like libraryAlex Williams2018-08-2915-2/+2535
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This library makes available a userspace network stack with a socket-like interface for applications (except the sockets pass around pointers to buffers and use the buffers directly--It's sockets + a put/get for buffer management). Supported services are ARP and UDP. Destinations can be unicast or broadcast. Multicast is not currently supported. The implementation has two driver layers. The upper layer runs within the caller's context. The caller will make requests through lockless ring buffers (including socket creation and packet transmission), and the lower layer will implement the requests and provide a response. Currently, the lower layer runs in a separate I/O thread, and the caller will block until it receives a response. The I/O thread's main body is in src/uhd_dpdk_driver.c. You'll find that all I/O thread functions are prefixed by an underscore, and user thread functions do not. src/uhd_dpdk.c is used to initialize uhd-dpdk and bring up the network interfaces. src/uhd_dpdk_fops.c and src/uhd_dpdk_udp.c are for network services. The test is a benchmark of a flow control loop using a certain made-up protocol with credits and sequence number tracking.
* Examples: Fix channel argument for rx_samples_to_fileMichael West2018-08-291-18/+18
|
* utils: Factor wait_for_lo_lock() out of cal utilsMartin Braun2018-08-294-24/+19
|
* RFNoC: Add Replay API and exampleWade Fife2018-08-298-0/+842
|
* uhd: udp: 'all_matching' endpoint resolutionBrent Stapleton2018-08-291-1/+2
| | | | | | | | By default, Boost.ASIO uses 'address_configured' mode for UDP endpoint resolution, which "only return[s] IPv4 addresses if a non-loopback IPv4 address is configured for the system". This changes the resolver to use 'all_matching', which instead returns "all matching IPv6 and IPv4 addresses".
* Docs: Updated niusrprio DriverMichael West2018-08-291-36/+19
|
* uhd: utils: Add Zip test to downloaderBrent Stapleton2018-08-281-2/+15
| | | | | Users can supply the --test/-T option to test the downloaded archive before extracting it, using the Python zipfile.testzip() function.
* uhd: utils: Downloader logs no targets selectedBrent Stapleton2018-08-281-0/+5
| | | | | uhd_images_downloader: Adding INFO message when there is no target selected to download, as when the user misspells a target name.
* devtest: Improve error handling for shell_applicationMartin Braun2018-08-221-11/+17
|
* devtest: b2xx: Fix some arguments for MIMO testMartin Braun2018-08-221-5/+14
|
* devtest: Fix counting of underruns/overrunsMartin Braun2018-08-221-2/+2
| | | | Our regex was borked.