Francesco Mani
cdead06962
fix for scrambling rnti and dci format
2020-05-11 11:09:36 +02:00
Thomas Schlichter
79471f2f6d
Merge branch 'develop' into NR_RRC_PRACH_procedures
...
Conflicts:
executables/nr-ue.c
openair1/PHY/NR_TRANSPORT/nr_dci_tools.c
openair1/PHY/NR_UE_TRANSPORT/nr_prach.c
openair1/PHY/defs_RU.h
openair1/SCHED_NR_UE/phy_procedures_nr_ue.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
openair2/RRC/NR/rrc_gNB_nsa.c
openair2/X2AP/x2ap_eNB_handler.c
2020-04-30 18:54:37 +02:00
Raphael Defosseux
c47daed70c
LIC: wrong license banner on proto-agent files
...
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2020-04-29 10:30:09 +02:00
Ahmed Hussein
eeef6da2aa
Fixed bug regarding TBS calculation and G calculation
...
- The number of nb_dmrs_re at gNB side was set to 6, but here it is assumed
that there will be no data allocation in OFDM symbols that carry DMRS
- nb_dmrs_re that is being given as an input to the TBS calculation,
should be multiplied by the number of DMRS symbols in order to get the total
number of DMRS REs per RB
- In the calculation of G, only the number of DMRS per RB in 1 OFDM symbol should
be given as an input, because inside the function of the G calculation, this
number is being multiplied by the number of OFDM symbols that carry DMRS
2020-04-28 18:05:14 +02:00
Raphael Defosseux
f6383343fc
Merge remote-tracking branch 'origin/new_rlc_2020' into develop_integration_2020_w17
2020-04-23 18:19:00 +02:00
Raphael Defosseux
4da101fd7f
Merge remote-tracking branch 'origin/split73' into develop_integration_2020_w17
2020-04-23 11:31:51 +02:00
cig
5eacaddd0e
Code cleanup
2020-04-23 09:55:04 +02:00
cig
32af60bcf5
UE RA procedures changes to preamble selection:
...
- get preamble from rach_ConfigDedicated in contention free mode
- do preamble selection only in prach slot
2020-04-23 09:55:04 +02:00
cig
220685e320
UE RAR DCI reception
...
- NR UE scheduled response for RA PDSCH case
- UE processing of RAR DCI
- some cleanup and formatting
2020-04-23 09:54:34 +02:00
Cedric Roux
456e90e25d
rlc v2: bugfixes for mbms
2020-04-20 16:28:20 +02:00
Cedric Roux
baa9cd0140
rlc v2: mbms support
2020-04-19 13:44:15 +02:00
Cedric Roux
3089dc0d45
rlc v2: update to latest develop
...
All previous commits for rlc v2 are proably
not functional or even compiling.
2020-04-17 10:41:21 +02:00
Cedric Roux
123745118c
rlc v2: hotfix: remove some AssertFatal
...
Not sure if the problem is in the MAC layer or in the RLC v2 layer.
Maybe the buffer status reporting in RLC v2 is not good. Let's remove
two AssertFatal in the MAC for the time being.
2020-04-17 10:40:05 +02:00
Cedric Roux
4b6f5cea52
rlc v2: have the L2 simulator functional
...
Not very clean, but will do the job for the time being.
2020-04-17 10:40:05 +02:00
Cedric Roux
fbd69663b1
rlc v2: fix for CU/DU split
...
Limitation: this fix only works if there is only one eNB,
because we force module_id = 0 in the function deliver_sdu where
(as the code is today) we have no way to know which module_id is
concerned. More generally, the rlc v2 does not work with more than
1 eNB.
2020-04-17 10:40:05 +02:00
Cedric Roux
8ca42918d6
hotfix: remove an AssertFatal
...
The UE code to compute BSR is too complex, has to be reworked/simplified.
This commit just removes the assert, does not solve anything.
2020-04-17 10:40:05 +02:00
Cedric Roux
9b9654a8e8
rlc v2: initial UE support
2020-04-17 10:40:05 +02:00
Cedric Roux
eebf2cb938
rlc v2: improve buffer status reporting
...
The old method was wrong.
The new method is better, but not accurate, especially when the
TX buffer contains SDU of size > 2047 bytes.
Plus it's probably too slow.
To be refined at some point.
2020-04-17 10:40:05 +02:00
Cedric Roux
d860ca510e
rlc v2: bugfix
2020-04-17 10:40:04 +02:00
Cedric Roux
6698759a60
rlc v2: fix crash deliver_sdu: ERROR: pdcp_data_ind failed
...
simply ignore the error
maybe not the best solution
2020-04-17 10:40:04 +02:00
Cedric Roux
3310f5c6b0
alternative RLC implementation
...
This commit introduces an alternative RLC implementation
based on 36.322 version 8. AM and UM done, TM not done.
See openair2/LAYER2/rlc_v2/TODO for missing parts.
2020-04-17 10:40:04 +02:00
Francesco Mani
9deb0ed08c
Merge branch 'develop' into NR_RRC_PRACH_procedures
2020-04-16 18:58:53 +02:00
matzakos
e1b968db8b
Small Fix for NR Downlink IP traffic issue after last updates in develop branch
2020-04-15 10:17:12 +02:00
laurent
8a58359a1b
rereremerge
2020-04-14 19:51:00 +02:00
cig
ec422f7050
Introduced a delay after a completed sync before starting msg1 generation:
...
- this was necessary because as soon as the gNB starts, it tries detecting
the prach preambles and it mesaures the background noise. However, there is
a delay of several dozens of frames before it considers the preables as
detected.
- the solution at the UE consists in avoiding sending preamble as soon as the
UE syncs by introducing an offset, this keeps the power measurements low at
gNB side as long as the preamble detection counter is under threshold
2020-04-14 14:28:01 +02:00
Francesco Mani
3dc9ad0567
Merge branch 'develop' into NR_RRC_PRACH_procedures
2020-04-14 14:17:34 +02:00
Raphael Defosseux
1bf529be68
Merge remote-tracking branch 'origin/develop' into split73
2020-04-13 22:14:44 +02:00
Raphael Defosseux
238c83f400
Merge remote-tracking branch 'origin/feature-4g-sched' into develop
2020-04-13 22:08:41 +02:00
laurent
861caa735d
merge develop
2020-04-13 18:04:18 +02:00
Raphael Defosseux
10b484279c
Merge remote-tracking branch 'origin/feature-4g-sched' into develop_integration_2020_w15_bis
2020-04-10 12:11:58 +02:00
Raphael Defosseux
d367260214
Merge remote-tracking branch 'origin/NR_gNB_SCF_Indication' into develop_integration_2020_w15_bis
2020-04-10 12:11:31 +02:00
Robert Schmidt
8f450f0e51
DL PP: consider the last RBG might be smaller
2020-04-10 00:09:36 +02:00
Thomas Schlichter
690176821d
make mac_sdus an array instead of a pointer
2020-04-07 13:31:14 +02:00
cig
1e63219bbf
Fixed bugs in UE RA procedures:
...
- number or RA preambles unitialised
- power ramp counter not incrementing
- segmentation fault due to wrong pointer initialisation
2020-04-07 11:07:41 +02:00
Robert Schmidt
1372e02206
Check for CCE allocation in UL PP
2020-04-06 13:56:59 +02:00
Robert Schmidt
36ebfe04f6
Use CCE_try_allocate_ulsch() in ULSCH
2020-04-06 13:56:59 +02:00
Robert Schmidt
c76af0a142
Check for CCE allocation in DL PP
2020-04-06 13:56:56 +02:00
Robert Schmidt
ed6e5ce832
Use CCE_try_allocate_dlsch()
2020-04-06 13:56:31 +02:00
Robert Schmidt
6b3b0b0b8b
Final CCE allocation check: print message on fail
2020-04-06 13:56:31 +02:00
Robert Schmidt
88d156478f
CCE_allocation_infeasible(): log only debug
2020-04-06 13:56:31 +02:00
Robert Schmidt
5443c7a792
fill_nfapi_dlsch_config() takes index for filling
2020-04-06 13:56:31 +02:00
Robert Schmidt
0f46f17c1c
UL PP can change retx freq allocation
2020-04-06 13:56:31 +02:00
Robert Schmidt
24fb5e9c80
add adaptive HARQ UL
2020-04-06 13:56:31 +02:00
Robert Schmidt
9256a9e813
Clean up schedule_ulsch_rnti()
2020-04-06 13:56:31 +02:00
Robert Schmidt
c9a921504c
TEST: TPC + TA cleaned up in DLSCH
2020-04-06 13:56:31 +02:00
Robert Schmidt
fd2e5fee96
Clean up schedule_dlsch()
2020-04-06 13:56:31 +02:00
Robert Schmidt
2f32448707
Correctly handle 2ms Sched. Reqs
2020-04-06 13:56:31 +02:00
Robert Schmidt
a3bbbd0630
Lock PRACH region through vrb_map_UL
2020-04-06 13:56:31 +02:00
Robert Schmidt
abc65b1d86
Reimplement UL PP
2020-04-06 13:56:31 +02:00
Robert Schmidt
8bf7a13ffa
Remove first_rb from ULSCH scheduler
2020-04-06 13:56:31 +02:00