Commit Graph

37 Commits

Author SHA1 Message Date
marian fb066c3e51 Removed unused RadioInterface methods and data. BladeRF driver is now advertising radio caps and is accumulating data to send to avoid short write operations.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6055 acf43c95-373e-0410-b603-e72c3f656dc1
2015-10-12 15:06:31 +00:00
marian 85eb9cd410 Optimized sample scale and division.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6053 acf43c95-373e-0410-b603-e72c3f656dc1
2015-10-05 15:12:29 +00:00
marian 0abe6470bd Added option to set TX FPGA GAIN from config.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6047 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-25 13:48:19 +00:00
marian d190d4e8a2 Implemented configurable option for TX clamped samples debug threshold. Simplified parameters reload.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6046 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-22 14:30:38 +00:00
marian 9575abca85 Implemented timestamp resync. Added configurable option for allowed interval with timestamps in the past to make sure we are returning from read. Implemented capability to alter rx timestamps (for debug purposes).
git-svn-id: http://yate.null.ro/svn/yate/trunk@6045 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-22 13:36:26 +00:00
marian 085ca47e11 Properly translate libusb errors to RadioInterface codes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6044 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-21 09:58:15 +00:00
marian e77d49348f Make a non timed lock when serializing tx/rx. Show current time when handling show commands.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6042 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-18 07:05:07 +00:00
marian ba6aef184f Fixed help string contents.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6041 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-17 12:33:24 +00:00
marian ff06c5a467 Added shorter versions of correction, vgagain and show commands.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6040 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-17 12:28:54 +00:00
marian daca223187 Fixed bug: properly check if VGA1 value was already set by us when setting gain.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6038 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-16 14:46:59 +00:00
marian fae42ec947 Fixed debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6037 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-16 09:48:21 +00:00
marian 7866475cfc Leave tx/rx mutex locked when serializing i/o (avoid race for serialize). Don't try to serialize both tx and rx to obtain timestamps when dumping them.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6035 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-15 14:54:05 +00:00
marian 4cf402e052 Yield when send/recv fails with hardware I/O error.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6034 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-15 12:50:37 +00:00
marian d4f4a0d2ee Added timestamps display to show command.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6033 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-11 13:17:59 +00:00
marian 1f01a0ff5f Enable by default rx timestamps check. Apply parameter on reload. Documented it. Changed invalid timestamps debug message to MILD.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6017 acf43c95-373e-0410-b603-e72c3f656dc1
2015-08-06 15:11:56 +00:00
marian ebe0799010 Moved tx timestamp mismatch debug to a lower level.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6016 acf43c95-373e-0410-b603-e72c3f656dc1
2015-08-06 14:55:33 +00:00
marian 70d26b2596 Added new method used to set loopback to radio interface.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6014 acf43c95-373e-0410-b603-e72c3f656dc1
2015-08-04 11:33:16 +00:00
marian fefef69fc5 Double the number of I/O buffers on USB2.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6013 acf43c95-373e-0410-b603-e72c3f656dc1
2015-08-03 14:16:25 +00:00
marian 6ad706cbe9 Added small DMA transfer flag used to alter GPIO values written at address 0 (config). Fixes USB2 timestamps.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6012 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-30 14:10:20 +00:00
marian 5265e4d8e5 Fixed bug: use proper operator to mask freq offset.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6008 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-24 07:18:54 +00:00
marian 4a6b823a77 Added brute force algorithm for phase/gain correction. Added more parameters for calibration.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6005 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-16 14:53:56 +00:00
marian 2355ead640 Added method used to set data dump to radio interface. Fixed bug in bladerf rx data dump: preserve original pointer when copying data to avoid dump wrong data.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6003 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-16 09:12:20 +00:00
marian dff954a437 Added extra parameter to configure data dump.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6001 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-15 09:21:30 +00:00
marian 4431d99720 Added capability to dump data to bladerf module.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6000 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-14 13:22:00 +00:00
marian c6e7faef4c Work in progress on fixing calibration.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5997 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-13 15:00:12 +00:00
marian be0303dfcd Fixed statistics reporting.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5994 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-10 15:01:05 +00:00
marian fb80124f8e Added bladerf fpga files. Changed fpga load default path.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5993 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-10 14:35:37 +00:00
marian 31a84fdce6 Added tx power balance calibration. Work in progress.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5990 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-10 11:20:01 +00:00
marian 64353a04e0 Implemented tx/rx timestamp retrieval.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5989 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-10 08:01:11 +00:00
marian 08f76086f0 Fixed some LMS values set during init. Fixed PA/LNA enable/select. Improved peripheral access debug. Work in progress on fixing calibration.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5987 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-09 07:11:27 +00:00
marian 972910db51 Calculate and display FPGA MD5.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5986 acf43c95-373e-0410-b603-e72c3f656dc1
2015-06-30 12:37:40 +00:00
marian f8afb370b4 Added new method for TX DC calibration.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5985 acf43c95-373e-0410-b603-e72c3f656dc1
2015-06-30 12:27:13 +00:00
paulc dcd21630e2 Added support for libusb-1.0 older than 1.0.9 release.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5983 acf43c95-373e-0410-b603-e72c3f656dc1
2015-06-30 11:27:23 +00:00
marian 436ef0ce30 Compute RX DC offset before TX LO. Work in progress.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5982 acf43c95-373e-0410-b603-e72c3f656dc1
2015-06-29 11:28:03 +00:00
marian 67cdbe9b6e Added command used to change LMS register.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5981 acf43c95-373e-0410-b603-e72c3f656dc1
2015-06-26 08:31:58 +00:00
marian 9068b0175d Fixed bug: divide radio data by 2048 as expected by the upper layer. Fixed RX VGA status reporting.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5980 acf43c95-373e-0410-b603-e72c3f656dc1
2015-06-26 07:20:54 +00:00
marian 1d5f7b050f Added bladeRF module.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5979 acf43c95-373e-0410-b603-e72c3f656dc1
2015-06-24 10:41:29 +00:00