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
spbro
OpenXG-RAN
Commits
9a1381a9
Commit
9a1381a9
authored
Aug 02, 2024
by
Jaroslava Fiedlerova
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/NR_UE_assert_removal' into integration_2024_w31
parents
992e7fa1
e5900e07
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
+8
-2
No files found.
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
View file @
9a1381a9
...
...
@@ -81,7 +81,10 @@ fapi_nr_ul_config_request_pdu_t *lockGet_ul_config(NR_UE_MAC_INST_t *mac, frame_
NR_TDD_UL_DL_ConfigCommon_t
*
tdd_config
=
mac
->
tdd_UL_DL_ConfigurationCommon
;
// Check if requested on the right slot
AssertFatal
(
is_nr_UL_slot
(
tdd_config
,
slot_tx
,
mac
->
frame_type
)
!=
0
,
"UL config_request called at wrong slot %d
\n
"
,
slot_tx
);
if
(
!
is_nr_UL_slot
(
tdd_config
,
slot_tx
,
mac
->
frame_type
))
{
LOG_E
(
NR_MAC
,
"Lock of UL config for PDU type %d called for slot %d which is not UL
\n
"
,
pdu_type
,
slot_tx
);
return
NULL
;
}
AssertFatal
(
mac
->
ul_config_request
!=
NULL
,
"mac->ul_config_request not initialized, logic bug
\n
"
);
fapi_nr_ul_config_request_t
*
ul_config
=
mac
->
ul_config_request
+
slot_tx
;
...
...
@@ -220,7 +223,10 @@ fapi_nr_ul_config_request_pdu_t *lockGet_ul_iterator(NR_UE_MAC_INST_t *mac, fram
{
NR_TDD_UL_DL_ConfigCommon_t
*
tdd_config
=
mac
->
tdd_UL_DL_ConfigurationCommon
;
//Check if requested on the right slot
AssertFatal
(
is_nr_UL_slot
(
tdd_config
,
slot_tx
,
mac
->
frame_type
)
!=
0
,
"UL config_request called at wrong slot %d
\n
"
,
slot_tx
);
if
(
!
is_nr_UL_slot
(
tdd_config
,
slot_tx
,
mac
->
frame_type
))
{
LOG_E
(
NR_MAC
,
"UL lock iterator called for slot %d which is not UL
\n
"
,
slot_tx
);
return
NULL
;
}
AssertFatal
(
mac
->
ul_config_request
!=
NULL
,
"mac->ul_config_request not initialized, logic bug
\n
"
);
return
fapiLockIterator
(
mac
->
ul_config_request
+
slot_tx
,
frame_tx
,
slot_tx
);
}
...
...
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