srsLTE/srsue/test/ttcn3
Andre Puschmann a7911f0dab pdcp,rlc: refactor SDU queueing policy
this patch refactors the SDU queuing and dropping policy of the RLC and PDCP layer.
the previous design had issues when packets have been generated at a higher
rate above the PDCP than they could be consumed below the RLC.

When the RLC SDU queues were full, we allowed two policies, one to block on the write
and the other to drop the SDU. Both options are not ideal because they either
lead to a blocking stack thread or to lost PDCP PDUs.

To avoid this, this patch makes the following changes:

* PDCP monitors RLC's SDU queue and drops packets on its north-bound SAP if queues are full
  * a new method sdu_queue_is_full() has been added to the RLC interface for PDCP
* remove blocking write from pdcp and rlc write_sdu() interface
  * all writes into queues need to be non-blocking
  * if Tx queues are overflowing, SDUs are dropped above PDCP, not RLC
* log warning if RLC still needs to drop SDUs
  * this case should be avoided with the monitoring mechanism
2020-07-13 17:05:28 +02:00
..
hdr pdcp,rlc: refactor SDU queueing policy 2020-07-13 17:05:28 +02:00
src pdcp,rlc: refactor SDU queueing policy 2020-07-13 17:05:28 +02:00
test ss: use factory method to create PDCP config for SRB 2020-04-03 22:22:04 +02:00
CMakeLists.txt Updated copyright 2020-03-16 11:26:06 +01:00
README.md add initial TTCN3 code 2019-09-17 21:56:47 +02:00

README.md

srsUE conformance testing

This folder includes an srsUE extension that allows to test the upper-layer protocol stack against the UE conformance tests specified by 3GPP/ETSI in TS 36.523 [1].

The tester itself is built with Eclipse Titan [2] using the 3GPP EUTRA (LTE/EPC) UE Test Suites [3]. It is, however, not part of the srsLTE repository.

The extensions present in this folder add a basic system simulator (SS) that talks over an ideal PHY to the fully unmodified UE upper-layer stack. It SS itself interfaces over multiple TCP/IP sockets to the TTCN3 tester, i.e., implements (a subset of) the interfaces specified in [1].

Resources

[1] https://www.etsi.org/deliver/etsi_ts/136500_136599/13652301

[2] https://projects.eclipse.org/projects/tools.titan

[3] http://www.ttcn-3.org/index.php/downloads/publicts/publicts-3gpp