Commit graph

493 commits

Author SHA1 Message Date
Robert Ghilduta
591c32581c bladeRF-cli: fixup erase command argument 2018-08-07 11:22:19 -05:00
Rey Tucker
ca6b717ff4 host: bladeRF-cli: fix error on 'peek' and 'poke' help
When we changed to 'rfic' and 'pll' to describe the RFIC and PLL chips,
the documentation didn't get updated.
2018-08-01 16:24:13 -04:00
Robert Ghilduta
f4f719330a bladeRF-cli: fixup setting txvga2 on bladeRF1 2018-06-20 00:50:31 -04:00
Rey Tucker
a6a58e5ed6
host: Windows build fixes (#62) 2018-06-01 18:29:02 -04:00
Rey Tucker
f11d104a36 host: bladeRF-cli: fix strncat warning
Fixes:

host/utilities/bladeRF-cli/src/cmd/rx.c:137:13: error: ‘strncat’ output
may be truncated copying 31 bytes from a string of length 31
[-Werror=stringop-truncation]

by using fixed-sized buffers
2018-06-01 16:49:24 -04:00
Rey Tucker
7dc32cc56f
host: bladerf_get_channel_count now takes a bladerf_direction (#58)
This is more intuitive than 'bool tx'.
2018-06-01 15:49:04 -04:00
Rey Tucker
fff07e422c
host: bladeRF_cli: add support for MIMO RX and TX (#57)
Adds support for multi-channel RX and TX via the bladeRF-cli utility
2018-05-30 15:27:54 -04:00
Rey Tucker
5ef5199d88
host: bladerf_get_*_range now expect struct bladerf_range** (#53)
* libbladeRF: brf_get_*_range expect bladerf_range**

Previously, the bladerf_get_*_range family of functions expected a
struct bladerf_range *

The gain-related functions turned out to require a double ptr to work
properly. For consistency, this commit changes libbladeRF to use a
double ptr on all the range functions, instead of just the gain ones.

* bladeRF-cli: update get-range function calls
2018-05-29 13:10:49 -04:00
Rey Tucker
1dc6317b93
host: make low-level API calls generic by removing part numbers (#49)
Instead of using specific part numbers for low-level API calls on the bladeRF micro, use generic functionality-based names.
2018-05-25 10:55:04 -04:00
Rey Tucker
c74c6282ad
host: improve platform-independence of bladerf_{set,get}_gain (#48)
The bladerf_{set,get}_gain functions are now reasonably hardware-independent.

On TX channels, setting a gain of 60 dB should result in a CW TX power of roughly 0 dBm.

On RX channels, 60 dB is the maximum gain level.

The ranges returned by bladerf_get_gain_range are adjusted to reflect this.
2018-05-25 10:53:58 -04:00
Rey Tucker
5023f0cb03
host: fix build errors and clang-scan warnings (#47)
* devinfo: fix strncpy error

Fix two build errors on Arch:

/root/bladeRF/host/libraries/libbladeRF/src/devinfo.c:308:5:
error: ‘strncpy’ destination unchanged after copying no bytes
[-Werror=stringop-truncation]
/root/bladeRF/host/libraries/libbladeRF/src/devinfo.c:308:5:
error: ‘strncpy’ output truncated before terminating nul copying as many
bytes from a string as its length [-Werror=stringop-truncation]

* bladerf2/params: fix implicit conversion error

/root/bladeRF/host/libraries/libbladeRF/src/board/bladerf2/params.c:437:7:
error: implicit conversion from 'int' to 'int16_t' (aka 'short') changes
value from 32768 to -32768 [-Werror,-Wconstant-conversion]
      32768,      0,      0,      0,      0,      0,      0,      0,
      ^~~~~

* Doxyfile: fix CLANG_ASSISTED_PARSING warning

fixes:

warning: Tag `CLANG_ASSISTED_PARSING' at line 1033 of file
`/root/bladeRF/build/host/libraries/libbladeRF/doc/doxygen/Doxyfile'
belongs to an option that was not enabled at compile time.
         To avoid this warning please remove this line from your
configuration file or upgrade it using "doxygen -u", or recompile
doxygen with this feature enabled.
warning: Tag `CLANG_OPTIONS' at line 1041 of file
`/root/bladeRF/build/host/libraries/libbladeRF/doc/doxygen/Doxyfile'
belongs to an option that was not enabled at compile time.
         To avoid this warning please remove this line from your
configuration file or upgrade it using "doxygen -u", or recompile
doxygen with this feature enabled.

* libbladeRF: fix doxygen build error

fixes:
/home/rtucker/dev/privatebladeRF/host/libraries/libbladeRF/include/libbladeRF.h:2284:
warning: unable to resolve link to `sync_tx_meta.html' for \link command

* bladeRF-fsk: fix clangscan warning

/root/bladeRF/host/utilities/bladeRF-fsk/c/src/correlator.c:261:59:
warning: The left operand of '/' is a garbage value
        corr->ins1->real = corr->ins2->real = samples[i].i/2048.0f;
                                              ~~~~~~~~~~~~^
1 warning generated.

* fpga_common/lms.c: fix clangscan warning

/root/bladeRF/fpga_common/src/lms.c:2329:14: warning: 3rd function call
argument is an uninitialized value
    status = write_vcocap(dev, base, f->vcocap, vcocap_reg_state);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.

* test_repeated_stream: fix clangscan warning

/root/bladeRF/host/libraries/libbladeRF_test/test_repeated_stream/src/main.c:284:9:
warning: 1st function call argument is an uninitialized value
        pthread_join(rx_thread, NULL);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.

* test_interleaver: fix clangscan warning

/root/bladeRF/host/libraries/libbladeRF_test/test_interleaver/src/main.c:119:17:
warning: 4th function call argument is an uninitialized value
                snprintf((rowstr + rowidx), rowsize - rowidx, "%02x",
*u8buf++);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.

* test_tx_gmsk_bursts: fix clangscan warning

/root/bladeRF/host/libraries/libbladeRF_test/test_timestamps/src/test_tx_gmsk_bursts.c:69:5:
warning: 2nd function call argument is an uninitialized value
    printf("  Frequency: %u\n", s->frequency);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.

* ad9361_api.c: fix clangscan warning

/root/bladeRF/host/libraries/libbladeRF/src/driver/thirdparty/adi/ad9361_api.c:445:3: warning: Value stored to 'ret' is never read
                ret = -ENODEV;
                ^     ~~~~~~~
1 warning generated.

* correlator: another attempt to fix clangscan warning

* Revert "fpga_common/lms.c: fix clangscan warning"

This reverts commit 8cbb5f03f0d0927befa5053e9564df06d13ede72.

* test_interleaver: fixup clang-scan warning

some sloppy init, some messy iteration, the usual :)

/root/bladeRF/host/libraries/libbladeRF_test/test_interleaver/src/main.c:124:17:
warning: 4th function call argument is an uninitialized value

* Revert "ad9361_api.c: fix clangscan warning"

This reverts commit 14a7f8f53f84aeff721a752259ca9596a13e3a2a.

* bladeRF-fsk: fixup clang-scan warning fix
2018-05-23 12:14:26 -04:00
Rey Tucker
0bdafe9769 host: bladeRF-cli: printset.c refactoring/cleanup (#33)
Moves the actual functions that do things into printset_hardware.c, printset_impl.c, and printset_xb.c, keeping printset.c for utility funcs.

Fixes a segfault when doing 'set agc' with no args.

Prints a warning if 'set gain' will not immediately take effect, as gain changes are not reflected immediately if RX is not active, and RX gain cannot be changed at all if AGC is active.

Renames print/set adf_enable -> print/set clock_ref
Renames print/set adf_refclk -> print/set refin_freq

Documentation update, consistency/display/formatting improvements.
2018-05-22 13:00:21 -04:00
Rey Tucker
8919cac557 host: add support for AD9361's CTRL_OUT pins (#28)
* host: libbladeRF: add bladerf_ad9361_get_ctrl_out

Adds functionality to read the CTRL_OUT pins from the AD9361 RFIC.

* host: bladeRF-cli: add print for AD9361 CTRL_OUT

* host: python: add support for ad9361_ctrl_out
2018-05-22 12:58:06 -04:00
Rey Tucker
ee55f859b9
host: clean up build warnings across multiple platforms (#21)
With this commit, we build without warnings on Arch Linux; CentOS 7; Debian 8 and 9; latest Fedora; Ubuntu 14.04, 16.04, 17.10, and 18.04; Visual Studio 2017; and macOS 10.13.3 w/ Homebrew.

* host: libbladeRF: compile AD9361 srcs with -std=gnu11

Fixes compile errors involving ‘for’ loop initial declarations only
allowed in C99 or C11 mode, on older GCCs.

* host: libbladeRF/adi: remove stdbool workaround

This is not necessary now that we're building to -std=gnu11, and in
fact, it seems to create a conflict.

* host: libbladeRF: pre-declare loop variables

Some compilers are not happy with declaring the loop variable in the for
statement.  Begrudgingly placate them.

* host: libbladeRF_test: pre-declare loop variables

Some compilers are not happy with declaring the loop variable in the for
statement.  Begrudgingly placate them.

* host: bladeRF-cli: pre-declare loop variables

Some compilers are not happy with declaring the loop variable in the for
statement.  Begrudgingly placate them.

* host: libbladeRF: remove refs to strings.h

Windows doesn't have strings.h, but string.h seems to do just fine.

* host: libbladeRF: fix windows compile errors (WIP)

* host: libbladeRF/ad9361: fix windows compile error

"IGNORE" is #define'd in the Windows environment, creating a conflict.
Renaming this to solve the conflict.

* host: common: add setenv implementation for Windows

* host: libbladeRF: build setenv.c stub on Windows

* host: bladeRF-cli: use setenv stub on Windows

* host: common: fixup spacing consistency in setenv

* host: libbladeRF: cast channel macros to bladerf_channel

Visual Studio is picky about this, and throws warnings.

* host: libbladeRF: bladerf2.c: undo workaround for bladerf_channel

* host: libbladeRF: bladerf_get_gain_stages count type is now size_t

This fixes a Windows compile error, and is also generally more sensible.

* host: bladeRF-cli: fix windows compile errors

* host: ad9361: fix variadic macro syntax

Fixes Windows build errors

* host: ad9361: rename _DEBUG to AD9361_DEBUG

Visual Studio automagically sets _DEBUG if the /MDd option is set. Turns
out that a lot of the debugging sections don't build in Visual Studio,
so this accounts for a large number of the build errors...

* host: libbladeRF: fixes for Visual Studio builds

* host: common: fixes for Visual Studio builds

* host: libbladeRF/ad9361: fixes for Visual Studio builds

* host: libbladeRF_test: fixes for Visual Studio builds

* host: bladeRF-cli: fixes for Visual Studio builds

* host: bladeRF-cli: fix static analysis warnings

Fixes potential memory leak in main

Fixes unused values in set_adf_refclk, set_samplerate

* host: common: fix static analysis warnings

fixes:
unread variable in perform_rx_cal
memory leaks in add_arg, add_opt

* host: libbladeRF: fix static analysis warnings

fixes unused variables in bladerf2_set_gain and xb100_enable
2018-04-03 18:20:51 -04:00
Rey Tucker
7cc30687c3 host: bladeRF-cli: version v1.5.2
This version is part of development series of changes, not an official
release.

This version depends upon libbladeRF v1.9.1 or later.

  * Support for bladeRF Micro
  * No longer initializes the bladeRF before loading a new FPGA image,
    to avoid potential catch-22 problems
2018-03-26 16:04:28 -04:00
Rey Tucker
27e7273b42
host: formatting fixes for clang-format, libbladeRF.h comment wording/structure tweaks (#16)
* host: libbladeRF: clang-format fixes

* host: bladeRF-cli: clang-format fixes

* host: libbladeRF: spacing/wording/clang-format

Improve wording of various parts, add missing params, clean up various
wrap anomalies, and make it run clean through clang-format.
2018-03-23 11:17:57 -04:00
Rey Tucker
10d0f549b2
host: add bladerf_adf4002_{get,set}_refclk and related functionality (#15)
* host: libbladeRF: add functions to get/set ADF4002 refclk frequency

* host: bladeRF-cli: add print/set adf_refclk

* host: python: add adf4002_refclk functions

This permits getting and setting the ADF4002 reference clock
frequency.

>>> import bladerf
>>> b = bladerf.BladeRF()
ad9361_init : AD936x Rev 2 successfully initialized
>>> b.adf4002_refclk
10000000
>>> b.adf4002_refclk = 9000000
>>> b.adf4002_refclk
9000000
>>> b.adf4002_refclk = 900000000
[ERROR @
"/home/rtucker/dev/privatebladeRF/host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c":4360]
bladerf_adf4002_set_refclk: bladerf_adf4002_calculate_ratio failed:
Provided parameter was out of the allowable range
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File
"/home/rtucker/dev/privatebladeRF/host/libraries/libbladeRF_bindings/python/bladerf.py",
line 1581, in set_adf4002_refclk
    _check_error(ret)
  File
"/home/rtucker/dev/privatebladeRF/host/libraries/libbladeRF_bindings/python/bladerf.py",
line 998, in _check_error
    raise globals()[errorval.name](err)
bladerf.RangeError: Provided parameter was out of the allowable range
>>> b.adf4002_refclk
9000000
>>> b.adf4002_refclk = 10000000
>>> b.adf4002_refclk
10000000

* host: libbladeRF: make ADF convenience functions static

bladerf_adf4002_set_refclk is much nicer (and safer) than calculating
the R/N ratio and then doing a bladerf_adf4002_configure.

* host: python: update cffi header block
2018-03-23 11:10:14 -04:00
Rey Tucker
585cb926bb host: bladeRF-cli: add 'print rssi' function 2018-03-15 18:24:58 -04:00
Brian Glod
3d54be5937 host: bladeRF-cli: Add bladeRF2 clock_out command
Allow user to control whether to enable the external clock output (UFL
CLKOUT).
2018-03-09 13:04:38 -05:00
Brian Glod
6ae3419abf host: bladeRF-cli: Add bladeRF2 clock_sel command
Allow user to control which Si53304 clock input to select: onboard
VCTCXO or external UFL clock. The external clock must be present before
changing the active clock, otherwise the host connection to the bladeRF
will drop.
2018-03-09 12:50:51 -05:00
Brian Glod
0d320fd53d host: bladeRF-cli: Add print_power_source function 2018-03-01 15:20:19 -05:00
Rey Tucker
ee2c85d02a host: bladeRF-cli: refactor out str<->channel conversions 2018-02-05 15:35:28 -05:00
Rey Tucker
fe211170f2 host: bladeRF-cli/generate.bash: fix pandoc warning
pandoc emits a warning if a title is not specified for the
page.

Also: cleanup
2018-01-15 19:24:12 -05:00
Rey Tucker
2f906c5e5e host: bladeRF-cli: improve cmd_help.h generation
generate.bash now allows specification of paths to awk, date, grep, and
so forth; this will permit it to be used in very weird environments.

generate.bash now uses bash built-ins whenever possible.

generate.bash checks the existence of necessary non-built-in commands
before doing anything, and prints a useful error if they're wrong.

Only try doing generate.bash if pandoc and bash are installed.
2018-01-15 19:13:58 -05:00
Rey Tucker
857e301156 host: bladeRF-cli: fix implicit-fallthrough warning
This should fix it, and allow it to build with compilers which aren't
GCC 7+.
2018-01-15 17:56:50 -05:00
Brian Glod
4fdc92ca27 host: bladeRF-cli: Intentional case fallthrough
Add compiler attribute to denote that the case fallthrough is
intentional and to not throw a warning about it.
2018-01-15 13:35:27 -05:00
Rey Tucker
41e21dc1cb host: bladeRF-cli: fix uninitialized status var in cmd_poke
Fixes clang warning:

poke.c:137:24: error: variable 'status' is used uninitialized whenever
'if' condition is false [-Werror ,-Wsometimes-uninitialized]

Realistically, there is no way that 'status' could be used on line 141
without one of f, f2, or f3 being true (thus setting the value), due to
the test on 132. There is no harm in initializing it anyway, though.
2017-12-22 16:04:02 -05:00
Rey Tucker
bc0d8169d8 host: libbladeRF: doc, consistency fixes
Update bladerf_rf_switch_config struct to use "rfic" instead of "ad9361"
for genericness and consistency.

Also clean up missing/incorrect documentation in various places.

Fix bladeRF-cli to use proper struct member names for
bladerf_rf_switch_config.
2017-12-22 16:02:22 -05:00
Rey Tucker
31c1a52007 host: bladeRF-cli: fixup merge issue with AGC commands 2017-12-21 12:55:09 -05:00
Rey Tucker
903e6053c5 host: bladeRF-cli: add ADF4002 lock status to print 2017-12-21 12:55:09 -05:00
Rey Tucker
55c8866d28 host: bladeRF2: fix ADF4002 poke functionality 2017-12-21 12:55:08 -05:00
Rey Tucker
85a5c3c042 host: bladeRF-cli: print AD9361 temperature
This is the stub of a general AD9361 low-level debug capability
2017-12-21 12:55:08 -05:00
Rey Tucker
9fe3bb24d5 host: bladeRF-cli: flesh out print rfconfig 2017-12-21 12:55:08 -05:00
Rey Tucker
69678b11f6 host: bladeRF-cli: add RF switch config status print 2017-12-21 12:55:08 -05:00
Rey Tucker
d291f37dd7 host: bladeRF-cli: add READONLY option for printset 2017-12-21 12:55:08 -05:00
Rey Tucker
c19dcb4d96 host: bladeRF-cli: use library calls to enable ADF4002 2017-12-21 12:55:08 -05:00
Rey Tucker
70fc673d62 host: bladeRF-cli: add print/set support for agc, gain
print/set agc commands copied from bladeRF 1 master:
	print agc
	set agc on
	set agc off

print/set gain commands:
	print gain
	print gain tx
	print gain rx1 digital
	set gain tx1 dsa -10
	set gain rx 42
2017-12-21 12:55:08 -05:00
Rey Tucker
2c96247cd6 host: add support for bias tee
e.g.

print biastee
set biastee rx 1
set biastee tx 1
set biastee rx 0
set biastee tx 0
2017-12-21 12:55:08 -05:00
Rey Tucker
e433628ddf host: add ina219 readback to bladeRF-cli
Example output from "print ina219":

  Bus voltage:  4.896 V
  Load current: 0.56 A
  Load power:   2.76 W
2017-12-21 12:55:08 -05:00
Rey Tucker
0490f2edf1 host: bladeRF-cli: cleanup _is_tx/_is_rx logic 2017-12-21 12:55:07 -05:00
Rey Tucker
fe9320c8de host: bladeRF-cli: use "RX1" and "RX2" etc to match silkscreen 2017-12-21 12:55:07 -05:00
Rey Tucker
3c701c68e8 host: bladeRF-cli: bandwidth/frequency mimo fixes 2017-12-21 12:55:07 -05:00
Rey Tucker
5082cba8bc host: bladeRF-cli: handle independent TX channels properly 2017-12-21 12:55:07 -05:00
Rey Tucker
fced17f4a2 bladeRF-cli: add "channel" option for rx, tx
Also conceptually migrate from "modules" to "channels" for clarity
2017-12-21 12:55:07 -05:00
Rey Tucker
f0bc08dc46 bladeRF-cli: add support for ADF4002 access
Adds "print adf_enable", "set adf_enable {0,1}", peek adf, and poke adf
commands
2017-12-21 12:55:06 -05:00
Brian Glod
1b1c93cbb7 host/bladeRF-cli/printset.c: Remove channel_sel
This bit setting was temporary and has been replaced by bits 18:15 in
the RFFE GPIO register.
2017-12-21 12:55:06 -05:00
Rey Tucker
5554c919ee bladeRF-cli: fix TX frequency printout 2017-12-21 12:55:05 -05:00
Rey Tucker
8715ab57b6 bladeRF-cli: set BLADERF_FORCE_NO_FPGA_PRESENT for FPGA/FW flashing
This saves time with long initialization routines, and permits flashing
the firmware even if the FPGA or GPIF iface has gone terribly wrong.
2017-12-21 12:55:05 -05:00
Ryan Tucker
c0a324d4be printset.c: fix uninit variable errors on 'channel' 2017-12-21 12:55:05 -05:00
Ryan Tucker
60fac98fa6 bladeRF-cli: update print/set commands for bladeRF 2
Squashed commit of the following:

commit 4012eb78bb37d4e6e6f5607f5221d888b188c1a9
Merge: c174c7b47 fc968d9d6
Author: Ryan Tucker <ryan.tucker@nuand.com>
Date:   Thu Jul 20 12:55:59 2017 -0400

    Merge branch 'rtucker-host-fixups'

commit fc968d9d61c3aa4dcd16294de5d8f1c038bf7dcc
Author: Ryan Tucker <ryan.tucker@nuand.com>
Date:   Mon Jul 17 17:04:06 2017 -0400

    bladeRF-cli/printset: add support for bladerf2 GPIOs

commit 259fed535ab8db6a5ca2aca28f191eff107d0ea3
Author: Ryan Tucker <ryan.tucker@nuand.com>
Date:   Mon Jul 17 17:03:46 2017 -0400

    bladeRF-cli/printset: frequency cleanup/consistency

commit 1b2b6c128b9a5385b4eb3f0ff34b494bef6a6036
Author: Ryan Tucker <ryan.tucker@nuand.com>
Date:   Mon Jul 17 17:02:52 2017 -0400

    bladeRF-cli/printset: bandwidth refactor/consistency

commit 4eb522a147318ac3ea13f395bfa2128b24f18945
Author: Ryan Tucker <ryan.tucker@nuand.com>
Date:   Mon Jul 17 16:12:53 2017 -0400

    bladeRF-cli/printset: add semicolons to PRINTSET_DECLs

    This is really minor, but it helps with syntax highlighting in editors.

commit 8c0ad320db764f25f5234208f6347e043c0196cc
Author: Ryan Tucker <ryan.tucker@nuand.com>
Date:   Mon Jul 17 16:11:20 2017 -0400

    bladeRF-cli/printset: refactor set_samplerate

commit d7574425755d2e730bec84ac04ee1adf8c5d2312
Author: Ryan Tucker <ryan.tucker@nuand.com>
Date:   Mon Jul 17 15:10:49 2017 -0400

    bladeRF-cli/printset: formatting/consistency cleanup

commit 69fa2b570966b71021239860f6592f007bc788db
Author: Ryan Tucker <ryan.tucker@nuand.com>
Date:   Mon Jul 17 13:58:45 2017 -0400

    bladeRF-cli/printset: create *err alias ptr

    This is not strictly necessary, but it cleans up the code a bit and lets
    clang-format do its thing w/r/t lining up assignment operators.

commit d06368768ae7ae95b653161494a7538f913b5857
Author: Ryan Tucker <ryan.tucker@nuand.com>
Date:   Mon Jul 17 13:53:03 2017 -0400

    bladeRF-cli/printset: modules -> channels

    migrate from modules to channels

    also do some incremental formatting/consistency tweaks

commit cbb6ed92ed6be329d229958a0daef0bb5782c3f0
Author: Ryan Tucker <ryan.tucker@nuand.com>
Date:   Mon Jul 17 13:27:47 2017 -0400

    bladeRF-cli: print/set loopback: add AD9361 BIST

commit 6740ff9a8d9760e48109bdc03d38d38e5564b34c
Author: Ryan Tucker <ryan.tucker@nuand.com>
Date:   Mon Jul 17 13:24:14 2017 -0400

    bladeRF-cli: refactor 'set frequency'

commit 18b6bcf2abbb1423557352057a22419252e5d1ef
Author: Ryan Tucker <ryan.tucker@nuand.com>
Date:   Mon Jul 17 13:10:44 2017 -0400

    bladeRF-cli: fix and refactor 'set bandwidth'

    Query the specific range permitted by the hardware

    DRY the BW changing/printing code

commit 94730399669e8f7208a46d7e2e5d17c034a00430
Author: Ryan Tucker <ryan.tucker@nuand.com>
Date:   Mon Jul 17 12:16:01 2017 -0400

    cli/printset: fix 'set frequency' command

    Use the bladerf_get_frequency_range function, use str2uint64_suffix to
    be explicit about wanting uint64 freqs

commit 2d9fffbd264add78eee83005047b88275811da10
Author: Ryan Tucker <ryan.tucker@nuand.com>
Date:   Mon Jul 17 11:51:21 2017 -0400

    bladerf2: fix TX frequency range

    Turns out that libad9361 does bounds-checking on the frequency, and it
    silently enforces 70e6 <= f <= 6000e6.

commit 4494a734542aeab2602ec9abe1f8522e19262e51
Author: Ryan Tucker <ryan.tucker@nuand.com>
Date:   Mon Jul 17 11:50:38 2017 -0400

    bladerf2: improve commenting on macros
2017-12-21 12:55:05 -05:00