Restart rx_counter for SRB in PDCP when restablishing

This commit is contained in:
Ismael Gomez 2017-12-02 22:52:17 +01:00
parent 5c31800ccb
commit cfb059f0c2
2 changed files with 2 additions and 1 deletions

View File

@ -81,6 +81,7 @@ void pdcp_entity::reestablish() {
// For SRBs
if (cfg.is_control) {
tx_count = 0;
rx_count = 0;
} else {
if (rlc->rb_is_um(lcid)) {
tx_count = 0;

View File

@ -514,7 +514,7 @@ void rrc::select_next_cell_in_plmn() {
}
void rrc::new_phy_meas(float rsrp, float rsrq, uint32_t tti, uint32_t earfcn, uint32_t pci) {
if (state == RRC_STATE_CONNECTED) {
if (state != RRC_STATE_IDLE) {
measurements.new_phy_meas(earfcn, pci, rsrp, rsrq, tti);
} else {
// If measurement is of the serving cell, evaluate cell reselection criteria