fix default radio, channel and rx antenna setting in eNB (#594)

This commit is contained in:
Andre Puschmann 2019-07-16 14:32:02 +02:00 committed by Ismael Gomez
parent f1387d8cf8
commit 62eba8f3d8
1 changed files with 3 additions and 1 deletions

View File

@ -263,7 +263,9 @@ int enb::parse_args(const all_args_t& args_)
phy_cfg.cell = cell_cfg;
// Patch certain args that are not exposed yet
args.rf.nof_radios = args.rf.nof_rf_channels = args.rf.nof_rx_ant = 1;
args.rf.nof_radios = 1;
args.rf.nof_rf_channels = 1;
args.rf.nof_rx_ant = args.enb.nof_ports;
return SRSLTE_SUCCESS;
}