enb_amarisoft: add "sdr" as rf_dev_type and rx_ant parameter
this allows to use the Amarisoft PCIe cards with OGT Change-Id: Ia373a78f59538d6dfca390431f85a7af26c9d914
This commit is contained in:
parent
dbdc1c8443
commit
5e08075fa3
|
@ -37,7 +37,7 @@ def on_register_schemas():
|
||||||
schema.register_config_schema('amarisoftenb', config_schema)
|
schema.register_config_schema('amarisoftenb', config_schema)
|
||||||
|
|
||||||
def rf_type_valid(rf_type_str):
|
def rf_type_valid(rf_type_str):
|
||||||
return rf_type_str in ('uhd', 'zmq')
|
return rf_type_str in ('uhd', 'zmq', 'sdr')
|
||||||
|
|
||||||
class AmarisoftENB(enb.eNodeB):
|
class AmarisoftENB(enb.eNodeB):
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,9 @@ rf_driver: {
|
||||||
name: "${trx.rf_dev_type}",
|
name: "${trx.rf_dev_type}",
|
||||||
args: "${trx.rf_dev_args}",
|
args: "${trx.rf_dev_args}",
|
||||||
sync: "${trx.rf_dev_sync}",
|
sync: "${trx.rf_dev_sync}",
|
||||||
|
% if trx.get('rx_ant', None) != None:
|
||||||
|
rx_antenna: "${trx.rx_ant}",
|
||||||
|
% endif
|
||||||
|
|
||||||
% if trx.rf_dev_type == 'zmq':
|
% if trx.rf_dev_type == 'zmq':
|
||||||
dl_sample_bits: 16,
|
dl_sample_bits: 16,
|
||||||
|
|
Loading…
Reference in New Issue