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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
81fb7628
Commit
81fb7628
authored
Jan 16, 2020
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
get_min_rb_unit(): all channel bandwidths
parent
ffc4f464
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
+6
-4
No files found.
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
View file @
81fb7628
...
...
@@ -2776,19 +2776,21 @@ get_min_rb_unit(module_id_t module_id,
int
N_RB_DL
=
to_prb
(
RC
.
mac
[
module_id
]
->
common_channels
[
CC_id
].
mib
->
message
.
dl_Bandwidth
);
switch
(
N_RB_DL
)
{
case
6
:
// 1.4
MHz
case
6
:
// 1.4
MHz
min_rb_unit
=
1
;
break
;
case
25
:
// 5HMz
case
15
:
// 3MHz
case
25
:
// 5MHz
min_rb_unit
=
2
;
break
;
case
50
:
// 10
HM
z
case
50
:
// 10
MH
z
min_rb_unit
=
3
;
break
;
case
100
:
// 20HMz
case
75
:
// 15MHz
case
100
:
// 20MHz
min_rb_unit
=
4
;
break
;
...
...
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