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 /include | |
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 'include')
-rw-r--r-- | include/osmocom/bsc/bsc_msc_data.h | 2 | ||||
-rw-r--r-- | include/osmocom/bsc/gsm_data.h | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/osmocom/bsc/bsc_msc_data.h b/include/osmocom/bsc/bsc_msc_data.h index 43adaec00..6e29bfe55 100644 --- a/include/osmocom/bsc/bsc_msc_data.h +++ b/include/osmocom/bsc/bsc_msc_data.h @@ -179,6 +179,8 @@ struct bsc_msc_data { /* UDP socket for proxying MGCP via SCCPlite/IPA */ struct osmo_fd ofd; } mgcp_ipa; + + struct osmo_nri_ranges *nri_ranges; }; int osmo_bsc_msc_init(struct bsc_msc_data *msc); diff --git a/include/osmocom/bsc/gsm_data.h b/include/osmocom/bsc/gsm_data.h index bc4c01771..38047d29d 100644 --- a/include/osmocom/bsc/gsm_data.h +++ b/include/osmocom/bsc/gsm_data.h @@ -1716,6 +1716,9 @@ struct gsm_network { /* Don't refuse to start with mutually exclusive codec settings */ bool allow_unusable_timeslots; + + uint8_t nri_bitlen; + struct osmo_nri_ranges *null_nri_ranges; }; struct gsm_audio_support { |