mirror of https://github.com/PentHertz/srsLTE.git
Restart rx_counter for SRB in PDCP when restablishing
This commit is contained in:
parent
5c31800ccb
commit
cfb059f0c2
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue