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
83587d3f
Commit
83587d3f
authored
Mar 09, 2026
by
Rakesh Mundlamuri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create an accessor function for nr_ue_nas static variable
parent
fdb6b44b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
openair3/NAS/NR_UE/nr_nas_msg.c
openair3/NAS/NR_UE/nr_nas_msg.c
+6
-0
openair3/NAS/NR_UE/nr_nas_msg.h
openair3/NAS/NR_UE/nr_nas_msg.h
+1
-0
No files found.
openair3/NAS/NR_UE/nr_nas_msg.c
View file @
83587d3f
...
...
@@ -78,6 +78,12 @@
static
nr_ue_nas_t
nr_ue_nas
[
MAX_NUM_NR_UE_INST
]
=
{
0
};
nr_ue_nas_t
*
get_nr_ue_nas_info
(
uint8_t
ue_inst
)
{
AssertFatal
(
ue_inst
>=
0
&&
ue_inst
<
MAX_NUM_NR_UE_INST
,
"Invalid UE instance
\n
"
);
return
&
nr_ue_nas
[
ue_inst
];
}
#define FOREACH_STATE(TYPE_DEF) \
TYPE_DEF(NAS_SECURITY_NO_SECURITY_CONTEXT, 0) \
TYPE_DEF(NAS_SECURITY_UNPROTECTED, 1) \
...
...
openair3/NAS/NR_UE/nr_nas_msg.h
View file @
83587d3f
...
...
@@ -112,5 +112,6 @@ void *nas_nrue(void *args_p);
void
nas_init_nrue
(
int
num_ues
);
void
nr_ue_create_ip_if
(
const
char
*
ifnameprefix
,
const
char
*
ipv4
,
const
char
*
ipv6
,
int
ue_id
,
int
pdu_session_id
);
void
request_pdusession
(
nr_ue_nas_t
*
nas
,
const
pdu_session_config_t
*
pdu
);
nr_ue_nas_t
*
get_nr_ue_nas_info
(
uint8_t
ue_inst
);
#endif
/* __NR_NAS_MSG_SIM_H__*/
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