Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
openairinterface5G
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Merge Requests
15
Merge Requests
15
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
oai
openairinterface5G
Commits
0487631c
Commit
0487631c
authored
Mar 28, 2017
by
Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#221 fixed crash when processing false DCI1A due to incorrect HARQ-PID checking
parent
8d88bae9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
openair1/PHY/LTE_TRANSPORT/dci_tools.c
openair1/PHY/LTE_TRANSPORT/dci_tools.c
+2
-2
openair1/PHY/LTE_TRANSPORT/ulsch_coding.c
openair1/PHY/LTE_TRANSPORT/ulsch_coding.c
+1
-1
openair1/PHY/LTE_TRANSPORT/ulsch_modulation.c
openair1/PHY/LTE_TRANSPORT/ulsch_modulation.c
+1
-1
No files found.
openair1/PHY/LTE_TRANSPORT/dci_tools.c
View file @
0487631c
...
...
@@ -4799,7 +4799,7 @@ int check_dci_format1_1a_coherency(DCI_format_t dci_format,
return
(
0
);
}
if
(
harq_pid
>
8
)
if
(
harq_pid
>=
8
)
{
LOG_I
(
PHY
,
"bad harq id
\n
"
);
return
(
0
);
...
...
@@ -5013,7 +5013,7 @@ int check_dci_format2_2a_coherency(DCI_format_t dci_format,
#endif
// I- check dci content minimum coherency
if
(
harq_pid
>
8
)
if
(
harq_pid
>=
8
)
{
LOG_I
(
PHY
,
"bad harq pid
\n
"
);
return
(
0
);
...
...
openair1/PHY/LTE_TRANSPORT/ulsch_coding.c
View file @
0487631c
...
...
@@ -242,7 +242,7 @@ uint32_t ulsch_encoding(uint8_t *a,
return
(
-
1
);
}
if
(
harq_pid
>
7
)
{
if
(
harq_pid
>
=
8
)
{
LOG_E
(
PHY
,
"Illegal harq_pid %d
\n
"
,
harq_pid
);
return
(
-
1
);
}
...
...
openair1/PHY/LTE_TRANSPORT/ulsch_modulation.c
View file @
0487631c
...
...
@@ -402,7 +402,7 @@ void ulsch_modulation(int32_t **txdataF,
// x1 is set in lte_gold_generic
x2
=
(
ulsch
->
rnti
<<
14
)
+
(
subframe
<<
9
)
+
frame_parms
->
Nid_cell
;
//this is c_init in 36.211 Sec 6.3.1
if
(
harq_pid
>
7
)
{
if
(
harq_pid
>=
8
)
{
printf
(
"ulsch_modulation.c: Illegal harq_pid %d
\n
"
,
harq_pid
);
return
;
}
...
...
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