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
littleBu
OpenXG-RAN
Commits
047b4eea
Commit
047b4eea
authored
Nov 11, 2024
by
Guido Casati
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor PDU Session Establish Accept IEI
* use NAS macro to define enums and text description
parent
ccff518b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
10 deletions
+16
-10
openair3/NAS/COMMON/ESM/MSG/PduSessionEstablishmentAccept.h
openair3/NAS/COMMON/ESM/MSG/PduSessionEstablishmentAccept.h
+16
-10
No files found.
openair3/NAS/COMMON/ESM/MSG/PduSessionEstablishmentAccept.h
View file @
047b4eea
...
...
@@ -23,19 +23,25 @@
#define PDU_SESSION_ESTABLISHMENT_ACCEPT_H_
#include <stdint.h>
#include "NR_NAS_defs.h"
/* PDU Session Establish Accept Optional IE Identifiers - TS 24.501 Table 8.3.2.1.1 */
#define IEI_5GSM_CAUSE 0x59
/* 5GSM cause 9.11.4.2 */
#define IEI_PDU_ADDRESS 0x29
/* PDU address 9.11.4.10 */
#define IEI_RQ_TIMER_VALUE 0x56
/* GPRS timer 9.11.2.3 */
#define IEI_SNSSAI 0x22
/* S-NSSAI 9.11.2.8 */
#define IEI_ALWAYSON_PDU 0x80
/* Always-on PDU session indication 9.11.4.3 */
#define IEI_MAPPED_EPS 0x75
/* Mapped EPS bearer contexts 9.11.4.8 */
#define IEI_EAP_MSG 0x78
/* EAP message 9.11.2.2 */
#define IEI_AUTH_QOS_DESC 0x79
/* QoS flow descriptions 9.11.4.12 */
#define IEI_EXT_CONF_OPT 0x7b
/* Extended protocol configuration options 9.11.4.6 */
#define IEI_DNN 0x25
/* DNN 9.11.2.1B */
#define FOREACH_IEI(IEI_DEF) \
IEI_DEF(IEI_5GSM_CAUSE, 0x59)
/* 5GSM cause 9.11.4.2 */
\
IEI_DEF(IEI_PDU_ADDRESS, 0x29)
/* PDU address 9.11.4.10 */
\
IEI_DEF(IEI_RQ_TIMER_VALUE, 0x56)
/* GPRS timer 9.11.2.3 */
\
IEI_DEF(IEI_SNSSAI, 0x22)
/* S-NSSAI 9.11.2.8 */
\
IEI_DEF(IEI_ALWAYSON_PDU, 0x80)
/* Always-on PDU session indication 9.11.4.3 */
\
IEI_DEF(IEI_MAPPED_EPS, 0x75)
/* Mapped EPS bearer contexts 9.11.4.8 */
\
IEI_DEF(IEI_EAP_MSG, 0x78)
/* EAP message 9.11.2.2 */
\
IEI_DEF(IEI_AUTH_QOS_DESC, 0x79)
/* QoS flow descriptions 9.11.4.12 */
\
IEI_DEF(IEI_EXT_CONF_OPT, 0x7b)
/* Extended protocol configuration options 9.11.4.6 */
\
IEI_DEF(IEI_DNN, 0x25)
/* DNN 9.11.2.1B */
static
const
text_info_t
iei_text_desc
[]
=
{
FOREACH_IEI
(
TO_TEXT
)};
typedef
enum
{
FOREACH_IEI
(
TO_ENUM
)
}
pduSessionEstablishment_IEI_t
;
/* PDU Session type value - TS 24.501 Table 9.11.4.10.1*/
...
...
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