mirror of https://github.com/PentHertz/srsLTE.git
Fix inter-frequency/intra-enb HO
This commit is contained in:
parent
eba20b6367
commit
fa837925d0
|
@ -60,6 +60,9 @@ private:
|
|||
* Initially the the state is default (none) and it goes to inactive as soon as it is configured from the stack, then
|
||||
* it can transition to active as soon as the stack indicates so.
|
||||
*
|
||||
* Consider that once the secondary serving cell is configured, the state transition between active and deactivated
|
||||
* shall be performed by stack calls activation/deactivation and not re-configuration.
|
||||
*
|
||||
* +---------+ Set SCell Configuration +-------------+ SCell activation +--------+
|
||||
* | Default | --------------------------->| Deactivated |--------------------->| Active |
|
||||
* +---------+ +-------------+ +--------+
|
||||
|
@ -67,7 +70,6 @@ private:
|
|||
* | | | | |
|
||||
* --+ | | SCell deactivation | |
|
||||
* | +---------------------------------+ |
|
||||
* | Reconfigure SCell |
|
||||
* | Remove SCell configuration |
|
||||
* +-----------------------------------------------------------------------------+
|
||||
*/
|
||||
|
|
|
@ -302,12 +302,14 @@ void phy_ue_db::addmod_rnti(uint16_t rnti, const phy_interface_rrc_lte::phy_rrc_
|
|||
ue.pcell_cfg_stash = phy_rrc_dedicated.phy_cfg;
|
||||
_set_common_config_rnti(rnti, ue.pcell_cfg_stash);
|
||||
} else if (phy_rrc_dedicated.configured) {
|
||||
// Only set to inactive if cell is not already configured
|
||||
if (cell_info.state == cell_state_t::cell_state_none) {
|
||||
cell_info.phy_cfg = phy_rrc_dedicated.phy_cfg;
|
||||
_set_common_config_rnti(rnti, cell_info.phy_cfg);
|
||||
// Overwrite the secondary serving cell configuration independently of the current state. Higher layers (MAC
|
||||
// and/or RRC) shall be responsible for the secondary serving cell activation/deactivation.
|
||||
cell_info.phy_cfg = phy_rrc_dedicated.phy_cfg;
|
||||
_set_common_config_rnti(rnti, cell_info.phy_cfg);
|
||||
|
||||
// Set Cell state, all inactive by default
|
||||
// Set Cell state to inactive (as configured) only if it was not configured before. Avoid losing coherence with
|
||||
// MAC Activation/Deactivation states
|
||||
if (cell_info.state == cell_state_t::cell_state_none) {
|
||||
cell_info.state = cell_state_secondary_inactive;
|
||||
}
|
||||
// Count Serving cell
|
||||
|
|
Loading…
Reference in New Issue