Commit graph

12 commits

Author SHA1 Message Date
Robert Ghilduta
e861baf4bd linux driver: fix RX routines
This commit improves buffer accounting and locking in the RX paths.
2014-04-29 05:57:27 -04:00
Robert Ghilduta
52ce004079 linux driver: fix TX routines
This commit improves buffer accounting and locking in the TX paths.
2014-04-29 05:55:09 -04:00
Robert Ghilduta
1bcafeb1fb linux driver: remove timeouts from read and write
read() and write() calls are now blocking calls
2014-04-29 05:54:29 -04:00
Jon Szymaniak
625694eaa5 license: License changes on various portions of the codebase
Where possible (and with contributor permission), items have been
changed to LGPLv2.1 or MIT licenses to avoid issues with any proprietary
libraries from vendors (HDL and FW), allow static linking (with headless
mode operation in mind), and to generally present users with more
permissive licenses.

File headers and the COPYING have been updated accordingly. Third party
sources have been either removed, replaced, or relocated in the source
tree, in accordance with the licenses decided upon for each part of the tree.

Contributor Assignment Agreements have been added, and it is required
that these be submitted before significant patches and pull requests
are accepted.
2013-10-27 00:17:35 -04:00
Jon Szymaniak
3168175f48 linux_driver: Applied structure renaming from ab36a93813 2013-10-05 02:40:53 -04:00
Guido Paliot
d0c0485fbe Fixed missing bracket and c&p error in bladeRF.c, removed dup defines, moved define from .c to .h 2013-09-01 20:58:33 +02:00
Robert Ghilduta
10ffba1b39 Add device reset functionality
This commit adds the much needed device reset functionality that allows the
device to reset after an upgrade and start running the new firmware.
2013-08-25 18:21:07 -07:00
Robert Ghilduta
da7a0e16e8 libbladeRF: change to using alt_settings
This commit correctly changes the bladeRF's behavior by using mutually exclusive
alternate interface settings. Interfaces are not guaranteed to be exist one at a
time, thus they are unfit for use as an operating mode index.
2013-08-25 15:16:52 -07:00
Jon Szymaniak
b7c335a69a Merge branch 'dev-libusb_support' into bladerf
This merge introduces libusb-1.0 support into libbladeRF. This is now
preferred over the Linux driver backend for the time being, as it will
allow quicker ports to Windows and OSX. The Linux driver will be
significantly refactored and improved at a later time; it is not
recommended for use with this set of changes.

As of this commit, Windows and OSX builds are still works in progress.
Linux builds have been tested and verified.

** Important **
This branch also introduces CMake support, code base reorganization, and
significant API changes. Please review the updated API header (best viewed
via the Doxygen-generated html files.)

If you've been working out of the bladerf branch, it is recommended that
you clean up the following:

1. Uninstall Linux kernel module, if you have it loading at boot
2. Remove installed libbladeRF files (libbladeRF.h, pkg-config, files, .so's)
3. Remove installed CLI program
4. Remove udev rules

Please review the new "Getting started" text and the instructions in the
README.md and  host/README.md files for the new build procedure.

Manually resolved Conflicts:
	README.md
	host/drivers/linux/bladeRF.c
	host/utilities/bladeRF-cli/src/interactive/interactive.h
	linux/lib/src/bladerf.c
2013-08-25 13:53:13 -04:00
Jon Szymaniak
db6066e8f8 linux_driver: Fixed build that was broken by 894f0f48d6 2013-08-22 21:27:25 -04:00
Jon Szymaniak
e303076921 First cut at functioning CMake setup (Linux-only)
Further revisions will be needed to do some cleanup, as well as
address Windows & OSX support.
2013-08-13 01:24:58 -04:00
Jon Szymaniak
6323d15990 libbladeRF & CLI: [WIP] In the process of switching over to CMake
*Warning:* This is a broken nightly commit.

If not obvious, quite a bit of rearranging has been done.

The build script(s) for libbladeRF is mostly complete. This still
requires further configuration of debug builds and version info being
used to populate a version header.

Some cleanup has been done in the (formerly apps, now) utilities
directory. There's no CMake support in here yet...that's comming in the
next commit.
2013-08-12 03:24:16 -04:00
Renamed from linux/kernel/bladeRF.c (Browse further)