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
Thomas Schlichter
3a014e199f
NR UE: skip DLSCH ACK/NACK reporting for harq pid where feedback is disabled
2024-07-19 10:43:52 +02:00
Robert Schmidt
38284919b3
Merge remote-tracking branch 'origin/initial_NR_UE_NTN_support' into integration_2024_w28
2024-07-13 14:15:00 +02:00
Bartosz Podrygajlo
373b7d9e37
Reset NR UE PUSCH power control state if alpha or p0 is modified by gNB
2024-07-11 16:06:47 +02:00
Thomas Schlichter
1e47311259
NR UE: use sr_ProhibitTimer_v1700 if present
2024-07-11 13:33:30 +02:00
Thomas Schlichter
26175c5413
NR UE: add NTN specific parameter cellSpecificKoffset_r17 and use it for UL scheduling
...
According to the RRC specification, cellSpecificKoffset is:
Scheduling offset used for the timing relationships that are modified for NTN (see TS 38.213 [13]).
The unit of the field K_offset is number of slots for a given subcarrier spacing of 15 kHz.
If the field is absent UE assumes value 0
This parameter `cellSpecificKoffset_r17` can be set via UE command line parameter `--ntn-koffset`.
2024-07-10 14:42:42 +02:00
Robert Schmidt
78b48a1e59
Merge remote-tracking branch 'origin/multiple-nr-ues' into integration_2024_w27
2024-07-09 12:07:30 +02:00
Robert Schmidt
9c72b29f3b
Merge remote-tracking branch 'origin/NR_handling_CSI_overlapping_with_PDSCH' into integration_2024_w27
2024-07-09 07:53:49 +02:00
Bartosz Podrygajlo
83f66f2ade
Replace 0 with module id for NR UE
...
Add UE id to several LOG macros
2024-07-01 17:10:39 +02:00
francescomani
15191452f3
UE MAC configuration of CSIRS for PDSCH rate matching
2024-06-28 10:02:29 +02:00
Bartosz Podrygajlo
8ea2e77ab2
PUSCH power control without PUSCH power control state
2024-06-26 10:08:33 +02:00
francescomani
ad3427107a
full procedure to select MCS table for DLSCH at MAC UE
2024-06-13 19:43:30 +02:00
francescomani
165afbd5b5
improve handling of CSI-MeasConfig setup
2024-06-05 19:37:10 +02:00
francescomani
f5f9983173
fix in setup and release of aperiodicTriggerStateList
2024-06-05 19:21:29 +02:00
francescomani
12e1045d2a
fix for MAC template with CSI report config
2024-06-05 19:21:28 +02:00
francescomani
c985a794c7
fix UE uci on PUSCH config
2024-06-05 19:15:09 +02:00
Robert Schmidt
5b53f4ee0f
Merge remote-tracking branch 'origin/NR_UE_cell_search' into integration_2024_w22
2024-06-03 21:35:51 +02:00
Sakthivel Velumani
ca93e68410
Use command line option for sell search
...
There is already a command line option called 'ue-scan-carrier' which
seemed to blindly look for SSB by changing the center frequency by
+/-100Hz if the previous attempt failed. This is probably copied from
LTE and is not suitable for NR. This commit uses this option to either
1. Perform initial sync on one GSCN if the SSB position if known
2. Or scan the all GSCN (if the SSB postion is unknown)
Also, the following is done for re-synchronization
1. Scan all GSCN when UE comes back from IDLE state
2. Scan one GSCN when UE does re-estabishment
Removed dependency of lte-softmodem.h in nr-softmodem.c.
CONFIG_HLP_UESCAN is declared also in lte-softmodem.h.
2024-05-30 10:20:55 -04:00
francescomani
e8ae696c8f
remove some enb dependencies in NR files
2024-05-23 18:30:33 +02:00
Guido Casati
cf22a331e5
Additional check on pucch_Config and srs_Config
2024-05-06 18:10:03 +02:00
Jaroslava Fiedlerova
960d0cc01f
Merge remote-tracking branch 'origin/NR_UE_trigger_RA_UL_failure' into integration_2024_w17
2024-04-29 19:06:22 +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
francescomani
9992a19a6f
release SRS/PUCCH as described in 331 section 5.3.12
2024-04-23 17:53:46 +02:00
francescomani
bff1f06350
removing MAC reset cause from reset_ra
2024-04-23 17:18:32 +02:00
Jaroslava Fiedlerova
829d8c3c1b
Merge remote-tracking branch 'origin/NR_more_UE_fixes' into integration_2024_w15
2024-04-12 09:20:12 +02:00
francescomani
84e1d8205e
add new state for UE detachement
2024-04-11 16:48:36 +02:00
francescomani
851cf96943
add detach log at MAC
2024-04-11 16:46:36 +02:00
francescomani
e8f0700881
free RACH structures in the right place for the right triggering cause
2024-04-11 16:27:44 +02:00
francescomani
a0c5a3604a
fix incorrect bw index evaluation for UE capabilities
2024-04-10 14:06:41 +02:00
francescomani
2f9fe36412
improvements in the procedures for SR at MAC UE
2024-04-04 14:34:56 +02:00
francescomani
21d3a4ea51
improving the handling of sr_TransMax
2024-04-04 13:58:01 +02:00
francescomani
338426ed72
use NR_timer_t for SR-ProhibitTimer
2024-04-04 08:37:56 +02:00
Jaroslava Fiedlerova
ded3618f70
Merge remote-tracking branch 'origin/NR_UE_fix_wrong_use_asn_sequence_del' into integration_2024_w13
2024-04-02 11:36:43 +02: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
4a3beb0b48
fix usage of asn_sequence_del to clear a list
2024-03-28 13:50:11 +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
francescomani
c090b1f767
further improvements in BSR handling after being triggered
2024-03-22 09:13:01 +01:00
francescomani
310f62604c
improvements in periodicBSR_Timer implementation
2024-03-22 09:13:01 +01:00
francescomani
e60af1c8f6
improvements in retxBSR_Timer implementation
2024-03-22 09:13:01 +01:00
francescomani
04ac336c80
improvements in function to update BSR status
2024-03-22 09:13:01 +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
francescomani
1fa6be2a3d
fix procedure after T300 expiry
2024-03-19 09:55:05 +01:00
Robert Schmidt
a9123e68fc
Merge remote-tracking branch 'origin/fix-4G-5G-ra-state-confusion' into integration_2024_w11
2024-03-18 10:17:36 +01:00
Laurent THOMAS
b97c70fd87
remove 5G dependency on 4G mac.h include, separate RA state enums between 4G/5G and UE/gNB
...
add RA stat trace by enum name instead of integer printing
fix minor a few minor typos
2024-03-15 10:55:11 +01:00
Robert Schmidt
e5713c9a56
Merge remote-tracking branch 'origin/NR_UE_RRC_handle_MeasConfig' into integration_2024_w11
2024-03-15 08:12:16 +01:00
francescomani
8c2dc19470
reestablishment initiation
2024-03-13 17:48:45 +01:00
Jaroslava Fiedlerova
cd5209a782
Merge remote-tracking branch 'origin/fix_fr2_ssb_start_subcarrier' into integration_2024_w09
2024-03-01 09:48:27 +01:00
francescomani
ab07b080dd
move ASN macros to a more global file to be available also at RRC
2024-02-29 10:42:41 +01:00
Raphael Defosseux
ca2b0693fb
Merge remote-tracking branch 'origin/NR_UE_fix_cset0_ss0' into integration_2024_w08
2024-02-23 10:14:16 +01:00