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
6a0cd0fb
Commit
6a0cd0fb
authored
Oct 05, 2020
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Limit UE UL RBs to 48
parent
30a2afe0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
openair2/LAYER2/MAC/pre_processor.c
openair2/LAYER2/MAC/pre_processor.c
+4
-1
No files found.
openair2/LAYER2/MAC/pre_processor.c
View file @
6a0cd0fb
...
@@ -895,7 +895,10 @@ int rr_ul_run(module_id_t Mod_id,
...
@@ -895,7 +895,10 @@ int rr_ul_run(module_id_t Mod_id,
&
tx_power
);
&
tx_power
);
UE_template
->
pre_assigned_mcs_ul
=
mcs
;
UE_template
->
pre_assigned_mcs_ul
=
mcs
;
rb_idx_required
[
UE_id
]
=
rb_table_index
;
/* rb_idx_given >= 22: apparently the PHY cannot support more than 48
* RBs in the uplink. Hence, we limit every UE to 48 RBs, which is at
* index 22 */
rb_idx_required
[
UE_id
]
=
min
(
22
,
rb_table_index
);
//UE_template->pre_allocated_nb_rb_ul = rb_table[rb_table_index];
//UE_template->pre_allocated_nb_rb_ul = rb_table[rb_table_index];
/* only print log when PHR changed */
/* only print log when PHR changed */
static
int
phr
=
0
;
static
int
phr
=
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