2020-03-30 11:51:21 +00:00
|
|
|
rf_driver: {
|
2020-03-31 10:03:19 +00:00
|
|
|
name: "${trx.rf_dev_type}",
|
|
|
|
args: "${trx.rf_dev_args}",
|
2020-10-09 12:46:38 +00:00
|
|
|
sync: "${trx.rf_dev_sync}",
|
2021-04-14 19:30:08 +00:00
|
|
|
% if trx.get('rx_ant', None) != None:
|
|
|
|
rx_antenna: "${trx.rx_ant}",
|
|
|
|
% endif
|
2020-04-06 20:08:24 +00:00
|
|
|
|
2020-03-31 10:03:19 +00:00
|
|
|
% if trx.rf_dev_type == 'zmq':
|
2020-04-06 20:08:24 +00:00
|
|
|
dl_sample_bits: 16,
|
|
|
|
ul_sample_bits: 16,
|
2020-04-02 15:21:47 +00:00
|
|
|
% endif
|
2020-03-30 11:51:21 +00:00
|
|
|
},
|
|
|
|
|
2020-04-20 13:14:51 +00:00
|
|
|
tx_gain: ${trx.tx_gain}, /* TX gain (in dB) B2x0: 0 to 89.8 dB */
|
|
|
|
rx_gain: ${trx.rx_gain}, /* RX gain (in dB) B2x0: 0 to 73 dB */
|
2021-04-23 14:35:48 +00:00
|
|
|
|
2021-05-04 14:56:25 +00:00
|
|
|
rf_ports: [
|
|
|
|
% if trx.rf_dev_type == 'sdr':
|
|
|
|
{
|
|
|
|
sample_rate: 23.04,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
sample_rate: 61.44,
|
|
|
|
dl_freq: 3502.8, // Moves NR DL LO frequency -5.76 MHz
|
|
|
|
ul_freq: 3502.8, // Moves NR UL LO frequency -5.76 MHz
|
|
|
|
}
|
|
|
|
% else:
|
|
|
|
{
|
|
|
|
sample_rate: ${enb.sample_rate},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
sample_rate: ${enb.sample_rate},
|
|
|
|
}
|
|
|
|
% endif
|
|
|
|
],
|
|
|
|
|
2021-04-23 14:35:48 +00:00
|
|
|
// only the B210 requires a sample offset
|
|
|
|
% if "b200" in trx.rf_dev_args:
|
2020-04-06 10:13:15 +00:00
|
|
|
tx_time_offset: -150,
|
2021-04-23 14:35:48 +00:00
|
|
|
% else:
|
|
|
|
tx_time_offset: 0,
|
|
|
|
% endif
|