- 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.
45 lines
957 B
C
45 lines
957 B
C
/*
|
|
* SPDX-License-Identifier: LicenseRef-CSSL-1.0
|
|
*/
|
|
|
|
/*!
|
|
* \brief rrc procedures for UE context
|
|
*/
|
|
#ifndef __RRC_ENB_UE_CONTEXT_H__
|
|
#define __RRC_ENB_UE_CONTEXT_H__
|
|
|
|
#include "collection/tree.h"
|
|
#include "common/platform_types.h"
|
|
#include "rrc_defs.h"
|
|
|
|
int rrc_eNB_compare_ue_rnti_id(
|
|
struct rrc_eNB_ue_context_s* c1_pP,
|
|
struct rrc_eNB_ue_context_s* c2_pP
|
|
);
|
|
|
|
RB_PROTOTYPE(rrc_ue_tree_s, rrc_eNB_ue_context_s, entries, rrc_eNB_compare_ue_rnti_id);
|
|
|
|
struct rrc_eNB_ue_context_s*
|
|
rrc_eNB_allocate_new_UE_context(
|
|
eNB_RRC_INST* rrc_instance_pP
|
|
);
|
|
|
|
struct rrc_eNB_ue_context_s*
|
|
rrc_eNB_get_ue_context(
|
|
eNB_RRC_INST* rrc_instance_pP,
|
|
rnti_t rntiP
|
|
);
|
|
|
|
struct rrc_eNB_ue_context_s *
|
|
rrc_eNB_find_ue_context_from_gnb_rnti(
|
|
eNB_RRC_INST *rrc_instance_pP,
|
|
int gnb_rnti);
|
|
|
|
void rrc_eNB_remove_ue_context(
|
|
const protocol_ctxt_t* const ctxt_pP,
|
|
eNB_RRC_INST* rrc_instance_pP,
|
|
struct rrc_eNB_ue_context_s* ue_context_pP
|
|
);
|
|
|
|
#endif
|