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
wangjie
OpenXG-RAN
Commits
c7c7df70
Commit
c7c7df70
authored
Mar 04, 2021
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug? Do not schedule in slots 0/10
parent
e5688e7d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
openair2/LAYER2/NR_MAC_gNB/config.c
openair2/LAYER2/NR_MAC_gNB/config.c
+4
-1
No files found.
openair2/LAYER2/NR_MAC_gNB/config.c
View file @
c7c7df70
...
@@ -393,6 +393,9 @@ int rrc_mac_config_req_gNB(module_id_t Mod_idP,
...
@@ -393,6 +393,9 @@ int rrc_mac_config_req_gNB(module_id_t Mod_idP,
const
int
nr_dlmix_slots
=
tdd
->
nrofDownlinkSlots
+
(
tdd
->
nrofDownlinkSymbols
!=
0
);
const
int
nr_dlmix_slots
=
tdd
->
nrofDownlinkSlots
+
(
tdd
->
nrofDownlinkSymbols
!=
0
);
const
int
nr_ulstart_slot
=
tdd
->
nrofDownlinkSlots
+
(
tdd
->
nrofUplinkSymbols
==
0
);
const
int
nr_ulstart_slot
=
tdd
->
nrofDownlinkSlots
+
(
tdd
->
nrofUplinkSymbols
==
0
);
for
(
int
slot
=
0
;
slot
<
n
;
++
slot
)
{
for
(
int
slot
=
0
;
slot
<
n
;
++
slot
)
{
/* FIXME: it seems there is a problem with slot 0/10/slots right after UL:
* we just get retransmissions. Thus, do not schedule such slots in DL */
if
(
slot
%
nr_slots_period
!=
0
)
RC
.
nrmac
[
Mod_idP
]
->
dlsch_slot_bitmap
[
slot
/
64
]
|=
((
slot
%
nr_slots_period
)
<
nr_dlmix_slots
)
<<
(
slot
%
64
);
RC
.
nrmac
[
Mod_idP
]
->
dlsch_slot_bitmap
[
slot
/
64
]
|=
((
slot
%
nr_slots_period
)
<
nr_dlmix_slots
)
<<
(
slot
%
64
);
RC
.
nrmac
[
Mod_idP
]
->
ulsch_slot_bitmap
[
slot
/
64
]
|=
((
slot
%
nr_slots_period
)
>=
nr_ulstart_slot
)
<<
(
slot
%
64
);
RC
.
nrmac
[
Mod_idP
]
->
ulsch_slot_bitmap
[
slot
/
64
]
|=
((
slot
%
nr_slots_period
)
>=
nr_ulstart_slot
)
<<
(
slot
%
64
);
LOG_D
(
MAC
,
LOG_D
(
MAC
,
...
...
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