Commit Graph

10190 Commits

Author SHA1 Message Date
Robert Falkenberg 5bb6cdec1e lib,rlc_am_nr: use std:vector for nacks in rlc_am_nr_status_pdu_t
- Also create tx_status a member to avoid frequent allocations
for each created PDU.

- Remove unused member nack_range from rlc_am_nr_status_pdu_t.
2022-03-16 10:57:28 +01:00
Robert Falkenberg 0cf052e31d lib,rlc_am_nr: replace hard-coded WINDOWS_SIZE 2022-03-16 10:57:28 +01:00
Robert Falkenberg 80e23624f8 lib,rlc_am_nr: extract function am_window_size() 2022-03-16 10:57:28 +01:00
Robert Falkenberg 717132e0c3 lib,rlc_am_nr: fix access of unconfigured entity 2022-03-16 10:57:28 +01:00
Robert Falkenberg 47c1845cdc lib,rlc_am_nr: add pdu_retx_queue_base, rlc_ringbuffer_base as interfaces
that are independent from templated capacity.
2022-03-16 10:57:28 +01:00
Robert Falkenberg 11ac8c2529 lib,rlc_am_nr: add support for 18-bit SNs
and first bunch of corresponding unit tests
2022-03-16 10:57:28 +01:00
Robert Falkenberg 21cb5858f0 cmake: fix warning when searching for SKIQ
Replace INCLUDE(FindPkgConfig) by FIND_PACKAGE(PkgConfig REQUIRED)
to avoid following warning:

