osmo-pcu/tests
Vadim Yanitskiy cb98894eb1 TLLI 0x00000000 is a valid TLLI, use 0xffffffff instead
The assumption that TLLI 0x00000000 is invalid and can be used
as the initializer is wrong.  Similar to TMSI, 0x00000000 is a
perfectly valid value, while 0xffffffff is reserved - use it.

According to 3GPP TS 23.003, section 2.4, a TMSI/P-TMSI with
all 32 bits equal to 1 is special and shall not be allocated by
the network.  The reason is that it must be stored on the SIM,
where 'ff'O represents the erased state.  According to section
2.6 of the same document, a local/foreign TLLI is derived from
P-TMSI, so the same rule applies to TLLI.

I manually checked and corrected all occurances of 'tlli' in the
code.  The test expectations have been adjusted with this command:

  $ find tests/ -name "*.err" | xargs sed -i "s/0x00000000/0xffffffff/g"

so there should be no behavior change.  The only exception is
the 'TypesTest', where TLLI 0xffffffff is being encoded and
expected in the hexdump, so I regenerated the test output.

Change-Id: Ie89fab75ecc1d8b5e238d3ff214ea7ac830b68b5
Related: OS#4844
2020-11-10 17:06:39 +00:00
..
alloc TLLI 0x00000000 is a valid TLLI, use 0xffffffff instead 2020-11-10 17:06:39 +00:00
app_info TLLI 0x00000000 is a valid TLLI, use 0xffffffff instead 2020-11-10 17:06:39 +00:00
bitcomp decompress_crbb: add length argument for search_runlen 2019-06-24 13:51:06 +00:00
codel Use clock_gettime(CLOCK_MONOTONIC) and timespec everywhere 2020-03-16 10:31:56 +00:00
edge Get rid of bts->egprs_enabled 2020-11-04 21:39:43 +01:00
emu pcuif: Improve BTS-supported CS/MCS handling 2020-11-04 21:39:42 +01:00
fn use osmo_init_logging2() with proper talloc ctx 2018-04-01 16:57:42 +02:00
llc Use clock_gettime(CLOCK_MONOTONIC) and timespec everywhere 2020-03-16 10:31:56 +00:00
llist llist: Add missing const qualifier in llist cast method 2015-08-24 12:23:50 +02:00
ms TLLI 0x00000000 is a valid TLLI, use 0xffffffff instead 2020-11-10 17:06:39 +00:00
rlcmac gsm_rlcmac: use consistent naming for [Extended] Packet Timing Advance 2020-08-24 10:53:08 +00:00
tbf TLLI 0x00000000 is a valid TLLI, use 0xffffffff instead 2020-11-10 17:06:39 +00:00
types TLLI 0x00000000 is a valid TLLI, use 0xffffffff instead 2020-11-10 17:06:39 +00:00
Makefile.am tests/rlcmac: additionally match debug output of the CSN.1 codec 2020-02-17 02:30:58 +07:00
testsuite.at tests/rlcmac: additionally match debug output of the CSN.1 codec 2020-02-17 02:30:58 +07:00