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
9d1737f2
Commit
9d1737f2
authored
Dec 04, 2018
by
Nick Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix the RAR PDU problem
parent
6ba02668
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
openair1/SCHED/IF_Module_L1_primitives_NB_IoT.c
openair1/SCHED/IF_Module_L1_primitives_NB_IoT.c
+1
-1
openair2/LAYER2/MAC/eNB_scheduler_RA_NB_IoT.c
openair2/LAYER2/MAC/eNB_scheduler_RA_NB_IoT.c
+3
-1
No files found.
openair1/SCHED/IF_Module_L1_primitives_NB_IoT.c
View file @
9d1737f2
...
...
@@ -195,7 +195,7 @@ void handle_nfapi_dlsch_pdu_NB_IoT(PHY_VARS_eNB *eNB,
else
if
(
rel13
->
rnti
!=
65535
&&
rel13
->
rnti_type
==
1
)
{
//printf("rel13->rnti: %d, eNB->ndlsch_RAR->rnti: %d\n",rel13->rnti,eNB->ndlsch_RAR->rnti);
eNB
->
ndlsch_RAR
->
rnti
=
rel13
->
rnti
;
//
eNB->ndlsch_RAR->rnti = rel13->rnti;
//check if the PDU is for RAR
if
(
eNB
->
ndlsch_RAR
!=
NULL
&&
rel13
->
rnti
==
eNB
->
ndlsch_RAR
->
rnti
)
//rnti for the RAR should have been set priviously by the DCI
{
...
...
openair2/LAYER2/MAC/eNB_scheduler_RA_NB_IoT.c
View file @
9d1737f2
...
...
@@ -211,6 +211,8 @@ void schedule_rar_NB_IoT(eNB_MAC_INST_NB_IoT *mac_inst, int abs_subframe){
dci_n0
=
(
DCIFormatN0_t
*
)
malloc
(
sizeof
(
DCIFormatN0_t
));
dci_n1_rar
=
(
DCIFormatN1_t
*
)
malloc
(
sizeof
(
DCIFormatN1_t
));
msg2_nodes
->
ue_rnti
=
tc_rnti
;
fill_rar_NB_IoT
(
mac_inst
,
msg2_nodes
,
msg3_scheduling_delay
,
rep
,
&
npusch_info
);
msg2_nodes
->
wait_msg3_ack
=
1
;
...
...
@@ -274,7 +276,7 @@ void schedule_rar_NB_IoT(eNB_MAC_INST_NB_IoT *mac_inst, int abs_subframe){
dci_n0
->
rv
=
0
;
dci_n0
->
DCIRep
=
1
;
//get_DCI_REP()
msg2_nodes
->
ue_rnti
=
tc_rnti
;
//
msg2_nodes->ue_rnti = tc_rnti;
LOG_D
(
MAC
,
"[%04d][RA scheduler][MSG2] RARDCI %d-%d RAR %d-%d MSG3 %d-%d
\n
"
,
abs_subframe
-
1
,
dci_first_subframe
,
dci_end_subframe
,
msg2_first_subframe
,
msg2_end_subframe
,
npusch_info
.
sf_start
,
npusch_info
.
sf_end
);
LOG_D
(
MAC
,
"[%04d][RA scheduler][MSG2][CE%d] Change RA-RNTI %d->T-CRNTI %d
\n
"
,
abs_subframe
-
1
,
msg2_nodes
->
ce_level
,
msg2_nodes
->
ra_rnti
,
msg2_nodes
->
ue_rnti
);
...
...
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