summaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorNick Foster <nick@nerdnetworks.org>2010-10-08 17:54:01 -0700
committerNick Foster <nick@nerdnetworks.org>2010-10-08 17:54:01 -0700
commit8aac27fa3e427e0ff09c111127da162356d2bac5 (patch)
tree33892d885ff81c1a6a7c06df69263ced50f5dd75 /host
parent58e1ca09772408d5d18ee219146fe57d2045c496 (diff)
downloaduhd-8aac27fa3e427e0ff09c111127da162356d2bac5.tar.gz
uhd-8aac27fa3e427e0ff09c111127da162356d2bac5.tar.bz2
uhd-8aac27fa3e427e0ff09c111127da162356d2bac5.zip
TVRX documentation and a bugfix in the cal table. Named the antenna "RX".
Diffstat (limited to 'host')
-rw-r--r--host/docs/dboards.rst9
-rw-r--r--host/lib/usrp/dboard/db_tvrx.cpp6
2 files changed, 12 insertions, 3 deletions
diff --git a/host/docs/dboards.rst b/host/docs/dboards.rst
index 738a0696d..4ad724c82 100644
--- a/host/docs/dboards.rst
+++ b/host/docs/dboards.rst
@@ -107,6 +107,15 @@ Transmit Gains: **PGA0**, Range: 0-25dB
Recieve Gains: **PGA0**, Range: 0-31.5dB
+^^^^^^^^^^^^^^^^^^^^^^^^^^^
+TVRX
+^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Receive Antennas: RX
+
+Receive Gains:
+ * **RF**, Range: -13.3-50.3dB (frequency-dependent)
+ * **IF**, Range: -1.5-32.5dB
+
------------------------------------------------------------------------
Daughterboard Modifications
------------------------------------------------------------------------
diff --git a/host/lib/usrp/dboard/db_tvrx.cpp b/host/lib/usrp/dboard/db_tvrx.cpp
index b1fc2ea76..10be8d1c3 100644
--- a/host/lib/usrp/dboard/db_tvrx.cpp
+++ b/host/lib/usrp/dboard/db_tvrx.cpp
@@ -58,7 +58,7 @@ static const bool tvrx_debug = false;
static const freq_range_t tvrx_freq_range(50e6, 860e6);
-static const prop_names_t tvrx_antennas = list_of(""); //only got one
+static const prop_names_t tvrx_antennas = list_of("RX");
static const uhd::dict<std::string, freq_range_t> tvrx_freq_ranges = map_list_of
("VHFLO", freq_range_t(50e6, 158e6))
@@ -73,7 +73,7 @@ static const boost::array<double, 17> vhflo_gains_db =
50.30000, 50.30000}};
static const boost::array<double, 17> vhfhi_gains_db =
- {{13.3000, -13.3000, -13.3000, -1.0000, 7.7000,
+ {{-13.3000, -13.3000, -13.3000, -1.0000, 7.7000,
11.0000, 14.7000, 19.3000, 26.1000, 36.0000,
42.7000, 46.0000, 47.0000, 47.8000, 48.2000,
48.2000, 48.2000}};
@@ -436,7 +436,7 @@ void tvrx::rx_get(const wax::obj &key_, wax::obj &val){
return;
case SUBDEV_PROP_ANTENNA:
- val = std::string("");
+ val = tvrx_antennas.front(); //there's only one
return;
case SUBDEV_PROP_ANTENNA_NAMES: