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
45e11895
Commit
45e11895
authored
Mar 22, 2024
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for going to idle: release MAC config only after resetting MAC
parent
2a2d2704
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
openair2/LAYER2/NR_MAC_UE/config_ue.c
openair2/LAYER2/NR_MAC_UE/config_ue.c
+2
-3
No files found.
openair2/LAYER2/NR_MAC_UE/config_ue.c
View file @
45e11895
...
...
@@ -1416,16 +1416,15 @@ static void configure_common_BWP_ul(NR_UE_MAC_INST_t *mac, int bwp_id, NR_BWP_Up
}
}
void
nr_rrc_mac_config_req_reset
(
module_id_t
module_id
,
NR_UE_MAC_reset_cause_t
cause
)
void
nr_rrc_mac_config_req_reset
(
module_id_t
module_id
,
NR_UE_MAC_reset_cause_t
cause
)
{
NR_UE_MAC_INST_t
*
mac
=
get_mac_inst
(
module_id
);
fapi_nr_synch_request_t
sync_req
=
{.
target_Nid_cell
=
-
1
,
.
ssb_bw_scan
=
true
};
switch
(
cause
)
{
case
GO_TO_IDLE
:
reset_ra
(
mac
,
true
);
release_mac_configuration
(
mac
,
cause
);
nr_ue_init_mac
(
mac
);
release_mac_configuration
(
mac
,
cause
);
nr_ue_mac_default_configs
(
mac
);
// new sync but no target cell id -> -1
nr_ue_send_synch_request
(
mac
,
module_id
,
0
,
&
sync_req
);
...
...
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