Commit eb221756 authored by Thomas Schlichter's avatar Thomas Schlichter

remove unnecessary sudas header file

parent 2c1226f8
/******************************************************************************
*******************************************************************************
*** ***
*** ===================================================================== ***
*** ***
*** (C) copyright Fraunhofer IIS (2008..2018) - all rights reserved ***
*** sfn@iis.fraunhofer.de ***
*** ===================================================================== ***
*** ***
*******************************************************************************
*******************************************************************************
*** $Id: main.c 438 2017-07-18 12:00:15Z det $
******************************************************************************/
#ifndef SUDAS_TM4_H
#define SUDAS_TM4_H
#define FHG_TM4
//#define FHG_TM4_LOG
#define FHG_TM4_LOG_CQI
//#define FHG_LOG
//#define FHG_LOG_TM4
// [sfn]
extern FILE *debug_sudas_LOG_PHY;
extern FILE *debug_sudas_LOG_MAC;
#ifdef FHG_LOG_TM4
#define sudas_LOG_TM(c,...) fprintf(c,__VA_ARGS__)
#else
#define sudas_LOG_TM(c,...)
#endif
#ifdef FHG_LOG
#define sudas_LOG_PHY(c,...) fprintf(c,__VA_ARGS__)
#define sudas_LOG_MAC(c,...) fprintf(c,__VA_ARGS__)
#else
#define sudas_LOG_PHY(c,...)
#define sudas_LOG_MAC(c,...)
#endif
#endif
......@@ -50,7 +50,6 @@
#include "RRC/LITE/extern.h"
#include "RRC/L2_INTERFACE/openair_rrc_L2_interface.h"
#include "rlc.h"
#include "sudas_tm4.h"
#define DEBUG_eNB_SCHEDULER 1
......
......@@ -75,8 +75,6 @@ unsigned short config_frames[4] = {2,9,11,13};
#endif
#include "system.h"
//SFN
#include "sudas_tm4.h"
#ifdef XFORMS
#include "PHY/TOOLS/lte_phy_scope.h"
......@@ -127,9 +125,6 @@ int UE_scan_carrier = 0;
runmode_t mode = normal_txrx;
FILE *input_fd=NULL;
//sfn
FILE *debug_sudas_LOG_PHY;
FILE *debug_sudas_LOG_MAC;
#if MAX_NUM_CCs == 1
rx_gain_t rx_gain_mode[MAX_NUM_CCs][4] = {{max_gain,max_gain,max_gain,max_gain}};
......@@ -1214,11 +1209,6 @@ static void get_options (int argc, char **argv) {
//this is needed for phy-test option
transmission_mode = enb_properties->properties[0]->ue_TransmissionMode[0]+1;
//SFN: Transmission Mode
//sudas_LOG_PHY(debug_sudas_LOG_PHY,"[get_optrian()]: ue_TransmissionMode %d transmission_mode %d\n",enb_properties->properties[0]->ue_TransmissionMode[0],transmission_mode);
//fflush(debug_sudas_LOG_PHY);
} else if (UE_flag == 1) {
if (conf_config_file_name != NULL) {
......@@ -1392,15 +1382,6 @@ void init_openair0() {
int main( int argc, char **argv ) {
int i,j,k,aa,re;
debug_sudas_LOG_PHY = fopen("debug_sudas_LOG_PHY.txt", "w");
debug_sudas_LOG_MAC = fopen("debug_sudas_LOG_MAC.txt", "w");
sudas_LOG_PHY(debug_sudas_LOG_PHY,"main();\n");
#ifdef FHG_LOG
fflush(debug_sudas_LOG_PHY);
#endif
#if defined (XFORMS)
void *status;
#endif
......@@ -1677,9 +1658,6 @@ int main( int argc, char **argv ) {
// initialization for phy-test
for (k=0; k<NUMBER_OF_UE_MAX; k++) {
PHY_vars_eNB_g[0][CC_id]->transmission_mode[k] = transmission_mode;
//SFN
//sudas_LOG_PHY(debug_sudas_LOG_PHY,"[init eNB]: PHY_vars_eNB_g[0][%d]->transmission_mode[%d]= %d\n",CC_id,k,transmission_mode);
//fflush(debug_sudas_LOG_PHY);
if (transmission_mode==7)
lte_gold_ue_spec_port5(PHY_vars_eNB_g[0][CC_id]->lte_gold_uespec_port5_table[k],frame_parms[CC_id]->Nid_cell,0x1235+k);
}
......@@ -2035,7 +2013,5 @@ int main( int argc, char **argv ) {
terminate_opt();
logClean();
fclose(debug_sudas_LOG_PHY);
fclose(debug_sudas_LOG_MAC);
return 0;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment