Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
oai
openairinterface5G
Commits
b336ddc6
Commit
b336ddc6
authored
Oct 09, 2018
by
knopp
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop-nr' into polar-decoder-optimizations
parents
061fb00f
34b021e8
Changes
27
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
27 changed files
with
1911 additions
and
790 deletions
+1911
-790
ci-scripts/Jenkinsfile-gitlab
ci-scripts/Jenkinsfile-gitlab
+26
-10
ci-scripts/buildLocally.sh
ci-scripts/buildLocally.sh
+0
-153
ci-scripts/buildOnVM.sh
ci-scripts/buildOnVM.sh
+7
-1
ci-scripts/conf_files/enb.band7.tm1.100PRB.usrpb210.conf
ci-scripts/conf_files/enb.band7.tm1.100PRB.usrpb210.conf
+4
-2
ci-scripts/conf_files/enb.band7.tm1.25PRB.usrpb210.conf
ci-scripts/conf_files/enb.band7.tm1.25PRB.usrpb210.conf
+4
-2
ci-scripts/conf_files/enb.band7.tm1.50PRB.usrpb210.conf
ci-scripts/conf_files/enb.band7.tm1.50PRB.usrpb210.conf
+4
-2
ci-scripts/conf_files/lte-basic-sim.conf
ci-scripts/conf_files/lte-basic-sim.conf
+259
-0
ci-scripts/createVM.sh
ci-scripts/createVM.sh
+5
-1
ci-scripts/reportTestLocally.sh
ci-scripts/reportTestLocally.sh
+143
-65
ci-scripts/runTestOnVM.sh
ci-scripts/runTestOnVM.sh
+536
-6
cmake_targets/CMakeLists.txt
cmake_targets/CMakeLists.txt
+17
-6
openair1/PHY/LTE_TRANSPORT/dci_tools_common.c
openair1/PHY/LTE_TRANSPORT/dci_tools_common.c
+25
-17
openair1/PHY/NR_UE_TRANSPORT/nr_initial_sync.c
openair1/PHY/NR_UE_TRANSPORT/nr_initial_sync.c
+3
-3
openair1/PHY/NR_UE_TRANSPORT/pucch_nr.c
openair1/PHY/NR_UE_TRANSPORT/pucch_nr.c
+348
-371
openair1/PHY/NR_UE_TRANSPORT/pucch_nr.h
openair1/PHY/NR_UE_TRANSPORT/pucch_nr.h
+423
-0
openair1/SCHED_NR/nr_ru_procedures.c
openair1/SCHED_NR/nr_ru_procedures.c
+1
-2
openair1/SCHED_NR/phy_procedures_nr_gNB.c
openair1/SCHED_NR/phy_procedures_nr_gNB.c
+1
-2
openair1/SIMULATION/NR_UE_PHY/unit_tests/build/CMakeLists.txt
...air1/SIMULATION/NR_UE_PHY/unit_tests/build/CMakeLists.txt
+9
-7
openair1/SIMULATION/NR_UE_PHY/unit_tests/src/dummy_functions.c
...ir1/SIMULATION/NR_UE_PHY/unit_tests/src/dummy_functions.c
+1
-1
openair1/SIMULATION/NR_UE_PHY/unit_tests/src/pbch_test.c
openair1/SIMULATION/NR_UE_PHY/unit_tests/src/pbch_test.c
+2
-2
openair1/SIMULATION/NR_UE_PHY/unit_tests/src/pss_util_test.c
openair1/SIMULATION/NR_UE_PHY/unit_tests/src/pss_util_test.c
+5
-3
openair2/LAYER2/MAC/eNB_scheduler.c
openair2/LAYER2/MAC/eNB_scheduler.c
+2
-1
targets/ARCH/tcp_bridge/tcp_bridge.c
targets/ARCH/tcp_bridge/tcp_bridge.c
+4
-2
targets/ARCH/tcp_bridge/tcp_bridge_oai.c
targets/ARCH/tcp_bridge/tcp_bridge_oai.c
+4
-3
targets/RT/USER/nr-ue.c
targets/RT/USER/nr-ue.c
+34
-27
targets/RT/USER/nr-uesoftmodem.c
targets/RT/USER/nr-uesoftmodem.c
+44
-92
targets/RT/USER/nr-uesoftmodem.h
targets/RT/USER/nr-uesoftmodem.h
+0
-9
No files found.
ci-scripts/Jenkinsfile-gitlab
View file @
b336ddc6
...
@@ -41,7 +41,7 @@ pipeline {
...
@@ -41,7 +41,7 @@ pipeline {
disableConcurrentBuilds
()
disableConcurrentBuilds
()
timestamps
()
timestamps
()
gitLabConnection
(
'OAI GitLab'
)
gitLabConnection
(
'OAI GitLab'
)
gitlabBuilds
(
builds:
[
"Build eNb-USRP"
,
"Build gNb-usrp"
,
"Build nr-UE-usrp"
,
"Build phy-sim"
,
"Analysis with cppcheck"
])
gitlabBuilds
(
builds:
[
"Build eNb-USRP"
,
"Build
basic-sim"
,
"Build
gNb-usrp"
,
"Build nr-UE-usrp"
,
"Build phy-sim"
,
"Analysis with cppcheck"
,
"Test phy-sim"
,
"Test basic-sim"
])
ansiColor
(
'xterm'
)
ansiColor
(
'xterm'
)
}
}
...
@@ -62,7 +62,7 @@ pipeline {
...
@@ -62,7 +62,7 @@ pipeline {
allParametersPresent
=
false
allParametersPresent
=
false
}
}
if
(
allParametersPresent
)
{
if
(
allParametersPresent
)
{
echo
"Performing Red Hat Build"
echo
"Performing Red Hat Build"
doRedHatBuild
=
true
doRedHatBuild
=
true
}
else
{
}
else
{
doRedHatBuild
=
false
doRedHatBuild
=
false
...
@@ -125,6 +125,12 @@ pipeline {
...
@@ -125,6 +125,12 @@ pipeline {
}
}
}
}
stage
(
"Start VM -- basic-sim"
)
{
steps
{
sh
"./ci-scripts/createVM.sh --variant basic-sim --job-name ${JOB_NAME} --build-id ${BUILD_ID}"
}
}
stage
(
"Start VM -- phy-sim"
)
{
stage
(
"Start VM -- phy-sim"
)
{
steps
{
steps
{
sh
"./ci-scripts/createVM.sh --variant phy-sim --job-name ${JOB_NAME} --build-id ${BUILD_ID}"
sh
"./ci-scripts/createVM.sh --variant phy-sim --job-name ${JOB_NAME} --build-id ${BUILD_ID}"
...
@@ -148,28 +154,35 @@ pipeline {
...
@@ -148,28 +154,35 @@ pipeline {
stage
(
"Analysis with cppcheck"
)
{
stage
(
"Analysis with cppcheck"
)
{
steps
{
steps
{
gitlabCommitStatus
(
name:
"Analysis with cppcheck"
)
{
gitlabCommitStatus
(
name:
"Analysis with cppcheck"
)
{
sh
"./ci-scripts/buildOnVM.sh --workspace $WORKSPACE --variant cppcheck --job-name ${JOB_NAME} --build-id ${BUILD_ID}
--keep-vm-alive
"
sh
"./ci-scripts/buildOnVM.sh --workspace $WORKSPACE --variant cppcheck --job-name ${JOB_NAME} --build-id ${BUILD_ID}"
}
}
}
}
}
}
stage
(
"Build eNb-USRP"
)
{
stage
(
"Build eNb-USRP"
)
{
steps
{
steps
{
gitlabCommitStatus
(
name:
"Build eNb-USRP"
)
{
gitlabCommitStatus
(
name:
"Build eNb-USRP"
)
{
sh
"./ci-scripts/buildOnVM.sh --workspace $WORKSPACE --variant enb-usrp --job-name ${JOB_NAME} --build-id ${BUILD_ID} --keep-vm-alive"
sh
"./ci-scripts/buildOnVM.sh --workspace $WORKSPACE --variant enb-usrp --job-name ${JOB_NAME} --build-id ${BUILD_ID}"
}
}
}
stage
(
"Build basic simulator"
)
{
steps
{
gitlabCommitStatus
(
name:
"Build basic-sim"
)
{
sh
"./ci-scripts/buildOnVM.sh --workspace $WORKSPACE --variant basic-sim --job-name ${JOB_NAME} --build-id ${BUILD_ID} --keep-vm-alive"
}
}
}
}
}
}
stage
(
"Build 5G gNB-USRP"
)
{
stage
(
"Build 5G gNB-USRP"
)
{
steps
{
steps
{
gitlabCommitStatus
(
name:
"Build gNb-usrp"
)
{
gitlabCommitStatus
(
name:
"Build gNb-usrp"
)
{
sh
"./ci-scripts/buildOnVM.sh --workspace $WORKSPACE --variant gnb-usrp --job-name ${JOB_NAME} --build-id ${BUILD_ID}
--keep-vm-alive
"
sh
"./ci-scripts/buildOnVM.sh --workspace $WORKSPACE --variant gnb-usrp --job-name ${JOB_NAME} --build-id ${BUILD_ID}"
}
}
}
}
}
}
stage
(
"Build 5G NR-UE-USRP"
)
{
stage
(
"Build 5G NR-UE-USRP"
)
{
steps
{
steps
{
gitlabCommitStatus
(
name:
"Build nr-UE-usrp"
)
{
gitlabCommitStatus
(
name:
"Build nr-UE-usrp"
)
{
sh
"./ci-scripts/buildOnVM.sh --workspace $WORKSPACE --variant nu-ue-usrp --job-name ${JOB_NAME} --build-id ${BUILD_ID}
--keep-vm-alive
"
sh
"./ci-scripts/buildOnVM.sh --workspace $WORKSPACE --variant nu-ue-usrp --job-name ${JOB_NAME} --build-id ${BUILD_ID}"
}
}
}
}
}
}
...
@@ -205,7 +218,7 @@ pipeline {
...
@@ -205,7 +218,7 @@ pipeline {
always
{
always
{
script
{
script
{
dir
(
'archives'
)
{
dir
(
'archives'
)
{
sh
"zip -r -qq vm_build_logs.zip enb_usrp phy_sim cppcheck gnb_usrp nrue_usrp red_hat"
sh
"zip -r -qq vm_build_logs.zip
basic_sim
enb_usrp phy_sim cppcheck gnb_usrp nrue_usrp red_hat"
}
}
if
(
fileExists
(
'archives/vm_build_logs.zip'
))
{
if
(
fileExists
(
'archives/vm_build_logs.zip'
))
{
archiveArtifacts
artifacts:
'archives/vm_build_logs.zip'
archiveArtifacts
artifacts:
'archives/vm_build_logs.zip'
...
@@ -225,6 +238,7 @@ pipeline {
...
@@ -225,6 +238,7 @@ pipeline {
sh
"./ci-scripts/reportBuildLocally.sh --git-url ${GIT_URL} --job-name ${JOB_NAME} --build-id ${BUILD_ID} --trigger push --branch ${GIT_BRANCH} --commit ${GIT_COMMIT}"
sh
"./ci-scripts/reportBuildLocally.sh --git-url ${GIT_URL} --job-name ${JOB_NAME} --build-id ${BUILD_ID} --trigger push --branch ${GIT_BRANCH} --commit ${GIT_COMMIT}"
}
}
if
(
fileExists
(
'build_results.html'
))
{
if
(
fileExists
(
'build_results.html'
))
{
sh
"sed -i -e 's#Build-ID: ${BUILD_ID}#Build-ID: <a href=\"${BUILD_URL}\">${BUILD_ID}</a>#' build_results.html"
archiveArtifacts
artifacts:
'build_results.html'
archiveArtifacts
artifacts:
'build_results.html'
}
}
}
}
...
@@ -237,13 +251,15 @@ pipeline {
...
@@ -237,13 +251,15 @@ pipeline {
stage
(
"Test physical simulators"
)
{
stage
(
"Test physical simulators"
)
{
steps
{
steps
{
gitlabCommitStatus
(
name:
"Test phy-sim"
)
{
gitlabCommitStatus
(
name:
"Test phy-sim"
)
{
sh
"./ci-scripts/runTestOnVM.sh --workspace $WORKSPACE --variant phy-sim --job-name ${JOB_NAME} --build-id ${BUILD_ID}
--keep-vm-alive
"
sh
"./ci-scripts/runTestOnVM.sh --workspace $WORKSPACE --variant phy-sim --job-name ${JOB_NAME} --build-id ${BUILD_ID}"
}
}
}
}
}
}
stage
(
"Test basic simulator"
)
{
stage
(
"Test basic simulator"
)
{
steps
{
steps
{
echo
'\u2705 \u001B[32mBasic Simulator testing not done in this pipeline\u001B[0m'
gitlabCommitStatus
(
name:
"Test basic-sim"
)
{
sh
"./ci-scripts/runTestOnVM.sh --workspace $WORKSPACE --variant basic-sim --job-name ${JOB_NAME} --build-id ${BUILD_ID} --keep-vm-alive"
}
}
}
}
}
stage
(
"Test FDD - Band 7 - B210"
)
{
stage
(
"Test FDD - Band 7 - B210"
)
{
...
@@ -266,6 +282,7 @@ pipeline {
...
@@ -266,6 +282,7 @@ pipeline {
sh
"./ci-scripts/reportTestLocally.sh --git-url ${GIT_URL} --job-name ${JOB_NAME} --build-id ${BUILD_ID} --trigger push --branch ${GIT_BRANCH} --commit ${GIT_COMMIT}"
sh
"./ci-scripts/reportTestLocally.sh --git-url ${GIT_URL} --job-name ${JOB_NAME} --build-id ${BUILD_ID} --trigger push --branch ${GIT_BRANCH} --commit ${GIT_COMMIT}"
}
}
if
(
fileExists
(
'test_simulator_results.html'
))
{
if
(
fileExists
(
'test_simulator_results.html'
))
{
sh
"sed -i -e 's#Build-ID: ${BUILD_ID}#Build-ID: <a href=\"${BUILD_URL}\">${BUILD_ID}</a>#' test_simulator_results.html"
archiveArtifacts
artifacts:
'test_simulator_results.html'
archiveArtifacts
artifacts:
'test_simulator_results.html'
}
}
}
}
...
@@ -273,7 +290,6 @@ pipeline {
...
@@ -273,7 +290,6 @@ pipeline {
}
}
}
}
}
}
stage
(
"Destroy all Virtual Machines"
)
{
stage
(
"Destroy all Virtual Machines"
)
{
steps
{
steps
{
sh
"./ci-scripts/destroyAllRunningVM.sh --job-name ${JOB_NAME} --build-id ${BUILD_ID}"
sh
"./ci-scripts/destroyAllRunningVM.sh --job-name ${JOB_NAME} --build-id ${BUILD_ID}"
...
...
ci-scripts/buildLocally.sh
deleted
100755 → 0
View file @
061fb00f
#!/bin/bash
function
usage
{
echo
"OAI Local Build Check script"
echo
" Original Author: Raphael Defosseux"
echo
""
echo
"Usage:"
echo
"------"
echo
" buildLocally.sh [OPTIONS]"
echo
""
echo
"Options:"
echo
"--------"
echo
" --workspace #### OR -ws ####"
echo
" Specify the workspace"
echo
""
echo
" --help OR -h"
echo
" Print this help message."
echo
""
}
if
[
$#
-ne
2
]
&&
[
$#
-ne
1
]
then
echo
"Syntax Error: not the correct number of arguments"
echo
""
usage
exit
1
fi
while
[[
$#
-gt
0
]]
do
key
=
"
$1
"
case
$key
in
-h
|
--help
)
shift
usage
exit
0
;;
-ws
|
--workspace
)
JENKINS_WKSP
=
"
$2
"
shift
shift
;;
*
)
echo
"Syntax Error: unknown option:
$key
"
echo
""
usage
exit
1
esac
done
cd
$JENKINS_WKSP
STATUS
=
0
############################################################
# Creating a tmp folder to store results and artifacts
############################################################
if
[
!
-d
$JENKINS_WKSP
/archives
]
then
mkdir
$JENKINS_WKSP
/archives
fi
source
oaienv
cd
$JENKINS_WKSP
/cmake_targets
############################################################
# Building eNb with USRP option
############################################################
ARCHIVES_LOC
=
$JENKINS_WKSP
/archives/enb_usrp
if
[
!
-d
$ARCHIVES_LOC
]
then
mkdir
$ARCHIVES_LOC
fi
./build_oai
--eNB
-w
USRP
-c
# Generated log files:
if
[
-f
$JENKINS_WKSP
/cmake_targets/log/lte-softmodem.Rel14.txt
]
then
LOCAL_STAT
=
`
egrep
-c
"Built target lte-softmodem"
$JENKINS_WKSP
/cmake_targets/log/lte-softmodem.Rel14.txt
`
if
[
$LOCAL_STAT
-eq
0
]
;
then
STATUS
=
-1
;
fi
cp
$JENKINS_WKSP
/cmake_targets/log/lte-softmodem.Rel14.txt
$ARCHIVES_LOC
else
STATUS
=
-1
fi
if
[
-f
$JENKINS_WKSP
/cmake_targets/log/params_libconfig.Rel14.txt
]
then
LOCAL_STAT
=
`
egrep
-c
"Built target params_libconfig"
$JENKINS_WKSP
/cmake_targets/log/params_libconfig.Rel14.txt
`
if
[
$LOCAL_STAT
-eq
0
]
;
then
STATUS
=
-1
;
fi
cp
$JENKINS_WKSP
/cmake_targets/log/params_libconfig.Rel14.txt
$ARCHIVES_LOC
else
STATUS
=
-1
fi
if
[
-f
$JENKINS_WKSP
/cmake_targets/log/coding.Rel14.txt
]
then
LOCAL_STAT
=
`
egrep
-c
"Built target coding"
$JENKINS_WKSP
/cmake_targets/log/coding.Rel14.txt
`
if
[
$LOCAL_STAT
-eq
0
]
;
then
STATUS
=
-1
;
fi
cp
$JENKINS_WKSP
/cmake_targets/log/coding.Rel14.txt
$ARCHIVES_LOC
else
STATUS
=
-1
fi
if
[
-f
$JENKINS_WKSP
/cmake_targets/log/oai_usrpdevif.Rel14.txt
]
then
LOCAL_STAT
=
`
egrep
-c
"Built target oai_usrpdevif"
$JENKINS_WKSP
/cmake_targets/log/oai_usrpdevif.Rel14.txt
`
if
[
$LOCAL_STAT
-eq
0
]
;
then
STATUS
=
-1
;
fi
cp
$JENKINS_WKSP
/cmake_targets/log/oai_usrpdevif.Rel14.txt
$ARCHIVES_LOC
else
STATUS
=
-1
fi
############################################################
# Building basic simulator
############################################################
ARCHIVES_LOC
=
$JENKINS_WKSP
/archives/basic_sim
if
[
!
-d
$ARCHIVES_LOC
]
then
mkdir
$ARCHIVES_LOC
fi
cd
$JENKINS_WKSP
/cmake_targets
./build_oai
--basic-simulator
-c
# Generated log files:
if
[
-f
$JENKINS_WKSP
/cmake_targets/log/basic_simulator_enb.txt
]
then
LOCAL_STAT
=
`
egrep
-c
"Built target lte-softmodem"
$JENKINS_WKSP
/cmake_targets/log/basic_simulator_enb.txt
`
if
[
$LOCAL_STAT
-eq
0
]
;
then
STATUS
=
-1
;
fi
cp
$JENKINS_WKSP
/cmake_targets/log/basic_simulator_enb.txt
$ARCHIVES_LOC
else
STATUS
=
-1
fi
if
[
-f
$JENKINS_WKSP
/cmake_targets/log/basic_simulator_ue.txt
]
then
LOCAL_STAT
=
`
egrep
-c
"Built target lte-uesoftmodem"
$JENKINS_WKSP
/cmake_targets/log/basic_simulator_ue.txt
`
if
[
$LOCAL_STAT
-eq
0
]
;
then
STATUS
=
-1
;
fi
cp
$JENKINS_WKSP
/cmake_targets/log/basic_simulator_ue.txt
$ARCHIVES_LOC
else
STATUS
=
-1
fi
if
[
-f
$JENKINS_WKSP
/cmake_targets/log/conf2uedata.Rel14.txt
]
then
LOCAL_STAT
=
`
egrep
-c
"Built target conf2uedata"
$JENKINS_WKSP
/cmake_targets/log/conf2uedata.Rel14.txt
`
if
[
$LOCAL_STAT
-eq
0
]
;
then
STATUS
=
-1
;
fi
cp
$JENKINS_WKSP
/cmake_targets/log/conf2uedata.Rel14.txt
$ARCHIVES_LOC
else
STATUS
=
-1
fi
############################################################
# Creating a zip for Jenkins archiving
############################################################
cd
$JENKINS_WKSP
/archives/
zip
-r
local_build_logs.zip basic_sim enb_usrp
exit
$STATUS
ci-scripts/buildOnVM.sh
View file @
b336ddc6
...
@@ -90,6 +90,7 @@ JOB_NAME=XX
...
@@ -90,6 +90,7 @@ JOB_NAME=XX
BUILD_ID
=
XX
BUILD_ID
=
XX
VM_NAME
=
ci-enb-usrp
VM_NAME
=
ci-enb-usrp
VM_MEMORY
=
2048
VM_MEMORY
=
2048
VM_CPU
=
4
ARCHIVES_LOC
=
enb_usrp
ARCHIVES_LOC
=
enb_usrp
LOG_PATTERN
=
.Rel15.txt
LOG_PATTERN
=
.Rel15.txt
NB_PATTERN_FILES
=
4
NB_PATTERN_FILES
=
4
...
@@ -139,6 +140,8 @@ case $key in
...
@@ -139,6 +140,8 @@ case $key in
LOG_PATTERN
=
basic_simulator
LOG_PATTERN
=
basic_simulator
NB_PATTERN_FILES
=
2
NB_PATTERN_FILES
=
2
BUILD_OPTIONS
=
"--basic-simulator"
BUILD_OPTIONS
=
"--basic-simulator"
VM_MEMORY
=
8192
VM_CPU
=
4
shift
shift
;;
;;
-v3
)
-v3
)
...
@@ -206,6 +209,8 @@ case $key in
...
@@ -206,6 +209,8 @@ case $key in
LOG_PATTERN
=
basic_simulator
LOG_PATTERN
=
basic_simulator
NB_PATTERN_FILES
=
2
NB_PATTERN_FILES
=
2
BUILD_OPTIONS
=
"--basic-simulator"
BUILD_OPTIONS
=
"--basic-simulator"
VM_MEMORY
=
8192
VM_CPU
=
4
;;
;;
phy-sim
)
phy-sim
)
VM_NAME
=
ci-phy-sim
VM_NAME
=
ci-phy-sim
...
@@ -304,7 +309,7 @@ then
...
@@ -304,7 +309,7 @@ then
echo
"############################################################"
echo
"############################################################"
echo
"Creating VM (
$VM_NAME
) on Ubuntu Cloud Image base"
echo
"Creating VM (
$VM_NAME
) on Ubuntu Cloud Image base"
echo
"############################################################"
echo
"############################################################"
uvt-kvm create
$VM_NAME
release
=
xenial
--memory
$VM_MEMORY
--cpu
4
--unsafe-caching
--template
ci-scripts/template-host.xml
uvt-kvm create
$VM_NAME
release
=
xenial
--memory
$VM_MEMORY
--cpu
$VM_CPU
--unsafe-caching
--template
ci-scripts/template-host.xml
fi
fi
echo
"Waiting for VM to be started"
echo
"Waiting for VM to be started"
...
@@ -323,6 +328,7 @@ echo "############################################################"
...
@@ -323,6 +328,7 @@ echo "############################################################"
echo
"Running install and build script on VM (
$VM_NAME
)"
echo
"Running install and build script on VM (
$VM_NAME
)"
echo
"############################################################"
echo
"############################################################"
echo
"sudo cp 01proxy /etc/apt/apt.conf.d/"
>
$VM_CMDS
echo
"sudo cp 01proxy /etc/apt/apt.conf.d/"
>
$VM_CMDS
echo
"touch /home/ubuntu/.hushlogin"
>>
$VM_CMDS
if
[[
"
$VM_NAME
"
==
*
"-cppcheck"
*
]]
if
[[
"
$VM_NAME
"
==
*
"-cppcheck"
*
]]
then
then
echo
"echo
\"
sudo apt-get --yes --quiet install zip cppcheck
\"
"
>>
$VM_CMDS
echo
"echo
\"
sudo apt-get --yes --quiet install zip cppcheck
\"
"
>>
$VM_CMDS
...
...
ci-scripts/conf_files/enb.band7.tm1.100PRB.usrpb210.conf
View file @
b336ddc6
...
@@ -33,7 +33,7 @@ eNBs =
...
@@ -33,7 +33,7 @@ eNBs =
tdd_config_s
=
0
;
tdd_config_s
=
0
;
prefix_type
=
"NORMAL"
;
prefix_type
=
"NORMAL"
;
eutra_band
=
7
;
eutra_band
=
7
;
downlink_frequency
=
268
5
000000
L
;
downlink_frequency
=
268
0
000000
L
;
uplink_frequency_offset
= -
120000000
;
uplink_frequency_offset
= -
120000000
;
Nid_cell
=
0
;
Nid_cell
=
0
;
N_RB_DL
=
100
;
N_RB_DL
=
100
;
...
@@ -183,12 +183,14 @@ eNBs =
...
@@ -183,12 +183,14 @@ eNBs =
NETWORK_INTERFACES
:
NETWORK_INTERFACES
:
{
{
ENB_INTERFACE_NAME_FOR_S1_MME
=
"eth0"
;
ENB_INTERFACE_NAME_FOR_S1_MME
=
"eth0"
;
ENB_IPV4_ADDRESS_FOR_S1_MME
=
"192.168.12.111/24"
;
ENB_IPV4_ADDRESS_FOR_S1_MME
=
"192.168.12.111/24"
;
ENB_INTERFACE_NAME_FOR_S1U
=
"eth0"
;
ENB_INTERFACE_NAME_FOR_S1U
=
"eth0"
;
ENB_IPV4_ADDRESS_FOR_S1U
=
"192.168.12.111/24"
;
ENB_IPV4_ADDRESS_FOR_S1U
=
"192.168.12.111/24"
;
ENB_PORT_FOR_S1U
=
2152
;
# Spec 2152
ENB_PORT_FOR_S1U
=
2152
;
# Spec 2152
ENB_IPV4_ADDRESS_FOR_X2C
=
"192.168.12.111/24"
;
ENB_PORT_FOR_X2C
=
36422
;
# Spec 36422
};
};
}
}
);
);
...
...
ci-scripts/conf_files/enb.band7.tm1.25PRB.usrpb210.conf
View file @
b336ddc6
...
@@ -33,7 +33,7 @@ eNBs =
...
@@ -33,7 +33,7 @@ eNBs =
tdd_config_s
=
0
;
tdd_config_s
=
0
;
prefix_type
=
"NORMAL"
;
prefix_type
=
"NORMAL"
;
eutra_band
=
7
;
eutra_band
=
7
;
downlink_frequency
=
268
5
000000
L
;
downlink_frequency
=
268
0
000000
L
;
uplink_frequency_offset
= -
120000000
;
uplink_frequency_offset
= -
120000000
;
Nid_cell
=
0
;
Nid_cell
=
0
;
N_RB_DL
=
25
;
N_RB_DL
=
25
;
...
@@ -183,12 +183,14 @@ eNBs =
...
@@ -183,12 +183,14 @@ eNBs =
NETWORK_INTERFACES
:
NETWORK_INTERFACES
:
{
{
ENB_INTERFACE_NAME_FOR_S1_MME
=
"eth0"
;
ENB_INTERFACE_NAME_FOR_S1_MME
=
"eth0"
;
ENB_IPV4_ADDRESS_FOR_S1_MME
=
"192.168.12.111/24"
;
ENB_IPV4_ADDRESS_FOR_S1_MME
=
"192.168.12.111/24"
;
ENB_INTERFACE_NAME_FOR_S1U
=
"eth0"
;
ENB_INTERFACE_NAME_FOR_S1U
=
"eth0"
;
ENB_IPV4_ADDRESS_FOR_S1U
=
"192.168.12.111/24"
;
ENB_IPV4_ADDRESS_FOR_S1U
=
"192.168.12.111/24"
;
ENB_PORT_FOR_S1U
=
2152
;
# Spec 2152
ENB_PORT_FOR_S1U
=
2152
;
# Spec 2152
ENB_IPV4_ADDRESS_FOR_X2C
=
"192.168.12.111/24"
;
ENB_PORT_FOR_X2C
=
36422
;
# Spec 36422
};
};
}
}
);
);
...
...
ci-scripts/conf_files/enb.band7.tm1.50PRB.usrpb210.conf
View file @
b336ddc6
...
@@ -33,7 +33,7 @@ eNBs =
...
@@ -33,7 +33,7 @@ eNBs =
tdd_config_s
=
0
;
tdd_config_s
=
0
;
prefix_type
=
"NORMAL"
;
prefix_type
=
"NORMAL"
;
eutra_band
=
7
;
eutra_band
=
7
;
downlink_frequency
=
268
5
000000
L
;
downlink_frequency
=
268
0
000000
L
;
uplink_frequency_offset
= -
120000000
;
uplink_frequency_offset
= -
120000000
;
Nid_cell
=
0
;
Nid_cell
=
0
;
N_RB_DL
=
50
;
N_RB_DL
=
50
;
...
@@ -183,12 +183,14 @@ eNBs =
...
@@ -183,12 +183,14 @@ eNBs =
NETWORK_INTERFACES
:
NETWORK_INTERFACES
:
{
{
ENB_INTERFACE_NAME_FOR_S1_MME
=
"eth0"
;
ENB_INTERFACE_NAME_FOR_S1_MME
=
"eth0"
;
ENB_IPV4_ADDRESS_FOR_S1_MME
=
"192.168.12.111/24"
;
ENB_IPV4_ADDRESS_FOR_S1_MME
=
"192.168.12.111/24"
;
ENB_INTERFACE_NAME_FOR_S1U
=
"eth0"
;
ENB_INTERFACE_NAME_FOR_S1U
=
"eth0"
;
ENB_IPV4_ADDRESS_FOR_S1U
=
"192.168.12.111/24"
;
ENB_IPV4_ADDRESS_FOR_S1U
=
"192.168.12.111/24"
;
ENB_PORT_FOR_S1U
=
2152
;
# Spec 2152
ENB_PORT_FOR_S1U
=
2152
;
# Spec 2152
ENB_IPV4_ADDRESS_FOR_X2C
=
"192.168.12.111/24"
;
ENB_PORT_FOR_X2C
=
36422
;
# Spec 36422
};
};
}
}
);
);
...
...
ci-scripts/conf_files/lte-basic-sim.conf
0 → 100644
View file @
b336ddc6
Active_eNBs
= (
"eNB-Eurecom-LTEBox"
);
# Asn1_verbosity, choice in: none, info, annoying
Asn1_verbosity
=
"none"
;
eNBs
=
(
{
//////////
Identification
parameters
:
eNB_ID
=
0
xe00
;
cell_type
=
"CELL_MACRO_ENB"
;
eNB_name
=
"eNB-Eurecom-LTEBox"
;
//
Tracking
area
code
,
0
x0000
and
0
xfffe
are
reserved
values
tracking_area_code
=
"1"
;
mobile_country_code
=
"208"
;
mobile_network_code
=
"93"
;
tr_s_preference
=
"local_mac"
//////////
Physical
parameters
:
component_carriers
= (
{
node_function
=
"3GPP_eNODEB"
;
node_timing
=
"synch_to_ext_device"
;
node_synch_ref
=
0
;
frame_type
=
"FDD"
;
tdd_config
=
3
;
tdd_config_s
=
0
;
prefix_type
=
"NORMAL"
;
eutra_band
=
7
;
downlink_frequency
=
2680000000
L
;
uplink_frequency_offset
= -
120000000
;
Nid_cell
=
0
;
N_RB_DL
=
25
;
Nid_cell_mbsfn
=
0
;
nb_antenna_ports
=
1
;
nb_antennas_tx
=
1
;
nb_antennas_rx
=
1
;
tx_gain
=
90
;
rx_gain
=
125
;
pbch_repetition
=
"FALSE"
;
prach_root
=
0
;
prach_config_index
=
0
;
prach_high_speed
=
"DISABLE"
;
prach_zero_correlation
=
1
;
prach_freq_offset
=
2
;
pucch_delta_shift
=
1
;
pucch_nRB_CQI
=
0
;
pucch_nCS_AN
=
0
;
pucch_n1_AN
=
0
;
pdsch_referenceSignalPower
= -
27
;
pdsch_p_b
=
0
;
pusch_n_SB
=
1
;
pusch_enable64QAM
=
"DISABLE"
;
pusch_hoppingMode
=
"interSubFrame"
;
pusch_hoppingOffset
=
0
;
pusch_groupHoppingEnabled
=
"ENABLE"
;
pusch_groupAssignment
=
0
;
pusch_sequenceHoppingEnabled
=
"DISABLE"
;
pusch_nDMRS1
=
1
;
phich_duration
=
"NORMAL"
;
phich_resource
=
"ONESIXTH"
;
srs_enable
=
"DISABLE"
;
/*
srs_BandwidthConfig
=;
srs_SubframeConfig
=;
srs_ackNackST
=;
srs_MaxUpPts
=;*/
pusch_p0_Nominal
= -
96
;
pusch_alpha
=
"AL1"
;
pucch_p0_Nominal
= -
104
;
msg3_delta_Preamble
=
6
;
pucch_deltaF_Format1
=
"deltaF2"
;
pucch_deltaF_Format1b
=
"deltaF3"
;
pucch_deltaF_Format2
=
"deltaF0"
;
pucch_deltaF_Format2a
=
"deltaF0"
;
pucch_deltaF_Format2b
=
"deltaF0"
;
rach_numberOfRA_Preambles
=
64
;
rach_preamblesGroupAConfig
=
"DISABLE"
;
/*
rach_sizeOfRA_PreamblesGroupA
= ;
rach_messageSizeGroupA
= ;
rach_messagePowerOffsetGroupB
= ;
*/
rach_powerRampingStep
=
4
;
rach_preambleInitialReceivedTargetPower
= -
108
;
rach_preambleTransMax
=
10
;
rach_raResponseWindowSize
=
10
;
rach_macContentionResolutionTimer
=
48
;
rach_maxHARQ_Msg3Tx
=
4
;
pcch_default_PagingCycle
=
128
;
pcch_nB
=
"oneT"
;
bcch_modificationPeriodCoeff
=
2
;
ue_TimersAndConstants_t300
=
1000
;
ue_TimersAndConstants_t301
=
1000
;
ue_TimersAndConstants_t310
=
1000
;
ue_TimersAndConstants_t311
=
10000
;
ue_TimersAndConstants_n310
=
20
;
ue_TimersAndConstants_n311
=
1
;