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
efa4401e
Commit
efa4401e
authored
Feb 22, 2019
by
Matthieu Kanj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msg4 generation
parent
f31174ee
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
21 deletions
+39
-21
openair1/PHY/LTE_TRANSPORT/SIB_NB_IoT.c
openair1/PHY/LTE_TRANSPORT/SIB_NB_IoT.c
+7
-5
openair1/SCHED/IF_Module_L1_primitives_NB_IoT.c
openair1/SCHED/IF_Module_L1_primitives_NB_IoT.c
+8
-6
openair1/SCHED/phy_procedures_lte_eNb_NB_IoT.c
openair1/SCHED/phy_procedures_lte_eNb_NB_IoT.c
+24
-10
No files found.
openair1/PHY/LTE_TRANSPORT/SIB_NB_IoT.c
View file @
efa4401e
...
...
@@ -295,8 +295,9 @@ int generate_NDLSCH_NB_IoT(PHY_VARS_eNB *eNB,
RAR
->
counter_current_sf_repetition
=
0
;
}
else
{
//printf("RAR done\n");
RAR
->
active
=
0
;
RAR
->
active_msg2
=
0
;
done
=
1
;
}
...
...
@@ -322,8 +323,9 @@ int generate_NDLSCH_NB_IoT(PHY_VARS_eNB *eNB,
if
(
Nsf
==
RAR
->
pointer_to_subframe
)
{
//printf("RAR done\n");
RAR
->
active
=
0
;
RAR
->
active_msg2
=
0
;
done
=
1
;
}
...
...
openair1/SCHED/IF_Module_L1_primitives_NB_IoT.c
View file @
efa4401e
...
...
@@ -238,11 +238,10 @@ void handle_nfapi_dlsch_pdu_NB_IoT(PHY_VARS_eNB *eNB,
ndlsch_harq
=
eNB
->
ndlsch
[(
uint8_t
)
UE_id
]
->
harq_process
;
AssertFatal
(
ndlsch_harq
!=
NULL
,
"dlsch_harq for ue specific is null
\n
"
);
ndlsch
->
npdsch_start_symbol
=
rel13
->
start_symbol
;
ndlsch_harq
->
pdu
=
sdu
;
//ndlsch->active = 1;
ndlsch
->
active
=
1
;
ndlsch
->
rnti
=
rel13
->
rnti
;
// how this value is tested in line 177 ???? i am missing something ????
ndlsch
->
npdsch_start_symbol
=
rel13
->
start_symbol
;
ndlsch
->
rnti_type
=
rel13
->
rnti_type
;
ndlsch
->
resource_assignment
=
rel13
->
resource_assignment
;
// for NDLSCH // this value point to --> number of subframes needed
...
...
@@ -254,6 +253,9 @@ void handle_nfapi_dlsch_pdu_NB_IoT(PHY_VARS_eNB *eNB,
ndlsch
->
counter_repetition_number
=
Irep_to_Nrep_x
[
rel13
->
repetition_number
];
ndlsch
->
counter_current_sf_repetition
=
0
;
ndlsch
->
pointer_to_subframe
=
0
;
ndlsch_harq
->
TBS
=
rel13
->
length
;
ndlsch_harq
->
pdu
=
sdu
;
}
}
...
...
openair1/SCHED/phy_procedures_lte_eNb_NB_IoT.c
View file @
efa4401e
...
...
@@ -335,6 +335,7 @@ void common_signal_procedures_NB_IoT(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc)
{
NB_IoT_eNB_NPDCCH_t
*
npdcch_str
=
eNB
->
npdcch_DCI
;
NB_IoT_eNB_NDLSCH_t
*
RAR
=
eNB
->
ndlsch_RAR
;
NB_IoT_eNB_NDLSCH_t
*
data
=
eNB
->
ndlsch
[
0
];
/////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////// NPDCCH ////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////
...
...
@@ -348,6 +349,8 @@ void common_signal_procedures_NB_IoT(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc)
/////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////// NPDSCH ////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////
if
(
eNB
->
ndlsch_RAR
!=
NULL
&&
RAR
->
active_msg2
==
1
)
{
generate_NDLSCH_NB_IoT
(
eNB
,
RAR
,
txdataF
,
...
...
@@ -356,6 +359,17 @@ void common_signal_procedures_NB_IoT(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc)
frame
,
subframe
,
RB_IoT_ID
);
}
else
if
(
eNB
->
ndlsch
[
0
]
!=
NULL
)
{
generate_NDLSCH_NB_IoT
(
eNB
,
data
,
txdataF
,
AMP
,
fp
,
frame
,
subframe
,
RB_IoT_ID
);
}
///////////////////////////////////////////////////////////////////////////////////
}
...
...
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