mirror of https://gerrit.osmocom.org/libosmocore
11a4d9dd91
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 |
||
---|---|---|
.. | ||
protocol | ||
a5.h | ||
abis_nm.h | ||
apn.h | ||
bitvec_gsm.h | ||
bts_features.h | ||
comp128.h | ||
comp128v23.h | ||
gan.h | ||
gea.h | ||
gsm48.h | ||
gsm48_ie.h | ||
gsm0341.h | ||
gsm0411_smc.h | ||
gsm0411_smr.h | ||
gsm0411_utils.h | ||
gsm0480.h | ||
gsm0502.h | ||
gsm0808.h | ||
gsm0808_utils.h | ||
gsm23003.h | ||
gsm_utils.h | ||
gsup.h | ||
ipa.h | ||
kasumi.h | ||
l1sap.h | ||
lapd_core.h | ||
lapdm.h | ||
meas_rep.h | ||
mncc.h | ||
oap.h | ||
prim.h | ||
rsl.h | ||
rxlev_stat.h | ||
sysinfo.h | ||
tlv.h |