flexran_agent.h 1.86 KB
Newer Older
1 2 3 4 5
/*
 * 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
6
 * the OAI Public License, Version 1.1  (the "License"); you may not use this file
7 8 9 10 11 12 13 14 15 16 17 18 19 20
 * 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 23
/*! \file flexran_agent.h
 * \brief top level flexran agent  
24
 * \author Navid Nikaein and Xenofon Foukas
25
 * \date 2017
26 27 28
 * \version 0.1
 */

29 30
#ifndef FLEXRAN_AGENT_H_
#define FLEXRAN_AGENT_H_
31

32
#include "flexran_agent_common.h"
33 34 35 36
#include "flexran_agent_async.h"
#include "flexran_agent_extern.h"
#include "flexran_agent_timer.h"
#include "flexran_agent_defs.h"
shahab SHARIATBAGHERI's avatar
shahab SHARIATBAGHERI committed
37 38 39 40
#include "flexran_agent_net_comm.h"
#include "flexran_agent_ran_api.h"
#include "flexran_agent_mac.h"
#include "flexran_agent_rrc.h"
41
#include "flexran_agent_pdcp.h"
42
#include "common/utils/LOG/log.h"
43 44
#include "assertions.h"

45
/* Initiation of the eNodeB agent */
46
int flexran_agent_start(mid_t mod_id);
47

48 49 50 51
/* 
 * enb agent task mainly wakes up the tx thread for periodic and oneshot messages to the controller 
 * and can interact with other itti tasks
*/
52
void *flexran_agent_task(void *args);
53 54

#endif