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
promise
OpenXG-RAN
Commits
c90e02df
Commit
c90e02df
authored
Jan 11, 2021
by
ChiehChun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cannot allocate CCE error -> debug message
parent
e890852b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
+4
-4
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
+3
-3
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
View file @
c90e02df
...
...
@@ -384,7 +384,7 @@ bool allocate_retransmission(module_id_t module_id,
rbSize
=
0
;
while
(
rbStart
<
bwpSize
&&
!
rballoc_mask
[
rbStart
])
rbStart
++
;
if
(
rbStart
>=
bwpSize
)
{
LOG_
E
(
MAC
,
LOG_
D
(
MAC
,
"cannot allocate retransmission for UE %d/RNTI %04x: no resources
\n
"
,
UE_id
,
RC
.
nrmac
[
module_id
]
->
UE_info
.
rnti
[
UE_id
]);
...
...
@@ -445,7 +445,7 @@ void pf_dl(module_id_t module_id,
/* Find a free CCE */
bool
freeCCE
=
find_free_CCE
(
module_id
,
slot
,
UE_id
);
if
(
!
freeCCE
){
LOG_
E
(
MAC
,
"%4d.%2d could not find CCE for
UE %d/RNTI %04x
\n
"
,
frame
,
slot
,
UE_id
,
rnti
);
LOG_
D
(
MAC
,
"%4d.%2d could not find CCE for DL DCI retransmission
UE %d/RNTI %04x
\n
"
,
frame
,
slot
,
UE_id
,
rnti
);
continue
;
}
/* Find PUCCH occasion: if it fails, undo CCE allocation (undoing PUCCH
...
...
@@ -469,7 +469,7 @@ void pf_dl(module_id_t module_id,
/* Allocate retransmission */
bool
r
=
allocate_retransmission
(
module_id
,
rballoc_mask
,
&
n_rb_sched
,
UE_id
,
sched_ctrl
->
dl_harq_pid
);
if
(
!
r
)
{
LOG_
E
(
MAC
,
"%4d.%2d retransmission can NOT be allocated
\n
"
,
frame
,
slot
);
LOG_
D
(
MAC
,
"%4d.%2d retransmission can NOT be allocated
\n
"
,
frame
,
slot
);
continue
;
}
/* reduce max_num_ue once we are sure UE can be allocated, i.e., has CCE */
...
...
@@ -534,7 +534,7 @@ void pf_dl(module_id_t module_id,
/* Find a free CCE */
bool
freeCCE
=
find_free_CCE
(
module_id
,
slot
,
UE_id
);
if
(
!
freeCCE
)
{
LOG_
E
(
MAC
,
"%4d.%2d could not find CCE for
UE %d/RNTI %04x
\n
"
,
frame
,
slot
,
UE_id
,
rnti
);
LOG_
D
(
MAC
,
"%4d.%2d could not find CCE for DL DCI
UE %d/RNTI %04x
\n
"
,
frame
,
slot
,
UE_id
,
rnti
);
continue
;
}
/* reduce max_num_ue once we are sure UE can be allocated, i.e., has CCE */
...
...
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
View file @
c90e02df
...
...
@@ -572,7 +572,7 @@ void pf_ul(module_id_t module_id,
/* Find free CCE */
bool
freeCCE
=
find_free_CCE
(
module_id
,
slot
,
UE_id
);
if
(
!
freeCCE
)
{
LOG_
E
(
MAC
,
"%4d.%2d no free CCE for retransmission
UE %04x
\n
"
,
frame
,
slot
,
UE_info
->
rnti
[
UE_id
]);
LOG_
D
(
MAC
,
"%4d.%2d no free CCE for retransmission UL DCI
UE %04x
\n
"
,
frame
,
slot
,
UE_info
->
rnti
[
UE_id
]);
continue
;
}
/* reduce max_num_ue once we are sure UE can be allocated, i.e., has CCE */
...
...
@@ -629,7 +629,7 @@ void pf_ul(module_id_t module_id,
/* if no data, pre-allocate 5RB */
bool
freeCCE
=
find_free_CCE
(
module_id
,
slot
,
UE_id
);
if
(
!
freeCCE
)
{
LOG_
E
(
MAC
,
"%4d.%2d no free CCE for UE %04x
\n
"
,
frame
,
slot
,
UE_info
->
rnti
[
UE_id
]);
LOG_
D
(
MAC
,
"%4d.%2d no free CCE for UL DCI UE %04x (BSR 0)
\n
"
,
frame
,
slot
,
UE_info
->
rnti
[
UE_id
]);
continue
;
}
/* reduce max_num_ue once we are sure UE can be allocated, i.e., has CCE */
...
...
@@ -703,7 +703,7 @@ void pf_ul(module_id_t module_id,
bool
freeCCE
=
find_free_CCE
(
module_id
,
slot
,
UE_id
);
if
(
!
freeCCE
)
{
LOG_
E
(
MAC
,
"%4d.%2d no free CCE for
UE %04x
\n
"
,
frame
,
slot
,
UE_info
->
rnti
[
UE_id
]);
LOG_
D
(
MAC
,
"%4d.%2d no free CCE for UL DCI
UE %04x
\n
"
,
frame
,
slot
,
UE_info
->
rnti
[
UE_id
]);
continue
;
}
...
...
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