aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard/magnesium/magnesium_constants.hpp
Commit message (Collapse)AuthorAgeFilesLines
* mg: Fix various compiler warningsMartin Braun2018-01-161-41/+34
| | | | | | - Made const constexpr where sensible - Moved non-global constants to their local scope - Changed const char * to const char[] where they should
* mg: add facility that handle individual gainTrung N Tran2018-01-121-0/+16
| | | | | | | -Create name for each gain/att element -Create property tree entry for each gain and their handlers. -Create gain profile that control how gain distributed. Right now, it is either "default" or "manual".
* mg: Use enums for all bands, move freq mapping to single locationMartin Braun2018-01-081-13/+1
| | | | | | | | This removes the need to re-implement the band checks (in particular, the low band check) in multiple places, potentially causing confusion. Signed-off-by: Trung Tran <trung.tran@ettus.com> Reviewed-by: Trung Tran <trung.tran@ettus.com>
* mg: Renamed lowband LO to 'lowband'Martin Braun2017-12-221-1/+1
| | | | Reviewed-by: Ashish Chaudhari <ashish.chaudhari@ettus.com>
* mg: Add LO specific properties and methodsTrung N Tran2017-12-221-0/+11
| | | | | | | | This change adds extra hooks to the property tree to make LOs accessible thru the property tree. These can be used by multi_usrp api. Reviewed-By: Martin Braun <martin.braun@ettus.com>
* mg: Enable variable master clock ratesMartin Braun2017-12-221-1/+0
| | | | | | | | | | The master_clock_rate argument is passed to init() during initialization; this change allows to query the correct MCR at initialization time. It does not allow changing the MCR while a session is active. The MCR also affects the LO settings; it is the reference clock for the lowband LOs.
* mg: Fix minor compiler warningsMartin Braun2017-12-221-2/+0
|
* mg: Enable CAL and LO-CAL "antenna" inputsMartin Braun2017-12-221-1/+1
| | | | | For consistency, the LO-CAL antenna name is actually "LOCAL" (without the dash).
* mg: Add static gain tables and -supportMartin Braun2017-12-221-2/+2
| | | | | | | | | - Adds two new compilation units (magnesium_gain_table.* and magnesium_radio_ctrl_gain.cpp) - Static gain tables are hard-coded in that file, includes method to look up gain table entries for a given frequency and gain - DSA code moved back to accept attenuation - TX/RX switch code needed update to enable bypass for certain gains
* mg: Refactor magnesium_radio_ctrl and friendsMartin Braun2017-12-221-0/+64
- Spin out AD9371 control into its own class - Split file into multiple compilation units - Fixed many minor code formatting issues