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
4f7464d0
Commit
4f7464d0
authored
Feb 09, 2024
by
Raymond Knopp
Committed by
Robert Schmidt
Feb 09, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Print additional information if TBS is too small for SIB1
parent
702c608c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_bch.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_bch.c
+14
-2
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_bch.c
View file @
4f7464d0
...
...
@@ -358,8 +358,20 @@ static uint32_t schedule_control_sib1(module_id_t module_id,
rbSize
,
tda_info
->
nrOfSymbols
,
N_PRB_DMRS
*
dmrs_length
,
0
,
0
,
1
)
>>
3
;
}
while
(
TBS
<
gNB_mac
->
sched_ctrlCommon
->
num_total_bytes
);
AssertFatal
(
TBS
>=
gNB_mac
->
sched_ctrlCommon
->
num_total_bytes
,
"Couldn't allocate enough resources for %d bytes in SIB1 PDSCH
\n
"
,
gNB_mac
->
sched_ctrlCommon
->
num_total_bytes
);
if
(
TBS
<
gNB_mac
->
sched_ctrlCommon
->
num_total_bytes
)
{
for
(
int
rb
=
0
;
rb
<
bwpSize
;
rb
++
)
LOG_I
(
NR_MAC
,
"vrb_map[%d] %x
\n
"
,
rbStart
+
rb
,
vrb_map
[
rbStart
+
rb
]);
}
AssertFatal
(
TBS
>=
gNB_mac
->
sched_ctrlCommon
->
num_total_bytes
,
"Couldn't allocate enough resources for %d bytes in SIB1 PDSCH (rbStart %d, rbSize %d, bwpSize %d SLmask %x - [%d,%d])
\n
"
,
gNB_mac
->
sched_ctrlCommon
->
num_total_bytes
,
rbStart
,
rbSize
,
bwpSize
,
SL_to_bitmap
(
tda_info
->
startSymbolIndex
,
tda_info
->
nrOfSymbols
),
tda_info
->
startSymbolIndex
,
tda_info
->
nrOfSymbols
);
pdsch
->
rbSize
=
rbSize
;
pdsch
->
rbStart
=
0
;
...
...
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