Commit Graph

8910 Commits

Author SHA1 Message Date
Ismael Gomez ada05ea0c8 Add A1, A2 and A4 measurement Reports event triggers 2021-09-29 21:39:56 +02:00
Ismael Gomez 04db8c6bbf Log measurementReport before checking if it's valid 2021-09-29 21:39:56 +02:00
Ismael Gomez c09f09b7be Move rrc_common from srsue to lib 2021-09-29 21:39:56 +02:00
Fabian Eckermann 8830c2796f Add support for NSA FDD on band n3, n5 and n7. 2021-09-29 16:03:44 +02:00
Fabian Eckermann 9b1d783812 Code formatting. 2021-09-29 16:03:44 +02:00
Fabian Eckermann 2d0be77660 Add helper functions for abs freq point a. 2021-09-29 16:03:44 +02:00
Francisco Paisana c45c3ec95c sched,nr: ensure the SSB and NZP CSI RS allocations are cleared at the end of every slot 2021-09-29 13:42:48 +02:00
Francisco Paisana d927b779dc sched,nr: implement methods to fill nzp csi-rs in scheduler 2021-09-29 13:42:48 +02:00
faluco a8f58f503c - Fix arm compiler warning. GCC treats chars as unsigned in this arch.
- Fix race condition in json metrics.
2021-09-29 13:26:14 +02:00
Francisco Paisana 17e015df62 rrc,nr: fix PUCCH Resource CSI configuration to avoid collisions with SR 2021-09-28 19:43:02 +02:00
Andre Puschmann 315057d11c enb: signal user activity to EUTRA RRC when doing NR DL traffic
to avoid releasing the UE when only NR DL traffic is done.
similar to the EUTRA solution.
2021-09-28 16:55:54 +02:00
Xavier Arteaga 8b2514ded3 Added NZP-CSI-RS signals in gNb 2021-09-28 16:54:37 +02:00
Andre Puschmann ca6ea55cb6 mac_nr_test: fix test vector after making padding BSR work 2021-09-27 21:15:30 +02:00
Andre Puschmann bed4cfb5e5 ue,mac_nr: fix generation of padding BSRs
* in Msg3 don't add explicit SBSR (rely on padding BSR to add)
* fix padding BSR generation to always use padding bytes to add it
2021-09-27 21:15:30 +02:00
Andre Puschmann 6054e1229b enb,rrc,rrc_nr: fix logging when removing user
each action should only be logged once
2021-09-27 21:15:30 +02:00
Andre Puschmann 9cefddd739 enb,mac_nr: remove user from scheduler when removed from MAC 2021-09-27 21:15:30 +02:00
Francisco Paisana 698eff29f4 sched,nr: avoid ul pending bytes of each UE becoming negative 2021-09-27 15:43:16 +02:00
Francisco Paisana 3119214124 nr,rrc: defer drb activation in NR to when the C-RNTI is received 2021-09-27 15:43:16 +02:00
Francisco Paisana cbb709d4e3 sched,nr: function to log UEs buffer status before scheduling decision, fix const_iterator of circular_map 2021-09-27 15:43:16 +02:00
faluco 1eaca0d343 Escape asn1 message strings that get printed in the enb event json report. 2021-09-27 13:57:40 +02:00
Ismael Gomez 1c77998df5 Stop PDCP for data bearers before initiating HO 2021-09-27 13:54:51 +02:00
faluco fa351cd285 Rename functions that contain the unsafe word to nolock.
The term "unsafe" does not clearly state that the function is not locking the shared date and it sounds "dangerous", so use a more explicit term.
2021-09-27 13:26:21 +02:00
Francisco Paisana c7e2038904 lte: stop radio before stopping stack 2021-09-27 11:35:42 +02:00
Andre Puschmann 593d28fa4d enb,stack_lte: protect access to sync queue
the sync queue is only created during init so access needs to be protected
2021-09-27 11:35:42 +02:00
Andre Puschmann 59e1bca3f5 rlc_am_lte: fix potential crash when attempting to resize tx queue
under some circumstances it could happen that the RLC is configured
when SDUs are already being written to the queue. The resize
operation of the underlying container would fail in this case.

