libosmocore/include/osmocom/gsm/protocol
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
..
gsm_03_40.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
gsm_03_41.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
gsm_04_08.h Add helper functions for ACC bit flags in rach control IE. 2018-02-13 15:11:20 +01:00
gsm_04_08_gprs.h gsm_04_08/sgsn: Add another IE for internal usage in the sgsn 2017-07-09 12:46:08 +02:00
gsm_04_11.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
gsm_04_12.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
gsm_04_14.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
gsm_04_80.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
gsm_08_08.h support for more cell ID list types in libosmocore 2018-03-13 14:28:15 +01:00
gsm_08_58.h LC15: Add IPAC Directed Retry Enquiry data structure 2017-07-14 16:04:59 +02:00
gsm_09_02.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
gsm_12_21.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
gsm_23_003.h add osmo_imsi_str_valid() and osmo_msisdn_str_valid() 2017-10-05 19:44:28 +02:00
gsm_44_318.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
ipaccess.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
smpp34_osmocom.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00