aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/bsc/pcu_if.h
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2023-02-24 14:50:11 +0100
committerlaforge <laforge@osmocom.org>2023-03-07 12:54:58 +0000
commitecf825dc0856411df3b83737d9439de044823d1b (patch)
treeb4f9b6fa12cc177a2345702484459713d8977fc2 /include/osmocom/bsc/pcu_if.h
parenta8f5dbce77ce95a601987db00f0ad9a1d4b47458 (diff)
pcu_sock: activate/deactivate PDCH on pcu reconnect
When the PCU is disconnected while the BSC keeps running the PDCH should be closed. Also the PDCH should be reopened when the PCU is reconnected. Change-Id: I9ea0c53a5e68a51c781ef43bae71f947cdb95678 Related: OS#5198
Diffstat (limited to 'include/osmocom/bsc/pcu_if.h')
-rw-r--r--include/osmocom/bsc/pcu_if.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/osmocom/bsc/pcu_if.h b/include/osmocom/bsc/pcu_if.h
index 3c34cdf4c..2a2afa869 100644
--- a/include/osmocom/bsc/pcu_if.h
+++ b/include/osmocom/bsc/pcu_if.h
@@ -14,6 +14,9 @@ struct pcu_sock_state {
struct llist_head upqueue; /* queue for sending messages */
};
+/* Check if BTS has a PCU connection */
+bool pcu_connected(struct gsm_bts *bts);
+
/* PCU relevant information has changed; Inform PCU (if connected) */
void pcu_info_update(struct gsm_bts *bts);