libosmocore/include/osmocom
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
..
codec libosmocodec: implement ECU (Error Concealment Unit) for FR 2018-01-15 20:12:03 +00:00
coding coding: Add BER-reporting RACH decode functions 2018-02-26 12:26:38 +01:00
core timer: Introduce osmo_clock_gettime to override clock_gettime 2018-03-01 12:33:02 +00:00
crypt add osmo_auth_c3() (separate from gsm_milenage()) 2017-12-18 23:05:24 +00:00
ctrl ports.h: Add VTY and CTRL ports for osmo-trx 2018-02-22 08:03:06 +00:00
gprs Add function to properly encode RAI 2018-01-08 13:02:07 +00:00
gsm support for more cell ID list types in libosmocore 2018-03-13 14:28:15 +01:00
sim doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
vty ports.h: Add VTY and CTRL ports for osmo-trx 2018-02-22 08:03:06 +00:00