Change in osmo-bsc[master]: system_information: constify bitvec in freq. list encoding API

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Thu Jul 2 22:07:27 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/19111 )

Change subject: system_information: constify bitvec in freq. list encoding API
......................................................................

system_information: constify bitvec in freq. list encoding API

Change-Id: I95f3a89af16e4a6b4aa1a6a48cf0d0c023f26170
---
M src/osmo-bsc/system_information.c
1 file changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/src/osmo-bsc/system_information.c b/src/osmo-bsc/system_information.c
index 19ea998..b17a909 100644
--- a/src/osmo-bsc/system_information.c
+++ b/src/osmo-bsc/system_information.c
@@ -398,7 +398,7 @@
 
 /* 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 @@
 
 /* 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 @@
 }
 
 /* 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;

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/19111
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I95f3a89af16e4a6b4aa1a6a48cf0d0c023f26170
Gerrit-Change-Number: 19111
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200702/497b2867/attachment.htm>


More information about the gerrit-log mailing list