Commit Graph

10521 Commits

Author SHA1 Message Date
Robert Falkenberg 7b77558fd4 lib,rlc_um_nr: add log message if tx_sdu_queue has no non-null SDU 2022-05-12 22:25:11 +01:00
Pedro Alvarez 6a40fd8411 lib,pdcp_nr: disabe discard timer with RLC UM 2022-05-12 22:25:11 +01:00
Pedro Alvarez 92a6d8ec66 lib,rlc_um_nr: fix issue with discard in RLC UM NR 2022-05-12 22:25:11 +01:00
Pedro Alvarez 68b6facac8 lib,pdcp_nr: log RLC mode in PDCP configuration 2022-05-12 22:25:11 +01:00
Robert Falkenberg 9687af7660 add missing include for build with GCC 12
Related info: https://gcc.gnu.org/gcc-12/porting_to.html
2022-05-12 15:00:58 +02:00
Pedro Alvarez a72279dcbd Addressed review comments:
1 - enb,cfg: fix typo
2 - enb,config: added back deleted config option
3 - ue,rrc_nr: fix wrong log level in log message
4 - enb,config: remove unused parameter
2022-05-11 18:19:29 +01:00
Pedro Alvarez 97b32f2fb6 rrc_nr,utils: fix generation of RLC configs from ASN.1 structs created from cfg parser. 2022-05-11 18:19:29 +01:00
Pedro Alvarez 42011401ff gnb,config: remove SN length for 4G SRB configs 2022-05-11 18:19:29 +01:00
Pedro Alvarez b446fa87b0 gnb,config: enable changing the SN length of SRBs 2022-05-11 18:19:29 +01:00
Pedro Alvarez f79b3e9435 gnb,rrc: fix SRB config generation when configuration is present in rb.conf 2022-05-11 18:19:29 +01:00
Pedro Alvarez c737f75abb gnb,config: enable SRB config parser for SA 2022-05-11 18:19:29 +01:00
Pedro Alvarez ece3c69d45 gnb,rrc: make it possible to use default configs when SRB configs are not present. 2022-05-11 18:19:29 +01:00
Pedro Alvarez 3ae6aae230 gnb,rrc: starting to read srb configuration from config 2022-05-11 18:19:29 +01:00
Pedro Alvarez 36354ef6ff srsgnb,cfg_parser: adding parsing for SA SRB configs 2022-05-11 18:19:29 +01:00
Pedro Alvarez d2b27a6f7d srsgnb: added example SA srb config 2022-05-11 18:19:29 +01:00
Robert Falkenberg c5d5d45574 cmake: fix build for cmake option BUILD_SHARED_LIBS=ON
The cmake option BUILD_SHARED_LIBS (off by default) causes all
libraries to be built as shared libraries if not unless explicitly
stated otherwise.
Since test-helper libraries do not export their symbols, linking
fails if built as shared library.
Therefore, this change explicitly configures these helpers as STATIC.
2022-05-11 13:45:07 +02:00
Pedro Alvarez 3620308940 lib,pdcp_nr: added options to select re-ordering timer 2022-05-11 12:10:54 +01:00
Pedro Alvarez 1fecae9b5a lib,pdcp_nr: added ifdef to select pdcp_entity_nr 2022-05-11 10:15:58 +01:00
Robert Falkenberg ebbecbe27c lib,rlc_am_nr: cosmetic change -- clang format 2022-05-10 14:02:39 +02:00
Robert Falkenberg 9a34d4d81b lib,rlc_am_nr: unit tests for NACK merging 2022-05-10 14:02:39 +02:00
Robert Falkenberg ecc995bd4b lib,rlc_am_nr: merge NACKs across SN overflows 2022-05-10 14:02:39 +02:00
Robert Falkenberg e9156d4ba2 lib,rlc_am_nr: status PDU creation supports NACK range 2022-05-10 14:02:39 +02:00
Pedro Alvarez 283199d54f lib,rlc_am_nr: added unit test for nack ranges without SO 2022-05-09 14:03:25 +01:00
Pedro Alvarez e01bbb8f79 lib,rlc_am_nr: support also NACK ranges without SO_start/end. Fix for NACK ranges of sizee == 1 2022-05-09 14:03:25 +01:00
Pedro Alvarez 6d8357bee9 lib,rlc_am_nr: deleted error log for unhandled NACK ranges 2022-05-09 14:03:25 +01:00
Pedro Alvarez de67d88ca9 lib,rlc_am_nr: fix buffer state checker in rx status report with ranges test 2022-05-09 14:03:25 +01:00
Pedro Alvarez c386d89577 lib,rlc_am_nr: fix nack ranges with so 2022-05-09 14:03:25 +01:00
Pedro Alvarez 855ab8f7fd lib,rlc_am_nr: added unit test to nack ranges 2022-05-09 14:03:25 +01:00
Pedro Alvarez 444783e2f2 lib,rlc_am_nr: added handling of nack ranges at RX 2022-05-09 14:03:25 +01:00
Codebot f2dff0b7a0 Merge branch 'next' into agpl_next 2022-05-04 16:21:18 +00:00
Andre Puschmann 31665aa4ec enb,cfg_parser: remove strict arfcn check for SA and replace with list of supported configs
the coreset0 index and various related parameters in the scheduler might lead
to unsupported and/or overlapping resource allocation patterns.

