From 3f89e4a95debcfb783989d8113f7b873879ff61a Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Fri, 3 Jul 2020 03:32:54 +0700 Subject: system_information: constify bitvec in freq. list encoding API Change-Id: I95f3a89af16e4a6b4aa1a6a48cf0d0c023f26170 --- src/osmo-bsc/system_information.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/osmo-bsc/system_information.c b/src/osmo-bsc/system_information.c index 19ea998d4..b17a909e5 100644 --- a/src/osmo-bsc/system_information.c +++ b/src/osmo-bsc/system_information.c @@ -398,7 +398,7 @@ static int freq_list_bmrel_set_arfcn(uint8_t *chan_list, unsigned int arfcn) /* generate a variable bitmap */ static inline int enc_freq_lst_var_bitmap(uint8_t *chan_list, - struct bitvec *bv, const struct gsm_bts *bts, + const struct bitvec *bv, const struct gsm_bts *bts, bool bis, bool ter, int min, bool pgsm) { int i; @@ -459,7 +459,7 @@ int range_encode(enum gsm48_range r, int *arfcns, int arfcns_used, int *w, /* generate a frequency list with the range 512 format */ static inline int enc_freq_lst_range(uint8_t *chan_list, - struct bitvec *bv, const struct gsm_bts *bts, + const struct bitvec *bv, const struct gsm_bts *bts, bool bis, bool ter, bool pgsm) { int arfcns[RANGE_ENC_MAX_ARFCNS]; @@ -491,7 +491,7 @@ static inline int enc_freq_lst_range(uint8_t *chan_list, } /* generate a cell channel list as per Section 10.5.2.1b of 04.08 */ -static int bitvec2freq_list(uint8_t *chan_list, struct bitvec *bv, +static int bitvec2freq_list(uint8_t *chan_list, const struct bitvec *bv, const struct gsm_bts *bts, bool bis, bool ter) { int i, rc, min = -1, max = -1, arfcns = 0; -- cgit v1.2.3