Commit Graph

9297 Commits

Author SHA1 Message Date
Francisco 964dce575b nr,sched: fix nof_harqs in NR scheduler to 8 2021-10-13 23:24:20 +01:00
Francisco acd5b8c46a nr,gnb,rrc: correctly configure TDD for UE and scheduler 2021-10-13 14:04:56 +01:00
Francisco 25f34502a7 nr,gnb,rrc: restore the GTPU TEIDs back from NR RNTI to LTE RNTI when RRC reconfiguration fails 2021-10-13 13:17:15 +01:00
Francisco 25eb44914e nr,sched: fix sched_args_t default values 2021-10-13 11:23:10 +01:00
Francisco 04d48127bb nr,sched: enable NR fixed mcs configuration via enb.conf 2021-10-13 11:23:10 +01:00
Carlo Galiotto 919d949790 mac: fix rebase errors
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2021-10-13 11:12:03 +02:00
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