this patch adds a table of supported arfcns for three popular bands (all FDD).
2022-05-04 18:18:53 +02:00
Pedro Alvarez ae05ec95b9 enb,config: revert print to console. When a full section was missing the print did not look good. 2022-05-02 20:39:10 +02:00
Pedro Alvarez 407c44617c lib,rlc_am_nr: fix typo 2022-05-02 20:39:10 +02:00
Andre Puschmann 02ba06d8cf gnb,ngap: reduce loglevel for unhandled NGAP message
avoid test failure with core sending

2022-04-29T13:44:00.579989 [NGAP   ] [I] Rx - PDUSessionResourceReleaseCommand (53 B)
    0000: 00 1c 00 31 00 00 04 00 0a 00 02 00 01 00 55 00
    0010: 02 00 01 00 26 40 15 14 7e 02 31 3f 3a c9 04 7e
2022-04-29T13:44:00.579990 [NGAP   ] [E] Unhandled initiating message: PDUSessionResourceReleaseCommand
2022-04-29 15:58:49 +02:00
Pedro Alvarez 840aac7fda lic,rlc_am_nr: removed stop_no_lock(), it is not necessasry 2022-04-29 09:54:49 +01:00
Pedro Alvarez ea532cbf41 lib,rlc_am_nr: added stop() method to RX entity 2022-04-29 09:54:49 +01:00
Pedro Alvarez 2f8fd7a483 lib,rlc_am_nr: add stop() method to TX entity 2022-04-29 09:54:49 +01:00
Codebot 4d2b5b8eda Adding AGPL copyright to new files 2022-04-29 07:28:44 +00:00
Codebot 9211ad7d51 Merge branch 'next' into agpl_next 2022-04-29 07:28:41 +00:00
Ismael Gomez ec4914be19 remove comment 2022-04-28 17:08:02 +02:00
Andre Puschmann dddc07b847 enb: add checker for unsupported/untested configs 2022-04-28 15:56:29 +02:00
Robert Falkenberg 828c7ec02d lib,rlc_am_nr: Change log level for already acked (removed) RETX. 2022-04-28 14:55:44 +01:00
Andre Puschmann 941a032ea1 ue,proc_ra: fix state to str converter
this array wasn't updated after the state enum has been updated
2022-04-28 15:42:08 +02:00
Andre Puschmann 70eaec21e2 all: fix uninitialized variables detected by coverity 2022-04-28 15:42:08 +02:00
Pedro Alvarez 3714548391 lib,rlc_am_nr: re-enable rlc am nr stress tests 2022-04-27 21:33:33 +01:00
Pedro Alvarez e023cecd28 lib,rlc_am_nr: lower log level of unsupported NACK ranges from warning to error 2022-04-27 21:30:13 +01:00
Pedro Alvarez 5992303aca lib,rlc_am_nr: make sure we react to polling bit, even if SDU/SDU
segment is a duplicate/overlapping.
2022-04-27 16:27:52 +01:00
Pedro Alvarez 68cc16ad68 lib,rlc_am_nr: fix assert triggered by receiving duplicate segments 2022-04-27 16:27:52 +01:00
yagoda de8b7d6c48 mac,phy: fixing pdcch order bug, do not process PDSCH if grant is pdcch order 2022-04-27 15:46:24 +02:00
yagoda 5181d07c8a mac: fixing pdcch order bug, dont send if rnti is not in ue_db 2022-04-27 15:46:24 +02:00