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
lizhongxiao
OpenXG-RAN
Commits
a9ffbc6b
Commit
a9ffbc6b
authored
Aug 02, 2021
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/hack-bch-no-sched-sf-0' into develop
parents
599287b6
f6e03218
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
openair2/LAYER2/MAC/eNB_scheduler.c
openair2/LAYER2/MAC/eNB_scheduler.c
+17
-0
No files found.
openair2/LAYER2/MAC/eNB_scheduler.c
View file @
a9ffbc6b
...
...
@@ -586,6 +586,23 @@ eNB_dlsch_ulsch_scheduler(module_id_t module_idP,
memset
(
cc
[
CC_id
].
vrb_map_UL
,
0
,
100
);
cc
[
CC_id
].
mcch_active
=
0
;
clear_nfapi_information
(
RC
.
mac
[
module_idP
],
CC_id
,
frameP
,
subframeP
);
/* hack: skip BCH RBs in subframe 0 for DL scheduling,
* because with high MCS we may exceed code rate 0.93
* when using those RBs (36.213 7.1.7 says the UE may
* skip decoding if the code rate is higher than 0.93)
* TODO: remove this hack, deal with physical bits properly
* i.e. reduce MCS in the scheduler if code rate > 0.93
*/
if
(
subframeP
==
0
)
{
int
i
;
int
bw
=
cc
[
CC_id
].
mib
->
message
.
dl_Bandwidth
;
/* start and count defined for RBs: 6, 15, 25, 50, 75, 100 */
int
start
[
6
]
=
{
0
,
4
,
9
,
22
,
34
,
47
};
int
count
[
6
]
=
{
6
,
7
,
7
,
6
,
7
,
6
};
for
(
i
=
0
;
i
<
count
[
bw
];
i
++
)
cc
[
CC_id
].
vrb_map
[
start
[
bw
]
+
i
]
=
1
;
}
}
/* Refresh UE list based on UEs dropped by PHY in previous subframe */
...
...
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