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
wangjie
OpenXG-RAN
Commits
a5a1d7b9
Commit
a5a1d7b9
authored
Jun 29, 2020
by
Thomas Schlichter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve stability by replacing AssertFatal() with LOG_E() in nr_rx_pdsch()
parent
b90e5754
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_demodulation.c
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_demodulation.c
+7
-4
No files found.
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_demodulation.c
View file @
a5a1d7b9
...
...
@@ -214,7 +214,8 @@ int nr_rx_pdsch(PHY_VARS_NR_UE *ue,
printf
(
"[DEMOD] I am assuming only TB1 is active, it is in cw %d
\n
"
,
dlsch1_harq
->
codeword
);
#endif
AssertFatal
(
1
==
0
,
"[UE][FATAL] DLSCH: TB0 not active and TB1 active case is not supported
\n
"
);
LOG_E
(
PHY
,
"[UE][FATAL] DLSCH: TB0 not active and TB1 active case is not supported
\n
"
);
return
-
1
;
}
else
{
LOG_E
(
PHY
,
"[UE][FATAL] nr_tti_rx %d: no active DLSCH
\n
"
,
nr_tti_rx
);
...
...
@@ -224,14 +225,16 @@ int nr_rx_pdsch(PHY_VARS_NR_UE *ue,
break
;
default:
AssertFatal
(
1
==
0
,
"[UE][FATAL] nr_tti_rx %d: Unknown PDSCH format %d
\n
"
,
nr_tti_rx
,
type
);
LOG_E
(
PHY
,
"[UE][FATAL] nr_tti_rx %d: Unknown PDSCH format %d
\n
"
,
nr_tti_rx
,
type
);
return
(
-
1
);
break
;
}
if
(
dlsch0_harq
==
NULL
)
AssertFatal
(
1
==
0
,
"Done
\n
"
);
if
(
dlsch0_harq
==
NULL
)
{
LOG_E
(
PHY
,
"Done
\n
"
);
return
-
1
;
}
dlsch0_harq
->
Qm
=
nr_get_Qm_dl
(
dlsch
[
0
]
->
harq_processes
[
harq_pid
]
->
mcs
,
dlsch
[
0
]
->
harq_processes
[
harq_pid
]
->
mcs_table
);
dlsch0_harq
->
R
=
nr_get_code_rate_dl
(
dlsch
[
0
]
->
harq_processes
[
harq_pid
]
->
mcs
,
dlsch
[
0
]
->
harq_processes
[
harq_pid
]
->
mcs_table
);
...
...
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