aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmo-bts
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-09-30 16:03:19 +0200
committerpespin <pespin@sysmocom.de>2019-10-05 20:50:13 +0000
commit520954cd93c7573f0e9b217d8181fa176f8ec1ea (patch)
tree0dd73823f6a2fc42f20b8c3747f76a43ba535c94 /include/osmo-bts
parentaccbf5bc732462a1564371dcbbde2f0dc5c23544 (diff)
bts-trx: vty: Print phy link state in cmd 'show transceiver'
Diffstat (limited to 'include/osmo-bts')
-rw-r--r--include/osmo-bts/phy_link.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmo-bts/phy_link.h b/include/osmo-bts/phy_link.h
index 3bf51597..a06cf3fc 100644
--- a/include/osmo-bts/phy_link.h
+++ b/include/osmo-bts/phy_link.h
@@ -157,6 +157,8 @@ struct phy_link *phy_link_by_num(int num);
struct phy_link *phy_link_create(void *ctx, int num);
void phy_link_destroy(struct phy_link *plink);
void phy_link_state_set(struct phy_link *plink, enum phy_link_state state);
+enum phy_link_state phy_link_state_get(struct phy_link *plink);
+const char *phy_link_state_name(enum phy_link_state state);
int phy_links_open(void);
struct phy_instance *phy_instance_by_num(struct phy_link *plink, int num);