Commit Graph

294 Commits

Author SHA1 Message Date
Codebot 254cc719a9 Merge branch 'next' into agpl_next
# Conflicts:
#	cmake/modules/FindPolarssl.cmake
2022-11-06 22:12:22 +00:00
Andre Puschmann be40336089 all: mark various function args as const& to avoid pass by value 2022-11-04 13:16:44 +01:00
Codebot e1d5f406ef Merge branch 'next' into agpl_next 2022-10-09 21:12:23 +00:00
Pedro Alvarez 2a60562a2e enb,s1ap: adding SCTP configuration to enb.conf 2022-10-06 12:02:21 +01:00
Pedro Alvarez 08d03ee6e2 netutils,s1ap: split setting the SCTP options into different functions.
Added option for SO_REUSE_ADDR. Removed sctp_init_socket function.
2022-10-06 12:02:21 +01:00
Codebot 3defd1bcf6 Merge branch 'next' into agpl_next 2022-09-25 21:12:24 +00:00
Pedro Alvarez 736a536d32 sched: change from srsran::deque to std::deque to avoid memory leak 2022-09-21 09:39:19 +02:00
Codebot ce8a3cae17 Merge branch 'next' into agpl_next 2022-08-04 14:18:08 +00:00
Ismael Gomez b15eefb05f srsenb,nr: fix calculation of allocated bytes on pending UL HARQ preventing UL rate to achieve maximum. 2022-08-02 22:07:47 +02:00
Codebot 234f99de24 Merge branch 'next' into agpl_next 2022-07-31 21:12:25 +00:00
Andre Puschmann a724024c15 gnb,rcc_test: fix coreset0 index for NSA config 2022-07-26 15:27:12 +02:00
Ismael Gomez a6a9274203 srsgnb: derive SSB frequency and ssb_offset based on user provided coreset0 index configuration. Added extra configuration validators 2022-07-26 15:27:12 +02:00
Ismael Gomez fef61554b2 srsgnb,sched: mark as occupied the resources used by SSB before scheduling other PDSCH (eg SIB1). Prevents overlapping SIB1 PDSCH with SSB 2022-07-26 15:27:12 +02:00
Codebot ce67ab1f9f Merge branch 'next' into agpl_next 2022-06-26 21:12:23 +00:00
Andre Puschmann f6033264f9 gnb,mac_nr: ignore SE_PHR CE received from UE
we are not handling the periodic SE_PHR yet.
2022-06-23 11:36:31 +02:00
Codebot 6a3b9257e3 Merge branch 'next' into agpl_next 2022-06-05 21:12:59 +00:00
Andre Puschmann 5cc311db64 ngap_test: fix uninitialized NSSAI
detected by Valgrind
2022-05-31 08:49:44 +02:00
Codebot c00f44037c Merge branch 'next' into agpl_next 2022-05-29 21:12:21 +00:00
Andre Puschmann 573dc34b73 gnb,rrc_nr_test: fix uninit memory 2022-05-23 15:57:57 +02:00
Andre Puschmann f3ee8b2078 ngap: fix invalid access of amf ID when context wasn't created yet 2022-05-23 15:56:45 +02:00
Andre Puschmann bed35c747c gnb,rrc: fix handling of DRB for reconfig/reestablishment
the five_qi value received from the 5GC was not stored/passed when
the UE object was moved from one RNTI to another during e.g.
reestablishment. this makes sure the selected 5qi is passed over
during that process.
2022-05-23 15:56:45 +02:00
Andre Puschmann bbd84f087e gnb,rrc: add error checking/handling when creating cellgroup cfg 2022-05-23 15:56:45 +02:00
Codebot 49554c2c46 Merge branch 'next' into agpl_next 2022-05-22 21:12:28 +00:00
Pedro Alvarez cc93b5b6b0 ue,gnb,rrc_nr: make sure that RLC is setup before PDCP, so the PDCP can know wether the RLC is UM or AM 2022-05-20 11:01:04 +01:00
Pedro Alvarez a148dff0cd gnb,ue,rrc: enable using integrity on DRBs 2022-05-17 10:29:37 +01:00
Pedro Alvarez 25b8a35d7a lib,pdcp_nr: make sure we don extract MAC-I if integrity is not enabled. Make sure gNB does not enable integrity on DRBs 2022-05-16 16:16:07 +01:00
Codebot e79aa61a9a Merge branch 'next' into agpl_next 2022-05-15 21:14:43 +00: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 f79b3e9435 gnb,rrc: fix SRB config generation when configuration is present in rb.conf 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
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
Codebot f2dff0b7a0 Merge branch 'next' into agpl_next 2022-05-04 16:21:18 +00: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
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
Andre Puschmann 70eaec21e2 all: fix uninitialized variables detected by coverity 2022-04-28 15:42:08 +02:00
Andre Puschmann e7ec918e5f gnb,rrc: convert FIXME to TODO 2022-04-27 09:28:06 +02:00
Codebot 123f766935 Merge branch 'next' into agpl_next 2022-04-26 08:28:16 +00:00
Bedran Karakoc 29bd06f58a gnb,rrc: Added test for UE Capability Exchange procedure 2022-04-25 10:07:41 +02:00
Bedran Karakoc d769192463 gnb,rrc: Wait for UE Capability Information before sending RRC Reconfiguration 2022-04-25 10:07:41 +02:00
Bedran Karakoc 647882d03e nr,gnb,rrc: Add initial UE capability transfer 2022-04-25 10:07:41 +02:00
Pedro Alvarez 47749350f0 gnb,ngap: make sure we log the received 5QI 2022-04-22 16:53:36 +01:00
Andre Puschmann d854bbc22e enb,rrc: remove hard-coded SCG bearer config
Use 5QI config when configuring secondary cell group bearer for NSA.
The 5QI used for this needs to match with the QCI used for the initial
LTE DRB.

This allows to use RLC AM over NSA.
2022-04-22 13:40:23 +02:00
Andre Puschmann e2efb88415 enb,ngap: extend type to store AMF id to 64bit
AMF is up to 40bit long
2022-04-20 17:16:49 +02:00
Andre Puschmann 07cb60e3f9 gnb,mac: protect RACH counter 2022-04-20 14:57:02 +02:00
Pedro Alvarez efdba8b1c0 gnb,rrc_nr: fix up second RRC reconfiguration test 2022-04-20 10:24:26 +01:00
Pedro Alvarez bbae0ce93c gnb,rrc_nr: Filling in RLC-NR DRB configs from 5QI config now. 2022-04-20 10:24:26 +01:00