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
5198703a
Commit
5198703a
authored
Jul 17, 2018
by
Haruki NAOI
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: Error occurs in pdcch_alloc2ul_frame function.
parent
eb030b6a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
openair1/PHY/LTE_TRANSPORT/dci_tools_common.c
openair1/PHY/LTE_TRANSPORT/dci_tools_common.c
+2
-6
No files found.
openair1/PHY/LTE_TRANSPORT/dci_tools_common.c
View file @
5198703a
...
@@ -1099,13 +1099,9 @@ uint32_t pdcch_alloc2ul_frame(LTE_DL_FRAME_PARMS *frame_parms,uint32_t frame, ui
...
@@ -1099,13 +1099,9 @@ uint32_t pdcch_alloc2ul_frame(LTE_DL_FRAME_PARMS *frame_parms,uint32_t frame, ui
uint32_t
ul_frame
;
uint32_t
ul_frame
;
if
((
frame_parms
->
frame_type
==
TDD
)
&&
if
((
frame_parms
->
frame_type
==
TDD
)
&&
(
frame_parms
->
tdd_config
==
1
)
)
{
(
frame_parms
->
tdd_config
==
1
)
&&
if
((
n
==
1
)
||
(
n
==
6
)
||
(
n
==
4
)
||
(
n
==
9
))
{
// tdd_config 0,1 SF 1,5
((
n
==
1
)
||
(
n
==
6
)
||
(
n
==
4
)
||
(
n
==
9
)
))
{
// tdd_config 0,1 SF 1,5
ul_frame
=
(
frame
+
(
n
<
5
?
0
:
1
));
ul_frame
=
(
frame
+
(
n
<
5
?
0
:
1
));
}
else
{
LOG_E
(
PHY
,
"frame %d subframe %d: PUSCH frame = ?
\n
"
,
frame
,
n
);
ul_frame
=
0
;
}
}
else
if
((
frame_parms
->
frame_type
==
TDD
)
&&
}
else
if
((
frame_parms
->
frame_type
==
TDD
)
&&
(
frame_parms
->
tdd_config
==
6
)
&&
(
frame_parms
->
tdd_config
==
6
)
&&
((
n
==
0
)
||
(
n
==
1
)
||
(
n
==
5
)
||
(
n
==
6
)))
((
n
==
0
)
||
(
n
==
1
)
||
(
n
==
5
)
||
(
n
==
6
)))
...
...
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