Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Michael Black
OpenXG-RAN
Commits
f056f0c1
Commit
f056f0c1
authored
Feb 03, 2022
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
txdataF_precoding local
parent
aa6f6361
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
6 deletions
+8
-6
openair1/PHY/NR_TRANSPORT/nr_dlsch.c
openair1/PHY/NR_TRANSPORT/nr_dlsch.c
+6
-1
openair1/PHY/NR_TRANSPORT/nr_dlsch_coding.c
openair1/PHY/NR_TRANSPORT/nr_dlsch_coding.c
+1
-2
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_decoding.c
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_decoding.c
+1
-1
openair1/PHY/defs_gNB.h
openair1/PHY/defs_gNB.h
+0
-2
No files found.
openair1/PHY/NR_TRANSPORT/nr_dlsch.c
View file @
f056f0c1
...
...
@@ -140,7 +140,6 @@ void nr_generate_pdsch(processingData_L1tx_t *msgTx,
nfapi_nr_dl_tti_pdsch_pdu_rel15_t
*
rel15
=
&
harq
->
pdsch_pdu
.
pdsch_pdu_rel15
;
int16_t
**
mod_symbs
=
(
int16_t
**
)
dlsch
->
mod_symbs
;
int16_t
**
tx_layers
=
(
int16_t
**
)
dlsch
->
txdataF
;
int16_t
**
txdataF_precoding
=
(
int16_t
**
)
dlsch
->
txdataF_precoding
;
int8_t
Wf
[
2
],
Wt
[
2
],
l0
,
l_prime
,
l_overline
,
delta
;
uint8_t
dmrs_Type
=
rel15
->
dmrsConfigType
;
int
nb_re_dmrs
;
...
...
@@ -277,6 +276,9 @@ void nr_generate_pdsch(processingData_L1tx_t *msgTx,
start_sc
-=
frame_parms
->
ofdm_symbol_size
;
int
txdataF_offset
=
(
slot
%
2
)
*
frame_parms
->
samples_per_slot_wCP
;
int16_t
**
txdataF_precoding
=
(
int16_t
**
)
malloc16
(
rel15
->
nrOfLayers
*
sizeof
(
int16_t
*
));
for
(
int
layer
=
0
;
layer
<
rel15
->
nrOfLayers
;
layer
++
)
txdataF_precoding
[
layer
]
=
(
int16_t
*
)
malloc16
(
2
*
14
*
frame_parms
->
ofdm_symbol_size
*
sizeof
(
int16_t
));
#ifdef DEBUG_DLSCH_MAPPING
printf
(
"PDSCH resource mapping started (start SC %d
\t
start symbol %d
\t
N_PRB %d
\t
nb_re %d,nb_layers %d)
\n
"
,
...
...
@@ -591,6 +593,9 @@ void nr_generate_pdsch(processingData_L1tx_t *msgTx,
else
{
LOG_D
(
PHY
,
"beam index for PDSCH allocation already taken
\n
"
);
}
for
(
int
layer
=
0
;
layer
<
rel15
->
nrOfLayers
;
layer
++
)
free16
(
txdataF_precoding
[
layer
],
2
*
14
*
frame_parms
->
ofdm_symbol_size
);
free16
(
txdataF_precoding
,
rel15
->
nrOfLayers
);
}
// dlsch loop
}
...
...
openair1/PHY/NR_TRANSPORT/nr_dlsch_coding.c
View file @
f056f0c1
...
...
@@ -122,7 +122,7 @@ NR_gNB_DLSCH_t *new_gNB_dlsch(NR_DL_FRAME_PARMS *frame_parms,
int
txdataf_size
=
frame_parms
->
N_RB_DL
*
NR_SYMBOLS_PER_SLOT
*
NR_NB_SC_PER_RB
*
8
;
// max pdsch encoded length for each layer
dlsch
->
txdataF
=
(
int32_t
**
)
malloc16
(
max_layers
*
sizeof
(
int32_t
*
));
dlsch
->
txdataF_precoding
=
(
int32_t
**
)
malloc16
(
max_layers
*
sizeof
(
int32_t
*
));
dlsch
->
ue_spec_bf_weights
=
(
int32_t
***
)
malloc16
(
max_layers
*
sizeof
(
int32_t
**
));
for
(
int
layer
=
0
;
layer
<
max_layers
;
layer
++
)
{
dlsch
->
ue_spec_bf_weights
[
layer
]
=
(
int32_t
**
)
malloc16
(
64
*
sizeof
(
int32_t
*
));
...
...
@@ -135,7 +135,6 @@ NR_gNB_DLSCH_t *new_gNB_dlsch(NR_DL_FRAME_PARMS *frame_parms,
}
}
dlsch
->
txdataF
[
layer
]
=
(
int32_t
*
)
malloc16
((
txdataf_size
)
*
sizeof
(
int32_t
));
dlsch
->
txdataF_precoding
[
layer
]
=
(
int32_t
*
)
malloc16
(
2
*
14
*
frame_parms
->
ofdm_symbol_size
*
sizeof
(
int32_t
));
}
for
(
int
q
=
0
;
q
<
NR_MAX_NB_CODEWORDS
;
q
++
)
...
...
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_decoding.c
View file @
f056f0c1
...
...
@@ -152,7 +152,7 @@ NR_UE_DLSCH_t *new_nr_ue_dlsch(uint8_t Kmimo,uint8_t Mdlharq,uint32_t Nsoft,uint
if
(
abstraction_flag
==
0
)
{
dlsch
->
harq_processes
[
i
]
->
c
=
(
uint8_t
**
)
malloc16
(
a_segments
*
sizeof
(
uint8_t
*
));
dlsch
->
harq_processes
[
i
]
->
p_nrLDPC_procBuf
=
(
uint8_t
**
)
malloc16
(
a_segments
*
sizeof
(
uint8_t
*
));
dlsch
->
harq_processes
[
i
]
->
p_nrLDPC_procBuf
=
(
t_nrLDPC_procBuf
**
)
malloc16
(
a_segments
*
sizeof
(
t_nrLDPC_procBuf
*
));
for
(
int
r
=
0
;
r
<
a_segments
;
r
++
)
{
dlsch
->
harq_processes
[
i
]
->
p_nrLDPC_procBuf
[
r
]
=
nrLDPC_init_mem
();
dlsch
->
harq_processes
[
i
]
->
c
[
r
]
=
(
uint8_t
*
)
malloc16
(
1056
);
...
...
openair1/PHY/defs_gNB.h
View file @
f056f0c1
...
...
@@ -158,8 +158,6 @@ typedef struct {
NR_DL_gNB_HARQ_t
harq_process
;
/// TX buffers for UE-spec transmission (antenna layers 1,...,4 after to precoding)
int32_t
**
txdataF
;
/// TX buffers for UE-spec transmission (antenna ports 1000 or 1001,...,1007, before precoding)
int32_t
**
txdataF_precoding
;
/// Modulated symbols buffer
int32_t
*
mod_symbs
[
NR_MAX_NB_CODEWORDS
];
/// beamforming weights for UE-spec transmission (antenna ports 5 or 7..14), for each codeword, maximum 4 layers?
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment