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
alex037yang
OpenXG-RAN
Commits
78ff532a
Commit
78ff532a
authored
Feb 28, 2019
by
Haruki NAOI
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: Used NDI is not saved after Msg4 transmitted.
parent
1059a2fc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
openair2/LAYER2/MAC/eNB_scheduler_RA.c
openair2/LAYER2/MAC/eNB_scheduler_RA.c
+5
-2
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
+2
-2
No files found.
openair2/LAYER2/MAC/eNB_scheduler_RA.c
View file @
78ff532a
...
@@ -957,9 +957,12 @@ generate_Msg4(module_id_t module_idP,
...
@@ -957,9 +957,12 @@ generate_Msg4(module_id_t module_idP,
1
,
// tpc, none
1
,
// tpc, none
getRIV
(
N_RB_DL
,
first_rb
,
4
),
// resource_block_coding
getRIV
(
N_RB_DL
,
first_rb
,
4
),
// resource_block_coding
ra
->
msg4_mcs
,
// mcs
ra
->
msg4_mcs
,
// mcs
1
,
// ndi
1
-
UE_list
->
UE_template
[
CC_idP
][
UE_id
].
oldNDI
[
ra
->
harq_pid
],
0
,
// rv
0
,
// rv
0
);
// vrb_flag
0
);
// vrb_flag
UE_list
->
UE_template
[
CC_idP
][
UE_id
].
oldNDI
[
ra
->
harq_pid
]
=
1
-
UE_list
->
UE_template
[
CC_idP
][
UE_id
].
oldNDI
[
ra
->
harq_pid
];
LOG_D
(
MAC
,
LOG_D
(
MAC
,
"Frame %d, subframe %d: Msg4 DCI pdu_num %d (rnti %x,rnti_type %d,harq_pid %d, resource_block_coding (%p) %d
\n
"
,
"Frame %d, subframe %d: Msg4 DCI pdu_num %d (rnti %x,rnti_type %d,harq_pid %d, resource_block_coding (%p) %d
\n
"
,
frameP
,
subframeP
,
dl_req_body
->
number_pdu
,
frameP
,
subframeP
,
dl_req_body
->
number_pdu
,
...
@@ -1194,7 +1197,7 @@ check_Msg4_retransmission(module_id_t module_idP, int CC_idP,
...
@@ -1194,7 +1197,7 @@ check_Msg4_retransmission(module_id_t module_idP, int CC_idP,
1
,
// tpc, none
1
,
// tpc, none
getRIV
(
N_RB_DL
,
first_rb
,
4
),
// resource_block_coding
getRIV
(
N_RB_DL
,
first_rb
,
4
),
// resource_block_coding
ra
->
msg4_mcs
,
// mcs
ra
->
msg4_mcs
,
// mcs
1
,
// ndi
UE_list
->
UE_template
[
CC_idP
][
UE_id
].
oldNDI
[
ra
->
harq_pid
],
round
&
3
,
// rv
round
&
3
,
// rv
0
);
// vrb_flag
0
);
// vrb_flag
...
...
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
View file @
78ff532a
...
@@ -2193,8 +2193,8 @@ add_new_ue(module_id_t mod_idP,
...
@@ -2193,8 +2193,8 @@ add_new_ue(module_id_t mod_idP,
UE_list
->
UE_sched_ctrl
[
UE_id
].
ta_update
=
31
;
UE_list
->
UE_sched_ctrl
[
UE_id
].
ta_update
=
31
;
for
(
j
=
0
;
j
<
8
;
j
++
)
{
for
(
j
=
0
;
j
<
8
;
j
++
)
{
UE_list
->
UE_template
[
cc_idP
][
UE_id
].
oldNDI
[
j
]
=
(
j
==
0
)
?
1
:
0
;
// 1 because first transmission is with format1A (Msg4) for harq_pid 0
UE_list
->
UE_template
[
cc_idP
][
UE_id
].
oldNDI
[
j
]
=
0
;
UE_list
->
UE_template
[
cc_idP
][
UE_id
].
oldNDI_UL
[
j
]
=
(
j
==
harq_pidP
)
?
0
:
1
;
// 1st transmission is with Msg3
;
UE_list
->
UE_template
[
cc_idP
][
UE_id
].
oldNDI_UL
[
j
]
=
0
;
UE_list
->
UE_sched_ctrl
[
UE_id
].
round
[
cc_idP
][
j
]
=
8
;
UE_list
->
UE_sched_ctrl
[
UE_id
].
round
[
cc_idP
][
j
]
=
8
;
UE_list
->
UE_sched_ctrl
[
UE_id
].
round_UL
[
cc_idP
][
j
]
=
0
;
UE_list
->
UE_sched_ctrl
[
UE_id
].
round_UL
[
cc_idP
][
j
]
=
0
;
}
}
...
...
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