aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Moved timeouts into the udp transports.Josh Blum2010-03-0411-63/+115
| | | | | | Simplified the fast path checking in the fw, but it turns out this was not the issue. Fixed some bad bit operations with the 16sc words (dont forget sign extension). Added some more documentation to the headers....
* Some tweaks and changes to io impl that fix segfaults.Josh Blum2010-03-031-7/+16
| | | | Seems to work now!
* Split metadata into rx and tx specific metadata.Josh Blum2010-03-039-44/+114
| | | | | | The rx metadata has fragment flags and the tx metatdata has burst flags. Made the io impl for usrp2 rx routine fill in the rx metatdata fragment flag. Added device documentation for send and recv in regards to fragmentation.
* memcpy size fix, change to some send logicJosh Blum2010-03-031-3/+4
|
* Making use of vrt lib in the usrp2 io_impl.Josh Blum2010-03-038-80/+76
| | | | Added a packet size param to the vrt pack and unpack.
* Added a vrt library to pack and unpack from metadata.Josh Blum2010-03-026-0/+270
| | | | Added a vrt test app that packs and unpacks the data.
* Expanded the UDP api:Josh Blum2010-03-0212-260/+523
| | | | | | | | We can make simple udp transports for discovery and control. We can support a udp zero copy transport (currently just asio). Reworked the io_impl for usrp2 to work with the zero copy api. So far, all of this untested other than compiling. A cut-down vrt library is in the works to simplify the io impl.
* The net common is too slow in usrp2 firmware to figure out if its vrt data.Josh Blum2010-03-026-24/+41
| | | | | Added a custom function to tell if a packet is vrt data, seems to be feeding fast enough at this rate... Fixed some buffer size calculation logic.
* Send the number of samples per datagram over the control.Josh Blum2010-03-019-114/+152
| | | | | | Worked on the io impl for usrp2 (added loop unrolls and 32 bit buffers). Added some vrt rx constants to the fw common used by host and fw. Removed the MTU prop and added a general device prop for num samples.
* Recv noise with uhd.Josh Blum2010-03-018-38/+82
|
* fix for io typesJosh Blum2010-02-261-6/+6
|
* removed empty uhd.hpp and cpp filesJosh Blum2010-02-265-51/+1
|
* Created empty usrp1e cpp file for the case when headers are not found.Josh Blum2010-02-2511-35/+204
| | | | | Worked on the device make and discovery to fix certain problems. Added node param to discover usrps for usrp1e, made addr optional.
* use a single addr param for the usrp2Josh Blum2010-02-253-15/+10
|
* vrt packet count fixJosh Blum2010-02-231-1/+1
|
* Put fast path code (rx setup) back into txrx.c.Josh Blum2010-02-232-48/+59
| | | | Store the fast path addrs in the udp data handler.
* Added IF data io handing within the usrp2 impl.Josh Blum2010-02-2311-190/+299
| | | | | It packs and unpacks vrt headers/metadata. NOT YET TESTED IN ANY WAY...
* Work on the io interface for a device (and some implementation work in usrp2).Josh Blum2010-02-2210-23/+189
| | | | | Modified the udp transport to reflect some of these changes. Got the fw compiling again, and it will not set data to true for small payloads (configuration ones).
* added set nice gpio pins to manager on init and deconstructJosh Blum2010-02-221-9/+18
|
* Moved the udp implementation guts into the cpp fileJosh Blum2010-02-223-39/+61
|
* Made implementation class for the dboard manager.Josh Blum2010-02-224-32/+69
|
* Made the usrp2 impl into a device.Josh Blum2010-02-2112-368/+148
| | | | | Removed the usrp device wrapper and usrp2 cpp file outside of the usrp2 lib dir. Also removed the mboard base files since we wont be needing them.
* Moved lib and include contents of dboard and mboard one directory up and ↵Josh Blum2010-02-2129-253/+207
| | | | | | prefixed them with dboard_ and mboard_. And yes, the code is compiling.
* DDC enable with stream at control OTWJosh Blum2010-02-195-20/+65
|
* DUC and DDC control packets OTWJosh Blum2010-02-198-49/+169
|
* added support for the duc (no control yet though)Josh Blum2010-02-183-8/+142
|
* Added special case for empty dboard slot (none id 0xffff)Josh Blum2010-02-186-37/+82
| | | | | | Added error handling in the dboard base classes for mishandling the none id. Added better to string function for the dboard ids. Added get methods for dboard classes to get their ids.
* Flattened the usrp2 impl properties guts.Josh Blum2010-02-1811-266/+462
| | | | | Created init methods for various sub-parts. Added the ddc control (still needs update transaction).
* Added control for usrp2 aux dac and adc control.Josh Blum2010-02-175-4/+106
|
* Added i2c control transactions in fw and hostJosh Blum2010-02-175-9/+96
|
* Worked out spi api for the dboard interface.Josh Blum2010-02-1715-367/+224
| | | | Created usrp2 spi transaction control on host and fw
* moved host code into host directory for clean (unambiguous) top levelJosh Blum2010-02-1767-1/+1
|
* Added control code in the txrx.c and dboard interface for usrp2 to handle ↵Josh Blum2010-02-168-30/+213
| | | | gpio and atr
* Setting the clock config over controlJosh Blum2010-02-162-2/+43
|
* Moved the usrp2 implementation files into a usrp2 dir within mboard.Josh Blum2010-02-169-119/+348
| | | | Filled in many of the properties for the mboard (including clock config).
* Restored microblaze build (accidentally removed makefile ams and gitignores ↵Josh Blum2010-02-1613-1/+356
| | | | when doing cmake for host)
* Created dboard wrapper in the usrp2 implJosh Blum2010-02-165-14/+157
|
* Added usrp2 impl for the guts of the usrp2 handling.Josh Blum2010-02-1611-55/+228
| | | | The top level usrp2 will contain an impl and forward calls to it.
* added uninstall targetJosh Blum2010-02-162-3/+39
|
* CMake does not have convenience libraries like automake.Josh Blum2010-02-155-101/+10
| | | | | Removed the nested lib CMakeLists.txt in favor of a single top level lib/CMakeLists.txt for building the shared library.
* Removed Autotools stuff and the git ignore files.Josh Blum2010-02-1563-2152/+54
| | | | | Feeding cpack a readme and license file. Added readme contents.
* Added CMakeLists.txt for the include dir.Josh Blum2010-02-1510-9/+201
| | | | | Setting up the pkg config file through cmake. Added stuff to cmake to add optional flags.
* Created CMakeLists.txt for a CMake build.Josh Blum2010-02-159-0/+227
| | | | Only created the files for building, install part missing.
* Compiling under old fedora8 with boost 1.37.Josh Blum2010-02-135-19/+23
| | | | | Fixed somethings that caused errors and warnings. Cannot get rid of all warnings on this system.
* Reading the dboard ids from the usrp2.Josh Blum2010-02-127-6/+66
|
* Made use of templated dict to replace used of mapJosh Blum2010-02-1211-99/+84
| | | | and to get rid of utility call.
* Added a templated dictionary class because its more useful than map.Josh Blum2010-02-1220-173/+403
| | | | | | | Made the device addrs into a string:string dict. If its all strings we dont have to change the top level caller for new product. Created shared_iovec class to manage memory for device recvs. Work on the bro/dude control protocol for usrp2.
* Getting hello packets from the usrp2 with ip and mac addrs.Josh Blum2010-02-1116-237/+117
| | | | Cleaned up the mb build system a bit.
* removed unwanted/broken filesJosh Blum2010-02-1015-1559/+54
|
* net_common working in this state with control udp packetsJosh Blum2010-02-10164-42/+60497
|