nanobts: Add support to run nanobts on the 900 band
Change-Id: I13b494630ea835f4bed38ccc77f6a4d5e18326af
This commit is contained in:
parent
3f480a0e05
commit
fef9c1c5cf
|
@ -41,7 +41,3 @@ bsc_bts:
|
|||
- phys_chan_config: TCH/F
|
||||
- phys_chan_config: PDCH
|
||||
- phys_chan_config: PDCH
|
||||
|
||||
nanobts:
|
||||
trx_list:
|
||||
- arfcn: 531
|
||||
|
|
|
@ -44,7 +44,7 @@ bts:
|
|||
- hw_addr: 00:0c:90:2e:80:1e
|
||||
net_device: enp2s0
|
||||
|
||||
- label: NanoBTS
|
||||
- label: NanoBTS-ONW-1900
|
||||
type: nanobts
|
||||
ipa_unit_id: 9
|
||||
addr: 10.42.42.53
|
||||
|
@ -54,6 +54,16 @@ bts:
|
|||
device: '01:01:4d:98:24'
|
||||
port: '1'
|
||||
|
||||
- label: NanoBTS-ONW-900
|
||||
type: nanobts
|
||||
ipa_unit_id: 10
|
||||
addr: 10.42.42.54
|
||||
band: GSM-900
|
||||
power_supply:
|
||||
type: 'sispm'
|
||||
device: '01:01:4d:98:24'
|
||||
port: '2'
|
||||
|
||||
arfcn:
|
||||
- arfcn: 512
|
||||
band: GSM-1800
|
||||
|
|
|
@ -27,7 +27,7 @@ bts:
|
|||
launch_trx: true
|
||||
ciphers: [a5_0, a5_1]
|
||||
|
||||
- label: NanoBTS
|
||||
- label: NanoBTS-ONW-1900
|
||||
type: nanobts
|
||||
ipa_unit_id: 9
|
||||
addr: 10.42.42.53
|
||||
|
|
|
@ -70,6 +70,14 @@ class NanoBts(bts.Bts):
|
|||
sgsn_conf = {} if self.sgsn is None else self.sgsn.conf_for_client()
|
||||
config.overlay(values, sgsn_conf)
|
||||
|
||||
# Hack until we have proper ARFCN resource allocation support (OS#2230)
|
||||
band = values.get('band')
|
||||
trx_list = values.get('trx_list')
|
||||
if band == 'GSM-1900':
|
||||
config.overlay(trx_list[0], { 'arfcn' : '531' })
|
||||
elif band == 'GSM-900':
|
||||
config.overlay(trx_list[0], { 'arfcn' : '50' })
|
||||
|
||||
config.overlay(values, { 'osmobsc_bts_type': 'nanobts' })
|
||||
|
||||
self.dbg(conf=values)
|
||||
|
|
Loading…
Reference in New Issue