blob: f2942d796aaab833d32c9dfcc7cdfabd59ded8b7 [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
Andre Puschmann6e081aa2021-05-04 16:56:25 +020018rf_ports: [
19 % if trx.rf_dev_type == 'sdr':
20 {
21 sample_rate: 23.04,
22 },
23 {
24 sample_rate: 61.44,
25 dl_freq: 3502.8, // Moves NR DL LO frequency -5.76 MHz
26 ul_freq: 3502.8, // Moves NR UL LO frequency -5.76 MHz
27 }
28 % else:
29 {
30 sample_rate: ${enb.sample_rate},
31 },
32 {
33 sample_rate: ${enb.sample_rate},
34 }
35 % endif
36],
37
Andre Puschmann374a1752021-04-23 16:35:48 +020038// only the B210 requires a sample offset
39% if "b200" in trx.rf_dev_args:
Andre Puschmanna70f05c2020-04-06 12:13:15 +020040tx_time_offset: -150,
Andre Puschmann374a1752021-04-23 16:35:48 +020041% else:
42tx_time_offset: 0,
43% endif