Carlo Galiotto
a57ccdabf5
mac: move and check boolean from funcion to caller
...
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2021-10-13 11:12:03 +02:00
Carlo Galiotto
1a52cdcdaa
mac: remove unused rwlock and unused cqi counter
...
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2021-10-13 11:12:03 +02:00
Carlo Galiotto
f53e01cfa3
mac: apply changes by PR reviewers
...
- reinstate write_lock on ue metrics
- change "rwlock" variable name in mac_nr.h
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2021-10-13 11:12:03 +02:00
Carlo Galiotto
dc3e3a89f8
mac: update CQI in MAC with CSI reports from PHY
...
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2021-10-13 11:12:03 +02:00
Carlo Galiotto
781ae4abfb
fix static analysis error (CID 373575)
...
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2021-10-13 11:05:09 +02:00
Xavier Arteaga
a9904c2b64
Fix info format string
2021-10-13 11:02:30 +02:00
Xavier Arteaga
f250c83a66
Minor NR configuration fixes
2021-10-13 11:00:03 +02:00
Xavier Arteaga
a31a40184d
Fix NR PRACH encoding
2021-10-13 11:00:03 +02:00
Xavier Arteaga
753edc7d7b
Force NR PRACH scaling to 0.99 of the DAC dynamic range
2021-10-13 11:00:03 +02:00
Xavier Arteaga
4e76d7fef6
Enhanced nr_phy_test to assert PRACH detection
2021-10-13 11:00:03 +02:00
Xavier Arteaga
c7940f455c
More clear equation to calculate number of PRACH subframes
2021-10-13 11:00:03 +02:00
Xavier Arteaga
4cea3d92bd
NR PHY accepts multiple SF PRACH sequence
2021-10-13 11:00:03 +02:00
Xavier Arteaga
8bab12fb00
Added NR case to prach_test
2021-10-13 11:00:03 +02:00
Xavier Arteaga
3c4efba418
Added missing parameters to NR PHY configuration factory
2021-10-13 11:00:03 +02:00
Xavier Arteaga
5e1291b0c7
Fix PRACH detection sequence generation for NR
2021-10-13 11:00:03 +02:00
Xavier Arteaga
7ecca61d60
Enhanced nr_phy_test with better PRACH stats
2021-10-13 11:00:03 +02:00
Francisco
6926754e67
nr,sched: fix sched logging in case of HARQ CRC=KO
2021-10-13 08:22:57 +01:00
Francisco
c08bb6023c
nr,sched,refactor: clear of unused typedefs and renaming of some types
2021-10-13 08:22:35 +01:00
Francisco
11ee4ab9dd
nr,gnb,rrc: fix scheduler FDD configuration
2021-10-12 17:49:12 +01:00
Francisco
53c99796cc
nr,gnb,rrc: ensure timing advance offset is set to present
2021-10-12 17:49:12 +01:00
Francisco
5979f98a8e
nr,test: ensure phy metrics are generated in nr_phy_test when real mac is used
2021-10-12 15:48:37 +01:00
Francisco
ca7a3cf201
nr,sched: fix sched tbs acked metric computation
2021-10-12 15:48:37 +01:00
Francisco
510e9f47a7
sched,nr: simplify metrics extraction from MAC
...
Allow some level of mutex contention between metrics and worker threads in accessing
internal scheduler variables.
2021-10-12 15:48:37 +01:00
Francisco
6617b9c558
nr,sched: simplify command line arg to enable real mac in nr_phy_test
2021-10-12 11:31:31 +01:00
Francisco
9efc3e05f3
nr,sched: enable real mac and scheduler in nr_phy_test traffic tests
2021-10-12 11:31:31 +01:00
David Rupprecht
5c44d774d0
Added 5G Metrics
2021-10-12 10:48:10 +02:00
David Rupprecht
59e847ba08
Added NAS 5G args
2021-10-12 10:48:10 +02:00
David Rupprecht
5910d8847a
Split NAS security ctxt
2021-10-12 10:48:10 +02:00
Francisco
4e49508d8f
nr,gnb,mac: fix RAR encoding by resetting the RAR buffer
2021-10-11 18:30:33 +01:00
Francisco
af0bc36de9
nr,sched: ensure scheduled RAR grants are reset every slot
2021-10-11 18:30:33 +01:00
Francisco
2b41efaa23
nr,phy,gnb: enable PUSCH debug logging
2021-10-11 18:30:33 +01:00
Francisco
1b595b6eff
nr,gnb: if no nr cell is initiated, do not enable endc in the LTE RRC
2021-10-11 18:21:51 +01:00
Francisco
7e0fd2721d
sched,lte: disable all SRBs UL during intraenb Handover
2021-10-11 16:55:52 +01:00
Francisco
78f8302839
sched,lte: addition of extra logs in sched ue configuration
2021-10-11 11:12:07 +01:00
Francisco
3721523810
pdcp,lte: fix debug logging in PDCP, to avoid segmentation fault and crash
2021-10-11 11:12:07 +01:00
Francisco
877b995a4d
gnb,nr: add metrics for ack'd TBS in the gNB.
2021-10-11 11:08:37 +01:00
Francisco
479df12775
fix rrc_nr_test bad config
2021-10-09 16:53:14 +01:00
Francisco
9dcfa8fdb1
nr,gnb,rrc: pass default rrc_nr_cfg_t to rrc_nr_test
2021-10-09 16:53:14 +01:00
Francisco
2e71dc17a5
rrc,nr: transfer SSB config to ue phy_cfg in the scheduler
2021-10-09 16:53:14 +01:00
Francisco
43b12b9ffb
rrc,nr: transfer SSB config to both UE and NR scheduler
2021-10-09 16:53:14 +01:00
Francisco
b8976ca463
nr,ue,rrc: avoid configuring the CSI until NR RA is complete
2021-10-08 12:15:55 +01:00
Andre Puschmann
8118c368d9
rrc_nr: add missing PRACH config part
2021-10-08 11:47:06 +02:00
Andre Puschmann
eaf87140e1
rrc_nr: add TAG and PHR config in MAC (but keep it disabled)
2021-10-08 11:47:06 +02:00
Andre Puschmann
c463ccd961
rrc_endc: pack MAC main config dedicated with DC PHR config
2021-10-08 11:47:06 +02:00
Andre Puschmann
93acf57e1a
rrc_nr: set cellGroupId and groupId
2021-10-08 11:47:06 +02:00
Andre Puschmann
929c6d9fe6
rrc,endc: avoid sending PHY config dedicated for SCG addition
2021-10-08 11:47:06 +02:00
Andre Puschmann
e2ffbd85bc
enb,rrc: add SIB2 field to display 5G logo ;-)
2021-10-08 11:47:06 +02:00
Andre Puschmann
c8d6f54dab
enb,rrc: add radio link monitoring config
2021-10-08 11:47:06 +02:00
Francisco
400d7587c8
lte,rrc,enb: stop rlf timers after the UE performs intra-eNB handover
...
The RLF timers may be triggered before handover, which will lead to the
UE getting released after it successfully handovers. To avoid this,
we should stop the timers.
2021-10-08 10:40:36 +01:00
Carlo Galiotto
43a7d822fa
stack,rrc: fix double removal of EPS bearer
...
The EPS bearer was removed twice, causing an error in the logs.
Fix issue #3380
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2021-10-08 11:19:12 +02:00