diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-09-30 16:03:19 +0200 |
---|---|---|
committer | pespin <pespin@sysmocom.de> | 2019-10-05 20:50:13 +0000 |
commit | 520954cd93c7573f0e9b217d8181fa176f8ec1ea (patch) | |
tree | 0dd73823f6a2fc42f20b8c3747f76a43ba535c94 /include/osmo-bts | |
parent | accbf5bc732462a1564371dcbbde2f0dc5c23544 (diff) |
bts-trx: vty: Print phy link state in cmd 'show transceiver'
Change-Id: I8e49f8edad9f9c68d110dbb7faeea5143aa91022
Diffstat (limited to 'include/osmo-bts')
-rw-r--r-- | include/osmo-bts/phy_link.h | 2 |
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); |