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

.

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