From b3e84511866aa501d9918edbdb8c870532bc764e Mon Sep 17 00:00:00 2001 From: Alexander Krotov Date: Tue, 6 Jun 2017 20:05:04 +0300 Subject: [PATCH] lte: Add m_componentCarrierId to UeManager to track primary CC --- src/lte/model/lte-enb-rrc.cc | 1 + src/lte/model/lte-enb-rrc.h | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/src/lte/model/lte-enb-rrc.cc b/src/lte/model/lte-enb-rrc.cc index c2377e633..7e6280bca 100644 --- a/src/lte/model/lte-enb-rrc.cc +++ b/src/lte/model/lte-enb-rrc.cc @@ -143,6 +143,7 @@ UeManager::UeManager (Ptr rrc, uint16_t rnti, State s) : m_lastAllocatedDrbid (0), m_rnti (rnti), m_imsi (0), + m_componentCarrierId (0), m_lastRrcTransactionIdentifier (0), m_rrc (rrc), m_state (s), diff --git a/src/lte/model/lte-enb-rrc.h b/src/lte/model/lte-enb-rrc.h index 49a6113dd..2799d51d9 100644 --- a/src/lte/model/lte-enb-rrc.h +++ b/src/lte/model/lte-enb-rrc.h @@ -488,6 +488,10 @@ private: * unique UE identifier. */ uint64_t m_imsi; + /** + * ID of the primary CC for this UE + */ + uint8_t m_componentCarrierId; uint8_t m_lastRrcTransactionIdentifier; ///< last RRC transaction identifier