aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmo-bts/gsm_data.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-01-20 23:34:43 +0100
committerHarald Welte <laforge@gnumonks.org>2016-02-15 14:27:52 +0100
commita9a7120c82f571554e6c1417eec0803f15e6c7bb (patch)
treefcfd92dd0f13f9edacc7ff8a22f45bbe264213d9 /include/osmo-bts/gsm_data.h
parent5dfb115eaf16a5c5e9ccea5b03374651aa97da11 (diff)
make PCU socket and telnet port configurable
In some cases we'd like to run multiple instances of osmo-bts on a single machine. This is the case where we a multi-TRX PHY is to be used for several BTSs, or in case osmo-bts-trx has multple SDRs attached. This wa currently prevented by having a hard-coded PCU socket path and telnet port, which are now configurable via VTY / config file itself.
Diffstat (limited to 'include/osmo-bts/gsm_data.h')
-rw-r--r--include/osmo-bts/gsm_data.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/osmo-bts/gsm_data.h b/include/osmo-bts/gsm_data.h
index c4953cbb..7a486670 100644
--- a/include/osmo-bts/gsm_data.h
+++ b/include/osmo-bts/gsm_data.h
@@ -107,6 +107,10 @@ struct gsm_bts_role_bts {
float min_qual_rach; /* minimum quality for RACH bursts */
float min_qual_norm; /* minimum quality for normal daata */
+
+ struct {
+ char *sock_path;
+ } pcu;
};
enum lchan_ciph_state {