Francisco
23203b73ae
fix - avoid recompiling srsue rrc files twice
2021-04-21 16:22:59 +01:00
Andre Puschmann
e3b77fd82a
rrc_nr: set timeout for NR cell measurement to 250ms
...
the low timout of 10ms was:
1) causing too frequent measurement reports
2) causes a MO ping test to fail where the ICMP request
was sent on the LTE carrier but never got a reply because
the MCG addition was inbetween
2021-04-21 12:50:43 +02:00
Andre Puschmann
2c156f0007
proc_ra: add further state checks when getting harq_retx signalled
...
that makes sure to only restart contres timer if we are actually
in the contention resolution state.
2021-04-21 12:36:32 +02:00
Andre Puschmann
607ba7c262
mac_test: fix RAR test for Msg3 retx
...
with hi=1 the eNB signals a successul Msg3 reception.
To request a retx, which is the case in the MAC test,
it needs to signal a hi=0
2021-04-21 12:36:32 +02:00
Xavier Arteaga
7246ce0cea
Fix MSG3 false retransmission
...
this fixes #2694 by considering hi=1 value and not treating
this as a Msg3 retx
2021-04-21 12:36:32 +02:00
Andre Puschmann
c1e4385f50
worker_pool: fix wrong log level when setting worker config
2021-04-20 22:16:48 +02:00
Xavier Arteaga
407903e0d6
SRSUE: refactor carrier setting for accepting a dynamic carrier configuration
2021-04-20 21:50:10 +02:00
Xavier Arteaga
47523935f6
Minor NR RRC fixes
2021-04-20 21:50:10 +02:00
David Rupprecht
d2aa25d451
Added option for simulated measurement
2021-04-20 21:47:37 +02:00
Xavier Arteaga
09272edf4b
Update NR PHY TTI
2021-04-20 15:07:18 +02:00
Xavier Arteaga
715f8900a8
Selected NR RA procedure PRACH send timeout according to system frame number period from PRACH PHY tables
2021-04-20 15:07:18 +02:00
Andre Puschmann
51e73aa1fc
mac_nr_test: add basic DL HARQ test and extend checks for metrics
2021-04-20 15:05:20 +02:00
Andre Puschmann
4b3538aaa8
{dl,ul}_harq: fix metrics calculation
...
rewrite metrics calculation for NR HARQ and remove
unneeded operations.
2021-04-20 15:05:20 +02:00
Andre Puschmann
b6f2c80f66
mac_common: add helper method to get total buffer state
2021-04-20 15:05:20 +02:00
David Rupprecht
a064e85c54
rename common lte header
2021-04-19 22:23:59 +02:00
David Rupprecht
81ad72b0ff
Refactor srb and drb handling
2021-04-19 22:23:59 +02:00
David Rupprecht
91ff8a2e6d
Add rrc_nr to rlc init function
2021-04-19 22:23:59 +02:00
David Rupprecht
6b41ae7e8b
Updated PDCP config struct for rat type
2021-04-19 22:23:59 +02:00
Andre Puschmann
5700b090ea
worker_pool: set log level for PHY-NR logger and use for PRACH
...
log level for PHY-NR wasn't set so:
16:00:32.202953 [PHY-NR ] [I] [ 8024] Setting RAR Grant rnti=4602 dci=rar hop=0 f_alloc=0x32 t_alloc=0x1 mcs=4 tpc=3 csi=0
was always printed. Also use the logger for the PRACH
2021-04-19 22:09:08 +02:00
Andre Puschmann
c8d3e133dc
ue: bump default RRC release announced to 15
2021-04-19 22:08:03 +02:00
David Rupprecht
75cd5e65e5
Removed arfcn and freq, and nof_prbs from config file
2021-04-19 15:18:35 +02:00
David Rupprecht
6ed6da1f12
Refactor ue config for eutra and nr config section
2021-04-19 15:18:35 +02:00
Xavier Arteaga
77b6b60b82
Fix rach_cfg.nof_groupA_preambles
2021-04-19 15:17:04 +02:00
David Rupprecht
db9dd85783
Parse carrier config in NR RRC reconfig
2021-04-19 12:13:37 +02:00
David Rupprecht
f42d4dbc28
Refactored carrier config
2021-04-19 12:13:37 +02:00
Andre Puschmann
87f9b2babc
mac_nr: turn off warning for non-implemented features
...
they cause RFCI to fail, features are known to be missing.
2021-04-19 10:46:09 +02:00
Andre Puschmann
73d6b33920
{ul,dl}_harq_nr: reword log entries if HARQ PID isn't found
2021-04-18 15:27:19 +02:00
Andre Puschmann
edd150b29f
fix PID not being set when reading pending UL grant
...
this should fix #2679
2021-04-18 15:12:22 +02:00
Andre Puschmann
0df218ab90
cc_worker: fix PDSCH log fmt::v7::format_error
2021-04-17 15:51:11 +02:00
Xavier Arteaga
53b38fccf9
Fix compile and other
2021-04-17 15:51:11 +02:00
Xavier Arteaga
8ffced7e88
NR PHY logging minor corrections
2021-04-17 15:51:11 +02:00
Xavier Arteaga
abfc1da921
Multiple NR-PUSCH fixes
2021-04-17 15:51:11 +02:00
Xavier Arteaga
7e06e789d5
Fic NR UCI in the info string
2021-04-17 15:51:11 +02:00
Xavier Arteaga
01ce0718be
NR-PUSCH RE mapping correction and NR-SCH detailed grant information
2021-04-17 15:51:11 +02:00
Xavier Arteaga
e7096d705e
Fix NR RRC config NZP-CSI-RS
2021-04-17 12:54:30 +02:00
David Rupprecht
bfe2ad98ef
Added parsing for NR DL HARQ cfg
2021-04-17 12:33:21 +02:00
Andre Puschmann
b9ae064338
mac_nr: add DL HARQ
...
this commit adds a complete DL HARQ entity to the MAC of the UE.
It also refactors demux into an own class and adapts the PHY-MAC
interface to use the new MAC capabilities.
2021-04-16 15:32:09 +02:00
David Rupprecht
138230f4e4
Remove NR RRC log line
2021-04-16 09:02:29 +02:00
David Rupprecht
fe8727050b
Added new rrc_nr to phy flattening functions and fixes
2021-04-16 09:02:29 +02:00
Xavier Arteaga
e4e3456d76
Refactored PDSCH/PUSCH decoder for LDPC early stopping
2021-04-15 20:42:41 +02:00
David Rupprecht
4c68c17bd3
Fixed log level of nr loggers to lte level and hex size
2021-04-15 12:12:20 +02:00
Andre Puschmann
bf4d0121dd
cc_worker,proc_ra: set RNTI type for UL grant contained in RAR
...
needed for HARQ to correctly pick up the Msg3 Tx
2021-04-14 13:40:31 +02:00
Andre Puschmann
3e1998b2aa
proc_sr_nr: tiny cosmetic logging changes
2021-04-14 13:40:31 +02:00
Andre Puschmann
ad320c273e
proc_bsr_nr: cancel SR if UL grant is received
2021-04-14 13:40:31 +02:00
Andre Puschmann
d99402d3b3
rrc_nr: enable SR procedure when pulling config from ASN1 struct
2021-04-14 13:40:31 +02:00
Andre Puschmann
44baea6666
mac_nr: add UL HARQ
...
this patch adds a basic UL HARQ entity for NR.
The patch also updates some interfaces between MAC/RA/HARQ,
i.e. get_temp_crnti().
It also adds a Msg3 unit test.
2021-04-14 13:40:31 +02:00
Andre Puschmann
b7146c41b2
nr: add NDI for PUSCH grant to sch cfg struct
2021-04-14 13:40:31 +02:00
Xavier Arteaga
af97538448
Remove NR from log lines
2021-04-14 08:16:44 +02:00
Xavier Arteaga
7823bfc28c
Fix append NR to loggers for NR components
2021-04-14 08:16:44 +02:00
Xavier Arteaga
b5e879db47
SRSUE: review metrics interfaces
2021-04-13 16:02:53 +02:00