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
lizhongxiao
OpenXG-RAN
Commits
d7c122ee
Commit
d7c122ee
authored
Oct 17, 2016
by
Cedric Roux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove logs/abort
parent
94f70412
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
openair2/LAYER2/MAC/eNB_scheduler.c
openair2/LAYER2/MAC/eNB_scheduler.c
+6
-6
No files found.
openair2/LAYER2/MAC/eNB_scheduler.c
View file @
d7c122ee
...
@@ -829,7 +829,7 @@ printf("RETR fsf %d/%d rnti %d rbBitmap %x rbShift %d rbgSubset %d resAlloc %d n
...
@@ -829,7 +829,7 @@ printf("RETR fsf %d/%d rnti %d rbBitmap %x rbShift %d rbgSubset %d resAlloc %d n
printf
(
"RUN fapi_schedule_retransmission_ue
\n
"
);
printf
(
"RUN fapi_schedule_retransmission_ue
\n
"
);
#endif
#endif
if
(
d
->
nr_rlcPDU_List
[
0
]
!=
0
)
{
printf
(
"%s:%d:%s: error?
\n
"
,
__FILE__
,
__LINE__
,
__FUNCTION__
);
/*abort();*/
}
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
->
nr_rlcPDU_List
[
1
]
!=
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
->
ceBitmap
[
1
])
{
printf
(
"%s:%d:%s: TODO
\n
"
,
__FILE__
,
__LINE__
,
__FUNCTION__
);
abort
();
}
if
(
d
->
servCellIndex
!=
0
&&
if
(
d
->
servCellIndex
!=
0
&&
...
@@ -949,7 +949,7 @@ printf("RUN fapi_schedule_ue\n");
...
@@ -949,7 +949,7 @@ printf("RUN fapi_schedule_ue\n");
* TODO: do it better, only activate at subframe+8 if ACK received at subframe +4
* TODO: do it better, only activate at subframe+8 if ACK received at subframe +4
*/
*/
if
(
d
->
ceBitmap
[
0
])
{
if
(
d
->
ceBitmap
[
0
])
{
if
(
d
->
ceBitmap
[
0
]
!=
ff_AD
)
{
printf
(
"%s:%d:%s: TODO
\n
"
,
__FILE__
,
__LINE__
,
__FUNCTION__
);
abort
();
}
if
(
d
->
ceBitmap
[
0
]
!=
ff_AD
)
{
printf
(
"%s:%d:%s: TODO
(bitmap %d)
\n
"
,
__FILE__
,
__LINE__
,
__FUNCTION__
,
d
->
ceBitmap
[
0
]
);
abort
();
}
LOG_I
(
MAC
,
"FAPI: f/sf %d/%d rnti %d ca_activate %2.2x
\n
"
,
frame
,
subframe
,
d
->
rnti
,
d
->
activationDeactivationCE
);
LOG_I
(
MAC
,
"FAPI: f/sf %d/%d rnti %d ca_activate %2.2x
\n
"
,
frame
,
subframe
,
d
->
rnti
,
d
->
activationDeactivationCE
);
//mac_xface->ca_activate(module_id, d->rnti, d->activationDeactivationCE);
//mac_xface->ca_activate(module_id, d->rnti, d->activationDeactivationCE);
/* TODO: remove this hack */
/* TODO: remove this hack */
...
@@ -988,9 +988,9 @@ printf("RLC_SIZE in fapi_schedule_ue %d (asked %d) lcid %d rnti %x f/sf %d/%d\n"
...
@@ -988,9 +988,9 @@ printf("RLC_SIZE in fapi_schedule_ue %d (asked %d) lcid %d rnti %x f/sf %d/%d\n"
printf
(
"dlsch buffer filled too much
\n
"
);
printf
(
"dlsch buffer filled too much
\n
"
);
abort
();
abort
();
}
}
if
(
d
->
rlcPduList
[
0
][
i
].
size
==
2
)
{
//
if (d->rlcPduList[0][i].size == 2) {
printf
(
"yo
\n
"
);
//
printf("yo\n");
}
//
}
output_length
=
mac_rlc_data_req
(
output_length
=
mac_rlc_data_req
(
module_id
,
module_id
,
d
->
rnti
,
d
->
rnti
,
...
@@ -1043,7 +1043,7 @@ printf("FILLED %d bytes\n", output_length);
...
@@ -1043,7 +1043,7 @@ printf("FILLED %d bytes\n", output_length);
#if MEGALOG
#if MEGALOG
printf
(
"PADDING_SIZE %d
\n
"
,
padding_size
);
printf
(
"PADDING_SIZE %d
\n
"
,
padding_size
);
#endif
#endif
if
(
padding_size
==
3
)
{
printf
(
"padding size 3
\n
"
);
abort
();
}
//
if (padding_size == 3) { printf("padding size 3\n"); abort(); }
UE_id
=
find_UE_id
(
module_id
,
d
->
rnti
);
UE_id
=
find_UE_id
(
module_id
,
d
->
rnti
);
if
(
UE_id
==
-
1
)
{
if
(
UE_id
==
-
1
)
{
...
...
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