Make sure to empty the queue before doing the resize.
2021-09-27 11:35:42 +02:00
Pedro Alvarez 9230bc3b23 Demoted GTP-C logging of recieving downlink notification ack/failure when paging is not peding from warning to info 2021-09-24 17:41:49 +02:00
Francisco Paisana 8ba623f954 sched,nr: remove unecessary setup of lcid=0 in scheduler 2021-09-24 17:35:15 +02:00
Andre Puschmann 88212ed3e0 fix NR sched configuration of UE generated in RRC 2021-09-24 17:35:15 +02:00
Francisco Paisana a952f0f62d sched,nr: expose sched nr UE bearer configuration in sched interface 2021-09-24 17:35:15 +02:00
Francisco Paisana d1b1ef181a fix conflicts in rebasing 2021-09-24 17:35:15 +02:00
Francisco Paisana bdf18856d1 sched,nr: fix handling of DL BSR in NR scheduler and computation of UCI 2021-09-24 17:35:15 +02:00
faluco 7b079fe289 Fix a data race in rlc TM metrics. 2021-09-24 14:27:37 +02:00
faluco edb7342aef Fix data race in rlc UM metrics. 2021-09-24 14:27:37 +02:00
faluco 6c91a824e2 Whitelist the TSAN lock order inversion issue in srsenb::mac::rlc_buffer_state. 2021-09-24 14:27:37 +02:00
Francisco Paisana 70fe48a5ab sched,nr: change NR sched configuration api 2021-09-24 13:27:45 +02:00
Francisco Paisana a035ad144b mac,nr: create sched_nr object only at mac::init() 2021-09-24 13:27:45 +02:00
faluco 8a38a89652 Fix compiler warning: control reaches end of non-void function 2021-09-24 13:15:05 +02:00
Andre Puschmann 7cdb9c00c0 enb,rrc: disable log error when non-EUTRA reports arrive
since this will be cause an Error log for NR events
2021-09-24 11:43:53 +02:00
Andre Puschmann 5966760458 rrc_endc: start SgNB addition from start if B1 events are disabled 2021-09-24 11:43:53 +02:00
Andre Puschmann af73c57780 rrc_endc: prepare ENDC paramter
exposes some of the hard-coded params as struct.
filling/parsing from file still needs to be added.
2021-09-24 11:43:53 +02:00
Francisco Paisana 12d63468e3 sched,lte: separated adaptive mcs learning rate argument into two arguments, one for DL and the other for UL 2021-09-23 19:12:46 +02:00
Andre Puschmann 7f897d83e2 gnb,mac_nr: push DL buffer state to scheduler 2021-09-23 19:07:31 +02:00
Andre Puschmann 426e876047 enb,nr: fix GTPU handler to forward UL PDUs 2021-09-23 19:07:31 +02:00
yagoda bc4388a78c -adding temp crnti removal for NR carrier attach 2021-09-23 18:27:13 +02:00
Ismael Gomez 1c44546c0b srsenb: allocate pucch for new UE on reestablishment request 2021-09-23 18:26:24 +02:00
Ismael Gomez af9822bede srsenb: add error handling on RRC message generation 2021-09-23 18:26:24 +02:00
Francisco Paisana 3351e97aa2 nr,mac: use SR to send an UL grant after Msg3 and complete ContextResolution of UE NSA NR 2021-09-23 16:08:48 +02:00
Francisco Paisana e1a4e63ec8 sched,nr: use MAC-NR as prefix for NR scheduler 2021-09-23 09:46:56 +02:00
Francisco Paisana aabec3d7af sched,nr: forward SRs present in PUCCH from MAC to scheduler 2021-09-23 09:46:56 +02:00
Francisco Paisana 5a45767c73 sched,nr: fix SR PUCCH resource configuration 2021-09-23 09:46:56 +02:00