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
a7b9a856
Commit
a7b9a856
authored
Jan 06, 2025
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move temporary code to process type0 as type1 when the RB allocation is contiguous to L1
parent
d718e677
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
18 deletions
+20
-18
openair1/SCHED_NR_UE/fapi_nr_ue_l1.c
openair1/SCHED_NR_UE/fapi_nr_ue_l1.c
+20
-0
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
+0
-18
No files found.
openair1/SCHED_NR_UE/fapi_nr_ue_l1.c
View file @
a7b9a856
...
...
@@ -287,6 +287,26 @@ static void configure_dlsch(NR_UE_DLSCH_t *dlsch0,
NR_UE_MAC_INST_t
*
mac
,
int
rnti
)
{
// Temporary code to process type0 as type1 when the RB allocation is contiguous
if
(
dlsch_config_pdu
->
resource_alloc
==
0
)
{
dlsch_config_pdu
->
number_rbs
=
count_bits
(
dlsch_config_pdu
->
rb_bitmap
,
sizeofArray
(
dlsch_config_pdu
->
rb_bitmap
));
int
state
=
0
;
for
(
int
i
=
0
;
i
<
sizeof
(
dlsch_config_pdu
->
rb_bitmap
)
*
8
;
i
++
)
{
int
allocated
=
dlsch_config_pdu
->
rb_bitmap
[
i
/
8
]
&
(
1
<<
(
i
%
8
));
if
(
allocated
)
{
if
(
state
==
0
)
{
dlsch_config_pdu
->
start_rb
=
i
;
state
=
1
;
}
else
AssertFatal
(
state
==
1
,
"non-contiguous RB allocation in RB allocation type 0 not implemented"
);
}
else
{
if
(
state
==
1
)
{
state
=
2
;
}
}
}
}
const
uint8_t
current_harq_pid
=
dlsch_config_pdu
->
harq_process_nbr
;
dlsch0
->
active
=
true
;
dlsch0
->
rnti
=
rnti
;
...
...
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
View file @
a7b9a856
...
...
@@ -390,24 +390,6 @@ int8_t nr_ue_process_dci_freq_dom_resource_assignment(nfapi_nr_ue_pusch_pdu_t *p
const
int
tmp
=
(
start_DLBWP
+
n_RB_DLBWP
)
%
P
;
int
last_RBG
=
tmp
?
tmp
:
P
;
writeBit
(
rb_bitmap
,
currentBit
,
last_bit_rbg
,
last_RBG
);
dlsch_config_pdu
->
number_rbs
=
count_bits
(
dlsch_config_pdu
->
rb_bitmap
,
sizeofArray
(
dlsch_config_pdu
->
rb_bitmap
));
// Temporary code to process type0 as type1 when the RB allocation is contiguous
int
state
=
0
;
for
(
int
i
=
0
;
i
<
sizeof
(
dlsch_config_pdu
->
rb_bitmap
)
*
8
;
i
++
)
{
int
allocated
=
dlsch_config_pdu
->
rb_bitmap
[
i
/
8
]
&
(
1
<<
(
i
%
8
));
if
(
allocated
)
{
if
(
state
==
0
)
{
dlsch_config_pdu
->
start_rb
=
i
;
state
=
1
;
}
else
AssertFatal
(
state
==
1
,
"non-contiguous RB allocation in RB allocation type 0 not implemented"
);
}
else
{
if
(
state
==
1
)
{
state
=
2
;
}
}
}
}
else
if
(
pdsch_Config
&&
pdsch_Config
->
resourceAllocation
==
NR_PDSCH_Config__resourceAllocation_dynamicSwitch
)
...
...
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