nr_rrc_extern.h 1.9 KB
Newer Older
WEI-TAI CHEN's avatar
WEI-TAI CHEN committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
/*
 * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The OpenAirInterface Software Alliance licenses this file to You under
 * the OAI Public License, Version 1.1  (the "License"); you may not use this file
 * except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.openairinterface.org/?page_id=698
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *-------------------------------------------------------------------------------
 * For more information about the OpenAirInterface (OAI) Software Alliance:
 *      contact@openairinterface.org
 */

WEI-TAI CHEN's avatar
WEI-TAI CHEN committed
22
/*! \file nr_rrc_extern.h
WEI-TAI CHEN's avatar
WEI-TAI CHEN committed
23
* \brief rrc external vars
WEI-TAI CHEN's avatar
WEI-TAI CHEN committed
24 25
* \author Navid Nikaein and Raymond Knopp, WEI-TAI CHEN
* \date 2011, 2018
WEI-TAI CHEN's avatar
WEI-TAI CHEN committed
26
* \version 1.0
WEI-TAI CHEN's avatar
WEI-TAI CHEN committed
27 28
* \company Eurecom, NTUST
* \email: navid.nikaein@eurecom.fr, kroempa@gmail.com
WEI-TAI CHEN's avatar
WEI-TAI CHEN committed
29 30
*/

laurent's avatar
laurent committed
31 32
#ifndef __OPENAIR_NR_RRC_EXTERN_H__
#define __OPENAIR_NR_RRC_EXTERN_H__
33
#include "nr_rrc_defs.h"
WEI-TAI CHEN's avatar
WEI-TAI CHEN committed
34 35
#include "COMMON/mac_rrc_primitives.h"
#include "LAYER2/RLC/rlc.h"
laurent's avatar
laurent committed
36
#include "openair2/RRC/common.h"
WEI-TAI CHEN's avatar
WEI-TAI CHEN committed
37

38 39
void openair_rrc_gNB_configuration(gNB_RRC_INST *rrc, gNB_RrcConfigurationReq *configuration);

WEI-TAI CHEN's avatar
WEI-TAI CHEN committed
40 41 42 43
extern UE_RRC_INST *UE_rrc_inst;

extern uint8_t DRB2LCHAN[8];

laurent's avatar
laurent committed
44
extern int NB_UE_INST;
WEI-TAI CHEN's avatar
WEI-TAI CHEN committed
45 46 47 48 49
extern void* bigphys_malloc(int);


//uint8_t RACH_TIME_ALLOC;
extern uint16_t RACH_FREQ_ALLOC;
50
// uint8_t NB_RACH;
WEI-TAI CHEN's avatar
WEI-TAI CHEN committed
51 52 53 54
extern MAC_MEAS_T BCCH_MEAS_TRIGGER,CCCH_MEAS_TRIGGER,DCCH_MEAS_TRIGGER,DTCH_MEAS_TRIGGER;
extern MAC_AVG_T BCCH_MEAS_AVG,CCCH_MEAS_AVG,DCCH_MEAS_AVG, DTCH_MEAS_AVG;

#endif