branch LG_PRE_RELEASE_0.3 reintegration
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7117 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
include $(OPENAIR_HOME)/common/utils/Makefile.inc
|
||||
include $(OPENAIR_DIR)/common/utils/Makefile.inc
|
||||
|
||||
TOP_DIR = $(OPENAIR1_DIR)
|
||||
OPENAIR1_TOP = $(OPENAIR1_DIR)
|
||||
@@ -19,8 +19,8 @@ ifdef DEBUG_PHY
|
||||
CFLAGS += -DDEBUG_PHY
|
||||
endif
|
||||
|
||||
ifdef NAS_NETLINK
|
||||
CFLAGS += -DNAS_NETLINK -DLINUX -DDEBUG_CONTROL
|
||||
ifdef PDCP_USE_NETLINK
|
||||
CFLAGS += -DPDCP_USE_NETLINK -DLINUX -DDEBUG_CONTROL
|
||||
endif
|
||||
|
||||
CFLAGS += -DPHY_ABSTRACTION #-DEMIT_ASN_DEBUG=1
|
||||
|
||||
@@ -92,7 +92,7 @@ def execute(oai, user, pw, host, logfile,logdir,debug,timeout):
|
||||
log.start()
|
||||
test = '02'
|
||||
name = 'Compile oai.rel8.nas.make'
|
||||
conf = 'make nasmesh_fix; make NAS=1'
|
||||
conf = 'make nasmesh_fix; make LINK_ENB_PDCP_TO_IP_DRIVER=1'
|
||||
diag = 'check the compilation errors for oai and nas driver'
|
||||
oai.send('make cleanall;')
|
||||
oai.send('rm -f ./oaisim.rel8.nas'+host)
|
||||
@@ -104,7 +104,7 @@ def execute(oai, user, pw, host, logfile,logdir,debug,timeout):
|
||||
oai.send('cp $OPENAIR2_DIR/NAS/DRIVER/MESH/nasmesh.ko .')
|
||||
trace = logdir + '/log_' + case + test + '_2.txt;'
|
||||
tee = ' 2>&1 | tee ' + trace
|
||||
oai.send_expect_false('make NAS=1 JF=1 -j4' + tee, makerr1, timeout)
|
||||
oai.send_expect_false('make LINK_ENB_PDCP_TO_IP_DRIVER=1 JF=1 -j4' + tee, makerr1, timeout)
|
||||
oai.send('cp ./oaisim ./oaisim.rel8.nas.'+host)
|
||||
|
||||
except log.err, e:
|
||||
@@ -255,7 +255,7 @@ def execute(oai, user, pw, host, logfile,logdir,debug,timeout):
|
||||
log.start()
|
||||
test = '14'
|
||||
name = 'Compile oai.rel8.itti.ral.make'
|
||||
conf = 'make DISABLE_XER_PRINT=1 NAS=1 OAI_NW_DRIVER_TYPE_ETHERNET=1 ENABLE_ITTI=1 USER_MODE=1 OPENAIR2=1 ENABLE_RAL=1 MIH_C_MEDIEVAL_EXTENSIONS=1 RLC_STOP_ON_LOST_PDU=1 Rel8=1'
|
||||
conf = 'make DISABLE_XER_PRINT=1 LINK_ENB_PDCP_TO_IP_DRIVER=1 OAI_NW_DRIVER_TYPE_ETHERNET=1 ENABLE_ITTI=1 USER_MODE=1 OPENAIR2=1 ENABLE_RAL=1 MIH_C_MEDIEVAL_EXTENSIONS=1 RLC_STOP_ON_LOST_PDU=1 Rel8=1'
|
||||
trace = logdir + '/log_' + case + test + '.txt;'
|
||||
tee = ' 2>&1 | tee ' + trace
|
||||
diag = 'check the compilation errors for ITTI Rel8'
|
||||
@@ -263,7 +263,7 @@ def execute(oai, user, pw, host, logfile,logdir,debug,timeout):
|
||||
oai.send('make cleanall;')
|
||||
oai.send('make cleanasn1;')
|
||||
oai.send('rm -f ./oaisim.rel8.itti.ral.'+host)
|
||||
oai.send_expect_false('make DISABLE_XER_PRINT=1 NAS=1 OAI_NW_DRIVER_TYPE_ETHERNET=1 ENABLE_ITTI=1 USER_MODE=1 OPENAIR2=1 ENABLE_RAL=1 MIH_C_MEDIEVAL_EXTENSIONS=1 RLC_STOP_ON_LOST_PDU=1 Rel8=1 -j4' + tee, makerr1, timeout)
|
||||
oai.send_expect_false('make DISABLE_XER_PRINT=1 LINK_ENB_PDCP_TO_IP_DRIVER=1 OAI_NW_DRIVER_TYPE_ETHERNET=1 ENABLE_ITTI=1 USER_MODE=1 OPENAIR2=1 ENABLE_RAL=1 MIH_C_MEDIEVAL_EXTENSIONS=1 RLC_STOP_ON_LOST_PDU=1 Rel8=1 -j4' + tee, makerr1, timeout)
|
||||
oai.send('cp ./oaisim ./oaisim.rel8.itti.ral.'+host)
|
||||
except log.err, e:
|
||||
log.fail(case, test, name, conf, e.value, diag, logfile,trace)
|
||||
@@ -274,7 +274,7 @@ def execute(oai, user, pw, host, logfile,logdir,debug,timeout):
|
||||
log.start()
|
||||
test = '15'
|
||||
name = 'Compile oai.rel10.itti.ral.make'
|
||||
conf = 'make DISABLE_XER_PRINT=1 NAS=1 OAI_NW_DRIVER_TYPE_ETHERNET=1 ENABLE_ITTI=1 USER_MODE=1 OPENAIR2=1 ENABLE_RAL=1 MIH_C_MEDIEVAL_EXTENSIONS=1 RLC_STOP_ON_LOST_PDU=1 Rel10=1'
|
||||
conf = 'make DISABLE_XER_PRINT=1 LINK_ENB_PDCP_TO_IP_DRIVER=1 OAI_NW_DRIVER_TYPE_ETHERNET=1 ENABLE_ITTI=1 USER_MODE=1 OPENAIR2=1 ENABLE_RAL=1 MIH_C_MEDIEVAL_EXTENSIONS=1 RLC_STOP_ON_LOST_PDU=1 Rel10=1'
|
||||
trace = logdir + '/log_' + case + test + '.txt;'
|
||||
tee = ' 2>&1 | tee ' + trace
|
||||
diag = 'check the compilation errors for ITTI Rel10'
|
||||
@@ -282,7 +282,7 @@ def execute(oai, user, pw, host, logfile,logdir,debug,timeout):
|
||||
oai.send('make cleanall;')
|
||||
oai.send('make cleanasn1;')
|
||||
oai.send('rm -f ./oaisim.rel10.itti.ral.'+host)
|
||||
oai.send_expect_false('make DISABLE_XER_PRINT=1 NAS=1 OAI_NW_DRIVER_TYPE_ETHERNET=1 ENABLE_ITTI=1 USER_MODE=1 OPENAIR2=1 ENABLE_RAL=1 MIH_C_MEDIEVAL_EXTENSIONS=1 RLC_STOP_ON_LOST_PDU=1 Rel10=1 -j4' + tee, makerr1, timeout)
|
||||
oai.send_expect_false('make DISABLE_XER_PRINT=1 LINK_ENB_PDCP_TO_IP_DRIVER=1 OAI_NW_DRIVER_TYPE_ETHERNET=1 ENABLE_ITTI=1 USER_MODE=1 OPENAIR2=1 ENABLE_RAL=1 MIH_C_MEDIEVAL_EXTENSIONS=1 RLC_STOP_ON_LOST_PDU=1 Rel10=1 -j4' + tee, makerr1, timeout)
|
||||
oai.send('cp ./oaisim ./oaisim.rel10.itti.ral.'+host)
|
||||
except log.err, e:
|
||||
log.fail(case, test, name, conf, e.value, diag, logfile,trace)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
include $(OPENAIR_HOME)/common/utils/Makefile.inc
|
||||
include $(OPENAIR_DIR)/common/utils/Makefile.inc
|
||||
|
||||
TOP_DIR = $(OPENAIR1_DIR)
|
||||
OPENAIR1_TOP = $(OPENAIR1_DIR)
|
||||
@@ -48,7 +48,7 @@ ifdef DEBUG_PHY
|
||||
CFLAGS += -DDEBUG_PHY
|
||||
endif
|
||||
|
||||
#CFLAGS += -DNAS_NETLINK -DLINUX
|
||||
#CFLAGS += -DPDCP_USE_NETLINK -DLINUX
|
||||
#NAS_FLAG=1
|
||||
|
||||
#require kernel patch for oai driver to enable address autoconfiguration (IPv6 only)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
include $(OPENAIR_HOME)/common/utils/Makefile.inc
|
||||
include $(OPENAIR_DIR)/common/utils/Makefile.inc
|
||||
|
||||
TOP_DIR = $(OPENAIR1_DIR)
|
||||
OPENAIR1_TOP = $(OPENAIR1_DIR)
|
||||
@@ -21,8 +21,8 @@ ifdef DEBUG_PHY
|
||||
CFLAGS += -DDEBUG_PHY
|
||||
endif
|
||||
|
||||
ifdef NAS_NETLINK
|
||||
CFLAGS += -DNAS_NETLINK -DLINUX -DDEBUG_CONTROL
|
||||
ifdef PDCP_USE_NETLINK
|
||||
CFLAGS += -DPDCP_USE_NETLINK -DLINUX -DDEBUG_CONTROL
|
||||
endif
|
||||
|
||||
CFLAGS += -DPHY_ABSTRACTION #-DEMIT_ASN_DEBUG=1
|
||||
|
||||
@@ -153,7 +153,7 @@ BOOL init_pdcp_entity(pdcp_t *pdcp_entity)
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
BOOL test_tx_window()
|
||||
BOOL test_tx_window(void)
|
||||
{
|
||||
unsigned long index = 0;
|
||||
|
||||
@@ -171,7 +171,7 @@ BOOL test_tx_window()
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
BOOL test_rx_window()
|
||||
BOOL test_rx_window(void)
|
||||
{
|
||||
unsigned long index = 0;
|
||||
|
||||
@@ -190,7 +190,7 @@ BOOL test_rx_window()
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
BOOL test_pdcp_data_req()
|
||||
BOOL test_pdcp_data_req(void)
|
||||
{
|
||||
unsigned char* pdcp_test_pdu_buffer = NULL;
|
||||
unsigned char pdcp_test_pdu_buffer_size = DUMMY_BUFFER_SIZE + PDCP_USER_PLANE_DATA_PDU_LONG_SN_HEADER_SIZE;
|
||||
@@ -288,7 +288,7 @@ BOOL test_pdcp_data_req()
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
BOOL test_pdcp_data_ind()
|
||||
BOOL test_pdcp_data_ind(void)
|
||||
{
|
||||
/*
|
||||
* This is the list that pdcp_data_ind() takes to put pdcp_data_ind_header_t
|
||||
|
||||
@@ -17,24 +17,15 @@
|
||||
* /homes/demiray/workspace/openair4G/trunk/openair2/LAYER2/PDCP_v10.1.0/pdcp.c:270: undefined reference to `pdcp_fifo_read_input_sdus'
|
||||
* /homes/demiray/workspace/openair4G/trunk/openair2/LAYER2/PDCP_v10.1.0/pdcp.c:273: undefined reference to `pdcp_fifo_flush_sdus'
|
||||
*/
|
||||
int pdcp_fifo_flush_sdus ()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
int pdcp_fifo_read_input_sdus_remaining_bytes ()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
int pdcp_fifo_read_input_sdus ()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
int pdcp_fifo_flush_sdus (void) { return 0; }
|
||||
int pdcp_fifo_read_input_sdus_remaining_bytes (void) { return 0; }
|
||||
int pdcp_fifo_read_input_sdus (void) { return 0; }
|
||||
|
||||
BOOL init_pdcp_entity(pdcp_t *pdcp_entity);
|
||||
BOOL test_tx_window();
|
||||
BOOL test_rx_window();
|
||||
BOOL test_pdcp_data_req();
|
||||
BOOL test_pdcp_data_ind();
|
||||
BOOL test_tx_window(void);
|
||||
BOOL test_rx_window(void);
|
||||
BOOL test_pdcp_data_req(void);
|
||||
BOOL test_pdcp_data_ind(void);
|
||||
|
||||
/*
|
||||
* PDCP methods that are going to be utilised throughout the test
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
include $(OPENAIR_HOME)/common/utils/Makefile.inc
|
||||
include $(OPENAIR_DIR)/common/utils/Makefile.inc
|
||||
|
||||
TOP_DIR = $(OPENAIR1_DIR)
|
||||
OPENAIR1_TOP = $(OPENAIR1_DIR)
|
||||
@@ -21,8 +21,8 @@ ifdef DEBUG_PHY
|
||||
CFLAGS += -DDEBUG_PHY
|
||||
endif
|
||||
|
||||
ifdef NAS_NETLINK
|
||||
CFLAGS += -DNAS_NETLINK -DLINUX -DDEBUG_CONTROL
|
||||
ifdef PDCP_USE_NETLINK
|
||||
CFLAGS += -DPDCP_USE_NETLINK -DLINUX -DDEBUG_CONTROL
|
||||
endif
|
||||
|
||||
CFLAGS += -DPHY_ABSTRACTION #-DEMIT_ASN_DEBUG=1
|
||||
|
||||
@@ -91,8 +91,7 @@ int pdcp_fifo_read_input_sdus () {}
|
||||
BOOL init_pdcp_entity(pdcp_t *pdcp_entity);
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
void pdcp_rlc_test_mac_rlc_loop (struct mac_data_ind *data_indP, struct mac_data_req *data_requestP, int* drop_countP, int *tx_packetsP,
|
||||
int* dropped_tx_packetsP) //-----------------------------------------------------------------------------
|
||||
void pdcp_rlc_test_mac_rlc_loop (struct mac_data_ind *data_indP, struct mac_data_req *data_requestP, int* drop_countP, int *tx_packetsP, int* dropped_tx_packetsP) //-----------------------------------------------------------------------------
|
||||
{
|
||||
mem_block_t* tb_src;
|
||||
mem_block_t* tb_dst;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
include $(OPENAIR_HOME)/common/utils/Makefile.inc
|
||||
include $(OPENAIR_DIR)/common/utils/Makefile.inc
|
||||
|
||||
NUM_CORES=$(shell cat /proc/cpuinfo | grep processor | wc -l)
|
||||
|
||||
@@ -88,7 +88,7 @@ endif
|
||||
endif
|
||||
|
||||
ifeq ($(NAS), 1)
|
||||
CFLAGS += -DNAS_NETLINK -DLINUX
|
||||
CFLAGS += -DPDCP_USE_NETLINK -DLINUX
|
||||
NAS_FLAG=1
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
include $(OPENAIR_HOME)/common/utils/Makefile.inc
|
||||
include $(OPENAIR_DIR)/common/utils/Makefile.inc
|
||||
|
||||
NUM_CORES=$(shell cat /proc/cpuinfo | grep processor | wc -l)
|
||||
|
||||
@@ -85,7 +85,7 @@ endif
|
||||
endif
|
||||
|
||||
ifeq ($(NAS), 1)
|
||||
CFLAGS += -DNAS_NETLINK -DLINUX
|
||||
CFLAGS += -DPDCP_USE_NETLINK -DLINUX
|
||||
NAS_FLAG=1
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user