Files
openairinterface5g/targets/SIMU/USER/oaisim_functions.h
T
Lionel Gauthier c60dc45b2b Changed uX, uX_t sX, sX_t to uinX_t
Cleaned some PDCP/driver code

types parameters and vars

Please see openair2/COMMON/platform_types.h for simple coding rules.

please declare prototypes of functions in .h and include .h files in where the function is used and where it is implemented.



git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5096 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-02-28 13:03:10 +00:00

50 lines
829 B
C

#include "oaisim.h"
#include <stdio.h>
#include <stdlib.h>
#include <getopt.h>
#include "UTIL/FIFO/pad_list.h"
#ifndef OAISIM_FUNCTIONS_H_
#define OAISIM_FUNCTIONS_H_
void get_simulation_options(int argc, char *argv[]);
void check_and_adjust_params(void);
void init_omv(void);
void init_seed(uint8_t set_seed);
void init_openair1(void);
void init_openair2(void);
void init_ocm(void);
void init_otg_pdcp_buffer(void);
void update_omg(frame_t frameP);
void update_omg_ocm(void);
void update_ocm(void);
void update_otg_eNB(module_id_t module_idP, unsigned int ctime);
void update_otg_UE(module_id_t module_idP, unsigned int ctime);
void exit_fun(const char* s);
void init_time(void);
void init_pad(void);
void help(void);
int init_slot_isr(void);
void wait_for_slot_isr(void);
#endif /* OAISIM_FUNCTIONS_H_ */