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
71960795
Commit
71960795
authored
May 17, 2018
by
Thomas Schlichter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix DCI format 1C
This commit was developed at Fraunhofer IIS (
https://www.iis.fraunhofer.de
).
parent
977b7ebe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
11 deletions
+12
-11
openair1/PHY/LTE_UE_TRANSPORT/dci_tools_ue.c
openair1/PHY/LTE_UE_TRANSPORT/dci_tools_ue.c
+12
-11
No files found.
openair1/PHY/LTE_UE_TRANSPORT/dci_tools_ue.c
View file @
71960795
...
...
@@ -179,29 +179,29 @@ void extract_dci1C_info(uint8_t N_RB_DL, lte_frame_type_t frame_type, void *dci_
uint32_t
rballoc
=
0
;
uint8_t
mcs
=
0
;
uint8_t
Ngap
=
0
;
switch
(
N_RB_DL
)
{
case
6
:
mcs
=
((
DCI1C_5MHz_t
*
)
dci_pdu
)
->
mcs
;
rballoc
=
conv_1C_RIV
(((
DCI1C_5MHz_t
*
)
dci_pdu
)
->
rballoc
,
6
);
mcs
=
((
DCI1C_1_5MHz_t
*
)
dci_pdu
)
->
mcs
;
rballoc
=
conv_1C_RIV
(((
DCI1C_1_5MHz_t
*
)
dci_pdu
)
->
rballoc
,
6
);
break
;
case
25
:
mcs
=
((
DCI1C_5MHz_t
*
)
dci_pdu
)
->
mcs
;
rballoc
=
conv_1C_RIV
(((
DCI1C_5MHz_t
*
)
dci_pdu
)
->
rballoc
,
6
);
mcs
=
((
DCI1C_5MHz_t
*
)
dci_pdu
)
->
mcs
;
rballoc
=
conv_1C_RIV
(((
DCI1C_5MHz_t
*
)
dci_pdu
)
->
rballoc
,
25
);
break
;
case
50
:
mcs
=
((
DCI1C_10MHz_t
*
)
dci_pdu
)
->
mcs
;
rballoc
=
conv_1C_RIV
(((
DCI1C_10MHz_t
*
)
dci_pdu
)
->
rballoc
,
6
);
mcs
=
((
DCI1C_10MHz_t
*
)
dci_pdu
)
->
mcs
;
rballoc
=
conv_1C_RIV
(((
DCI1C_10MHz_t
*
)
dci_pdu
)
->
rballoc
,
50
);
Ngap
=
((
DCI1C_10MHz_t
*
)
dci_pdu
)
->
Ngap
;
break
;
case
100
:
mcs
=
((
DCI1C_20MHz_t
*
)
dci_pdu
)
->
mcs
;
rballoc
=
conv_1C_RIV
(((
DCI1C_20MHz_t
*
)
dci_pdu
)
->
rballoc
,
6
);
mcs
=
((
DCI1C_20MHz_t
*
)
dci_pdu
)
->
mcs
;
rballoc
=
conv_1C_RIV
(((
DCI1C_20MHz_t
*
)
dci_pdu
)
->
rballoc
,
100
);
Ngap
=
((
DCI1C_20MHz_t
*
)
dci_pdu
)
->
Ngap
;
break
;
default:
...
...
@@ -211,6 +211,7 @@ void extract_dci1C_info(uint8_t N_RB_DL, lte_frame_type_t frame_type, void *dci_
pdci_info_extarcted
->
mcs1
=
mcs
;
pdci_info_extarcted
->
rballoc
=
rballoc
;
pdci_info_extarcted
->
Ngap
=
Ngap
;
}
void
extract_dci1_info
(
uint8_t
N_RB_DL
,
lte_frame_type_t
frame_type
,
void
*
dci_pdu
,
DCI_INFO_EXTRACTED_t
*
pdci_info_extarcted
)
...
...
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