blob: 36d34ad717f901363b96da9a45cd1dd86fbf669e [file] [log] [blame]
Pau Espin Pedrol786a6bc2020-03-30 13:51:21 +02001rf_driver: {
Pau Espin Pedrol65beb8f2020-03-31 12:03:19 +02002 name: "${trx.rf_dev_type}",
Pau Espin Pedrol65beb8f2020-03-31 12:03:19 +02003 args: "${trx.rf_dev_args}",
Andre Puschmannc489f192020-10-09 14:46:38 +02004 sync: "${trx.rf_dev_sync}",
Andre Puschmann5e080752021-04-14 21:30:08 +02005% if trx.get('rx_ant', None) != None:
6 rx_antenna: "${trx.rx_ant}",
7% endif
Andre Puschmann9a5be2c2020-04-06 22:08:24 +02008
Pau Espin Pedrol65beb8f2020-03-31 12:03:19 +02009% if trx.rf_dev_type == 'zmq':
Andre Puschmann9a5be2c2020-04-06 22:08:24 +020010 dl_sample_bits: 16,
11 ul_sample_bits: 16,
Pau Espin Pedrold45a29e2020-04-02 17:21:47 +020012% endif
Pau Espin Pedrol786a6bc2020-03-30 13:51:21 +020013},
14
Pau Espin Pedrola6d63042020-04-20 15:14:51 +020015tx_gain: ${trx.tx_gain}, /* TX gain (in dB) B2x0: 0 to 89.8 dB */
16rx_gain: ${trx.rx_gain}, /* RX gain (in dB) B2x0: 0 to 73 dB */
Andre Puschmann374a1752021-04-23 16:35:48 +020017
18// only the B210 requires a sample offset
19% if "b200" in trx.rf_dev_args:
Andre Puschmanna70f05c2020-04-06 12:13:15 +020020tx_time_offset: -150,
Andre Puschmann374a1752021-04-23 16:35:48 +020021% else:
22tx_time_offset: 0,
23% endif