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
canghaiwuhen
OpenXG-RAN
Commits
cf85aebd
Commit
cf85aebd
authored
Jan 09, 2019
by
Nick Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dci length fixed
parent
cf7079a6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
openair1/PHY/LTE_TRANSPORT/dci_tools_NB_IoT.c
openair1/PHY/LTE_TRANSPORT/dci_tools_NB_IoT.c
+2
-2
openair2/PHY_INTERFACE/IF_Module_L2_primitives_NB_IoT.c
openair2/PHY_INTERFACE/IF_Module_L2_primitives_NB_IoT.c
+1
-1
No files found.
openair1/PHY/LTE_TRANSPORT/dci_tools_NB_IoT.c
View file @
cf85aebd
...
@@ -294,7 +294,7 @@ int generate_eNB_dlsch_params_from_dci_NB_IoT(PHY_VARS_eNB *eNB,
...
@@ -294,7 +294,7 @@ int generate_eNB_dlsch_params_from_dci_NB_IoT(PHY_VARS_eNB *eNB,
// ndlcch->ncce_index = NCCE_index;
// ndlcch->ncce_index = NCCE_index;
// ndlcch->aggregation_level = aggregation;
// ndlcch->aggregation_level = aggregation;
ndlcch
->
A
[
ncce_index
]
=
sizeof
(
DCIN1_RAR_t
)
;
// number of bits in DCI
ndlcch
->
A
[
ncce_index
]
=
sizeof
_DCIN1_RAR_t
;
// number of bits in DCI
//ndlcch->subframe_tx[subframe] = 1; // check if it's OK
//ndlcch->subframe_tx[subframe] = 1; // check if it's OK
ndlcch
->
rnti
[
ncce_index
]
=
rnti
;
//we store the RNTI (e.g. for RNTI will be used later)
ndlcch
->
rnti
[
ncce_index
]
=
rnti
;
//we store the RNTI (e.g. for RNTI will be used later)
...
@@ -306,7 +306,7 @@ int generate_eNB_dlsch_params_from_dci_NB_IoT(PHY_VARS_eNB *eNB,
...
@@ -306,7 +306,7 @@ int generate_eNB_dlsch_params_from_dci_NB_IoT(PHY_VARS_eNB *eNB,
ndlcch
->
repetition_number
[
ncce_index
]
=
Irep_to_Nrep
[
RepNum
];
// repetition number for NPDSCH
ndlcch
->
repetition_number
[
ncce_index
]
=
Irep_to_Nrep
[
RepNum
];
// repetition number for NPDSCH
ndlcch
->
dci_repetitions
[
ncce_index
]
=
DCIrep_to_real_rep
(
DCIRep
,
4
);
////??????? should be repalce by the value in spec table 16.6-3, check also Rmax
ndlcch
->
dci_repetitions
[
ncce_index
]
=
DCIrep_to_real_rep
(
DCIRep
,
4
);
////??????? should be repalce by the value in spec table 16.6-3, check also Rmax
printf
(
"dci_repetitions: %d
\n
"
,
ndlcch
->
dci_repetitions
[
ncce_index
]);
printf
(
"dci_repetitions: %d
, A = %d
\n
"
,
ndlcch
->
dci_repetitions
[
ncce_index
],
ndlcch
->
A
[
ncce_index
]);
ndlcch
->
modulation
[
ncce_index
]
=
2
;
//QPSK
ndlcch
->
modulation
[
ncce_index
]
=
2
;
//QPSK
//// ////////////////////////////////////////////////if(ndlcch->round == 0) //this should be set from initialization (init-lte)
//// ////////////////////////////////////////////////if(ndlcch->round == 0) //this should be set from initialization (init-lte)
...
...
openair2/PHY_INTERFACE/IF_Module_L2_primitives_NB_IoT.c
View file @
cf85aebd
...
@@ -29,7 +29,7 @@ void enable_preamble_simulation(UL_IND_NB_IoT_t *UL_INFO,int i)
...
@@ -29,7 +29,7 @@ void enable_preamble_simulation(UL_IND_NB_IoT_t *UL_INFO,int i)
tmp++;
tmp++;
}
}
*/
*/
if
(
UL_INFO
->
frame
==
52
5
&&
UL_INFO
->
subframe
==
8
)
if
(
UL_INFO
->
frame
==
52
8
&&
UL_INFO
->
subframe
==
8
)
{
{
simulate_preamble
(
UL_INFO
,
2
,
26
);
simulate_preamble
(
UL_INFO
,
2
,
26
);
//tmp++;
//tmp++;
...
...
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