libosmocore/tests
Neels Hofmeyr 250e7f7d30 add gsm0808_{enc,dec}_cell_id
Clarify semantics and micro-optimise for the case of single Cell Identifer IEs.
Test in gsm0808_test.c

So far we have gsm0808_enc_cell_id_list2(), but there also exist instances of
single Cell Identifiers (3GPP TS 48.008 3.2.2.17).

It is possible to decode the same using the cell identifier list API, but this
forces the caller to also keep a full struct gsm0808_cell_id_list2 with all its
127 entries around.

E.g. for handover, there are two Cell Identifiers (Serving and Target); I'd
need two full cell id lists for each, and these would be dynamically allocated
for each handover operation, whether it uses them or not.

Related: OS#2283 (inter-BSC HO, BSC side)
Change-Id: I9f9c528965775698ab62ac386af0516192c4b0cc
2018-04-13 05:38:47 +02:00
..
a5 fix compiler warnings for a5 tests 2015-04-07 20:08:38 +02:00
abis use osmo_init_logging2() with proper talloc ctx 2018-04-06 04:37:50 +02:00
auth milenage_test: cosmetic: verify AUTS in comments 2017-03-15 13:46:58 +00:00
bits Add tests for bitvec_write_field() 2017-10-24 08:21:59 +00:00
bitvec Add function to get uninterrupted bit run 2017-01-06 10:37:42 +00: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
comp128 tests: test actual support status for auth. algo 2016-06-29 16:33:40 +00:00
conv Add functions for extended RACH coding 2017-12-11 10:36:47 +00:00
ctrl fix ctrl_test sanitizer issues 2018-04-05 18:23:45 +02:00
endian introduce byteswap.h with osmo_{htonl,ntohl,htons,ntohs} 2017-05-15 13:42:00 +02:00
fr license: Fix the license to GPL 2017-12-09 13:03:29 +00:00
fsm add osmo_fsm_inst_update_id_f() 2018-04-09 17:57:15 +02:00
gb use osmo_init_logging2() with proper talloc ctx 2018-04-06 04:37:50 +02:00
gea Add GEA3 & GEA4 ciphers 2016-07-11 19:15:24 +00:00
gprs use osmo_init_logging2() with proper talloc ctx 2018-04-06 04:37:50 +02:00
gsm0408 gsm0408_test: add test cases for MNC with leading zeros 2018-02-28 19:26:43 +01:00
gsm0808 add gsm0808_{enc,dec}_cell_id 2018-04-13 05:38:47 +02:00
gsm23003 fix osmo_mnc_from_str(): don't try to parse NULL 2018-03-05 04:27:40 +01:00
gsup use osmo_init_logging2() with proper talloc ctx 2018-04-06 04:37:50 +02:00
kasumi kasumi_test.c: fix incomplete check 2017-05-14 20:27:22 +03:00
lapd use osmo_init_logging2() with proper talloc ctx 2018-04-06 04:37:50 +02:00
logging license: Fix the license to GPL 2017-12-09 13:03:29 +00:00
loggingrb license: Fix the license to GPL 2017-12-09 13:03:29 +00:00
msgb use osmo_init_logging2() with proper talloc ctx 2018-04-06 04:37:50 +02:00
msgfile build: resolve compiler warning about implicit delcaration 2014-10-04 11:49:23 +02:00
oap use osmo_init_logging2() with proper talloc ctx 2018-04-06 04:37:50 +02:00
osmo-auc-gen umts aka: add sqn_ms out-param, print SQN.MS in osmo-auc-gen 2017-08-29 12:46:46 +00:00
prbs Add pseudo-random bit sequence generator to libosmcoore 2017-07-10 23:42:02 +02:00
sercomm Embedded: add sercomm stubs 2018-01-21 19:08:05 +00:00
sim sim: Fix compiler warning and by this fixing the test result 2016-03-21 11:29:16 +01:00
sms use osmo_init_logging2() with proper talloc ctx 2018-04-06 04:37:50 +02:00
smscb test: Fix compiler warnings on 64bit systems 2015-11-09 16:46:03 +00:00
socket use osmo_init_logging2() with proper talloc ctx 2018-04-06 04:37:50 +02:00
stats rate_ctr: fix osmo-sgsn DoS: don't return NULL on already used index 2017-12-20 01:29:59 +01:00
strrb Fix/Update copyright notices; Add SPDX annotation 2017-11-13 01:35:12 +09:00
timer timer: Introduce osmo_clock_gettime to override clock_gettime 2018-03-01 12:33:02 +00:00
tlv add tlv_parse2(), capable of multiple instances of the same IE 2018-04-13 05:28:09 +02:00
ussd use osmo_init_logging2() with proper talloc ctx 2018-04-06 04:37:50 +02:00
utils add osmo_quote_str(),osmo_quote_str_buf() and test 2018-04-09 15:56:14 +00:00
vty use osmo_init_logging2() with proper talloc ctx 2018-04-06 04:37:50 +02:00
write_queue wqueue: Reject messges if queue is considered full 2016-12-09 11:37:37 +01:00
Makefile.am timer: Introduce osmo_clock_gettime to override clock_gettime 2018-03-01 12:33:02 +00:00
atlocal.in build: make check: disable sim_test when built with --disable-pcsc 2016-11-16 16:40:44 +00:00
libsercomstub.c Embedded: add sercomm stubs 2018-01-21 19:08:05 +00:00
testsuite.at timer: Introduce osmo_clock_gettime to override clock_gettime 2018-03-01 12:33:02 +00:00