diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2018-07-13 16:14:18 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-07-22 06:16:11 +0000 |
commit | 5bc43cd107597b78f701f77c7fd4cce8f923dce5 (patch) | |
tree | de1f0a77e98032dc87f7c72dc1f1cba2ca294017 /include | |
parent | 844876f8d5b3be161b6694e274692679608bad50 (diff) |
codec_pref: check bts codec support
The vty option bts->codec-support allows the user to set the supported
codecs per BTS level. However, those values are currently only used to
make the handover decision but the logic that handles the BSSMAP
ASSIGNMENT REQUEST does not check those flags.
- Do not ignore bts->codec-support flags on BSSMAP ASSIGNMENT REQUEST
Change-Id: I285234e9c81de74d9fb9907fca2c443b08537435
Closes: OS#3361
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/bsc/codec_pref.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/osmocom/bsc/codec_pref.h b/include/osmocom/bsc/codec_pref.h index 6933ceacd..bbda14e47 100644 --- a/include/osmocom/bsc/codec_pref.h +++ b/include/osmocom/bsc/codec_pref.h @@ -1,6 +1,6 @@ #pragma once -int match_codec_pref(int *full_rate, enum gsm48_chan_mode *chan_mode, - const struct gsm0808_channel_type *ct, - const struct gsm0808_speech_codec_list *scl, - const struct bsc_msc_data *msc); +struct gsm_bts; + +int match_codec_pref(int *full_rate, enum gsm48_chan_mode *chan_mode, const struct gsm0808_channel_type *ct, + const struct gsm0808_speech_codec_list *scl, const struct bsc_msc_data *msc, struct gsm_bts *bts); |