SRSENB: PHY tries to remove always the RNTI in PHY-lib. No error messages prompted.

This commit is contained in:
Xavier Arteaga 2020-06-01 12:50:29 +02:00 committed by Xavier Arteaga
parent 84b84eaad6
commit fbce38dc27
2 changed files with 4 additions and 7 deletions

View File

@ -208,13 +208,11 @@ void cc_worker::rem_rnti(uint16_t rnti)
if (ue_db.count(rnti)) {
delete ue_db[rnti];
ue_db.erase(rnti);
srslte_enb_dl_rem_rnti(&enb_dl, rnti);
srslte_enb_ul_rem_rnti(&enb_ul, rnti);
} else {
Error("Removing user: rnti=0x%x does not exist\n", rnti);
}
// Always try to remove from PHY-lib
srslte_enb_dl_rem_rnti(&enb_dl, rnti);
srslte_enb_ul_rem_rnti(&enb_ul, rnti);
}
uint32_t cc_worker::get_nof_rnti()

View File

@ -199,7 +199,6 @@ inline int phy_ue_db::_assert_active_enb_cc(uint16_t rnti, uint32_t enb_cc_idx)
// Check SCell is active, ignore PCell state
const cell_info_t& cell_info = ue_db.at(rnti).cell_info[_get_ue_cc_idx(rnti, enb_cc_idx)];
if (cell_info.state != cell_state_primary and cell_info.state != cell_state_secondary_active) {
ERROR("Failed to assert active eNb cell/carrier %d for RNTI 0x%X", enb_cc_idx, rnti);
return SRSLTE_ERROR;
}