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
ZhouShuya
OpenXG-RAN
Commits
d561abff
Commit
d561abff
authored
Jan 10, 2019
by
Nick Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dci pdu value fixed
parent
17cc03b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
openair1/PHY/LTE_TRANSPORT/dci_tools_NB_IoT.c
openair1/PHY/LTE_TRANSPORT/dci_tools_NB_IoT.c
+10
-5
No files found.
openair1/PHY/LTE_TRANSPORT/dci_tools_NB_IoT.c
View file @
d561abff
...
...
@@ -217,6 +217,7 @@ int generate_eNB_dlsch_params_from_dci_NB_IoT(PHY_VARS_eNB *eNB,
void
*
DLSCH_DCI_NB_IoT
=
NULL
;
uint8_t
*
DCI_tmp
=
NULL
;
uint8_t
*
DCI_flip
=
NULL
;
//eNB->DCI_pdu = (DCI_PDU_NB_IoT*) malloc(sizeof(DCI_PDU_NB_IoT));
...
...
@@ -316,16 +317,20 @@ int generate_eNB_dlsch_params_from_dci_NB_IoT(PHY_VARS_eNB *eNB,
//ndlcch->pdu[ncce_index] = DLSCH_DCI_NB_IoT;
DCI_tmp
=
(
uint8_t
*
)
DLSCH_DCI_NB_IoT
;
//DCI_tmp[0] = 128;
//DCI_tmp[1] = 66;
//DCI_tmp[2] = 4;
ndlcch
->
pdu
[
ncce_index
]
=
DCI_tmp
;
DCI_flip
=
(
uint8_t
*
)
malloc
(
3
*
sizeof
(
uint8_t
));
DCI_flip
[
0
]
=
DCI_tmp
[
2
]
*
2
;
DCI_flip
[
1
]
=
DCI_tmp
[
1
]
*
2
;
DCI_flip
[
2
]
=
DCI_tmp
[
0
]
*
2
;
ndlcch
->
pdu
[
ncce_index
]
=
DCI_flip
;
int
tmp
=
0
;
printf
(
"DCI PDU content:"
);
for
(
tmp
=
0
;
tmp
<
3
;
tmp
++
)
printf
(
"%d "
,
DCI_
tm
p
[
tmp
]);
printf
(
"%d "
,
DCI_
fli
p
[
tmp
]);
printf
(
"
\n
"
);
/*
* TS 36.213 ch 16.4.1.5
...
...
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