diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2020-05-26 03:58:14 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2020-06-17 00:14:01 +0200 |
commit | 4099f1db504c401e3d7211d9761b034d62d15f7c (patch) | |
tree | 005bcf955fd1f5410a7439f132d3618b727461a1 /src/osmo-bsc/net_init.c | |
parent | daf5d8b6c7ed56de786529d318264409278eedc7 (diff) |
MSC pooling: make NRI mappings VTY configurable
Use the osmo_nri_ranges API to manage each MSC's NRI ranges by VTY
configuration.
Change-Id: I6c251f2744d7be26fc4ad74adefc96a6a3fe08b0
Diffstat (limited to 'src/osmo-bsc/net_init.c')
-rw-r--r-- | src/osmo-bsc/net_init.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/osmo-bsc/net_init.c b/src/osmo-bsc/net_init.c index 34403fa1f..353099ddd 100644 --- a/src/osmo-bsc/net_init.c +++ b/src/osmo-bsc/net_init.c @@ -18,6 +18,7 @@ */ #include <osmocom/core/tdef.h> +#include <osmocom/gsm/gsm23236.h> #include <osmocom/bsc/osmo_bsc.h> #include <osmocom/bsc/gsm_04_08_rr.h> @@ -90,5 +91,8 @@ struct gsm_network *gsm_network_init(void *ctx) net->mgw.tdefs = g_mgw_tdefs; osmo_tdefs_reset(net->mgw.tdefs); + net->null_nri_ranges = osmo_nri_ranges_alloc(net); + net->nri_bitlen = OSMO_NRI_BITLEN_DEFAULT; + return net; } |