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
canghaiwuhen
OpenXG-RAN
Commits
f01cbb8c
Commit
f01cbb8c
authored
Oct 03, 2016
by
Cedric Roux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fapi: activate CA and process ceBitmap
parent
c447bbfa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
3 deletions
+17
-3
openair2/LAYER2/MAC/eNB_scheduler.c
openair2/LAYER2/MAC/eNB_scheduler.c
+16
-2
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
+1
-1
No files found.
openair2/LAYER2/MAC/eNB_scheduler.c
View file @
f01cbb8c
...
...
@@ -805,10 +805,17 @@ printf("RUN fapi_schedule_retransmission_ue\n");
if
(
d
->
nr_rlcPDU_List
[
0
]
!=
0
)
{
printf
(
"%s:%d:%s: error?
\n
"
,
__FILE__
,
__LINE__
,
__FUNCTION__
);
/*abort();*/
}
if
(
d
->
nr_rlcPDU_List
[
1
]
!=
0
)
{
printf
(
"%s:%d:%s: TODO
\n
"
,
__FILE__
,
__LINE__
,
__FUNCTION__
);
abort
();
}
if
(
d
->
ceBitmap
[
0
])
{
printf
(
"%s:%d:%s: TODO
\n
"
,
__FILE__
,
__LINE__
,
__FUNCTION__
);
abort
();
}
if
(
d
->
ceBitmap
[
1
])
{
printf
(
"%s:%d:%s: TODO
\n
"
,
__FILE__
,
__LINE__
,
__FUNCTION__
);
abort
();
}
if
(
d
->
servCellIndex
!=
0
)
{
printf
(
"%s:%d:%s: TODO
\n
"
,
__FILE__
,
__LINE__
,
__FUNCTION__
);
abort
();
}
/* activate/deactive 2nd cell
* TODO: do it better, only activate at subframe+8 if ACK received at subframe +4
*/
if
(
d
->
ceBitmap
[
0
])
{
if
(
d
->
ceBitmap
[
0
]
!=
ff_AD
)
{
printf
(
"%s:%d:%s: TODO
\n
"
,
__FILE__
,
__LINE__
,
__FUNCTION__
);
abort
();
}
mac_xface
->
ca_activate
(
module_id
,
d
->
rnti
,
d
->
activationDeactivationCE
);
}
UE_id
=
find_UE_id
(
module_id
,
d
->
rnti
);
if
(
UE_id
==
-
1
)
{
#if MEGALOG
...
...
@@ -895,10 +902,17 @@ printf("RUN fapi_schedule_ue\n");
if
(
d
->
nr_rlcPDU_List
[
0
]
!=
1
)
{
printf
(
"%s:%d:%s: TODO
\n
"
,
__FILE__
,
__LINE__
,
__FUNCTION__
);
abort
();
}
if
(
d
->
nr_rlcPDU_List
[
1
]
!=
0
)
{
printf
(
"%s:%d:%s: TODO
\n
"
,
__FILE__
,
__LINE__
,
__FUNCTION__
);
abort
();
}
if
(
d
->
ceBitmap
[
0
])
{
printf
(
"%s:%d:%s: TODO
\n
"
,
__FILE__
,
__LINE__
,
__FUNCTION__
);
abort
();
}
if
(
d
->
ceBitmap
[
1
])
{
printf
(
"%s:%d:%s: TODO
\n
"
,
__FILE__
,
__LINE__
,
__FUNCTION__
);
abort
();
}
if
(
d
->
servCellIndex
!=
0
)
{
printf
(
"%s:%d:%s: TODO
\n
"
,
__FILE__
,
__LINE__
,
__FUNCTION__
);
abort
();
}
/* activate/deactive 2nd cell
* TODO: do it better, only activate at subframe+8 if ACK received at subframe +4
*/
if
(
d
->
ceBitmap
[
0
])
{
if
(
d
->
ceBitmap
[
0
]
!=
ff_AD
)
{
printf
(
"%s:%d:%s: TODO
\n
"
,
__FILE__
,
__LINE__
,
__FUNCTION__
);
abort
();
}
mac_xface
->
ca_activate
(
module_id
,
d
->
rnti
,
d
->
activationDeactivationCE
);
}
/* TODO: deal with MCS 29-31
* in the meantime, we store the latest used mcs for each rnti/harq_pid
*/
...
...
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
View file @
f01cbb8c
...
...
@@ -281,7 +281,7 @@ void fapi_activate_carrier_aggregation(module_id_t mod_idP, int cc_idP, rnti_t r
p
.
tddAckNackFeedbackMode
=
ff_bundling
;
/* get real one */
p
.
ackNackRepetitionFactor
=
0
;
/* get real one */
p
.
extendedBSRSizes
=
false
;
p
.
caSupport
=
fals
e
;
p
.
caSupport
=
tru
e
;
p
.
crossCarrierSchedSupport
=
false
;
p
.
pcellCarrierIndex
=
0
;
/* TBC */
p
.
nr_scells
=
1
;
/* use real value */
...
...
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