Commit 1f0ca827 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 7fbaf616
......@@ -11,14 +11,12 @@
rf_driver: {
name: "sdr",
// _UCELL1_ru 1T1R (sdr)
// _UCELL2_ru 1T1R (sdr)
// _UCELL3_ru 1T1R (sdr)
args: "dev0=/dev/sdr1,dev1=/dev/sdr2,dev2=/dev/sdr3",
args: "dev0=/dev/sdr1",
rx_antenna:"tx_rx",
tdd_tx_mod: 1,
},
tx_gain: [70, 80, 70],
rx_gain: [60, 60, 60],
tx_gain: [70],
rx_gain: [60],
cell_groups: [{
......@@ -39,30 +37,6 @@
global_timing_advance: -1,
},
// UCELL2
{
rf_port: 1,
n_antenna_dl: 1,
n_antenna_ul: 1,
dl_earfcn: 500,
bandwidth: 20,
global_timing_advance: -1,
},
// UCELL3
{
rf_port: 2,
n_antenna_dl: 1,
n_antenna_ul: 1,
dl_earfcn: 2850,
bandwidth: 20,
global_timing_advance: -1,
},
],
pdcch_decode_opt: false,
pdcch_decode_opt_threshold: 0.1,
......@@ -79,14 +53,14 @@
ue_list: [
// UE1
{
sim_algo: "xor",
// opc: "milenage",
sim_algo: "milenage",
opc: "000102030405060708090A0B0C0D0E0F",
amf: 0x9001,
sqn: "000000000000",
impu: "",
impi: "",
imsi: "001010123456789",
K: "00112233445566778899aabbccddeeff",
impu: "impu1",
impi: "impi1@amarisoft.com",
imsi: "0010100000001",
K: "00112233445566778899AABBCCDDEEFF",
// rue_addr: "host1",
as_release: 13,
ue_category: 13,
......
......@@ -93,7 +93,7 @@
// {{ ue_ref }}
{
sim_algo: "{{ ue.sim_algo }}",
// opc: "{{ ue.opc }}",
opc: "{{ ue.opc }}",
amf: {{ ue.amf }},
sqn: "{{ ue.sqn }}",
impu: "{{ ue.impu }}",
......
......@@ -9,7 +9,8 @@ import sys, logging
from golang import func, defer, u
host = 'fe80::20a:ff:fe00:1020%slaptap9-1'
#host = 'fe80::20a:ff:fe00:1020%slaptap9-1'
host = '2401:5180:0:66:a700::1'
port = 830
user = 'oranuser'
password = 'oranpassword'
......@@ -24,9 +25,11 @@ def main():
defer(m.close_session)
#print(m)
"""
if 1:
import time; time.sleep(2)
return
"""
"""
for cap in m.server_capabilities:
......@@ -43,10 +46,12 @@ def main():
xpprint(ele)
#"""
"""
#"""
x = m.get()
xpprint(x.data)
"""
#"""
return
ok = m.create_subscription()
print(ok)
......
......@@ -335,7 +335,7 @@ def do_ue():
'rx_gain': 60,
}
})
if 1:
if 0:
iue.ishared('Cell 2', '_UCELL2', {
'ue_cell_type': 'lte',
'rf_mode': 'fdd',
......@@ -351,7 +351,7 @@ def do_ue():
'rx_gain': 60,
}
})
if 1:
if 0:
iue.ishared('Cell 3', '_UCELL3', {
'ue_cell_type': 'lte',
'rf_mode': 'fdd',
......@@ -368,12 +368,26 @@ def do_ue():
}
})
iue.ishared('UE 1', '_UE1', {
'ue_type': 'lte',
'sim_algo': 'milenage',
"imsi": "0010100000001",
"opc": "000102030405060708090A0B0C0D0E0F",
"amf": "0x9001",
"sqn": "000000000000",
"k": "00112233445566778899AABBCCDDEEFF",
"impu": "impu1",
"impi": "impi1@amarisoft.com",
'rue_addr': 'host1',
})
"""
iue.ishared('UE 1', '_UE1', {
'sim_algo': 'xor',
'ue_type': 'lte',
'rue_addr': 'host1'
})
"""
"""
iue.ishared('UE 2', '_UE2', {
'ue_type': 'nr',
'rue_addr': 'host2'
......
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