Francisco
3e9f93eb8a
refactor - remove old log_filter and logmap libraries from the codebase
2021-03-11 20:10:54 +00:00
Francisco
7dcb703d06
adt lib,bugfix - fix bounded_bitset resize to clear bits outside of mask correctly
2021-03-11 15:18:16 +00:00
faluco
173dcdd421
- Import latest srslog version.
...
- Remove string allocs in some log lines in radio.cc.
Add new tracing buffer capcity options into srsenb and srsue.
Add missing file.
2021-03-10 16:27:33 +01:00
Andre Puschmann
20cbc48f90
rlc_am_lte: refactor PDCP/RLC interface to use fix sized data structure
...
this patch replaces the std::vector type used in the interface between
PDCP and RLC to signal delivery status between both layers. The new
data type is a configurable but fixed-size vector.
The RLC AM doesn't need to dynamically allocate the vector for every SN but
uses the tx_window for storage.
2021-03-09 21:56:33 +01:00
Francisco
20e341d0a1
mac,bugfix - fixed formatting of MAC and scheduler user-defined types
2021-03-09 16:23:08 +00:00
Francisco
5a1bf28fe1
optimization - minimization of number of std::string allocations for logging
2021-03-09 16:23:08 +00:00
Francisco
1ffc4cef86
rlc am,optimization - change helper log methods to avoid mallocs
2021-03-09 16:23:08 +00:00
Francisco
d77b6e1d9c
sched,optimization,refactor - use of custom formatter that avoids mallocs for getting bitmasks strings in hex and binary formats
2021-03-09 16:23:08 +00:00
Francisco
f0ed1e06a8
documentation,bugfix - added documentation to new blocking queues, changed class names, and removed blocking pushes from the critical path
2021-03-08 14:49:14 +01:00
Francisco
d1236fd62f
stack,optimization - replaced previous block_queue design for new bounded queue in several places in the enb
2021-03-08 14:49:14 +01:00
Francisco
0ba93d274f
converted byte_buffer_queue to use new circular buffer-based queue to avoid mallocs
2021-03-08 14:49:14 +01:00
Francisco
822e26b63f
implemented circular buffer-based queue
2021-03-08 14:49:14 +01:00
Andre Puschmann
83f24fbf77
rlc_am_test: fix max_retx test
...
the test should only check the correct signaling of the maxretx
to the upper layer.
2021-03-06 20:55:08 +01:00
Andre Puschmann
9f627911df
rlc_am_{control}_test: extend status PDU test
2021-03-05 19:46:00 +01:00
Andre Puschmann
fa23be4d6d
rlc_stress_test: fix SDU generation
...
the PDCP SN was used to fill the SDU with data. But since
the max value isn't devisable by 256 it didn't always increment
correctly. Use a normal byte now that wraps correctly.
2021-03-05 19:46:00 +01:00
Andre Puschmann
5e345df439
rlc_stress_test: make pedantic operation the default
...
among cleaning up the the stress test, it does:
* remove optional pedantic flag and make it the default to catch resegmentation issues
* use random SDU and MAC grant size the default
* use factory functions to create RLC configs (make maxretx configurable)
* remove reestablishment and print error when maxRetx is triggered
* fix NR PCAP usage and removes PCAP ifdef
2021-03-05 15:47:30 +01:00
Andre Puschmann
1a59f2d5ba
rlc_am_test: extend header reconstruction test
...
this patch adds various new test cases generated from
rlc_stress_test to test header reconstruction.
2021-03-05 15:47:30 +01:00
Pedro Alvarez
7b23a83306
Fixup tests to consider wrap-around in status report
2021-03-04 11:22:53 +01:00
Pedro Alvarez
c4e9516561
Fix issue when LMS wraps-around and FMS doesn't in PDCP status report. Fix incorrect update of FMS on clear_sdu. Adding unit test to LMS wrap-around.
2021-03-04 11:22:53 +01:00
David Rupprecht
894e4d3501
Added mac pcap network class that dumps the packets to a udp network sink
2021-03-03 09:50:15 +01:00
David Rupprecht
5a95cbdfae
Disable rat assignment in pcap class
2021-03-03 09:50:15 +01:00
Xavier Arteaga
1e55d68b55
Removed set RNTI from API
2021-03-01 15:30:33 +01:00
Pedro Alvarez
4011714664
Fix errors in RLC stress tests due to PDCP SN wrap-around
2021-03-01 10:20:17 +00:00
Francisco
4b09507c19
remove srslte.h includes from upper layers
2021-02-26 16:44:57 +01:00
Francisco
b329e25bbb
move ue phy interfaces to separate interfaces header file
2021-02-26 16:44:57 +01:00
Francisco
b8bd869d0f
move ue rlc interfaces to separate interfaces header file
2021-02-26 16:44:57 +01:00
Francisco
a988351f46
move ue pdcp interfaces to separate interfaces header file
2021-02-26 16:44:57 +01:00
Francisco
ea04104e8e
move ue gw interfaces to separate interfaces header file
2021-02-26 16:44:57 +01:00
Francisco
f610a7b83d
Change background worker pool to become a global variable
...
Allocate rrc::ue objects in batches in the background worker pool
2021-02-25 15:56:40 +01:00
Andre Puschmann
c0a1b0efa3
rlc_am_test: add TC to check RLC AM drops PDU if max retx have been reached
2021-02-24 21:57:56 +01:00
David Rupprecht
fc9d5befda
Remove header test case
2021-02-24 20:23:54 +01:00
Andre Puschmann
5e93a6f5bd
rlc_um_nr_pdu_test: add 12bit SN unpack test
2021-02-24 20:23:54 +01:00
David Rupprecht
0f1586dd2d
Deleted all HAVE_5GNR in CC and h files
...
CMakeList and travis yaml
2021-02-22 21:16:04 +01:00
Pedro Alvarez
d8f3878ce1
RLC failure to deliver notifications and discard timer limits to 1500ms ( #2368 )
...
* Added interfaces for the RLC to notify the PDCP of failure to transmit
SDU
* Limit discard timer to 1500ms, to avoid issues of lingering SDUs in the undeliverd_sdus_queue.
* Fix bug in early exit of notify_delivery and notify_failure
* fix compilation issue in rlc-pdcp notification
Co-authored-by: Francisco <francisco.paisana@softwareradiosystems.com>
2021-02-22 10:36:14 +00:00
Pedro Alvarez
24d5b9071c
Fix issue with status report test config
2021-02-19 13:30:48 +00:00
David Rupprecht
876858b44c
Added mac nr prach common config convert function with test case
2021-02-18 14:34:15 +01:00
David Rupprecht
b19cbdde23
Added test case for testing the decoding of cell group config
2021-02-18 14:34:15 +01:00
Xavier Arteaga
784a33583b
SRSUE: Initial NR MAC-PHY interfaces
...
SRSUE Fix compilation
SRSUE: temporary fixes LTE/NR PHY/Stack interface problem
fix
fix
2021-02-17 16:34:00 +01:00
Pedro Alvarez
89a23cec7e
Added statusReportRequired to the PDCP entity config.
2021-02-16 13:21:50 +00:00
Pedro Alvarez
2ed8dceddf
Use TX_COUNT in RLC AM stress test. Avoids issue with re-using SNs within the test
2021-02-15 19:37:49 +00:00
Pedro Alvarez
f89b644902
Added function to get control pdu type to the PDCP base class. Shorten logger name in PDCP Status report test.
2021-02-15 11:44:57 +00:00
Pedro Alvarez
9bc08af880
- Added ability to the PDCP LTE entity to send PDCP Status report.
...
- Added handling of PDCP status report to the PDCP LTE entity.
- Added test to the generation and handling of PDCP status report.
2021-02-15 11:44:57 +00:00
Francisco Paisana
5e48327eca
fix valgrind memcheck warnings in rlc_am_test
2021-02-13 11:04:27 +01:00
Francisco
dc4283c572
added cmake functions as helpers to set labels in ctests
2021-02-12 20:27:31 +01:00
Pedro Alvarez
492ea2a5a8
Addressing reviewers comments to #2290 .
...
Removing unecessary \n for logs and changed log of PDCP info queue
capacity to debug to avoid log spam.
Changed log level for unhandled S1AP messages from error to warning
in EPC to avoid failing tests because of error message.
Changed usage of allocate_unique_buffer to make_unique_buffer()
2021-02-11 15:49:00 +00:00
Pedro Alvarez
fcaaf72187
Starting to add discard functionality to PDCP LTE entity.
...
This includes:
- Adding a queue (implemented with std::map) for undelivered PDUs.
This queue uses the SN used for TX as the key.
- Added discard timer that is started upon reception of the SDU. Upon
expiry of the timeout a discard callback removes undelivered PDUs
from the queue.
- Added the mechanisms to the notify_delivery to remove PDUs from the
undelivered queue when the PDU is ACK'ed.
- Added test case for both timer expiry and acknowledgment.
- Fix up the getter for buffered SDUs to return the undelivered SDUs
- Changed default PDCP discard timer, so AM has a discard timer by
default.
2021-02-11 15:49:00 +00:00
faluco
57f66febfc
Ported the RLC classes to srslog in the lib dir.
2021-02-11 14:37:27 +01:00
faluco
f424f2e113
- Upgraded PDCP classes in lib to use srslog.
...
- Update tests to new changes.
2021-02-11 14:37:27 +01:00
faluco
9d15a44c73
Port lib/phy to srslog ( #2298 )
...
* - Ported the channel class to srslog.
- Removed all newlines of log messages in lib/phy.
* Remove more newlines that use the C debug macros.
2021-02-10 13:46:25 +01:00
Andre Puschmann
01acf95566
mac_rar_pdu_nr: update public interface to make it easier to access
...
* provide all subPDUs as const vector&
* return UL grant directly
2021-02-08 22:15:09 +01:00