Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
openairinterface5G
Commits
9ba03550
Commit
9ba03550
authored
Feb 08, 2018
by
jftt_wangshanshan
Browse files
add switch tdd config to Msg4 timing setting
parent
89b261ef
Changes
1
Show whitespace changes
Inline
Side-by-side
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
View file @
9ba03550
...
@@ -661,8 +661,13 @@ rx_sdu(const module_id_t enb_mod_idP,
...
@@ -661,8 +661,13 @@ rx_sdu(const module_id_t enb_mod_idP,
if
(
mac
->
common_channels
[
CC_idP
].
tdd_Config
!=
NULL
){
if
(
mac
->
common_channels
[
CC_idP
].
tdd_Config
!=
NULL
){
switch
(
mac
->
common_channels
[
CC_idP
].
tdd_Config
->
subframeAssignment
){
case
1
:
ra
->
Msg4_frame
=
frameP
+
((
subframeP
>
2
)
?
1
:
0
);
ra
->
Msg4_frame
=
frameP
+
((
subframeP
>
2
)
?
1
:
0
);
ra
->
Msg4_subframe
=
(
subframeP
+
7
)
%
10
;
// TODO need to be complete for other tdd configs.
ra
->
Msg4_subframe
=
(
subframeP
+
7
)
%
10
;
break
;
// TODO need to be complete for other tdd configs.
}
}
else
{
}
else
{
// Program Msg4 PDCCH+DLSCH/MPDCCH transmission 4 subframes from now, // Check if this is ok for BL/CE, or if the rule is different
// Program Msg4 PDCCH+DLSCH/MPDCCH transmission 4 subframes from now, // Check if this is ok for BL/CE, or if the rule is different
ra
->
Msg4_frame
=
frameP
+
((
subframeP
>
5
)
?
1
:
0
);
ra
->
Msg4_frame
=
frameP
+
((
subframeP
>
5
)
?
1
:
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