|
|
|
@ -55,7 +55,7 @@ public:
|
|
|
|
|
void set_config_mbsfn_mcch(const srslte::mcch_msg_t& mcch) override {}
|
|
|
|
|
cell_search_ret_t cell_search(phy_cell_t* cell) override { return {}; }
|
|
|
|
|
bool cell_is_camping() override { return false; }
|
|
|
|
|
bool cell_select(const phy_cell_t* cell = nullptr) override { return false; }
|
|
|
|
|
bool cell_select(const phy_cell_t* cell = nullptr, float cfo = 0.0f) override { return false; }
|
|
|
|
|
void reset() override {}
|
|
|
|
|
void enable_pregen_signals(bool enable) override {}
|
|
|
|
|
|
|
|
|
@ -492,18 +492,18 @@ int meas_obj_test()
|
|
|
|
|
|
|
|
|
|
log1->info("Test7: PHY finds new neighbours in frequency 1 and 2, check RRC instructs to search them\n");
|
|
|
|
|
std::vector<rrc_interface_phy_lte::phy_meas_t> phy_meas = {};
|
|
|
|
|
phy_meas.push_back({0, 0, 1, 31});
|
|
|
|
|
phy_meas.push_back({-1, 0, 1, 32});
|
|
|
|
|
phy_meas.push_back({-2, 0, 1, 33});
|
|
|
|
|
phy_meas.push_back({-3, 0, 1, 34});
|
|
|
|
|
phy_meas.push_back({0, 0, 0.0f, 1, 31});
|
|
|
|
|
phy_meas.push_back({-1, 0, 0.0f, 1, 32});
|
|
|
|
|
phy_meas.push_back({-2, 0, 0.0f, 1, 33});
|
|
|
|
|
phy_meas.push_back({-3, 0, 0.0f, 1, 34});
|
|
|
|
|
rrctest.new_cell_meas(phy_meas);
|
|
|
|
|
rrctest.run_tti(1);
|
|
|
|
|
phy_meas = {};
|
|
|
|
|
phy_meas.push_back({-4, 0, 1, 35});
|
|
|
|
|
phy_meas.push_back({-5, 0, 1, 36});
|
|
|
|
|
phy_meas.push_back({-6, 0, 1, 37});
|
|
|
|
|
phy_meas.push_back({1, 0, 1, 30});
|
|
|
|
|
phy_meas.push_back({0, 0, 2, 31});
|
|
|
|
|
phy_meas.push_back({-4, 0, 0.0f, 1, 35});
|
|
|
|
|
phy_meas.push_back({-5, 0, 0.0f, 1, 36});
|
|
|
|
|
phy_meas.push_back({-6, 0, 0.0f, 1, 37});
|
|
|
|
|
phy_meas.push_back({1, 0, 0.0f, 1, 30});
|
|
|
|
|
phy_meas.push_back({0, 0, 0.0f, 2, 31});
|
|
|
|
|
rrctest.new_cell_meas(phy_meas);
|
|
|
|
|
rrctest.run_tti(1);
|
|
|
|
|
|
|
|
|
@ -624,7 +624,7 @@ void send_report(rrc_test& rrctest,
|
|
|
|
|
if (earfcn.size() == pci.size()) {
|
|
|
|
|
e = earfcn[i];
|
|
|
|
|
}
|
|
|
|
|
phy_meas.push_back({r, -5, e, pci[i]});
|
|
|
|
|
phy_meas.push_back({r, -5, 0.0f, e, pci[i]});
|
|
|
|
|
}
|
|
|
|
|
rrctest.new_cell_meas(phy_meas);
|
|
|
|
|
rrctest.run_tti(1);
|
|
|
|
|