osmo-pcu/tests
Pau Espin 8abe13cf75 Rework tbf::update_ms()
That function was pretty confusing since it used a "enum
gprs_rlcmac_tbf_direction dir" param (whose type is expected to describe
the data direction of a TBF) to describe the direction of the the packet
which triggered its call.
The parameter was actually always called with "GPRS_RLCMAC_UL_TBF" which
in this case meant "uplink direction" which meant "TLLI was updated from
the MS, not the SGSN".
The DL direction was only used in unit tests, which can hence be simply
replaced by ms_confirm_tlli(), which this commit does.
So this update_ms() function was actually used in practice in osmo-pcu
to trigger update of TLLI and find duplicates only when an RLCMAC block
(control or data) was received from the MS. Therefore, this function is
renamed in this patch and moved to the gprs_ms class, since it really
does nothing with the TBF.

Related: OS#5700
Change-Id: I1b7c0fde15b9bb8a973068994dbe972285ad0aff
2022-10-31 22:07:31 +01:00
..
alloc Rework tbf::update_ms() 2022-10-31 22:07:31 +01:00
app_info Rename tbf_alloc_dl_tbf() -> dl_tbf_alloc() 2022-10-27 13:53:03 +02:00
bitcomp tests: Replace deprecated API log_set_print_filename 2021-02-19 16:24:11 +01:00
codel tests: Replace deprecated API log_set_print_filename 2021-02-19 16:24:11 +01:00
edge llc: Convert to C 2022-03-31 19:42:15 +02:00
emu Use ALPHA value received in SI13 from PCUIF 2021-02-22 12:29:12 +00:00
fn tests: Replace deprecated API log_set_print_filename 2021-02-19 16:24:11 +01:00
llc tests/llc: Add test_llc_codel 2022-04-05 11:16:17 +00:00
llist llist: Add missing const qualifier in llist cast method 2015-08-24 12:23:50 +02:00
ms Call ms_store->get_ms() with GSM_RESERVED_TMSI instead of 0 2022-10-21 14:31:05 +02:00
rlcmac tests/rlcmac: use ARRAY_SIZE macro 2022-08-06 02:51:46 +07:00
tbf Rework tbf::update_ms() 2022-10-31 22:07:31 +01:00
types Rename tbf_alloc_ul_tbf -> ul_tbf_alloc 2022-10-31 22:07:31 +01:00
ulc Rename tbf_alloc_dl_tbf() -> dl_tbf_alloc() 2022-10-27 13:53:03 +02:00
Makefile.am {src,tests}/Makefile.am: $(COMMON_LA) is not definied 2022-08-09 16:05:35 +00:00
testsuite.at tests: Introduce unit tests for PDCH UL Controller 2021-03-15 19:35:43 +01:00