Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Bin He
openairinterface5G
Commits
581de8b2
Commit
581de8b2
authored
4 years ago
by
Robert Schmidt
Browse files
Options
Downloads
Patches
Plain Diff
Limit UE UL RBs to 48
parent
41a440fa
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
openair2/LAYER2/MAC/pre_processor.c
+4
-1
4 additions, 1 deletion
openair2/LAYER2/MAC/pre_processor.c
with
4 additions
and
1 deletion
openair2/LAYER2/MAC/pre_processor.c
+
4
−
1
View file @
581de8b2
...
...
@@ -895,7 +895,10 @@ int rr_ul_run(module_id_t Mod_id,
&
tx_power
);
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];
/* only print log when PHR changed */
static
int
phr
=
0
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment