Commit Graph

4230 Commits

Author SHA1 Message Date
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
Xavier Arteaga a9904c2b64 Fix info format string 2021-10-13 11:02:30 +02:00
Xavier Arteaga a31a40184d Fix NR PRACH encoding 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
Francisco 11ee4ab9dd nr,gnb,rrc: fix scheduler FDD configuration 2021-10-12 17:49:12 +01:00
Francisco 4e49508d8f nr,gnb,mac: fix RAR encoding by resetting the RAR buffer 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 3721523810 pdcp,lte: fix debug logging in PDCP, to avoid segmentation fault and crash 2021-10-11 11:12:07 +01:00
Francisco 43b12b9ffb rrc,nr: transfer SSB config to both UE and NR scheduler 2021-10-09 16:53:14 +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
Xavier Arteaga 7262287926 Zero power UCI bits is not an error but KO 2021-10-08 10:17:21 +02:00
Xavier Arteaga 4a327ad17d Consider CRC length when calculating real LDPC rate 2021-10-08 10:17:21 +02:00
Xavier Arteaga 5f17c46098 Modify periodic CSI time offset to UL slot 2021-10-08 10:17:21 +02:00
Xavier Arteaga bd186fab2e Fix CMake SSB frequency addition overflow 2021-10-08 09:49:07 +02:00
Xavier Arteaga be870d66ad More relaxed SSB measure assertions and reorder SSB test 2021-10-08 09:49:07 +02:00
Xavier Arteaga 4b77127ed6 Added missing SSB pattern to unit test 2021-10-08 09:49:07 +02:00
Xavier Arteaga 8bb23cc74a Correct CMake sign 2021-10-08 09:49:07 +02:00
Xavier Arteaga 52e00d6376 Fix PBCH encoding and added unit test 2021-10-08 09:49:07 +02:00
Xavier Arteaga 25bd0d6219 Added SSB pattern to/from string functions 2021-10-08 09:49:07 +02:00
Francisco 053877f489 rrc,nr: fix conversion from asn1 to phy cfg 2021-10-08 01:16:07 +01:00
Francisco 47e5e85449 refactor: clean unnecessary includes of the asn1/rrc_nr.h 2021-10-07 23:08:07 +01:00
Xavier Arteaga 1bdb1bb62d Store PUSCH CSI from PUSCH DMRS 2021-10-07 16:31:26 +02:00
Fabian Eckermann 420d6a6a98 enhanced and fixed some tests. 2021-10-07 10:42:16 +02:00
Bedran Karakoc 850606f20b Added deregistration (UE terminating) 2021-10-06 20:01:00 +02:00
Robert Falkenberg b0430ebfe2 rf_imp.c: fix segfault when closing RF device with no AGC thread 2021-10-06 18:25:11 +02:00
Francisco 3b79393974 sched,nr: fix default ue configuration when prach arrives 2021-10-06 16:33:51 +02:00
Xavier Arteaga d5b34696b4 Sepparate CSI report configuration from quantification and integrate in nr_phy_test with assertions 2021-10-06 16:33:51 +02:00
faluco 388b1e5d92 Fix data race in radio::is_start_of_burst. 2021-10-06 12:49:34 +02:00
faluco 7b0b76d58e Whitelist two lock order inversion TSAN issues that acquire a readlock. 2021-10-06 12:49:34 +02:00
Francisco Paisana b7f40b2baf rrc,nr: reenable CSI reporting in gNB 2021-10-06 10:58:29 +01:00
Xavier Arteaga 00a6e71f50 Fix UL/DL frequency compensation 2021-10-06 10:46:21 +02:00
Fabian Eckermann cb721aa292 fix calculation of ssb frequency. 2021-10-05 18:21:58 +02:00
Francisco Paisana b58915d7ed rrc,nr: make gnb cell CSI NZP configuration consistent with UE NSA configuration. 2021-10-05 10:28:36 +02:00
Francisco Paisana 23bf542ae7 stack,nr: isolate calls between LTE and NR stacks via the task multiqueue 2021-10-05 10:12:28 +02:00
Andre Puschmann 8bb06ff2c0 Added SSB in gNb PHY 2021-10-04 19:26:07 +02:00
Xavier Arteaga 3763d04578 implement helper function to calculate FFT size for a given sampling rate 2021-10-04 19:26:07 +02:00
Andre Puschmann 7496b7c14f Add SSB to configuration factory 2021-10-04 19:26:07 +02:00
Andre Puschmann 5b0767772b Added SSB center frequency to band helper 2021-10-04 19:26:07 +02:00
Andre Puschmann 91e17337db Added SSB scaling configuration option 2021-10-04 19:26:07 +02:00
Andre Puschmann 3e5b40fd36 enb,rrc: fix compilation after freq point a has been removed from nr_carrier_t
since absolute freq point a members have been removed from the srslte_nr_carrier_t
struct (they are now actual frequencies) the abs_point_a values are now in
the RRC cell structs
2021-10-04 17:52:14 +02:00
Fabian Eckermann 5f40d4fd99 Add test for ssb from band calculation. 2021-10-04 15:59:05 +02:00
Fabian Eckermann 95abfbfec8 Calculate ssb frequency from freqency point a. 2021-10-04 15:59:05 +02:00
Francisco Paisana f22483ce72 sched,nr: use formatting %d to represent slot index 2021-10-04 13:43:56 +02:00
Xavier Arteaga c9d7db7314 Minor changes 2021-10-04 10:28:34 +02:00
Xavier Arteaga e3bd92d87c Fix SSB pattern in UE 2021-10-04 10:28:34 +02:00
Xavier Arteaga 8f90ee847a Refactor carrier frequency from PHY and fix OFDM phase compensation 2021-10-04 10:28:34 +02:00
Xavier Arteaga fda35bf6a1 Initial OFDM carrier phase compensation 2021-10-04 10:28:34 +02:00