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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
4ae0fd09
Commit
4ae0fd09
authored
Mar 01, 2024
by
Jaroslava Fiedlerova
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/prb_alloc_issue' into integration_2024_w09
parents
c99db698
3efb5b36
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
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
+7
-7
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
View file @
4ae0fd09
...
...
@@ -392,17 +392,17 @@ static void get_start_stop_allocation(gNB_MAC_INST *mac,
// in which case the size of CORESET 0 shall be used if CORESET 0 is configured for the cell
// and the size of initial DL bandwidth part shall be used if CORESET 0 is not configured for the cell.
// TS 38.214 Section 5.1.2.2.2
*
rbStop
=
dl_bwp
->
BWPSize
;
*
rbStop
=
dl_bwp
->
BWPSize
-
1
;
*
rbStart
=
0
;
// start wrt BWPstart
if
(
sched_ctrl
->
search_space
->
searchSpaceType
->
present
==
NR_SearchSpace__searchSpaceType_PR_common
&&
dl_bwp
->
dci_format
==
NR_DL_DCI_FORMAT_1_0
)
{
if
(
mac
->
cset0_bwp_size
!=
0
)
{
*
rbStart
=
mac
->
cset0_bwp_start
;
*
rbStop
=
*
rbStart
+
mac
->
cset0_bwp_size
;
*
rbStop
=
*
rbStart
+
mac
->
cset0_bwp_size
-
1
;
}
else
{
*
rbStart
=
UE
->
sc_info
.
initial_dl_BWPStart
;
*
rbStop
=
*
rbStart
+
UE
->
sc_info
.
initial_dl_BWPSize
;
*
rbStop
=
*
rbStart
+
UE
->
sc_info
.
initial_dl_BWPSize
-
1
;
}
}
}
...
...
@@ -476,7 +476,7 @@ static bool allocate_dl_retransmission(module_id_t module_id,
return
false
;
}
while
(
rbStart
+
rbSize
<
rbStop
&&
while
(
rbStart
+
rbSize
<
=
rbStop
&&
(
rballoc_mask
[
rbStart
+
rbSize
]
&
slbitmap
)
==
slbitmap
&&
rbSize
<
retInfo
->
rbSize
)
rbSize
++
;
...
...
@@ -493,7 +493,7 @@ static bool allocate_dl_retransmission(module_id_t module_id,
while
(
rbStart
<
rbStop
&&
(
rballoc_mask
[
rbStart
]
&
slbitmap
)
!=
slbitmap
)
rbStart
++
;
while
(
rbStart
+
rbSize
<
rbStop
&&
(
rballoc_mask
[
rbStart
+
rbSize
]
&
slbitmap
)
==
slbitmap
)
while
(
rbStart
+
rbSize
<
=
rbStop
&&
(
rballoc_mask
[
rbStart
+
rbSize
]
&
slbitmap
)
==
slbitmap
)
rbSize
++
;
uint32_t
new_tbs
;
...
...
@@ -785,7 +785,7 @@ static void pf_dl(module_id_t module_id,
uint16_t
max_rbSize
=
1
;
while
(
rbStart
+
max_rbSize
<
rbStop
&&
(
rballoc_mask
[
rbStart
+
max_rbSize
]
&
slbitmap
)
==
slbitmap
)
while
(
rbStart
+
max_rbSize
<
=
rbStop
&&
(
rballoc_mask
[
rbStart
+
max_rbSize
]
&
slbitmap
)
==
slbitmap
)
max_rbSize
++
;
sched_pdsch
->
dmrs_parms
=
get_dl_dmrs_params
(
scc
,
...
...
@@ -1166,7 +1166,7 @@ void nr_schedule_ue_spec(module_id_t module_id,
get_start_stop_allocation
(
gNB_mac
,
UE
,
&
rbStart
,
&
rbStop
);
dci_payload
.
frequency_domain_assignment
.
val
=
PRBalloc_to_locationandbandwidth0
(
pdsch_pdu
->
rbSize
,
pdsch_pdu
->
rbStart
-
rbStart
,
rbStop
-
rbStart
);
rbStop
-
rbStart
+
1
);
dci_payload
.
format_indicator
=
1
;
dci_payload
.
time_domain_assignment
.
val
=
sched_pdsch
->
time_domain_allocation
;
dci_payload
.
mcs
=
sched_pdsch
->
mcs
;
...
...
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