compiles
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#ifndef __SPLIT_HEADERS_H
|
||||
#define __SPLIT_HEADERS_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <openair1/PHY/defs_eNB.h>
|
||||
#define MTU 65536
|
||||
#define UDP_TIMEOUT 100000L // in nano second
|
||||
#define MAX_BLOCKS 16
|
||||
@@ -18,12 +20,27 @@ typedef struct frequency_s {
|
||||
int frame;
|
||||
int subframe;
|
||||
int sampleSize;
|
||||
int nbAnt
|
||||
int nbAnt;
|
||||
int nbSamples;
|
||||
} frequency_t;
|
||||
|
||||
int createListner (port);
|
||||
int createListner (int port);
|
||||
int receiveSubFrame(int sock, uint64_t expectedTS, void *bufferZone, int bufferSize);
|
||||
int sendSubFrame(int sock, void *bufferZone, int nbBlocks);
|
||||
inline size_t alignedSize(void *ptr) {
|
||||
commonUDP_t *header=(commonUDP_t *) ptr;
|
||||
return ((header->contentBytes+sizeof(commonUDP_t)+blockAlign-1)/blockAlign)*blockAlign;
|
||||
}
|
||||
|
||||
void *cu_fs6(void *arg);
|
||||
void *du_fs6(void *arg);
|
||||
void fill_rf_config(RU_t *ru, char *rf_config_file);
|
||||
void rx_rf(RU_t *ru,int *frame,int *subframe);
|
||||
void tx_rf(RU_t *ru);
|
||||
|
||||
// mistakes in main OAI
|
||||
void phy_init_RU(RU_t *);
|
||||
void feptx_prec(RU_t *);
|
||||
void feptx_ofdm(RU_t *);
|
||||
void oai_subframe_ind(uint16_t sfn, uint16_t sf);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user