francescomani
a343ec03fd
changes in get_transformPrecoding to follow what's written in 6.1.3 of 214
2024-10-10 11:58:07 +02:00
francescomani
25fdc1d23d
beam association for prach
2024-08-14 10:04:42 +02:00
francescomani
c31d250d28
new structure to handle beams
...
fix: reset beam only if it is a newly allocated one
2024-08-14 08:28:53 +02:00
Jaroslava Fiedlerova
00523c2b2f
Merge remote-tracking branch 'origin/NR_HARQ32_PROCESSES' into integration_2024_w32
2024-08-12 16:34:24 +02:00
francescomani
2b76e88823
remove some openair1 headers included in opeinair2 files
2024-08-09 16:16:13 +02:00
Raghavendra Dinavahi
e586efb29d
enable HARQ32, Changes common to gNB and UE
...
- MAX HARQ PROCESSES set to 32
- for PDSCH - default setting in OAI is 16, according to 3GPP rel17 38.331 these are the possible configs
- if no IES are defined then 8
- if nrofHARQ-ProcessesForPDSCH is defined then these values- {n2, n4, n6, n10, n12, n16}
- if nrofHARQ-ProcessesForPDSCH-v1700 is defined then 32
- for harq bits in DCI
- DCI 1_0 - 4 bits spec 38.212, section 7.3.1.2.1
- DCI 1_1 - 4/5 bits according to IE harq-ProcessNumberSizeDCI-1-1, spec 38.212, section 7.3.1.2.2
- for PUSCH - default setting in OAI is 16, according to 3GPP rel17 38.331 these are possible configs
- if no IES are defined then 16
- if nrofHARQ-ProcessesForPUSCH-v1700 is defined then 32
- for harq bits in DCI
- DCI 0_0 - 4 bits spec 38.212, section 7.3.1.1.1
- DCI 0_1 - 4/5 bits according to IE harq-ProcessNumberSizeDCI-0-1, spec 38.212, section 7.3.1.1.2
- FOR HARQ32 , DCI 1_1, DCI 0_1 should be configured in UE dedicated search space. In OAI it is set.
2024-08-06 17:12:48 +02:00
Thomas Schlichter
ae4cbcfb0c
gNB: add config file option "disable_harq" and set pdsch_servingcellconfig->ext3->downlinkHARQ_FeedbackDisabled_r17 accordingly
2024-07-19 10:43:52 +02:00
francescomani
83c59b05e9
code cleanup and small fixes
2024-07-11 11:25:22 +02:00
Robert Schmidt
fc8ed209a2
Merge remote-tracking branch 'origin/bugfix_compute_PDU_Length' into integration_2024_w27
2024-07-09 07:54:21 +02:00
Rúben Soares Silva
d795c72990
Change compute_PDU_Length input parameter to uint32_t.
...
The total_length parameter in compute_PDU_Length being uint16_t causes
the passed value to be possibly truncated, which can cause the
PDU_Length to be incorrectly calculated.
This change prevents that truncation, since it now matches the size
of the values passed into the function where it is being called.
2024-07-08 15:26:00 +01:00
francescomani
2dcfabb6de
avoid TDA index assertion by rejecting the DCI with invalid parameter
2024-06-28 18:37:18 +02:00
Rúben Soares Silva
4033606fff
Increase TX_DATA.request TB buffer size to be allocated in the stack with 2MB, fix compute_PDU_Length to not truncate value and fix packing procedure to use buffer size as the upper limit instead of hardcoded value
2024-06-25 13:50:53 +01:00
francescomani
12e1045d2a
fix for MAC template with CSI report config
2024-06-05 19:21:28 +02:00
francescomani
830b8a208a
handling reception of CSI command for aperiodic CSI reporting
2024-06-05 19:07:31 +02:00
francescomani
c626e55f67
harmonize use of function to reverse n bits
2024-05-15 17:08:47 +02:00
francescomani
1056e53acb
mostly formatting
2024-05-01 16:51:40 +02:00
Jaroslava Fiedlerova
132c0738c0
Merge remote-tracking branch 'origin/implement-dci11-type0-contiguous-rbs' into integration_2024_w17
2024-04-29 10:01:06 +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
Laurent THOMAS
a07461813d
NR UE: Implement DCI format 11 type0 for contiguous allocations
2024-04-26 10:07:23 +02:00
francescomani
a0c5a3604a
fix incorrect bw index evaluation for UE capabilities
2024-04-10 14:06:41 +02:00
francescomani
568973d5be
incorrectLogicOperator
2024-04-09 16:55:51 +02:00
francescomani
8404da759f
nullPointerRedundantCheck
2024-04-09 16:55:51 +02:00
francescomani
96ff859cb7
shiftTooManyBitsSigned
2024-04-09 16:53:12 +02:00
francescomani
1e1679b668
memleak
2024-04-09 16:44:56 +02:00
Robert Schmidt
7364d9bde7
Move find_monitoring_periodicity_offset_common() to RA file
2024-04-04 18:54:04 +02:00
Jaroslava Fiedlerova
87d14c3cd4
Merge remote-tracking branch 'origin/NR_prevent_segfault_at_detach' into integration_2024_w13
2024-03-29 17:02:45 +01:00
francescomani
6e9dd015f6
DCI formats 11 and 01 assume the presence of an active BWP, if not present return with an error to prevent segfault
2024-03-27 09:36:19 +01:00
francescomani
8f858af876
improvements for 4-layer MIMO at gNB
2024-03-21 18:22:25 +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
Nuno Domingues
ff7c960b2c
Harmonize computation of RA-RNTI
2024-02-16 18:04:57 +00:00
francescomani
00f7ba61a0
adding assertion for cset0 start prb
2024-02-02 09:21:44 +01:00
francescomani
5e18bbd55d
Merge remote-tracking branch 'origin/NR_UE_dlsch_rescource_allocation_type0' into integration_2024_w04
2024-01-26 17:23:07 +01:00
Robert Schmidt
b8e377d4ca
Add single assert to check for validity in code
2024-01-23 13:42:29 +01:00
Jaroslava Fiedlerova
31cc7a077b
Merge remote-tracking branch 'origin/fix-ue-rx-tx-thread-synchro' into integration_2024_w02
2024-01-12 09:42:14 +01:00
Jaroslava Fiedlerova
40d24a09a1
Merge remote-tracking branch 'origin/NR_UE_BG_at_MAC' into integration_2024_w02
2024-01-12 09:41:27 +01:00
Laurent THOMAS
4c7b185d92
merge two reduntant and incoherent enums for rnti_type_t, make a macro to stringify properly instead of hardcoded side strings array
2024-01-09 16:15:14 +01:00
francescomani
90c8e7dfd1
improvements in UE detachment, including sending a message from NAS and signaling to MAC and fixing some memory leaks when terminating UE
2024-01-04 14:28:49 +01:00
francescomani
7ca130832b
move computation of base graph for LDPC at MAC in the UE
2023-12-20 18:03:17 +01:00
francescomani
e3e158a77a
RRC go to IDLE
2023-12-20 11:19:06 +01:00
francescomani
d7c651a014
MAC procedures to handle DLSCH allocation type 0
2023-12-19 11:19:20 +01:00
francescomani
60f5b9622c
clang formatting and review
2023-12-17 17:28:28 +01:00
francescomani
e25bec6a89
fixes for do-ra mode including moving to sc_info some info non related to a specific BWP
2023-12-12 14:10:10 +01:00
francescomani
78041a2012
rework BWP UE structures including handling of need codes
2023-12-12 14:10:10 +01:00
francescomani
ce35b668e4
handle csi-measconfig in sc_info
2023-12-12 14:10:10 +01:00
francescomani
9b9eb6f4e4
common structure for non-BWP servingcell info
2023-12-12 14:06:37 +01:00
francescomani
c6e5ead2a9
some more RRC cleanup
2023-11-21 11:07:21 +01:00
francescomani
2715c7efdd
improve MAC configuration from RRC
2023-11-20 14:21:01 +01:00
francescomani
8013d5d8cc
removing CellGroup dependance from MAC common functions
2023-11-20 11:36:46 +01:00
Raphael Defosseux
24ac96cd40
Merge remote-tracking branch 'origin/Fix_FAPI_PDU_Length' into integration_2023_w42
2023-10-20 11:46:33 +02:00
Rúben Soares da Silva
bfd12e4aa0
Change PDU_Length and TLV length calculation to be inline with SCF 222.10.02
...
PDU Length is as per SCF 222.10.02: The total length (in bytes) of the
PDU description and PDU data, without the padding bytes. From
TX_DATA.request we get 8 (2 bytes PDU_Length + 2 bytes PDU_Index + 4
bytes num_TLV ) and from each TLV we get 4 + value size ( 2 bytes tag +
2 bytes length + value size without pading)
Therefore, add function to compute PDU_length() value for
TX_Data.request, taking into account how many TLVs there are.
compute_PDU_length() does not rely on access to `nfapi_nr_pdu_t`.
Put it into nr_mac_common.c to avoid introducing dependencies.
2023-10-17 04:33:57 +02:00