Files
openairinterface5g/openair2/COMMON/rrm_constants.h
Robert Schmidt 8107939f08 Change OAI license to CSSL v1.0 (and others)
- 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.
2026-03-27 16:36:37 +01:00

47 lines
1.1 KiB
C

/*
* SPDX-License-Identifier: LicenseRef-CSSL-1.0
*/
# ifndef __RRM_CONSTANTS_H__
# define __RRM_CONSTANTS_H__
#include "common/platform_constants.h"
/*#################################################
CONSTANTS FOR L1/L2/L3 LAYERS
#################################################*/
# define RRM_CONFIG_VALID 0xFF
# define RRM_CONFIG_INVALID 0x00
# define RRM_NO_REFERENCE -1
# define TRANSACTION_NULL 0
// RRM action
/*
# define ACTION_NULL 0
# define ACTION_ADD 1
# define ACTION_REMOVE 2
# define ACTION_MODIFY 3
# define ACTION_SET_SECURITY_MODE 4
# define ACTION_MBMS_ADD 10
# define ACTION_MBMS_MODIFY 11
*/
# define MOBILE 7
// equipment type
# define MOBILE_TERMINAL 1
# define RADIO_GATEWAY 2
# define UNUSED_PARAMETER -1
//---------------------------
// COMMON TRCH
//---------------------------
# define PREFERED_RLC_BLOCK_SIZE 336
//(43 bytes)
# define JRRM_MAX_TTI 2
# define JRRM_MAX_COMMANDS_PER_TRANSACTION 50
# endif