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
84e1d820
Commit
84e1d820
authored
Apr 04, 2024
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add new state for UE detachement
parent
2baa1260
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
openair2/LAYER2/NR_MAC_UE/config_ue.c
openair2/LAYER2/NR_MAC_UE/config_ue.c
+1
-0
openair2/LAYER2/NR_MAC_UE/mac_defs.h
openair2/LAYER2/NR_MAC_UE/mac_defs.h
+2
-1
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
+2
-2
No files found.
openair2/LAYER2/NR_MAC_UE/config_ue.c
View file @
84e1d820
...
...
@@ -1438,6 +1438,7 @@ void nr_rrc_mac_config_req_reset(module_id_t module_id,
reset_mac_inst
(
mac
);
nr_ue_reset_sync_state
(
mac
);
release_mac_configuration
(
mac
,
cause
);
mac
->
state
=
UE_DETACHING
;
break
;
case
T300_EXPIRY
:
reset_ra
(
mac
,
cause
);
...
...
openair2/LAYER2/NR_MAC_UE/mac_defs.h
View file @
84e1d820
...
...
@@ -168,7 +168,8 @@ typedef enum {
UE_NOT_SYNC
=
0
,
UE_SYNC
,
UE_PERFORMING_RA
,
UE_CONNECTED
UE_CONNECTED
,
UE_DETACHING
}
NR_UE_L2_STATE_t
;
typedef
enum
{
...
...
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
View file @
84e1d820
...
...
@@ -1085,7 +1085,7 @@ void nr_ue_dl_scheduler(NR_UE_MAC_INST_t *mac, nr_downlink_indication_t *dl_info
dl_config
->
slot
=
rx_slot
;
dl_config
->
number_pdus
=
0
;
if
(
mac
->
state
==
UE_NOT_SYNC
)
if
(
mac
->
state
==
UE_NOT_SYNC
||
mac
->
state
==
UE_DETACHING
)
return
;
ue_dci_configuration
(
mac
,
dl_config
,
rx_frame
,
rx_slot
);
...
...
@@ -1316,7 +1316,7 @@ void nr_ue_ul_scheduler(NR_UE_MAC_INST_t *mac, nr_uplink_indication_t *ul_info)
}
}
if
(
mac
->
state
>=
UE_PERFORMING_RA
)
if
(
mac
->
state
>=
UE_PERFORMING_RA
&&
mac
->
state
<
UE_DETACHING
)
nr_ue_pucch_scheduler
(
mac
,
frame_tx
,
slot_tx
,
ul_info
->
phy_data
);
}
...
...
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