Bartosz Podrygajlo
48d68f7d90
Fix a bug where if BWP size is not exactly maximum BWP size for a bandwidth power control code asserts.
...
This assert and assumption is incorrect, according to 38.101-1 UE channel is defined only by the BWP size
and BWP size can be any value supported by the RRC parameters defining the BWP.
To determine the UE channel the smallest bandwidth supporting the BWP is selected. This is an assumption based
on references in the same document to UE channel bandwidth being equal to one of the values in set
{5, 10, 15, 20, 25, 30, 35, 40, 50, 60, 70, 80, 90, 100}.
Also:
- calculated P_CMIN during BWP setup since the parameter doesn't depend on DCI.
- initiialize uniqCfg structure in test_nr_ue_power_procedures main function which enables LOG prints during tests
2024-07-26 11:15:49 +02:00
Robert Schmidt
141577c88b
Refactor code and make shorter through ternary operator
2024-07-03 12:11:28 +02:00
Robert Schmidt
279bd1794a
Demote logs for NR band and duplex spacing
...
Demote logs to debug: they don't provide that much information, and show
periodically in the UE. They are not useful.
2024-07-03 12:10:19 +02:00
Bartosz Podrygajlo
d8572d5569
Fixed MPR application conditions.
...
Fixed delta MPR.
Fixed an error in PUCCH PC_MAX calculation.
2024-06-25 18:11:17 +02:00
Raphael Defosseux
4639458f22
Merge remote-tracking branch 'origin/fix-regression-ue-scan' into integration_2024_w25
2024-06-21 09:31:04 +02:00
Jaroslava Fiedlerova
2b28b735c2
Merge remote-tracking branch 'origin/nr-pcmax-googletest' into integration_2024_w24
2024-06-14 15:32:01 +02:00
Sakthivel Velumani
dd4eb9f8bc
Fix regression in ue-scan-carrier option
2024-06-13 13:31:33 -04:00
Bartosz Podrygajlo
4a36f7dd7b
Extract nr_common and nr_phy_common libs. Also add unit tests for nr_common
2024-06-13 10:14:59 +02:00
Laurent THOMAS
45d4cec2a6
fix regressions for large physical cell id values
2024-06-10 10:51:08 +02:00
Sakthivel Velumani
043da0c440
NR UE scan for SSB within current bandwidth
...
Till this commit, the UE gets the position of SSB in frequency from
command line and does the syncronization by locating the SSB in time. It
does this by generating a PSS time signal during initialization with the
SSB offset given via command line. Then PSS detection is done by
correlation.
In this commit, the UE computes a list of GSCN in the current NR band
that falls within the current bandwidth for the set center frequency.
For each GSCN in the list, the UE starts a thread and performs the
following:
1. Generate PSS time signal with SSB offset for current GSCN.
2. Detect PSS, SSS and decode PBCH (this step remains the same).
After all threads finishes, the results are collected.
For now, only the first detected PBCH is used to proceed further. So
this PBCH is indicated to MAC and UE exits initial sync.
Future work: The cell search can be standalone feature where the UE
could scan for SSB in the entire NR band. This would require changing
radio's frequency on the fly as the UE's bandwidth would not cover an
entire NR band. The cell detection can futher be imporved by looking
for SIB1 for each decoded PBCH.
2024-05-30 10:20:45 -04:00
francescomani
c719b3f057
adding new nr bands to the tables
2024-05-01 16:13:04 +02:00
Jaroslava Fiedlerova
c4b1966fc5
Merge remote-tracking branch 'origin/NR_bw_index_fix' into integration_2024_w17
2024-04-26 15:46:50 +02:00
rakesh mundlamuri
47d1f8bb82
harmonizing the IDFT index at different places
2024-04-11 16:47:32 -04:00
rakesh mundlamuri
45c00b7ad2
fix for 3072 fft size when using 80 MHz and -E
2024-04-11 16:47:32 -04:00
francescomani
a0c5a3604a
fix incorrect bw index evaluation for UE capabilities
2024-04-10 14:06:41 +02:00
Robert Schmidt
171d9950a1
Merge remote-tracking branch 'origin/perf_improv_polar_encoder' into integration_2024_w14
2024-04-08 08:29:29 +02:00
Jaroslava Fiedlerova
5fc9a4bc42
Merge remote-tracking branch 'origin/demote_another_log_printed_too_many_times' into integration_2024_w13
2024-03-29 17:02:16 +01:00
Jaroslava Fiedlerova
c92650003f
Merge remote-tracking branch 'origin/NR_4_layers_MIMO' into integration_2024_w13
2024-03-29 16:06:14 +01:00
francescomani
4ba44927f4
demoting to LOG_D another log that otherwise would be printed too many times at the UE because of periodic calling of to_nrarfcn
2024-03-26 17:50:06 +01:00
francescomani
afde7f6c51
improvements in precoding initialization at MAC
2024-03-25 13:09:31 +01:00
Robert Schmidt
eaff52f8e8
Merge remote-tracking branch 'origin/NR_UE_MAC_UL_improvements' into integration_2024_w12
2024-03-23 10:21:32 +01:00
mir
a6ad11a20e
Remove duplicated bit reverse table
2024-03-22 11:36:41 +01:00
francescomani
5df946fab6
improvements in Bj computation and implementing a timer to compute time elapsed since last Bj update
2024-03-22 09:12:48 +01:00
francescomani
8f858af876
improvements for 4-layer MIMO at gNB
2024-03-21 18:22:25 +01:00
Robert Schmidt
c16bde2928
Demote log in to_nrarfcn() to debug: is used periodically at UE
2024-03-19 10:33:15 +01:00
francescomani
37d3e5bb58
get SSB ARFCN at RRC UE (needed to update k_gnb key according to 33.501)
2024-03-13 17:59:11 +01:00
francescomani
b70eba44a7
fix for computing ssb subcarrier offset
2024-02-02 09:21:40 +01:00
francescomani
9e8bc938bd
new structure for UE timers and reworking of UE RRC timers
2024-01-24 14:26:06 +01:00
luis_pereira87
5b5b0f9595
Fix AssertFatal when using NR band n1
2023-11-02 18:41:17 +00:00
luis_pereira87
58f6cb2af9
Implement function for reversing bits with better performance
2023-09-27 08:30:06 +01:00
rmagueta
a629feec29
Remove duplicated nr_est_delay_pdsch()/nr_est_timing_advance_pusch() functions and just create the function nr_est_delay()
2023-09-04 17:09:35 +01:00
rmagueta
9f7b159039
Remove duplicated function freq2time()
2023-09-04 17:09:35 +01:00
rmagueta
e0ab96eedc
Implementation of delay compensation in NFAPI_NR_DMRS_TYPE1_linear_interp() at UE
2023-09-04 17:09:35 +01:00
Laurent THOMAS
206aa36a47
Make read-only globals const, additional fixes
...
- Global variables that are never written to are marked const
- Remove some EXTERN declaration
- Remove unused `log_mem_multi` from logging module
2023-08-18 14:20:37 +02:00
francescomani
6b74f1d4db
handle scheduling of DLSCH with DCI10 in common search space
2023-08-02 09:52:39 +02:00
Cedric Roux
c68549d861
modification of get_samplerate_and_bw(): add break where needed
2023-05-07 15:24:51 +02:00
rakesh mundlamuri
594fb18cc8
adressing the comments
2023-04-24 11:05:05 +02:00
francescomani
87d9517738
avoid duplicated function in nr_common for supported bandwidth
2023-04-20 18:16:37 +02:00
francescomani
41d9e775c9
reworking the function to get Pmax
2023-04-07 11:33:14 +02:00
francescomani
29ee6b17fa
adding check on allowed pm index in dlsim
2023-03-20 17:33:15 +01:00
francescomani
2385bc364a
fixing most warning when compiling nr-softmodem
2023-03-09 19:01:46 +01:00
francescomani
88192f1339
fixes for mixed slot without uplink symbols
2022-12-19 10:24:02 +01:00
Roberto Louro Magueta
9b04af1b52
Put the center_freq and maxDoppler as input of new_channel_desc_scm() function
2022-11-25 11:03:45 +00:00
Robert Schmidt
626e700c96
Merge remote-tracking branch 'origin/NR_gNB_DCI_bundle_size' into integration_2022_wk40
2022-10-05 15:32:08 +02:00
francescomani
ae53d823e3
fix for DCI bundle size
2022-09-28 11:19:12 +02:00
laurent
40db42015f
Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5G into nr_prs
2022-09-22 16:57:20 +02:00
Sagar Parsawar
bb7a22be0d
Merge remote-tracking branch 'origin/develop' into nr_prs
2022-08-22 19:16:55 +02:00
francescomani
2e4f55f6f1
Merge remote-tracking branch 'origin/develop' into ul-phr
2022-08-12 12:22:48 +02:00
francescomani
6e2a83856b
common function to get sample rate and BW
2022-08-04 17:19:15 +02:00
Sagar Parsawar
117c8bcc95
Merge remote-tracking branch 'origin/develop' into nr_prs
2022-08-04 14:37:05 +02:00