- 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.
50 lines
1.3 KiB
C
50 lines
1.3 KiB
C
/*
|
|
* SPDX-License-Identifier: LicenseRef-CSSL-1.0
|
|
*/
|
|
|
|
#ifndef _NAS_PROC_DEFS_H
|
|
#define _NAS_PROC_DEFS_H
|
|
|
|
#include <stdbool.h>
|
|
|
|
/*
|
|
* Local NAS data
|
|
*/
|
|
typedef struct {
|
|
/* EPS capibility status */
|
|
bool EPS_capability_status;
|
|
/* Reference signal received quality */
|
|
int rsrq;
|
|
/* Reference signal received power */
|
|
int rsrp;
|
|
} proc_data_t;
|
|
|
|
/*
|
|
* MT SIM pending status (see ETSI TS 127 007 V10.6.0, Note 2)
|
|
* Commands which interact with MT that are accepted when MT is pending SIM PIN,
|
|
* SIM PUK, or PH-SIM are: +CGMI, +CGMM, +CGMR, +CGSN, D112; (emergency call),
|
|
* +CPAS, +CFUN, +CPIN, +CPINR, +CDIS (read and test command only), and +CIND
|
|
* (read and test command only).
|
|
*/
|
|
typedef enum {
|
|
NAS_USER_READY, /* MT is not pending for any password */
|
|
NAS_USER_SIM_PIN, /* MT is waiting SIM PIN to be given */
|
|
NAS_USER_SIM_PUK, /* MT is waiting SIM PUK to be given */
|
|
NAS_USER_PH_SIM_PIN /* MT is waiting phone-to-SIM card
|
|
* password to be given */
|
|
} nas_user_sim_status;
|
|
|
|
/*
|
|
* The local UE context
|
|
*/
|
|
typedef struct {
|
|
/* Firmware version number */
|
|
const char *version;
|
|
/* SIM pending status */
|
|
nas_user_sim_status sim_status;
|
|
/* Level of functionality */
|
|
int fun;
|
|
} nas_user_context_t;
|
|
|
|
#endif
|