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
changes/55/24055/4
Andre Puschmann 2 years ago
parent dbdc1c8443
commit 5e08075fa3
  1. 2
      src/osmo_gsm_tester/obj/enb_amarisoft.py
  2. 3
      src/osmo_gsm_tester/templates/amarisoft_rf_driver.cfg.tmpl

@ -37,7 +37,7 @@ def on_register_schemas():
schema.register_config_schema('amarisoftenb', config_schema)
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):

@ -2,6 +2,9 @@ rf_driver: {
name: "${trx.rf_dev_type}",
args: "${trx.rf_dev_args}",
sync: "${trx.rf_dev_sync}",
% if trx.get('rx_ant', None) != None:
rx_antenna: "${trx.rx_ant}",
% endif
% if trx.rf_dev_type == 'zmq':
dl_sample_bits: 16,

Loading…
Cancel
Save