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
zzha zzha
OpenXG-RAN
Commits
06d07e3a
Commit
06d07e3a
authored
Feb 09, 2022
by
luis_pereira87
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fix in min num of PRBs to schedule to a UE when there is multiple UEs
parent
9c720648
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
+1
-1
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
+1
-1
openair2/LAYER2/NR_MAC_gNB/nr_mac_gNB.h
openair2/LAYER2/NR_MAC_gNB/nr_mac_gNB.h
+2
-0
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
View file @
06d07e3a
...
...
@@ -740,7 +740,7 @@ void pf_dl(module_id_t module_id,
}
/* Loop UE_sched to find max coeff and allocate transmission */
while
(
max_num_ue
>
0
&&
n_rb_sched
>
0
&&
UE_sched
.
head
>=
0
)
{
while
(
max_num_ue
>
0
&&
n_rb_sched
>
=
MIN_NUM_PRBS_TO_SCHEDULE
&&
UE_sched
.
head
>=
0
)
{
/* Find max coeff from UE_sched*/
int
*
max
=
&
UE_sched
.
head
;
/* assume head is max */
...
...
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
View file @
06d07e3a
...
...
@@ -403,7 +403,7 @@ bool nr_find_nb_rb(uint16_t Qm,
return
true
;
/* is the minimum enough? */
*
nb_rb
=
5
;
*
nb_rb
=
MIN_NUM_PRBS_TO_SCHEDULE
;
*
tbs
=
nr_compute_tbs
(
Qm
,
R
,
*
nb_rb
,
nb_symb_sch
,
nb_dmrs_prb
,
0
,
0
,
1
)
>>
3
;
if
(
bytes
<=
*
tbs
)
return
true
;
...
...
openair2/LAYER2/NR_MAC_gNB/nr_mac_gNB.h
View file @
06d07e3a
...
...
@@ -80,6 +80,8 @@
#define NR_NB_RA_PROC_MAX 4
#define MAX_NUM_OF_SSB 64
#define MIN_NUM_PRBS_TO_SCHEDULE 5
/*! \brief NR_list_t is a "list" (of users, HARQ processes, slices, ...).
* Especially useful in the scheduler and to keep "classes" of users. */
typedef
struct
{
...
...
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