srsLTE/srsue/test/ttcn3/hdr
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
..
dut_utils.h
lte_ttcn3_phy.h
ttcn3_common.h
ttcn3_drb_interface.h ttcn3_drb_interface: remove use of GetArray() 2020-06-23 12:12:58 +02:00
ttcn3_helpers.h Send the RRC_PDU_IND as JSON 2020-06-29 13:45:42 +02:00
ttcn3_interfaces.h Implement DRB establishment and handle rx/tx 2020-06-23 12:12:58 +02:00
ttcn3_ip_ctrl_interface.h
ttcn3_ip_sock_interface.h
ttcn3_port_handler.h
ttcn3_srb_interface.h ttcn3: streamline DRB and SRB Tx interface 2020-06-29 13:45:42 +02:00
ttcn3_sys_interface.h Implement DRB establishment and handle rx/tx 2020-06-23 12:12:58 +02:00
ttcn3_syssim.h pdcp,rlc: refactor SDU queueing policy 2020-07-13 17:05:28 +02:00
ttcn3_ue.h Use callback to establish connection before sending PDUs in TestmodeB 2020-06-23 12:12:58 +02:00
ttcn3_ut_interface.h