libosmocore/include/osmocom/gsm
Stefan Sperling 11a4d9dd91 support for more cell ID list types in libosmocore
Introduce gsm0808_dec_cell_id_list2() with supports additional types of
cell identifier lists. The new parsing routines are based on similar
routines used by the paging code in osmo-bsc's osmo_bsc_bssap.c.

Likewise, introduce gsm0808_enc_cell_id_list2() with support for the
same additional types of cell identifier lists.

The old API using struct gsm0808_cell_id_list is deprecated.
The previous definition was insufficient because it assumed that all
decoded cell ID types could be represented with a single uint16_t.
It was declared in a GSM protocol header (gsm/protocol/gsm_08_08.h)
despite being a host-side representation of data in an IE.
The only user I am aware of is in osmo-msc, where this struct is used
for one local variable. osmo-msc releases >= 1.1.0 make use of this API.

While here, fix a small bug in a test:
test_gsm0808_enc_dec_cell_id_list_bss() set the cell ID type to 'LAC'
but obviously wants to use type 'BSS'.

Change-Id: Ib7e754f538df0c83298a3c958b4e15a32fcb8abb
Related: OS#2847
2018-03-13 14:28:15 +01:00
..
protocol support for more cell ID list types in libosmocore 2018-03-13 14:28:15 +01:00
a5.h [doc] gea has separate group; A5 is not part of crypto but a5 group 2017-10-17 07:53:02 +02:00
abis_nm.h abis_nm: Add abis_nm_admin_name() API 2017-10-23 16:59:57 +00:00
apn.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
bitvec_gsm.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
bts_features.h features: define osmo_bts_*_feature() as static inline 2018-03-05 17:37:46 +00:00
comp128.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
comp128v23.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
gan.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
gea.h [doc] gea has separate group; A5 is not part of crypto but a5 group 2017-10-17 07:53:02 +02:00
gsm48.h introduce GSM_MCC_MNC_INVALID 2018-03-01 13:00:56 +00:00
gsm48_ie.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
gsm0341.h [doc] make sure all SMS related code is part of the 'sms' group 2017-10-17 07:53:02 +02:00
gsm0411_smc.h SMS: Add value_string for TS 04.11 CP and RP state 2018-01-24 16:50:59 +01:00
gsm0411_smr.h SMS: Add value_string for TS 04.11 CP and RP state 2018-01-24 16:50:59 +01:00
gsm0411_utils.h [doc] make sure all SMS related code is part of the 'sms' group 2017-10-17 07:53:02 +02:00
gsm0480.h gsm0480: fix USSD OCTET STRING length confusion 2018-01-17 10:45:39 +00:00
gsm0502.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
gsm0808.h support for more cell ID list types in libosmocore 2018-03-13 14:28:15 +01:00
gsm0808_utils.h support for more cell ID list types in libosmocore 2018-03-13 14:28:15 +01:00
gsm23003.h support for more cell ID list types in libosmocore 2018-03-13 14:28:15 +01:00
gsm_utils.h Add function to generate random identifier 2017-10-09 10:18:07 +00:00
gsup.h GSUP: change osmo_gsup_encode() return type 2018-02-05 13:03:42 +01:00
ipa.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
kasumi.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
l1sap.h l1sap: Add fields for higher-precision timing offset values 2018-02-27 17:30:08 +01:00
lapd_core.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
lapdm.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
meas_rep.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
mncc.h MNCC: Add MNCC to string dumper 2018-01-19 23:52:42 +01:00
oap.h Fix/Update copyright notices; Add SPDX annotation 2017-11-13 01:35:12 +09:00
prim.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
rsl.h [doc] Rename "RSL" to "A-bis RSL" in documentation. 2017-10-16 15:32:06 +02:00
rxlev_stat.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
sysinfo.h extend osmo_sysinfo_type with missing SYSINFO_TYPE 2017-07-15 22:49:19 +02:00
tlv.h tlv_put: guard against NULL val and 0 len 2017-11-20 17:22:42 +01:00