aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmo-bts/phy_link.h
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-09-20 17:59:21 +0200
committerpespin <pespin@sysmocom.de>2021-09-23 12:07:29 +0000
commitdfedf2cb76cb47b729ebf22cce6e5b4d549b946c (patch)
treee25c804841a11a935bc9d321af20e66cb58cfbd7 /include/osmo-bts/phy_link.h
parent192390c797bd82823636027df61c308dc4d1dcc0 (diff)
phy_link: Introduce bts_model_phy_link_close() and use it in bts-trx
This step is required while turning off the BTS without killing the process. Right now only osmo-bts-trx supports this feature, so this function is only available and used by osmo-bts-trx. Later on, when the feature is support more generally, we can move call to this function to common place like bts_shutdown_fsm or alike. Change-Id: I3253112700a31b85db82dc7ccadec8542bac745e
Diffstat (limited to 'include/osmo-bts/phy_link.h')
-rw-r--r--include/osmo-bts/phy_link.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/osmo-bts/phy_link.h b/include/osmo-bts/phy_link.h
index 78fe6b99..ac38c289 100644
--- a/include/osmo-bts/phy_link.h
+++ b/include/osmo-bts/phy_link.h
@@ -174,6 +174,7 @@ static inline struct phy_instance *trx_phy_instance(const struct gsm_bts_trx *tr
}
int bts_model_phy_link_open(struct phy_link *plink);
+int bts_model_phy_link_close(struct phy_link *plink);
#define LOGPPHL(plink, section, lvl, fmt, args...) LOGP(section, lvl, "%s: " fmt, phy_link_name(plink), ##args)
#define LOGPPHI(pinst, section, lvl, fmt, args...) LOGP(section, lvl, "%s: " fmt, phy_instance_name(pinst), ##args)