Merge remote-tracking branch 'origin/remove-unused-stuff' into integration_2022_wk11

This commit is contained in:
Robert Schmidt
2023-03-14 17:46:45 +01:00
112 changed files with 10 additions and 8505 deletions
-114
View File
@@ -1,114 +0,0 @@
-----------------------------------------
1) Folders and files description
-----------------------------------------
This directory contains different targets for OpenAirInterface.org implementations
RTAI/USER - Target to run .11p (uses openairITS) or LTE modem (uses openair1 and openair2) for x86 in RTAI user-space
SIMU - Simulator/Emulator target for x86
DOCS - Doxygen documentation generation for openair1/openair2
First, you must have all four openair SW directories, openair1, openair2, openair3, and targets at the same hierarchical level as this directory.
1. The following packages must be available on your system:
- ssh, python, python pexpect
- libblas and libblas-dev
- libconfig++8-dev
- libgtk-3-dev
- libpgm-5.1 and libpgm-5.1-dev for distributed simulation with reliable multicast transmport
- libxml2 and libxml2-dev
- libforms-bin libforms-dev
- openssl libssl-dev
- libatlas-base-dev and libatlas-headers (for Ubuntu 11.04, libatlas-dev instead of libatlas-headers)
- asn1c and the LTE ASN1 files (for more information on how to install this and generate the required files see the README file in openair2/RRC/LITE/MESSAGES)
----------------------------------------------------
2) Organization of the folders and their dependancies
----------------------------------------------------
The 3 folders have the following structures
- EXAMPLES: there you can find some basic examples with/without the network interface
- KERN: this folder includes the files for kernel space compilation targeting realtime operation (RF/emulation platform)
- USER: this folder includes the files for user space compilation targeting soft realtime operation (emulation/simulation/debugging)
----------------------------------------------------------------
3) How to use through a tutorial: run a simple experimentation
----------------------------------------------------------------
1. Up to know you should have created a directory: mkdir openair4G
2. Check out the openair4G/trunk repository: svn co https://svn.eurecom.fr/openairsvn/openair4G/trunk openair4G
3. Now, please check the following:
- the env variables in .bashrc the following lines, and source them if necessary :
set OPENAIR_DIR variable and export the following:
export OPENAIR1_DIR=$OPENAIR_DIR/openair4G/openair1
export OPENAIR2_DIR=$OPENAIR_DIR/openair4G/openair2
export OPENAIR3_DIR=$OPENAIR_DIR/openair4G/openair3
export OPENAIRITS_DIR=$OPENAIR_DIR/openair4G/openairITS
export OPENAIR_TARGETS=$OPENAIR_DIR/openair4G/targets/
- checkout and compile the asn1 messages
follow the README.txt in OPENAIR2_DIR/RRC/LITE/MESSAGES to checkout the ASN.1 RRC messages
follow the OPENAIR2_DIR/RRC/LITE/MESSAGE/asn1c/asn1c/INSTALL to install the asn1c
go back to $OPENAIR_TARGET and "make install" if you have not used the shell script to install asn1c
- cd $OPENAIR_TARGET/SIMU/USER, and make a sanity check by doing make pre-ci (require 15 minutes)
- Check out simple examples in $OPENAIR_TARGET/SIMU/EXAMPLES
4. to automatically bring up the oai interfaces and configure the default radio bearer (useful when sending data traffic):
- add your username into the list of sudoers
+ edit /etc/sudoers as a super user
+ after the line: # User privilege specification, add : user_name ALL=(ALL:ALL) ALL
+ after the line: %admin ALL=(ALL) ALL, add : user_name ALL=(ALL) NOPASSWD: ALL
- include this line: alias sudo='sudo -E', to the .bashrc
- run oai as follows: sudo ./oaisim arg1 arg2 ....
----------------------------------------------------------------
4) Detail Instructions
----------------------------------------------------------------
Please follow the instructions given in DOCS/oaisim_walkthrough.pdf
----------------------------------------------------------------
5) OAI on virtual machine
----------------------------------------------------------------
you may download the image using this URL: https://emu.openairinterface.org/openairlab/openairlab.zip
check that all the packages are there as some packages might be added later.
----------------------------------------------------------------
6) Installing phpmyadmin for HSS
----------------------------------------------------------------
Step 1:
Configure database for phpmyadmin with dbconfig-common? SELECT <Yes>
Step 2:
Please provide the password for the administrative account with which this package should create its MySQL database and user.
Password of the database's administrative user: The mysql administrative user.
Step 3:
Please provide a password for phpmyadmin to register with the database server. If left blank, a random password will be generated.
MySQL application password for phpmyadmin: admin
Step 4:
Password confirmation: admin
Step 5:
Please choose the web server that should be automatically configured to run phpMyAdmin.
Web server to reconfigure automatically:
[*] apache2
[ ] lighttpd
-1
View File
@@ -48,7 +48,6 @@ RRC_DIR = $(OPENAIR2_TOP)/RRC/LITE
L2_INTERFACE_DIR = $(OPENAIR2_TOP)/RRC/L2_INTERFACE
MAC_DIR = $(OPENAIR2_TOP)/LAYER2/MAC
LOG_DIR=$(OPENAIR2_TOP)/UTIL/LOG
OCG_DIR=$(OPENAIR2_TOP)/UTIL/OCG
OPT_DIR=$(OPENAIR2_TOP)/UTIL/OPT
-1
View File
@@ -36,7 +36,6 @@
#include "UTIL/LOG/log_extern.h"
#include "RRC/LTE/vars.h"
#include "PHY_INTERFACE/vars.h"
#include "UTIL/OCG/OCG.h"
#include "UTIL/AT_COMMANDS/parser.h"
mapping level_names[] = {
-5
View File
@@ -20,10 +20,7 @@ endif
# activate OCG and libxml only under linux
ifeq ($(linux),1)
CFLAGS += -I/usr/include/libxml2 -L/usr/local/lib -I/usr/include/atlas -L/usr/X11R6/lib
OCG_FLAG = 1
CFLAGS += -DLINUX
else
OCG_FLAG = 0
endif
@@ -100,7 +97,6 @@ printvars:
@echo LINUX variable is $(linux)
@echo rrc_cellular variable is $(rrc_cellular)
@echo EXTRA_CFLAGS = $(EXTRA_CFLAGS)
@echo OAI Config generator is $(OCG_FLAG)
@echo OAI NETLINK FLAG is $(NAS_FLAG)
@echo SSE3 proc is $(SSE3PROC)
@echo IS_REL_8 is $(IS_REL_8)
@@ -153,7 +149,6 @@ cleanasn1:
rm -f $(OPENAIR2_DIR)/RRC/LITE/MESSAGES/Makefile.inc.generated
print:
@echo $(OCG_FLAG)
@echo $(CFLAGS)
@echo $(EXTRA_CFLAGS)
@echo $(OBJ)
-2
View File
@@ -39,7 +39,6 @@
#include "RRC/LTE/vars.h"
#include "PHY_INTERFACE/vars.h"
#include "UTIL/LOG/log.h"
#include "OCG_vars.h"
#include "UTIL/OTG/otg_tx.h"
#include "UTIL/OTG/otg.h"
#include "UTIL/OTG/otg_vars.h"
@@ -512,7 +511,6 @@ int main (int argc, char **argv)
/*
set_log(OMG, LOG_INFO, 20);
set_log(EMU, LOG_INFO, 10);
set_log(OCG, LOG_INFO, 1);
set_log(MAC, LOG_TRACE, 1);
set_log(RLC, LOG_TRACE, 1);
set_log(PHY, LOG_DEBUG, 1);
+1 -3
View File
@@ -48,7 +48,6 @@ RRC_DIR = $(OPENAIR2_TOP)/RRC/LITE
L2_INTERFACE_DIR = $(OPENAIR2_TOP)/RRC/L2_INTERFACE
MAC_DIR = $(OPENAIR2_TOP)/LAYER2/MAC
LOG_DIR=$(OPENAIR2_TOP)/UTIL/LOG
OCG_DIR=$(OPENAIR2_TOP)/UTIL/OCG
OPT_DIR=$(OPENAIR2_TOP)/UTIL/OPT
SOURCES_L2 = $(LIST_DIR)/list.c
@@ -66,8 +65,7 @@ OPT_OBJS = $(OPT_DIR)/probe.o
L2_OBJS=$(addsuffix .o,$(basename $(SOURCES_L2))) $(PHY_INTERFACE_OBJS) $(MAC_OBJS) $(L2_INTERFACE_OBJS) $(RRC_OBJS) $(LOG_OBJS) $(OPT_OBJS)
L2_incl = -I$(OPENAIR2_TOP) -I$(COMMON_DIR) -I$(RLC_DIR) -I$(RLC_AM_DIR) -I$(RLC_UM_DIR) -I$(RLC_TM_DIR) -I$(PDCP_DIR) -I$(MEM_DIR) -I$(LIST_DIR) \
-I$(LOG_DIR) -I$(MATH_DIR) -I$(TIMER_DIR) -I$(OPENAIR3)/MESH -I$(OPENAIR2_TOP)/RRC/MESH -I$(OPENAIR2_TOP)/RRC/MESH/MESSAGES -I$(OPENAIR3)/MESH/RRM -I$(OPT_DIR) \
-I$(OCG_DIR)
-I$(LOG_DIR) -I$(MATH_DIR) -I$(TIMER_DIR) -I$(OPENAIR3)/MESH -I$(OPENAIR2_TOP)/RRC/MESH -I$(OPENAIR2_TOP)/RRC/MESH/MESSAGES -I$(OPENAIR3)/MESH/RRM -I$(OPT_DIR)
ASN1_MSG_OBJS2 := $(foreach file, $(ASN1_MSG_OBJS), $(OPENAIR2_DIR)/RRC/LITE/MESSAGES/$(file))
-1
View File
@@ -28,7 +28,6 @@
#include "MAC_INTERFACE/vars.h"
#include "LAYER2/MAC/vars.h"
#include "UTIL/LOG/log_if.h"
#include "OCG_vars.h"
#include "test_util.h"
#include "test_pdcp.h"
@@ -48,7 +48,6 @@ RRC_DIR = $(OPENAIR2_TOP)/RRC/LITE
L2_INTERFACE_DIR = $(OPENAIR2_TOP)/RRC/L2_INTERFACE
MAC_DIR = $(OPENAIR2_TOP)/LAYER2/MAC
LOG_DIR=$(OPENAIR2_TOP)/UTIL/LOG
OCG_DIR=$(OPENAIR2_TOP)/UTIL/OCG
OPT_DIR=$(OPENAIR2_TOP)/UTIL/OPT
SOURCES_L2 = $(LIST_DIR)/list.c
@@ -104,8 +103,7 @@ OPT_OBJS = $(OPT_DIR)/probe.o
L2_OBJS=$(addsuffix .o,$(basename $(SOURCES_L2))) $(PHY_INTERFACE_OBJS) $(MAC_OBJS) $(L2_INTERFACE_OBJS) $(RRC_OBJS) $(LOG_OBJS) $(OPT_OBJS)
L2_incl = -I$(OPENAIR2_TOP) -I$(COMMON_DIR) -I$(RLC_DIR) -I$(RLC_AM_DIR) -I$(RLC_UM_DIR) -I$(RLC_TM_DIR) -I$(PDCP_DIR) -I$(MEM_DIR) -I$(LIST_DIR) \
-I$(LOG_DIR) -I$(MATH_DIR) -I$(TIMER_DIR) -I$(OPENAIR3)/MESH -I$(OPENAIR2_TOP)/RRC/MESH -I$(OPENAIR2_TOP)/RRC/MESH/MESSAGES -I$(OPENAIR3)/MESH/RRM -I$(OPT_DIR) \
-I$(OCG_DIR)
-I$(LOG_DIR) -I$(MATH_DIR) -I$(TIMER_DIR) -I$(OPENAIR3)/MESH -I$(OPENAIR2_TOP)/RRC/MESH -I$(OPENAIR2_TOP)/RRC/MESH/MESSAGES -I$(OPENAIR3)/MESH/RRM -I$(OPT_DIR)
ASN1_MSG_OBJS2 := $(foreach file, $(ASN1_MSG_OBJS), $(OPENAIR2_DIR)/RRC/LITE/MESSAGES/$(file))
@@ -36,9 +36,7 @@
#include "UTIL/LOG/log_extern.h"
#include "RRC/LTE/vars.h"
#include "PHY_INTERFACE/vars.h"
#include "UTIL/OCG/OCG.h"
#include "LAYER2/PDCP_v10.1.0/pdcp.h"
#include "OCG_vars.h"
#include "rlc.h"
#include "pdcp.h"
-268
View File
@@ -1,268 +0,0 @@
[*]
[*] GTKWave Analyzer v3.3.34 (w)1999-2012 BSI
[*] Thu Dec 19 10:33:06 2013
[*]
[dumpfile] "/tmp/openair_dump_eNB.vcd"
[dumpfile_mtime] "Thu Dec 19 10:26:58 2013"
[dumpfile_size] 68919271
[savefile] "$OPENAIR_TARGETS/itti_vcd_tasks.sav"
[timestart] 0
[size] 1871 1056
[pos] -1 -1
*-30.425148 4756417000 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
[sst_width] 223
[signals_width] 449
[sst_expanded] 1
[sst_vpaned_height] 583
@8024
variables.frame_number_eNB[63:0]
@20000
-
@8024
variables.slot_number_eNB[63:0]
@20000
-
@8024
[color] 3
variables.frame_number_UE[63:0]
@20000
-
@8024
[color] 3
variables.slot_number_UE[63:0]
@20000
-
@c08022
[color] 1
variables.mp_alloc[63:0]
@28
[color] 2
(42)variables.mp_alloc[63:0]
[color] 2
(43)variables.mp_alloc[63:0]
[color] 2
(44)variables.mp_alloc[63:0]
[color] 2
(45)variables.mp_alloc[63:0]
[color] 2
(46)variables.mp_alloc[63:0]
[color] 2
(47)variables.mp_alloc[63:0]
[color] 2
(48)variables.mp_alloc[63:0]
[color] 2
(49)variables.mp_alloc[63:0]
[color] 2
(50)variables.mp_alloc[63:0]
[color] 2
(51)variables.mp_alloc[63:0]
[color] 2
(52)variables.mp_alloc[63:0]
[color] 2
(53)variables.mp_alloc[63:0]
[color] 2
(54)variables.mp_alloc[63:0]
[color] 2
(55)variables.mp_alloc[63:0]
[color] 2
(56)variables.mp_alloc[63:0]
[color] 2
(57)variables.mp_alloc[63:0]
[color] 2
(58)variables.mp_alloc[63:0]
[color] 2
(59)variables.mp_alloc[63:0]
[color] 2
(60)variables.mp_alloc[63:0]
[color] 2
(61)variables.mp_alloc[63:0]
[color] 2
(62)variables.mp_alloc[63:0]
[color] 2
(63)variables.mp_alloc[63:0]
@1401200
-group_end
@c08022
[color] 5
variables.mp_free[63:0]
@28
[color] 6
(42)variables.mp_free[63:0]
[color] 6
(43)variables.mp_free[63:0]
[color] 6
(44)variables.mp_free[63:0]
[color] 6
(45)variables.mp_free[63:0]
[color] 6
(46)variables.mp_free[63:0]
[color] 6
(47)variables.mp_free[63:0]
[color] 6
(48)variables.mp_free[63:0]
[color] 6
(49)variables.mp_free[63:0]
[color] 6
(50)variables.mp_free[63:0]
[color] 6
(51)variables.mp_free[63:0]
[color] 6
(52)variables.mp_free[63:0]
[color] 6
(53)variables.mp_free[63:0]
[color] 6
(54)variables.mp_free[63:0]
[color] 6
(55)variables.mp_free[63:0]
[color] 6
(56)variables.mp_free[63:0]
[color] 6
(57)variables.mp_free[63:0]
[color] 6
(58)variables.mp_free[63:0]
[color] 6
(59)variables.mp_free[63:0]
[color] 6
(60)variables.mp_free[63:0]
[color] 6
(61)variables.mp_free[63:0]
[color] 6
(62)variables.mp_free[63:0]
[color] 6
(63)variables.mp_free[63:0]
@1401200
-group_end
@c08024
[color] 1
variables.itti_alloc_msg[63:0]
@1401200
-group_end
@c08022
[color] 1
variables.itti_send_msg[63:0]
@28
[color] 2
+{UE NAS} (44)variables.itti_send_msg[63:0]
[color] 2
+{UE RRC} (45)variables.itti_send_msg[63:0]
[color] 2
+{UE PDCP} (46)variables.itti_send_msg[63:0]
[color] 2
+{UE RLC} (47)variables.itti_send_msg[63:0]
[color] 2
+{UE MAC} (48)variables.itti_send_msg[63:0]
[color] 2
+{UE PHY} (49)variables.itti_send_msg[63:0]
[color] 2
+{eNB app} (50)variables.itti_send_msg[63:0]
[color] 2
+{eNB SCTP} (51)variables.itti_send_msg[63:0]
[color] 2
+{eNB X2AP} (52)variables.itti_send_msg[63:0]
[color] 2
+{eNB S1AP} (53)variables.itti_send_msg[63:0]
[color] 2
+{eNB RAL} (54)variables.itti_send_msg[63:0]
[color] 2
+{eNB RRC} (55)variables.itti_send_msg[63:0]
[color] 2
+{eNB PDCP} (56)variables.itti_send_msg[63:0]
[color] 2
+{eNB RLC} (57)variables.itti_send_msg[63:0]
[color] 2
+{eNB MAC} (58)variables.itti_send_msg[63:0]
[color] 2
+{eNB PHY} (59)variables.itti_send_msg[63:0]
[color] 2
+{BM} (60)variables.itti_send_msg[63:0]
[color] 2
+{L2L1} (61)variables.itti_send_msg[63:0]
[color] 2
+{Timer} (62)variables.itti_send_msg[63:0]
[color] 2
+{Unknown} (63)variables.itti_send_msg[63:0]
@1401200
-group_end
@28
[color] 7
functions.log_record
[color] 1
functions.itti_dump_enqueue_message_malloc
[color] 3
functions.itti_dump_enqueue_message
[color] 3
functions.itti_enqueue_message
@200
-
@c08022
[color] 5
variables.itti_poll_msg[63:0]
@28
[color] 6
+{UE PDCP} (46)variables.itti_poll_msg[63:0]
[color] 6
+{UE RLC} (47)variables.itti_poll_msg[63:0]
[color] 6
+{UE MAC} (48)variables.itti_poll_msg[63:0]
[color] 6
+{UE PHY} (49)variables.itti_poll_msg[63:0]
[color] 6
+{eNB PDCP} (56)variables.itti_poll_msg[63:0]
[color] 6
+{eNB RLC} (57)variables.itti_poll_msg[63:0]
[color] 6
+{eNB MAC} (58)variables.itti_poll_msg[63:0]
[color] 6
+{eNB PHY} (59)variables.itti_poll_msg[63:0]
[color] 6
+{L2L1} (61)variables.itti_poll_msg[63:0]
functions.itti_relay_thread
@1401200
-group_end
@c08022
[color] 5
variables.itti_recv_msg[63:0]
@28
[color] 6
+{UE NAS} (44)variables.itti_recv_msg[63:0]
[color] 6
+{UE RRC} (45)variables.itti_recv_msg[63:0]
[color] 6
+{eNB app} (50)variables.itti_recv_msg[63:0]
[color] 6
+{eNB SCTP} (51)variables.itti_recv_msg[63:0]
[color] 6
+{eNB X2AP} (52)variables.itti_recv_msg[63:0]
[color] 6
+{eNB S1AP} (53)variables.itti_recv_msg[63:0]
[color] 6
+{eNB RRC} (55)variables.itti_recv_msg[63:0]
[color] 6
+{BM} (60)variables.itti_recv_msg[63:0]
[color] 6
+{L2L1} (61)variables.itti_recv_msg[63:0]
@1401200
-group_end
@200
-
@28
functions.phy_procedures_eNB_lte
functions.phy_procedures_eNb_rx
functions.phy_procedures_eNb_tx
@200
-
@28
[color] 3
functions.phy_procedures_UE_lte
[color] 3
functions.phy_procedures_ue_rx
[color] 3
functions.phy_procedures_ue_tx
@200
-
@28
[color] 5
functions.rrc_mac_config_req
functions.pdcp_run
[pattern_trace] 1
[pattern_trace] 0