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
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Balaji Kolla
openairinterface5G
Commits
7785b5aa
Commit
7785b5aa
authored
10 years ago
by
knopp
Browse files
Options
Downloads
Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@5951
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
13483270
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
openair2/LAYER2/MAC/defs.h
+1
-1
1 addition, 1 deletion
openair2/LAYER2/MAC/defs.h
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
+3
-2
3 additions, 2 deletions
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
with
4 additions
and
3 deletions
openair2/LAYER2/MAC/defs.h
+
1
−
1
View file @
7785b5aa
...
...
@@ -646,7 +646,7 @@ typedef struct {
///subband bitmap coniguration (for ALU icic algo purpose), in test phase
typedef
struct
{
uint8_t
sbmap
[
NUMBER_OF_SUBBANDS
];
//13 = number of SB MAX for 100 PRB
uint8_t
sbmap
[
NUMBER_OF_SUBBANDS
_MAX
];
//13 = number of SB MAX for 100 PRB
uint8_t
periodicity
;
uint8_t
first_subframe
;
uint8_t
sb_size
;
...
...
This diff is collapsed.
Click to expand it.
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
+
3
−
2
View file @
7785b5aa
...
...
@@ -714,12 +714,13 @@ uint32_t allocate_prbs_sub(int nb_rb, uint8_t *rballoc) {
LOG_T
(
MAC
,
"*****Check1RBALLOC****: %d%d%d%d (nb_rb %d,N_RBG %d)
\n
"
,
rballoc
[
3
],
rballoc
[
2
],
rballoc
[
1
],
rballoc
[
0
],
nb_rb
,
mac_xface
->
lte_frame_parms
->
N_RBG
);
while
((
nb_rb
>
0
)
&&
(
check
<
mac_xface
->
lte_frame_parms
->
N_RBG
)){
//printf("rballoc[%d] %d\n",check,rballoc[check]);
//printf("rballoc[%d] %d\n",check,rballoc[check]);
if
(
rballoc
[
check
]
==
1
){
rballoc_dci
|=
(
1
<<
((
mac_xface
->
lte_frame_parms
->
N_RBG
-
1
)
-
check
));
switch
(
mac_xface
->
lte_frame_parms
->
N_RB_DL
)
{
case
6
:
nb_rb
--
;
break
;
case
25
:
if
((
check
==
mac_xface
->
lte_frame_parms
->
N_RBG
-
1
))
nb_rb
--
;
...
...
@@ -737,7 +738,7 @@ uint32_t allocate_prbs_sub(int nb_rb, uint8_t *rballoc) {
break
;
}
}
//printf("rb_alloc %x\n",rballoc_dci);
//
printf("rb_alloc %x\n",rballoc_dci);
check
=
check
+
1
;
// check1 = check1+2;
}
...
...
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