aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2017-03-06 13:52:56 +0100
committerPhilipp Maier <pmaier@sysmocom.de>2017-04-13 19:08:47 +0200
commit25742a5929edecc545a4fc254f678cc834f8c3b3 (patch)
tree65bef9c4fa2e7ef0fb1ef4ba4310fbf132e8042e /include
parente4403464ed7de23f8fa3a2a57acee31248993c3d (diff)
octphy: set tx/rx antenne IDs via VTY
add support for the TX/RX antenna-id feature that has been introduced with release OCTSDR-2G-02.07.00-B1314-BETA. The user can now set individual ID numbers for the TX and for the RX antenna. Change-Id: I872fe3c4d7b593358a4ce2f02cf0726611b9f3aa
Diffstat (limited to 'include')
-rw-r--r--include/osmo-bts/phy_link.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/osmo-bts/phy_link.h b/include/osmo-bts/phy_link.h
index e644a910..e8fd7eb7 100644
--- a/include/osmo-bts/phy_link.h
+++ b/include/osmo-bts/phy_link.h
@@ -53,6 +53,10 @@ struct phy_link {
/* configuration */
uint32_t rf_port_index;
+#if OCTPHY_USE_ANTENNA_ID == 1
+ uint32_t rx_ant_id;
+ uint32_t tx_ant_id;
+#endif
uint32_t rx_gain_db;
bool tx_atten_flag;
uint32_t tx_atten_db;