Francisco
0e0835a805
move scheduler rbg/prb/cce mask and interval types and associated helper functions to a separate file
2021-05-17 14:30:23 +01:00
Francisco
7c0649bc24
delete erab if gtpu tunnel creation failed
2021-05-17 15:17:27 +02:00
Francisco
c6d543efdf
fix conversions of drb id to erab id in srsenb
2021-05-17 15:17:27 +02:00
Andre Puschmann
167200f5cd
rrc_bearer_cfg: replace fixed E-RAB to DRB mapping
...
also make sure we don't assign LCIDs beyond the possible
number.
possible fix for https://github.com/srsran/srsRAN/issues/658
Co-authored-by: herlesupreeth <herlesupreeth@gmail.com>
Co-authored-by: Francisco <francisco.paisana@softwareradiosystems.com>
2021-05-17 15:17:27 +02:00
Francisco
fa34aaa16e
ensure the DL mask count is reduced enough to fit required bytes
2021-05-14 19:58:03 +01:00
Francisco
4d3ff0d139
implementation of basic search for optimal rbgmask for subband CQI
2021-05-14 19:58:03 +01:00
Francisco
f8b6eae2bf
use of min DL cqi across all PRBS to compute required DL PRBs
2021-05-14 19:58:03 +01:00
Francisco
8564996eaf
fix sched_dl_cqi method to compute cqi-optimal rbgmask
2021-05-14 19:58:03 +01:00
Francisco
485c6ee129
subband CQI feature - add K parameter in sched_interface::ue_cfg_t and update it from RRC
2021-05-14 19:58:03 +01:00
Francisco
84ad6dd8ee
Integrated new sched_dl_cqi class in sched_ue_cell
...
- extend sched_dl_cqi interface to allow getting tti when cqi was last updated
- extend sched_dl_cqi to quickly get average cqi across the whole bandwidth
2021-05-14 19:58:03 +01:00
Francisco
16d05ff042
Remove time exponential averaging of DL cqi
...
- renaming: sched_cqi -> sched_dl_cqi
- testing: add unit test for sched_dl_cqi wideband cqi mode.
- feature: remove time exponential averaging of dl cqi
2021-05-14 19:58:03 +01:00
Francisco
28c24a89ef
sched subband cqi - create method to get cqi-optimal RBG mask
2021-05-14 19:58:03 +01:00
Francisco
eeb8ad6571
sched,feature - creation of sched_cqi class to manage the update of CQI in a subband CQI setting
2021-05-14 19:58:03 +01:00
Francisco
f25dbea4de
fix PCCH assembly in srsenb rrc
2021-05-14 19:57:52 +01:00
Francisco
a841b7580e
fix deadlock caused by non-notification of multiqueue consumer side
2021-05-13 16:48:17 +01:00
faluco
1670124926
Implement UE metrics in JSON format.
...
Added config options to control this feature.
2021-05-13 09:27:11 +02:00
Xavier Arteaga
9e1a85afe8
Fix NR SCH Nref calculation
2021-05-13 08:45:42 +02:00
Xavier Arteaga
0ecb3a7220
Modify NR PHY info messages
2021-05-13 08:45:42 +02:00
Xavier Arteaga
91030c5824
Fix procedure for MCS table selection
2021-05-13 08:45:42 +02:00
Xavier Arteaga
b02a0d3db9
Added RNTI type short string
2021-05-13 08:45:42 +02:00
Xavier Arteaga
5e6983f8e6
SRSUE: enable 256QAM in RRC NR capability message
2021-05-13 08:45:42 +02:00
Xavier Arteaga
af2f37d8ca
SRSENB: CFI protection for all CC and fix test
2021-05-13 07:56:08 +02:00
Xavier Arteaga
08ec1d0df9
Changed srsLTE to srsRAN
2021-05-13 07:55:46 +02:00
Xavier Arteaga
a57336d64f
Integrate periodic SSB measurement in SRSUE and fix related defects
2021-05-13 07:55:46 +02:00
Xavier Arteaga
5e41e99f08
Added NR symbol offset helper function
2021-05-13 07:55:46 +02:00
Xavier Arteaga
7450232b3e
Added more NR band related helpers
2021-05-13 07:55:46 +02:00
Xavier Arteaga
758fd3c1ba
Implemented initial NR cell search
2021-05-13 07:55:46 +02:00
Xavier Arteaga
2f9c7e1345
Avoid cexpf in srsran_vec_apply_cfo_simd
2021-05-13 07:55:46 +02:00
Francisco
96ab16f1c7
s1ap fix - release old rnti (instead of new one) when a new rnti with the same tmsi is found. Furthermore, we now make sure to warn log if the enb is unable to release the old rnti
2021-05-12 18:55:10 +01:00
Francisco
6ed617f429
s1ap, bugfix - check if MME-UE-S1AP-ID has been yet assigned before sending UL NAS Transport. If it hasn't log error and abort.
2021-05-12 16:20:44 +01:00
Xavier Arteaga
90c42bc9c3
Fix resampler stack overflow
2021-05-12 17:13:09 +02:00
Xavier Arteaga
9517b78c03
Fix resampler and improved unit test
2021-05-12 17:13:09 +02:00
Francisco
32228389a9
fix latest static analysis warnings in rrc paging
2021-05-11 21:14:47 +01:00
Francisco
996d8ef74d
multiqueue bugfix for non-blocking pushes when queue is full
2021-05-11 21:27:08 +02:00
Andre Puschmann
adcfcfe012
proc_ra_nr: fix typo
2021-05-11 19:47:35 +02:00
Francisco
bfdb0332db
remove undefined methods from rrc_ue
2021-05-11 16:54:14 +01:00
Francisco
46cfdaf9e5
Handle case when old rnti gets removed during RRC reestablishment
...
This is achieved via:
- keep restarting the inactivity timer whenever a ReestablishmentRequest is received
- in case the RRC ReestablishmentComplete is very late and the old rnti was removed anyway,
abort RRC reestablishment procedure and release new rnti
2021-05-11 16:54:14 +01:00
Andre Puschmann
b2825d1280
mac_controller: after maxRetx disable ALL UE bearers
...
the reasoning here is that the only way to recover
from the maxRetx event is the UE attempting a reestablishment.
No further traffic, neither control nor data is scheduled
until then.
2021-05-10 18:43:37 +02:00
Andre Puschmann
b61be7878a
enb,rrc: split RLF counter and timer handling for DL/UL/RLC
...
this patch splits the counter and timer handling for PHY DL, PHY UL,
and RLC errors and makes sure that, for example, a successful DL
does not cancel the UL RLF timer, and vice versa.
They all use the same timeout value which is user-configurable.
2021-05-10 18:43:37 +02:00
David Rupprecht
f9c0009d23
Remove setup erabs function
2021-05-10 17:54:38 +02:00
Andre Puschmann
c45540582d
rrc: announce NR-PDCP support over EUTRA
...
preperation for Split bearer support. This patch is needed to allow
split bearer. Otherwise, even if the config is set in the eNB, it
will not enable split bearers.
2021-05-10 17:54:00 +02:00
Francisco
99abae9e6a
fix multiqueue producer to consumer notification to avoid deadlocks
2021-05-10 15:27:21 +01:00
Francisco
0d800eb8f6
stack, multiqueue - bugfix for multiqueue destruction, and addition of unit test
2021-05-10 15:27:21 +01:00
Francisco
d947e259c9
stack optimization - optimization of the multiqueue
...
avoid notifying the consumer side of the multiqueue of a new pushed object, if the
multiqueue already knows that the queue is not empty.
2021-05-10 15:27:21 +01:00
Francisco
d574afcd33
cleanup of multiqueue unused methods, and made queue_handle move semantics correct
2021-05-10 15:27:21 +01:00
Francisco
ef9d1b8c13
stack optimization - reduction of contention in multiqueue class
...
With the new design, each queue created in the multiqueue object has its own mutex.
Pushing tasks to separate queues will, therefore, not cause contention.
There will be, however, still contention between the popping thread and the pushing threads.
2021-05-10 15:27:21 +01:00
Xavier Arteaga
d9586015f5
SSB related minor aesthetical corrections
2021-05-10 15:32:46 +02:00
Xavier Arteaga
60d1708b80
Initial SSB measurement implementation
2021-05-10 15:32:46 +02:00
Xavier Arteaga
5c31f4335f
Initial SSB module header file
2021-05-10 15:32:46 +02:00
Xavier Arteaga
3f078cdc24
Added SSB related constants
2021-05-10 15:32:46 +02:00