summaryrefslogtreecommitdiffstats
path: root/host
Commit message (Collapse)AuthorAgeFilesLines
* Added ability to set the subdevices in use for rx and tx dboards.Josh Blum2010-03-168-86/+130
| | | | | This is used to calculate and set the ddc and duc muxes. Also, minor fix for burning addrs (wrong pointer....)
* Replaced uses of wax:cast with the templated as method (like in boost ↵Josh Blum2010-03-1513-113/+99
| | | | program options).
* Ability to burn mac addr and ip addr to usrp2 (over ip/udp for now).Josh Blum2010-03-153-4/+98
| | | | Added firmware support and usrp2 burner host app.
* Device sub classes can register themselves. Simplifies device.cpp internals.Josh Blum2010-03-158-79/+117
| | | | Added static instance macro for lazy instantiation of static variables.
* handle getting and setting mac and ip addr from the hostJosh Blum2010-03-121-2/+67
|
* Removed freq min and max and gain min, max, and step...Josh Blum2010-03-129-206/+131
| | | | | replaced it with gain and freq range tuples. This simplifies the api calls and subdev properties.
* Cleaned up the gain handler (thing that gets and sets wildcard gains)Josh Blum2010-03-118-198/+271
| | | | | | and made use of it in the dboard manager so it intercepts the sets and gets. While doing this, fixed something with nested links in wax obj. Added some useful macros and templates to the utils.
* Filled in dboard code for basics and lf type boards.Josh Blum2010-03-1011-142/+307
| | | | | | The dboard is now just a uint16 (dont bother with the enums). The dboard manager now registers subdevs with a name. The basic board code uses a static block to register itself.
* Added simple device to handle wrapping general properties up into simple api.Josh Blum2010-03-1014-96/+581
| | | | | Added setting time capability to the usrp2 impl. Messing with props and time specs...
* Moved timeouts into the udp transports.Josh Blum2010-03-048-45/+104
| | | | | | 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-023-12/+13
| | | | | 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-018-85/+136
| | | | | | 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-017-38/+79
|
* 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-231-19/+0
| | | | 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-228-21/+184
| | | | | 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-194-17/+46
|
* DUC and DDC control packets OTWJosh Blum2010-02-197-49/+114
|
* 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-174-4/+67
|
* Added i2c control transactions in fw and hostJosh Blum2010-02-174-9/+68
|
* Worked out spi api for the dboard interface.Josh Blum2010-02-1714-366/+192
| | | | Created usrp2 spi transaction control on host and fw
* moved host code into host directory for clean (unambiguous) top levelJosh Blum2010-02-1766-0/+4764