warning: The package name passed to `find_package_handle_standard_args` (PkgConfig) does not match the name of the calling package (SKIQ).  This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern.
2022-03-14 17:13:45 +01:00
Xavier Arteaga f57cf0b195 PHY: Initial PUCCH default resource selection (hard-coded row index 11) 2022-03-14 16:35:12 +01:00
Xavier Arteaga 99d2cd068f PHY: Initial PUCCH Format 1 frequency hopping 2022-03-14 16:35:12 +01:00
Pedro Alvarez bb9eaf4390 gnb,ngap: Added some comments to ngap.cc to make it easier to navigate
the file. Re-ordered NGAP UE procedures have the same order as in the
standard.
2022-03-14 15:24:03 +00:00
Robert Falkenberg 50ac1c6c0a cmake: flag install() of compiled targets as OPTIONAL
This enables `make install` for partial builds of selected targets,
which otherwise fails because the omitted targets are not present.
2022-03-09 11:28:12 +01:00
Robert Falkenberg b6d93577a0 rlc, nr: replace so_end by segment_length 2022-03-09 08:28:46 +01:00
Robert Falkenberg bb7339910f rlc: separate types of rlc_amd_retx_t for LTE and NR 2022-03-09 08:28:46 +01:00
Robert Falkenberg 4886dc8340 rlc, nr: NACK's so_end shall point to last missing byte
and not to first byte received again.
2022-03-09 08:28:46 +01:00
Pedro Alvarez 031b91a180 ue,nas5g: fix using wrong serving network name in authentication request 2022-03-07 17:14:42 +00:00
Joaquim Broquetas 520128162e
Add CFR to srsue LTE UL (#3865)
lte,phy: Add CFR to srsue LTE UL

This commit adds the configuration steps needed to enable
and configure the CFR module for the srsue's uplink signal.
Parsing of the CFR manual threshold has been streamlined.
2022-03-07 17:05:33 +01:00
Robert Falkenberg 7410182c64 srsran_rf: fix warning of mismatching expressions in if() and endif() 2022-03-07 08:53:02 +01:00
Robert Falkenberg f7eb2a237b cmake,MKL: add default library search paths
- /opt/intel/oneapi/mkl/latest (intel-oneapi-mkl 2022.0.2)
- /opt/intel/mkl (intel-mkl 2020.4.304 on Archlinux)
2022-03-07 08:52:41 +01:00
Robert Falkenberg 7f6ca43e68 cmake,MKL: fix cmake warning: (mkl) does not match the name of the calling package (MKL) 2022-03-07 08:52:41 +01:00
Robert Falkenberg 3daa43e732 srsran_rf: also build shared library when built without plugins 2022-03-04 14:02:42 +01:00
Robert Falkenberg e4d012388b phy,ctest: change anchor of relative paths used for test inputs
Use ${CMAKE_CURRENT_SOURCE_DIR} instead of ${CMAKE_HOME_DIRECTORY}
as anchor when specifying input files of tests.
Otherwise input files won't be found, when this project (srsRAN)
is not the root CMake project.
2022-03-03 12:52:42 +01:00
Robert Falkenberg 60c3d79f47 rlc, nr: complete packing of status PDUs with 18bit SNs 2022-03-01 20:44:39 +01:00
Robert Falkenberg f7515e98cf rlc, nr: add pack/unpack of nack_range in status PDUs 2022-03-01 15:31:35 +01:00
Robert Falkenberg b55f8ea624 rlc, nr: cosmetic changes 2022-02-28 16:37:44 +01:00
Robert Falkenberg 0fb6420e8b rlc, nr: avoid multi increments of SDU's retx_count within one status message 2022-02-28 16:37:44 +01:00
Robert Falkenberg 511ad9ed25 rlc, nr: Increment retx_count for segments 2022-02-28 16:37:44 +01:00
Robert Falkenberg 034aa6a6d4 rlc, nr: inform upper layer when max retransmissions is exceeded 2022-02-28 16:37:44 +01:00
Pedro Alvarez 0c0642c289 lib,rlc_stress_test: changed global pcap handler from .h to .cc. Deleted
unecessary #define
2022-02-25 11:09:18 +00:00
Pedro Alvarez 7bcec48e19 lib,rlc_stress_test: fixed issue in making log_hex_limit configurable. 2022-02-25 11:09:18 +00:00
Pedro Alvarez 431ccb2754 lib,rlc_am_nr: Cleaned up rlc_stress test. Split test into .cc and .h 2022-02-25 11:09:18 +00:00
Pedro Alvarez 35146bcb71 lib,rlc_am_nr: fix shadowed variable in RLC RETXes 2022-02-23 17:01:48 +00:00
Robert Falkenberg c75b8d1708 rlc, nr: increment sequence numbers using modulus 'mod_nr' 2022-02-23 13:28:57 +01:00
Robert Falkenberg 8f6e3996d3 rlc, nr: add discard_test for AM 2022-02-23 11:18:31 +01:00
Robert Falkenberg 42a8e957d4 rlc, nr: fix rlc_am_nr_tx::has_data() 2022-02-23 11:18:31 +01:00
Robert Falkenberg 95ebc06ec1 rlc: implement SDU discard for AM+UM in NR+LTE
- Implemented in common base classes
- Added locking
2022-02-23 11:18:31 +01:00
Robert Falkenberg 9b44d13471 rlc, nr: notify PDCP about fully acked SDUs 2022-02-23 10:57:21 +01:00
Pedro Alvarez e6d976d115 lib,rlc_am_nr: fixed stack smashing bug that happened when too many NACKs were present in the status report 2022-02-22 21:14:15 +00:00
Pedro Alvarez ddbd857867 lib,rlc_am_nr: make sure that the RB name is logged when logging the header and status PDUs in NR 2022-02-22 21:14:15 +00:00
Pedro Alvarez b399724717 lib,rlc_am_nr: fix wrong if checking if the grant was too small to generate a segment 2022-02-22 21:14:15 +00:00
Robert Falkenberg d2d76b7d97 srsran_rf, ASAN: Enforce RPATH instead of RUNPATH to find RF plugins in build tree when built with ASAN. 2022-02-22 14:40:22 +01:00
Robert Falkenberg e086479a7b srsran_rf: fix build without any active RF plugin 2022-02-22 14:29:27 +01:00
Robert Falkenberg 2dca581741 srsran_rf: only build each plugin when found AND enabled
Since [PLUGINNAME]_FOUND are cached variables, some plugins
were always built if they were found once, regardless if
the current value of ENABLE_[PLUGINNAME]
2022-02-22 14:29:27 +01:00
Carlo Galiotto f73286727e sched-nr: simplfy code for MCS with SRB0/CCCH
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-02-18 19:20:49 +01:00
Carlo Galiotto c935484102 sched-nr: fix scheduler to pass nr tests
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-02-18 19:20:49 +01:00
Carlo Galiotto 2b3158536a sched-nr: fix sched not allocating CCCH at low MCS
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-02-18 19:20:49 +01:00
Carlo Galiotto 65dae777b1 sched-nr: add option for predefined fixed DL MCS
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-02-18 19:20:49 +01:00
Carlo Galiotto c2d4dedafc sched: plug dyn CQI->MCS mapping into scheduler
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2022-02-18 19:20:49 +01:00
Robert Falkenberg 2570c2ce77 srsran_rf: cosmetic changes 2022-02-18 15:11:23 +01:00
Robert Falkenberg 3a73d84294 srsran_rf: support dynamic loading of RF plugins
This adds flexible plugin-like loading of the individual RF
implementations (zmq, uhd, soapy,...) as per availability at runtime.
Unlike before, the binary application is not terminated if the
dependencies of individual RF interfaces are not installed on the
executing system.  To do this, the plugins are not linked by the linker
at compile time, but opened at runtime via dlopen() and dropped in case
of failure due to missing dependencies.
2022-02-18 15:11:23 +01:00
Andre Puschmann acecb1c303 emergency_handlers: increase max handlers to 256
in the ttcn3_dut application many "virtuaL" UE instances are created and
destroyed when executing the tests.

With the previous limit of 12 handlers the application stopped after
a few tests. With the limit raised to 256 we should be able to run
all white_listed TTCN3 tests for the UE without problems.

This fixes #3886
2022-02-18 13:06:00 +01:00