flexran_agent_extern.h 1.93 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
/*
 * 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.0  (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
 */ 
21 22

/*! \file ENB_APP/extern.h
23
 * \brief FlexRAN agent - mac interface primitives
24 25 26 27 28 29
 * \author Xenofon Foukas
 * \date 2016
 * \version 0.1
 * \mail x.foukas@sms.ed.ac.uk
 */

30 31
#ifndef __FLEXRAN_AGENT_EXTERN_H__
#define __FLEXRAN_AGENT_EXTERN_H__
32

33 34
#include "flexran_agent_defs.h"
#include "flexran_agent_mac_defs.h"
35 36


37
//extern msg_context_t shared_ctxt[NUM_MAX_ENB][FLEXRAN_AGENT_MAX];
38

39
/* full path of the local cache for storing VSFs */
40 41
extern char local_cache[40];

42
/* Control module interface for the communication of the MAC Control Module with the agent */
43
extern AGENT_MAC_xface *agent_mac_xface[NUM_MAX_ENB];
44

45
/* Flag indicating whether the VSFs for the MAC control module have been registered */
46
extern unsigned int mac_agent_registered[NUM_MAX_ENB];
47

48 49 50 51
/* Requried to know which UEs had a harq updated over some subframe */
extern int harq_pid_updated[NUMBER_OF_UE_MAX][8];
extern int harq_pid_round[NUMBER_OF_UE_MAX][8];

52
#endif