Change in osmo-bsc[master]: SI2quater: allow storing 48 EARFCNs

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 9 10:43:57 UTC 2020


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

Change subject: SI2quater: allow storing 48 EARFCNs
......................................................................

SI2quater: allow storing 48 EARFCNs

Up to 16 SI2quater are multiplexed; each fits 3 EARFCNS, so the practical
maximum is 48 (of course depending on how many bits are used by other SI2quater
elements).

Change-Id: Iabeed10053ee5899b4def3509aedd25abb2410a9
---
M include/osmocom/bsc/gsm_data.h
1 file changed, 4 insertions(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved



diff --git a/include/osmocom/bsc/gsm_data.h b/include/osmocom/bsc/gsm_data.h
index ce18d1b..0f5fc54 100644
--- a/include/osmocom/bsc/gsm_data.h
+++ b/include/osmocom/bsc/gsm_data.h
@@ -393,7 +393,10 @@
 #define A38_XOR_MAX_KEY_LEN	16
 #define A38_COMP128_KEY_LEN	16
 #define RSL_ENC_ALG_A5(x)	(x+1)
-#define MAX_EARFCN_LIST 32
+/* Up to 16 SI2quater are multiplexed; each fits 3 EARFCNS, so the practical maximum is 3*16.
+ * The real maximum that fits in a total of 16 SI2quater rest octets also depends on the bits left by other SI2quater
+ * rest octets elements, so to really fit 48 EARFCNs most other SI2quater elements need to be omitted. */
+#define MAX_EARFCN_LIST (3*16)
 
 /* is the data link established? who established it? */
 #define LCHAN_SAPI_UNUSED	0

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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Iabeed10053ee5899b4def3509aedd25abb2410a9
Gerrit-Change-Number: 19180
Gerrit-PatchSet: 2
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200709/3eb33c35/attachment.htm>


More information about the gerrit-log mailing list