aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-octphy/octphy_hw_api.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2015-09-06 16:04:32 +0200
committerHarald Welte <laforge@gnumonks.org>2016-01-16 17:23:10 +0100
commitb92100ad36f40d3125ff945fbd38aece873d1718 (patch)
tree3723ca47d14219f3ab78f24a3e219e0dbfaca1c4 /src/osmo-bts-octphy/octphy_hw_api.h
parente9f12acbeb5a369282719f8e0deecc88034a5488 (diff)
Add support for Octasic OCTSDR-2G GSM PHY
This adds support for a new PHY to OsmoBTS, the Octasic OCTSDR-2G PHY. This is a proprietary GSM PHY running on a familty of Octasic DSPs.
Diffstat (limited to 'src/osmo-bts-octphy/octphy_hw_api.h')
-rw-r--r--src/osmo-bts-octphy/octphy_hw_api.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/osmo-bts-octphy/octphy_hw_api.h b/src/osmo-bts-octphy/octphy_hw_api.h
new file mode 100644
index 00000000..bc8ab68d
--- /dev/null
+++ b/src/osmo-bts-octphy/octphy_hw_api.h
@@ -0,0 +1,14 @@
+#pragma once
+
+#include <stdint.h>
+#include "l1_if.h"
+
+int octphy_hw_get_pcb_info(struct octphy_hdl *fl1h);
+int octphy_hw_get_rf_port_info(struct octphy_hdl *fl1h, uint32_t index);
+int octphy_hw_get_rf_port_stats(struct octphy_hdl *fl1h, uint32_t index);
+int octphy_hw_get_rf_ant_rx_config(struct octphy_hdl *fl1h, uint32_t port_idx,
+ uint32_t ant_idx);
+int octphy_hw_get_rf_ant_tx_config(struct octphy_hdl *fl1h, uint32_t port_idx,
+ uint32_t ant_idx);
+int octphy_hw_get_clock_sync_info(struct octphy_hdl *fl1h);
+int octphy_hw_get_clock_sync_stats(struct octphy_hdl *fl1h);