- all RAN code, CI code, configuration files, dockerfiles, in CSSL v1.0
- all deployment code (openshift, charts, ancillary files like shell
scripts), in MIT
- documentation in CC-BY-4.0
- exceptions might apply and are listed in NOTICE
- there is a new LICENSES folder with all licenses
- CONTRIBUTIONS.md has been updated accordingly
For automated changes based on OAI PL v1.1:
perl -i~ -0pe 's/\/\*.*Licensed to the OpenAirInterface.*openairinterface.org\n#?/\/*\n * SPDX-License-Identifier: LicenseRef-CSSL-1.0\n/s' **/*.{c,h,cpp}
perl -i~ -0pe 's/\/\*.*Licensed to the OpenAirInterface.*openairinterface.org\n#?/\/*\n * SPDX-License-Identifier: LicenseRef-CSSL-1.0\n/s' **/*.ts
perl -i~ -0pe 's/<!--.*Licensed to the OpenAirInterface.*openairinterface.org\n.*-->/<!-- SPDX-License-Identifier: LicenseRef-CSSL-1.0 -->/s' **/*.xml
The rest (cmake, files with missing license, cmake) manually.
94 lines
4.2 KiB
C
94 lines
4.2 KiB
C
/*
|
|
* SPDX-License-Identifier: LicenseRef-CSSL-1.0
|
|
*/
|
|
|
|
/*****************************************************************************
|
|
|
|
Version 0.1
|
|
|
|
Date 2012/09/27
|
|
|
|
Product NAS stack
|
|
|
|
Subsystem EPS Session Management
|
|
|
|
Description Defines identifiers of the EPS Session Management messages
|
|
|
|
*****************************************************************************/
|
|
#ifndef __ESM_MSGDEF_H__
|
|
#define __ESM_MSGDEF_H__
|
|
|
|
#include <stdint.h>
|
|
#include <asm/byteorder.h>
|
|
|
|
/****************************************************************************/
|
|
/********************* G L O B A L C O N S T A N T S *******************/
|
|
/****************************************************************************/
|
|
|
|
/* Header length boundaries of EPS Session Management messages */
|
|
#define ESM_HEADER_LENGTH sizeof(esm_msg_header_t)
|
|
|
|
/* Message identifiers for EPS Session Management */
|
|
# define ACTIVATE_DEFAULT_EPS_BEARER_CONTEXT_REQUEST 0b11000001 /* 193 = 0xc1 */
|
|
# define ACTIVATE_DEFAULT_EPS_BEARER_CONTEXT_ACCEPT 0b11000010 /* 194 = 0xc2 */
|
|
# define ACTIVATE_DEFAULT_EPS_BEARER_CONTEXT_REJECT 0b11000011 /* 195 = 0xc3 */
|
|
# define ACTIVATE_DEDICATED_EPS_BEARER_CONTEXT_REQUEST 0b11000101 /* 197 = 0xc5 */
|
|
# define ACTIVATE_DEDICATED_EPS_BEARER_CONTEXT_ACCEPT 0b11000110 /* 198 = 0xc6 */
|
|
# define ACTIVATE_DEDICATED_EPS_BEARER_CONTEXT_REJECT 0b11000111 /* 199 = 0xc7 */
|
|
# define MODIFY_EPS_BEARER_CONTEXT_REQUEST 0b11001001 /* 201 = 0xc9 */
|
|
# define MODIFY_EPS_BEARER_CONTEXT_ACCEPT 0b11001010 /* 202 = 0xca */
|
|
# define MODIFY_EPS_BEARER_CONTEXT_REJECT 0b11001011 /* 203 = 0xcb */
|
|
# define DEACTIVATE_EPS_BEARER_CONTEXT_REQUEST 0b11001101 /* 205 = 0xcd */
|
|
# define DEACTIVATE_EPS_BEARER_CONTEXT_ACCEPT 0b11001110 /* 206 = 0xce */
|
|
# define PDN_CONNECTIVITY_REQUEST 0b11010000 /* 208 = 0xd0 */
|
|
# define PDN_CONNECTIVITY_REJECT 0b11010001 /* 209 = 0xd1 */
|
|
# define PDN_DISCONNECT_REQUEST 0b11010010 /* 210 = 0xd2 */
|
|
# define PDN_DISCONNECT_REJECT 0b11010011 /* 211 = 0xd3 */
|
|
# define BEARER_RESOURCE_ALLOCATION_REQUEST 0b11010100 /* 212 = 0xd4 */
|
|
# define BEARER_RESOURCE_ALLOCATION_REJECT 0b11010101 /* 213 = 0xd5 */
|
|
# define BEARER_RESOURCE_MODIFICATION_REQUEST 0b11010110 /* 214 = 0xd6 */
|
|
# define BEARER_RESOURCE_MODIFICATION_REJECT 0b11010111 /* 215 = 0xd7 */
|
|
# define ESM_INFORMATION_REQUEST 0b11011001 /* 217 = 0xd9 */
|
|
# define ESM_INFORMATION_RESPONSE 0b11011010 /* 218 = 0xda */
|
|
# define ESM_STATUS 0b11101000 /* 232 = 0xe8 */
|
|
|
|
/****************************************************************************/
|
|
/************************ G L O B A L T Y P E S ************************/
|
|
/****************************************************************************/
|
|
|
|
/*
|
|
* Header of EPS Session Management plain NAS message
|
|
* --------------------------------------------------
|
|
* 8 7 6 5 4 3 2 1
|
|
* +-----------------------+------------------------+
|
|
* | EPS bearer identity | Protocol discriminator |
|
|
* +-----------------------+------------------------+
|
|
* | Procedure transaction identity |
|
|
* +-----------------------+------------------------+
|
|
* | Message type |
|
|
* +-----------------------+------------------------+
|
|
*/
|
|
typedef struct {
|
|
#ifdef __LITTLE_ENDIAN_BITFIELD
|
|
uint8_t protocol_discriminator:4;
|
|
uint8_t eps_bearer_identity:4;
|
|
#endif
|
|
#ifdef __BIG_ENDIAN_BITFIELD
|
|
uint8_t eps_bearer_identity:4;
|
|
uint8_t protocol_discriminator:4;
|
|
#endif
|
|
uint8_t procedure_transaction_identity;
|
|
uint8_t message_type;
|
|
} __attribute__((__packed__)) esm_msg_header_t;
|
|
|
|
/****************************************************************************/
|
|
/******************** G L O B A L V A R I A B L E S ********************/
|
|
/****************************************************************************/
|
|
|
|
/****************************************************************************/
|
|
/****************** E X P O R T E D F U N C T I O N S ******************/
|
|
/****************************************************************************/
|
|
|
|
#endif /* __ESM_MSGDEF_H__ */
|
|
|