libosmocore/src/gsm
Pau Espin b5551eec33 gsm: [ABI BREAK] Support CellId SAI, change CellId CGI-PS id number
Those are available in 3GPP TS 48.008 version 16.0.0 Release 16, section
3.2.2.17 Cell Identifier. It can be seen that we have a collision
between the osmocom non-standard format and the SAI standard one.

This is because CGI-PS is not really a TS 48.008 Cell Identifier, but only
specified in TS 48.018 and has no ID number assigned. The CGI-PS was
added there because the whole osmo-bsc neighbour configuration works
with CellIds to manage neighbours, so it felt natural to extend the APIs
to also provide means to use CGI-PS format (TS 48.018 even refers 48.008
existance and mentions there's no explicit ID).

At the time this Cell Identifier was added, the firstly available number
(11) was taken, which was of course a really bad idea since newer
versions of the spec can at some point use it, which is the case if one
checks for instance TS 48.008 Release 16 SAI Cell Id.

There no perfect way to fix this bad decision at the time, but the
CGI-PS is only used in osmo-bsc and only for RIM related purposes, so by
changing the ID of CELL_IDENT_WHOLE_GLOBAL_PS, we only break RIM under
some specific CIs being used, and when an osmo-bsc is built against
older libosmocore and then used at runtime against a newer libosmocore
(which should be rare).
Hence, the downside is acceptable, and by moving the new ID number to be
ouside of the spec proto TS 48.008 range (4 bits), we make sure we don't
have the same problem again in the future.

Related: SYS#5838
Fixes: ca33a71ca8
Change-Id: Id25e563febdb7640174540136225f399515a0089
2022-02-16 17:59:23 +01:00
..
kdf kdf: add key derivation functions 2021-06-08 02:38:15 +02:00
milenage add osmo_auth_c3() (separate from gsm_milenage()) 2017-12-18 23:05:24 +00:00
Makefile.am Introduce CRC and FSM for IuUP (user plane) as used in 3G RTP data 2021-12-22 14:58:31 +01:00
a5.c treewide: remove FSF address 2021-12-14 12:44:03 +01:00
abis_nm.c Rename osmo dyn ts enums 2021-06-30 13:14:08 +02:00
apn.c make all library-internal static buffers thread-local 2019-06-04 10:47:30 +02:00
auth_comp128v1.c treewide: remove FSF address 2021-12-14 12:44:03 +01:00
auth_comp128v23.c treewide: remove FSF address 2021-12-14 12:44:03 +01:00
auth_core.c treewide: remove FSF address 2021-12-14 12:44:03 +01:00
auth_milenage.c treewide: remove FSF address 2021-12-14 12:44:03 +01:00
auth_xor.c treewide: remove FSF address 2021-12-14 12:44:03 +01:00
bsslap.c treewide: remove FSF address 2021-12-14 12:44:03 +01:00
bssmap_le.c treewide: remove FSF address 2021-12-14 12:44:03 +01:00
bts_features.c treewide: remove FSF address 2021-12-14 12:44:03 +01:00
cbsp.c treewide: remove FSF address 2021-12-14 12:44:03 +01:00
comp128.c treewide: remove FSF address 2021-12-14 12:44:03 +01:00
comp128v23.c treewide: remove FSF address 2021-12-14 12:44:03 +01:00
gad.c gad.c: fix rc for osmo_gad_enc_ell_point_unc_circle() 2020-10-15 01:02:04 +00:00
gan.c Fix/Update copyright notices; Add SPDX annotation 2017-11-13 01:35:12 +09:00
gea.c treewide: remove FSF address 2021-12-14 12:44:03 +01:00
gprs_cipher_core.c treewide: remove FSF address 2021-12-14 12:44:03 +01:00
gprs_gea.c treewide: remove FSF address 2021-12-14 12:44:03 +01:00
gprs_rlc.c Fix/Update copyright notices; Add SPDX annotation 2017-11-13 01:35:12 +09:00
gsm48.c treewide: remove FSF address 2021-12-14 12:44:03 +01:00
gsm48_arfcn_range_encode.c range_enc_determine_range(): Don't dereference array on size=0 2021-06-01 14:04:20 +02:00
gsm48_ie.c treewide: remove FSF address 2021-12-14 12:44:03 +01:00
gsm48_rest_octets.c gsm: Introduce API osmo_gsm48_rest_octets_si13_decode 2021-02-18 00:54:33 +00:00
gsm0341.c treewide: remove FSF address 2021-12-14 12:44:03 +01:00
gsm0411_smc.c gsm0411_{smc,smr}.c: Work around newlib bug 2020-07-30 21:35:10 +02:00
gsm0411_smr.c fix spelling in 'value_string' arrays: existAnt -> existEnt 2020-10-29 18:09:36 +07:00
gsm0411_utils.c libosmogsm: (re)introduce gsm48_push_l3hdr() 2018-08-05 23:21:43 +07:00
gsm0414.c doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
gsm0480.c treewide: remove FSF address 2021-12-14 12:44:03 +01:00
gsm0502.c libosmogsm: add Doxygen docs for gsm0502_hop_seq_gen() 2020-05-15 17:56:41 +00:00
gsm0808.c treewide: remove FSF address 2021-12-14 12:44:03 +01:00
gsm0808_utils.c gsm: [ABI BREAK] Support CellId SAI, change CellId CGI-PS id number 2022-02-16 17:59:23 +01:00
gsm23003.c gsm: [ABI BREAK] Support CellId SAI, change CellId CGI-PS id number 2022-02-16 17:59:23 +01:00
gsm23236.c treewide: remove FSF address 2021-12-14 12:44:03 +01:00
gsm29118.c treewide: remove FSF address 2021-12-14 12:44:03 +01:00
gsm29205.c treewide: remove FSF address 2021-12-14 12:44:03 +01:00
gsm48049.c gsm/gsm48049.c: fix use of GNU 'missing =' extension in designator 2020-01-21 18:34:04 +07:00
gsm_04_08_gprs.c fix spelling in 'value_string' arrays: existAnt -> existEnt 2020-10-29 18:09:36 +07:00
gsm_utils.c gsm_7bit_encode_n(): use regular malloc() instead of calloc() 2022-01-29 01:02:32 +06:00
gsup.c gsup: Introduce OSMO_GSUP_NUM_VECTORS_REQ_IE 2019-12-09 10:54:30 +00:00
gsup_sms.c GSUP/SMS: introduce MO-/MT-FORWARD-SM messages 2018-12-18 21:52:01 +07:00
i460_mux.c treewide: remove FSF address 2021-12-14 12:44:03 +01:00
ipa.c ipa_ccm_make_id_resp: Make it work at all 2021-04-29 19:59:12 +02:00
iuup.c iuup: do not use illegal characters in state/event names. 2022-01-18 12:04:47 +01:00
kasumi.c treewide: remove FSF address 2021-12-14 12:44:03 +01:00
kdf.c treewide: remove FSF address 2021-12-14 12:44:03 +01:00
lapd_core.c treewide: remove FSF address 2021-12-14 12:44:03 +01:00
lapdm.c treewide: remove FSF address 2021-12-14 12:44:03 +01:00
libosmogsm.map Introduce CRC and FSM for IuUP (user plane) as used in 3G RTP data 2021-12-22 14:58:31 +01:00
mncc.c mncc: properly export osmo_mncc_name() 2018-05-24 12:19:45 +02:00
oap.c Fix/Update copyright notices; Add SPDX annotation 2017-11-13 01:35:12 +09:00
oap_client.c oap_client: Fix license: GPLv2+ instead of AGPLv3+ 2019-05-27 23:26:45 +02:00
rsl.c treewide: remove FSF address 2021-12-14 12:44:03 +01:00
rxlev_stat.c treewide: remove FSF address 2021-12-14 12:44:03 +01:00
sysinfo.c Fix/Update copyright notices; Add SPDX annotation 2017-11-13 01:35:12 +09:00
tlv_parser.c cosmetic: tlv_parser: fix typo in func description 2021-04-14 17:21:02 +02:00