mirror of https://github.com/PentHertz/srsLTE.git
Fix successful related typos
This commit is contained in:
parent
e8095529d7
commit
2c7287e4d4
|
@ -50,9 +50,9 @@ public:
|
||||||
*/
|
*/
|
||||||
struct cell_select_result_t {
|
struct cell_select_result_t {
|
||||||
enum {
|
enum {
|
||||||
ERROR = 0, ///< The cell selection procedure failed due a to an invalid configuration
|
ERROR = 0, ///< The cell selection procedure failed due a to an invalid configuration
|
||||||
UNSUCCESFUL, ///< The cell selection failed to find and synchronise the SSB
|
UNSUCCESSFUL, ///< The cell selection failed to find and synchronise the SSB
|
||||||
SUCCESFUL, ///< The cell selection was succesful, resulting in a camping state
|
SUCCESSFUL, ///< The cell selection was successful, resulting in a camping state
|
||||||
} status;
|
} status;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -187,10 +187,10 @@ rrc_interface_phy_nr::cell_select_result_t sync_sa::cell_select_run(const phy_in
|
||||||
// Determine if the procedure was successful if the current state is camping, otherwise it is unsuccessful
|
// Determine if the procedure was successful if the current state is camping, otherwise it is unsuccessful
|
||||||
if (phy_state.is_camping()) {
|
if (phy_state.is_camping()) {
|
||||||
logger.info("Cell Select: SFN synchronized. CAMPING...");
|
logger.info("Cell Select: SFN synchronized. CAMPING...");
|
||||||
result.status = rrc_interface_phy_nr::cell_select_result_t::SUCCESFUL;
|
result.status = rrc_interface_phy_nr::cell_select_result_t::SUCCESSFUL;
|
||||||
} else {
|
} else {
|
||||||
logger.info("Cell Select: Could not synchronize SFN");
|
logger.info("Cell Select: Could not synchronize SFN");
|
||||||
result.status = rrc_interface_phy_nr::cell_select_result_t::UNSUCCESFUL;
|
result.status = rrc_interface_phy_nr::cell_select_result_t::UNSUCCESSFUL;
|
||||||
}
|
}
|
||||||
|
|
||||||
rrc_proc_state = PROC_IDLE;
|
rrc_proc_state = PROC_IDLE;
|
||||||
|
|
|
@ -230,7 +230,7 @@ int main(int argc, char** argv)
|
||||||
// Start cell selection procedure
|
// Start cell selection procedure
|
||||||
srsue::rrc_interface_phy_nr::cell_select_result_t cs_res =
|
srsue::rrc_interface_phy_nr::cell_select_result_t cs_res =
|
||||||
tb.run_cell_select(args.phy_cfg.carrier, args.phy_cfg.get_ssb_cfg());
|
tb.run_cell_select(args.phy_cfg.carrier, args.phy_cfg.get_ssb_cfg());
|
||||||
srsran_assert(cs_res.status == srsue::rrc_interface_phy_nr::cell_select_result_t::SUCCESFUL,
|
srsran_assert(cs_res.status == srsue::rrc_interface_phy_nr::cell_select_result_t::SUCCESSFUL,
|
||||||
"Failed to perform cell selection");
|
"Failed to perform cell selection");
|
||||||
|
|
||||||
// Run per TTI basis
|
// Run per TTI basis
|
||||||
|
|
Loading…
Reference in New Issue