Commit 1624fdcf authored by Robert Schmidt's avatar Robert Schmidt

Add channel emulation to 5G CU-DU F1 RFsim test

Add AWGN channel with some noise and additional path loss.
parent 379c3d14
...@@ -233,3 +233,5 @@ log_config: { ...@@ -233,3 +233,5 @@ log_config: {
rlc_log_level = "info"; rlc_log_level = "info";
f1ap_log_level = "info"; f1ap_log_level = "info";
}; };
@include "rfsim_channel_ci.conf"
...@@ -5,3 +5,5 @@ uicc0 = { ...@@ -5,3 +5,5 @@ uicc0 = {
dnn= "oai"; dnn= "oai";
nssai_sst=1; nssai_sst=1;
} }
@include "rfsim_channel_ci.conf"
#/* configuration for channel modelisation */
#/* To be included in main config file when */
#/* channel modelisation is used (rfsimulator with chanmod options enabled) */
channelmod = {
max_chan = 10;
modellist = "modellist_rfsimu_1";
modellist_rfsimu_1 = (
{ # DL, modify on UE side
model_name = "rfsimu_channel_enB0"
type = "AWGN";
ploss_dB = 20;
noise_power_dB = -4;
forgetfact = 0;
offset = 0;
ds_tdl = 0;
},
{ # UL, modify on gNB side
model_name = "rfsimu_channel_ue0"
type = "AWGN";
ploss_dB = 20;
noise_power_dB = -2;
forgetfact = 0;
offset = 0;
ds_tdl = 0;
}
);
};
...@@ -89,8 +89,8 @@ ...@@ -89,8 +89,8 @@
<class>UndeployGenObject</class> <class>UndeployGenObject</class>
<desc>Undeploy all OAI 5G stack</desc> <desc>Undeploy all OAI 5G stack</desc>
<yaml_path>yaml_files/5g_f1_rfsimulator</yaml_path> <yaml_path>yaml_files/5g_f1_rfsimulator</yaml_path>
<d_retx_th>1,0,0,0</d_retx_th> <d_retx_th>30,30,30,30</d_retx_th>
<u_retx_th>1,0,0,0</u_retx_th> <u_retx_th>30,30,30,30</u_retx_th>
</testCase> </testCase>
</testCaseList> </testCaseList>
...@@ -108,7 +108,10 @@ services: ...@@ -108,7 +108,10 @@ services:
privileged: true privileged: true
container_name: rfsim5g-oai-du container_name: rfsim5g-oai-du
environment: environment:
USE_ADDITIONAL_OPTIONS: --sa --rfsim --log_config.global_log_options level,nocolor,time USE_ADDITIONAL_OPTIONS: --sa --rfsim
--log_config.global_log_options level,nocolor,time
--rfsimulator.options chanmod
--telnetsrv --telnetsrv.listenaddr 192.168.71.171
ASAN_OPTIONS: detect_leaks=0 ASAN_OPTIONS: detect_leaks=0
depends_on: depends_on:
- oai-cu - oai-cu
...@@ -117,6 +120,7 @@ services: ...@@ -117,6 +120,7 @@ services:
ipv4_address: 192.168.71.171 ipv4_address: 192.168.71.171
volumes: volumes:
- ../../conf_files/gnb-du.sa.band78.106prb.rfsim.conf:/opt/oai-gnb/etc/gnb.conf - ../../conf_files/gnb-du.sa.band78.106prb.rfsim.conf:/opt/oai-gnb/etc/gnb.conf
- ../../conf_files/rfsim_channel_ci.conf:/opt/oai-gnb/etc/rfsim_channel_ci.conf
healthcheck: healthcheck:
test: /bin/bash -c "pgrep nr-softmodem" test: /bin/bash -c "pgrep nr-softmodem"
interval: 10s interval: 10s
...@@ -132,6 +136,8 @@ services: ...@@ -132,6 +136,8 @@ services:
-r 106 --numerology 1 -C 3619200000 -r 106 --numerology 1 -C 3619200000
--uicc0.imsi 208990100001100 --uicc0.imsi 208990100001100
--rfsimulator.serveraddr 192.168.71.171 --rfsimulator.serveraddr 192.168.71.171
--rfsimulator.options chanmod
--telnetsrv --telnetsrv.listenaddr 192.168.71.181
depends_on: depends_on:
- oai-du - oai-du
networks: networks:
...@@ -139,6 +145,7 @@ services: ...@@ -139,6 +145,7 @@ services:
ipv4_address: 192.168.71.181 ipv4_address: 192.168.71.181
volumes: volumes:
- ../../conf_files/nrue.uicc.conf:/opt/oai-nr-ue/etc/nr-ue.conf - ../../conf_files/nrue.uicc.conf:/opt/oai-nr-ue/etc/nr-ue.conf
- ../../conf_files/rfsim_channel_ci.conf:/opt/oai-nr-ue/etc/rfsim_channel_ci.conf
healthcheck: healthcheck:
test: /bin/bash -c "pgrep nr-uesoftmodem" test: /bin/bash -c "pgrep nr-uesoftmodem"
interval: 10s interval: 10s
......
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