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
aa6f6361
Commit
aa6f6361
authored
Feb 01, 2022
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding log_e for ulsch segmentation
parent
9e2185aa
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
0 deletions
+12
-0
openair1/PHY/INIT/nr_init_ue.c
openair1/PHY/INIT/nr_init_ue.c
+1
-0
openair1/PHY/NR_TRANSPORT/nr_ulsch_decoding.c
openair1/PHY/NR_TRANSPORT/nr_ulsch_decoding.c
+6
-0
openair1/PHY/NR_UE_TRANSPORT/nr_ulsch_coding.c
openair1/PHY/NR_UE_TRANSPORT/nr_ulsch_coding.c
+5
-0
No files found.
openair1/PHY/INIT/nr_init_ue.c
View file @
aa6f6361
...
@@ -66,6 +66,7 @@ extern uint16_t beta_cqi[16];
...
@@ -66,6 +66,7 @@ extern uint16_t beta_cqi[16];
*/
*/
void
phy_init_nr_ue__PDSCH
(
NR_UE_PDSCH
*
const
pdsch
,
void
phy_init_nr_ue__PDSCH
(
NR_UE_PDSCH
*
const
pdsch
,
const
NR_DL_FRAME_PARMS
*
const
fp
)
{
const
NR_DL_FRAME_PARMS
*
const
fp
)
{
AssertFatal
(
pdsch
,
"pdsch==0"
);
AssertFatal
(
pdsch
,
"pdsch==0"
);
pdsch
->
pmi_ext
=
(
uint8_t
*
)
malloc16_clear
(
fp
->
N_RB_DL
);
pdsch
->
pmi_ext
=
(
uint8_t
*
)
malloc16_clear
(
fp
->
N_RB_DL
);
pdsch
->
llr
[
0
]
=
(
int16_t
*
)
malloc16_clear
(
(
8
*
(
3
*
8
*
6144
))
*
sizeof
(
int16_t
)
);
pdsch
->
llr
[
0
]
=
(
int16_t
*
)
malloc16_clear
(
(
8
*
(
3
*
8
*
6144
))
*
sizeof
(
int16_t
)
);
...
...
openair1/PHY/NR_TRANSPORT/nr_ulsch_decoding.c
View file @
aa6f6361
...
@@ -554,6 +554,12 @@ uint32_t nr_ulsch_decoding(PHY_VARS_gNB *phy_vars_gNB,
...
@@ -554,6 +554,12 @@ uint32_t nr_ulsch_decoding(PHY_VARS_gNB *phy_vars_gNB,
&
harq_process
->
F
,
&
harq_process
->
F
,
p_decParams
->
BG
);
p_decParams
->
BG
);
if
(
harq_process
->
C
>
MAX_NUM_NR_DLSCH_SEGMENTS_PER_LAYER
*
n_layers
)
{
LOG_E
(
PHY
,
"nr_segmentation.c: too many segments %d, B %d
\n
"
,
harq_process
->
C
,
harq_process
->
B
);
return
(
-
1
);
}
#ifdef DEBUG_ULSCH_DECODING
#ifdef DEBUG_ULSCH_DECODING
printf
(
"ulsch decoding nr segmentation Z %d
\n
"
,
harq_process
->
Z
);
printf
(
"ulsch decoding nr segmentation Z %d
\n
"
,
harq_process
->
Z
);
if
(
!
frame
%
100
)
if
(
!
frame
%
100
)
...
...
openair1/PHY/NR_UE_TRANSPORT/nr_ulsch_coding.c
View file @
aa6f6361
...
@@ -321,6 +321,11 @@ int nr_ulsch_encoding(PHY_VARS_NR_UE *ue,
...
@@ -321,6 +321,11 @@ int nr_ulsch_encoding(PHY_VARS_NR_UE *ue,
pz
,
pz
,
&
harq_process
->
F
,
&
harq_process
->
F
,
harq_process
->
BG
);
harq_process
->
BG
);
if
(
harq_process
->
C
>
MAX_NUM_NR_DLSCH_SEGMENTS_PER_LAYER
*
harq_process
->
pusch_pdu
.
nrOfLayers
)
{
LOG_E
(
PHY
,
"nr_segmentation.c: too many segments %d, B %d
\n
"
,
harq_process
->
C
,
harq_process
->
B
);
return
(
-
1
);
}
stop_meas
(
&
ue
->
ulsch_segmentation_stats
);
stop_meas
(
&
ue
->
ulsch_segmentation_stats
);
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_NR_SEGMENTATION
,
VCD_FUNCTION_OUT
);
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_NR_SEGMENTATION
,
VCD_FUNCTION_OUT
);
...
...
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