Make sure that last_submitted_rx_sn is not 0 after handover.

master
Pedro Alvarez 4 years ago
parent 52355024e7
commit 6ec26ea627

@ -609,10 +609,9 @@ void rrc::ue::rrc_mobility::handle_ue_meas_report(const meas_report_s& msg)
continue; continue;
} }
meas_ev.meas_cell = cell_it; meas_ev.meas_cell = cell_it;
meas_ev.target_eci = std::find_if(meas_list_cfg.begin(), meas_ev.target_eci = std::find_if(meas_list_cfg.begin(), meas_list_cfg.end(), [pci](const meas_cell_cfg_t& c) {
meas_list_cfg.end(), return c.pci == pci;
[pci](const meas_cell_cfg_t& c) { return c.pci == pci; }) })->eci;
->eci;
// eNB found the respective cell. eNB takes "HO Decision" // eNB found the respective cell. eNB takes "HO Decision"
// NOTE: From now we just choose the strongest. // NOTE: From now we just choose the strongest.
@ -1223,10 +1222,11 @@ void rrc::ue::rrc_mobility::handle_status_transfer(s1_target_ho_st& s, const sta
} }
srslte::pdcp_lte_state_t drb_state{}; srslte::pdcp_lte_state_t drb_state{};
drb_state.tx_hfn = erab_item.dl_coun_tvalue.hfn; drb_state.tx_hfn = erab_item.dl_coun_tvalue.hfn;
drb_state.next_pdcp_tx_sn = erab_item.dl_coun_tvalue.pdcp_sn; drb_state.next_pdcp_tx_sn = erab_item.dl_coun_tvalue.pdcp_sn;
drb_state.rx_hfn = erab_item.ul_coun_tvalue.hfn; drb_state.rx_hfn = erab_item.ul_coun_tvalue.hfn;
drb_state.next_pdcp_rx_sn = erab_item.ul_coun_tvalue.pdcp_sn; drb_state.next_pdcp_rx_sn = erab_item.ul_coun_tvalue.pdcp_sn;
drb_state.last_submitted_pdcp_rx_sn = erab_item.ul_coun_tvalue.pdcp_sn;
rrc_log->info("Setting lcid=%d PDCP state to {Tx SN: %d, Rx SN: %d}\n", rrc_log->info("Setting lcid=%d PDCP state to {Tx SN: %d, Rx SN: %d}\n",
drb_it->lc_ch_id, drb_it->lc_ch_id,
drb_state.next_pdcp_tx_sn, drb_state.next_pdcp_tx_sn,

Loading…
Cancel
Save