src/lte/model/lte-ue-rrc.h
author Nicola Baldo <nbaldo@cttc.es>
Mon, 17 Dec 2012 16:01:08 +0100
changeset 9562 691b97de80ed
parent 9539 8ae380bcb768
parent 9386 24df31b77b25
child 9572 e07415ca12c9
permissions -rw-r--r--
merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7886
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
     1
/* -*-  Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
     2
/*
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
     3
 * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
     4
 *
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
     5
 * This program is free software; you can redistribute it and/or modify
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
     6
 * it under the terms of the GNU General Public License version 2 as
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
     7
 * published by the Free Software Foundation;
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
     8
 *
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
     9
 * This program is distributed in the hope that it will be useful,
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    12
 * GNU General Public License for more details.
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    13
 *
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    14
 * You should have received a copy of the GNU General Public License
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    15
 * along with this program; if not, write to the Free Software
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    16
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    17
 *
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    18
 * Author: Nicola Baldo <nbaldo@cttc.es>
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    19
 */
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    20
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    21
#ifndef LTE_UE_RRC_H
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    22
#define LTE_UE_RRC_H
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    23
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    24
#include <ns3/object.h>
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    25
#include <ns3/packet.h>
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    26
#include <ns3/lte-ue-cmac-sap.h>
8389
cb215987eb77 LTE-EPC end-to-end data plane imlemented and partially working
Nicola Baldo <nbaldo@cttc.es>
parents: 8160
diff changeset
    27
#include <ns3/lte-pdcp-sap.h>
9337
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
    28
#include <ns3/lte-as-sap.h>
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
    29
#include <ns3/lte-ue-cphy-sap.h>
9406
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
    30
#include <ns3/lte-rrc-sap.h>
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
    31
#include <ns3/traced-callback.h>
7886
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    32
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    33
#include <map>
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    34
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    35
namespace ns3 {
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    36
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    37
class LteRlc;
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    38
class LteMacSapProvider;
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    39
class LteUeCmacSapUser;
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    40
class LteUeCmacSapProvider;
9406
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
    41
class LteDataRadioBearerInfo;
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
    42
class LteSignalingRadioBearerInfo;
9337
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
    43
class LteEnbRrc;
7886
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    44
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    45
/**
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    46
 *
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    47
 *
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    48
 */
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    49
class LteUeRrc : public Object
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    50
{
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    51
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    52
  friend class UeMemberLteUeCmacSapUser;
8389
cb215987eb77 LTE-EPC end-to-end data plane imlemented and partially working
Nicola Baldo <nbaldo@cttc.es>
parents: 8160
diff changeset
    53
  friend class UeRrcMemberLteEnbCmacSapUser;
cb215987eb77 LTE-EPC end-to-end data plane imlemented and partially working
Nicola Baldo <nbaldo@cttc.es>
parents: 8160
diff changeset
    54
  friend class LtePdcpSpecificLtePdcpSapUser<LteUeRrc>;
9337
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
    55
  friend class MemberLteAsSapProvider<LteUeRrc>;
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
    56
  friend class MemberLteUeCphySapUser<LteUeRrc>;
9406
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
    57
  friend class MemberLteUeRrcSapProvider<LteUeRrc>;
7886
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    58
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    59
public:
9406
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
    60
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
    61
  /**
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
    62
   * The states of the UE RRC entity
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
    63
   * 
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
    64
   */
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
    65
  enum State
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
    66
    {
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
    67
      IDLE_CELL_SELECTION = 0,
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
    68
      IDLE_WAIT_SYSTEM_INFO,
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
    69
      IDLE_CAMPED_NORMALLY,
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
    70
      IDLE_RANDOM_ACCESS,
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
    71
      IDLE_CONNECTING,
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
    72
      CONNECTED_NORMALLY,
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
    73
      CONNECTED_REESTABLISHING,
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
    74
      CONNECTED_HANDOVER,
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
    75
      NUM_STATES
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
    76
    };
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
    77
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
    78
7886
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    79
  /**
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    80
   * create an RRC instance for use within an ue
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    81
   *
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    82
   */
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    83
  LteUeRrc ();
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    84
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    85
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    86
  /**
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    87
   * Destructor
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    88
   */
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    89
  virtual ~LteUeRrc ();
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    90
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    91
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    92
  // inherited from Object
9406
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
    93
private:
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
    94
  virtual void DoStart (void);
7886
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    95
  virtual void DoDispose (void);
9406
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
    96
public:
7886
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    97
  static TypeId GetTypeId (void);
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    98
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
    99
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   100
  /**
9337
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   101
   * set the CPHY SAP this RRC should use to interact with the PHY
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   102
   *
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   103
   * \param s the CPHY SAP Provider
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   104
   */
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   105
  void SetLteUeCphySapProvider (LteUeCphySapProvider * s);
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   106
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   107
  /**
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   108
   *
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   109
   *
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   110
   * \return s the CPHY SAP User interface offered to the PHY by this RRC
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   111
   */
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   112
  LteUeCphySapUser* GetLteUeCphySapUser ();
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   113
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   114
  /**
7886
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   115
   * set the CMAC SAP this RRC should interact with
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   116
   *
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   117
   * \param s the CMAC SAP Provider to be used by this RRC
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   118
   */
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   119
  void SetLteUeCmacSapProvider (LteUeCmacSapProvider * s);
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   120
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   121
  /**
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   122
   *
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   123
   *
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   124
   * \return s the CMAC SAP User interface offered to the MAC by this RRC
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   125
   */
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   126
  LteUeCmacSapUser* GetLteUeCmacSapUser ();
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   127
9406
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   128
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   129
  /**
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   130
   * set the RRC SAP this RRC should interact with
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   131
   *
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   132
   * \param s the RRC SAP User to be used by this RRC
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   133
   */
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   134
  void SetLteUeRrcSapUser (LteUeRrcSapUser * s);
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   135
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   136
  /**
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   137
   *
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   138
   *
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   139
   * \return s the RRC SAP Provider interface offered to the MAC by this RRC
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   140
   */
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   141
  LteUeRrcSapProvider* GetLteUeRrcSapProvider ();
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   142
7886
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   143
  /**
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   144
   * set the MAC SAP provider. The ue RRC does not use this
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   145
   * directly, but it needs to provide it to newly created RLC instances.
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   146
   *
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   147
   * \param s the MAC SAP provider that will be used by all
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   148
   * newly created RLC instances
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   149
   */
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   150
  void SetLteMacSapProvider (LteMacSapProvider* s);
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   151
9337
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   152
  /** 
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   153
   * Set the AS SAP user to interact with the NAS entity
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   154
   * 
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   155
   * \param s the AS SAP user
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   156
   */
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   157
  void SetAsSapUser (LteAsSapUser* s);
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   158
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   159
  /** 
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   160
   * 
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   161
   * 
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   162
   * \return the AS SAP provider exported by this RRC
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   163
   */
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   164
  LteAsSapProvider* GetAsSapProvider ();
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   165
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   166
  /** 
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   167
   * 
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   168
   * \param imsi the unique UE identifier
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   169
   */
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   170
  void SetImsi (uint64_t imsi);
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   171
7886
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   172
  /**
9386
24df31b77b25 PhyStats calculator implementation. All code needed added to LteHelper. Prototype order changed in order to respect cellId,IMSI, rnti
Jaume Nin
parents: 9346
diff changeset
   173
   *
24df31b77b25 PhyStats calculator implementation. All code needed added to LteHelper. Prototype order changed in order to respect cellId,IMSI, rnti
Jaume Nin
parents: 9346
diff changeset
   174
   * \return imsi the unique UE identifier
24df31b77b25 PhyStats calculator implementation. All code needed added to LteHelper. Prototype order changed in order to respect cellId,IMSI, rnti
Jaume Nin
parents: 9346
diff changeset
   175
   */
24df31b77b25 PhyStats calculator implementation. All code needed added to LteHelper. Prototype order changed in order to respect cellId,IMSI, rnti
Jaume Nin
parents: 9346
diff changeset
   176
  uint64_t GetImsi (void);
24df31b77b25 PhyStats calculator implementation. All code needed added to LteHelper. Prototype order changed in order to respect cellId,IMSI, rnti
Jaume Nin
parents: 9346
diff changeset
   177
24df31b77b25 PhyStats calculator implementation. All code needed added to LteHelper. Prototype order changed in order to respect cellId,IMSI, rnti
Jaume Nin
parents: 9346
diff changeset
   178
24df31b77b25 PhyStats calculator implementation. All code needed added to LteHelper. Prototype order changed in order to respect cellId,IMSI, rnti
Jaume Nin
parents: 9346
diff changeset
   179
  /**
7886
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   180
   *
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   181
   * \return the C-RNTI of the user
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   182
   */
9337
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   183
  uint16_t GetRnti () const;
7886
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   184
8160
3acc5e72aa88 Added CellId output to RlcStats file
jnin
parents: 8055
diff changeset
   185
3acc5e72aa88 Added CellId output to RlcStats file
jnin
parents: 8055
diff changeset
   186
  /**
3acc5e72aa88 Added CellId output to RlcStats file
jnin
parents: 8055
diff changeset
   187
   *
3acc5e72aa88 Added CellId output to RlcStats file
jnin
parents: 8055
diff changeset
   188
   * \return the CellId of the attached Enb
3acc5e72aa88 Added CellId output to RlcStats file
jnin
parents: 8055
diff changeset
   189
   */
9337
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   190
  uint16_t GetCellId () const;
8160
3acc5e72aa88 Added CellId output to RlcStats file
jnin
parents: 8055
diff changeset
   191
9406
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   192
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   193
  /** 
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   194
   * \return the uplink bandwidth in RBs
8055
235d5e4ff8b0 Added Doxygen documentation to RlcStats
jnin
parents: 8007
diff changeset
   195
   */
9406
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   196
  uint8_t GetUlBandwidth () const;
8055
235d5e4ff8b0 Added Doxygen documentation to RlcStats
jnin
parents: 8007
diff changeset
   197
8714
398bbcbb3f42 Add MIMO model, test and documentation
Marco Miozzo <marco.miozzo@cttc.es>
parents: 8464
diff changeset
   198
  /** 
9406
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   199
   * \return the downlink bandwidth in RBs
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   200
   */
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   201
  uint8_t GetDlBandwidth () const;
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   202
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   203
  /** 
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   204
   * \return the downlink carrier frequency (EARFCN)
9346
00e674a0d567 merge lena-dev and lena-epc
Nicola Baldo <nbaldo@cttc.es>
parents: 9345
diff changeset
   205
   */
9406
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   206
  uint16_t GetDlEarfcn () const;
9346
00e674a0d567 merge lena-dev and lena-epc
Nicola Baldo <nbaldo@cttc.es>
parents: 9345
diff changeset
   207
8714
398bbcbb3f42 Add MIMO model, test and documentation
Marco Miozzo <marco.miozzo@cttc.es>
parents: 8464
diff changeset
   208
  /** 
9406
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   209
   * \return the uplink carrier frequency (EARFCN)
9346
00e674a0d567 merge lena-dev and lena-epc
Nicola Baldo <nbaldo@cttc.es>
parents: 9345
diff changeset
   210
   */
9406
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   211
  uint16_t GetUlEarfcn () const;
9346
00e674a0d567 merge lena-dev and lena-epc
Nicola Baldo <nbaldo@cttc.es>
parents: 9345
diff changeset
   212
00e674a0d567 merge lena-dev and lena-epc
Nicola Baldo <nbaldo@cttc.es>
parents: 9345
diff changeset
   213
  /** 
9406
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   214
   * 
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   215
   * \return the current state
9346
00e674a0d567 merge lena-dev and lena-epc
Nicola Baldo <nbaldo@cttc.es>
parents: 9345
diff changeset
   216
   */
9406
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   217
  State GetState ();
9345
8290ae6cab62 add/remove UEs and bearers upon handover
Nicola Baldo <nicola@baldo.biz>
parents: 9337
diff changeset
   218
8290ae6cab62 add/remove UEs and bearers upon handover
Nicola Baldo <nicola@baldo.biz>
parents: 9337
diff changeset
   219
  /** 
9406
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   220
   * 
9345
8290ae6cab62 add/remove UEs and bearers upon handover
Nicola Baldo <nicola@baldo.biz>
parents: 9337
diff changeset
   221
   * 
9406
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   222
   * \param val true if RLC SM is to be used, false if RLC UM/AM are to be used
9345
8290ae6cab62 add/remove UEs and bearers upon handover
Nicola Baldo <nicola@baldo.biz>
parents: 9337
diff changeset
   223
   */
9406
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   224
  void SetUseRlcSm (bool val);
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   225
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   226
7886
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   227
private:
9345
8290ae6cab62 add/remove UEs and bearers upon handover
Nicola Baldo <nicola@baldo.biz>
parents: 9337
diff changeset
   228
8290ae6cab62 add/remove UEs and bearers upon handover
Nicola Baldo <nicola@baldo.biz>
parents: 9337
diff changeset
   229
9337
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   230
  // PDCP SAP methods
9406
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   231
  void DoReceivePdcpSdu (LtePdcpSapUser::ReceivePdcpSduParameters params);
8389
cb215987eb77 LTE-EPC end-to-end data plane imlemented and partially working
Nicola Baldo <nbaldo@cttc.es>
parents: 8160
diff changeset
   232
9337
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   233
  // CMAC SAP methods
9406
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   234
  void DoSetTemporaryCellRnti (uint16_t rnti);
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   235
  void DoNotifyRandomAccessSuccessful ();
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   236
  void DoNotifyRandomAccessFailed ();
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   237
 
9337
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   238
  // LTE AS SAP methods
9430
e8b87593ee5b added MME with simulated S1AP and S11 interfaces
Nicola Baldo <nbaldo@cttc.es>
parents: 9406
diff changeset
   239
  void DoForceCampedOnEnb (uint16_t cellId, uint16_t earfcn);
9337
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   240
  void DoConnect ();
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   241
  void DoSendData (Ptr<Packet> packet, uint8_t bid);
9406
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   242
  void DoDisconnect ();
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   243
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   244
  // CPHY SAP methods
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   245
  void DoRecvMasterInformationBlock (LteRrcSap::MasterInformationBlock msg);
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   246
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   247
  // RRC SAP methods
9447
f836d3a3b71a added LteUeRrcSapProvider::CompleteSetup ()
Nicola Baldo <nbaldo@cttc.es>
parents: 9430
diff changeset
   248
  void DoCompleteSetup (LteUeRrcSapProvider::CompleteSetupParameters params);
9406
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   249
  void DoRecvSystemInformationBlockType1 (LteRrcSap::SystemInformationBlockType1 msg);
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   250
  void DoRecvSystemInformation (LteRrcSap::SystemInformation msg);
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   251
  void DoRecvRrcConnectionSetup (LteRrcSap::RrcConnectionSetup msg);
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   252
  void DoRecvRrcConnectionReconfiguration (LteRrcSap::RrcConnectionReconfiguration msg);
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   253
  void DoRecvRrcConnectionReestablishment (LteRrcSap::RrcConnectionReestablishment msg);
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   254
  void DoRecvRrcConnectionReestablishmentReject (LteRrcSap::RrcConnectionReestablishmentReject msg);
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   255
  void DoRecvRrcConnectionRelease (LteRrcSap::RrcConnectionRelease msg);
9510
1f57ceb87c95 Add functions in SAP's to send/receive ConnRej msg.
Lluis Parcerisa <parcerisa@gmail.com>
parents: 9452
diff changeset
   256
  void DoRecvRrcConnectionReject (LteRrcSap::RrcConnectionReject msg);
9406
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   257
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   258
 
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   259
  // internal methods
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   260
  void ApplyRadioResourceConfigDedicated (LteRrcSap::RadioResourceConfigDedicated rrcd);
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   261
  void StartConnection ();
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   262
  void LeaveConnectedMode ();
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   263
  uint8_t Bid2Drbid (uint8_t bid);
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   264
  void SwitchToState (State s);
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   265
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   266
  std::map<uint8_t, uint8_t> m_bid2DrbidMap;
9337
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   267
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   268
  LteUeCphySapUser* m_cphySapUser;
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   269
  LteUeCphySapProvider* m_cphySapProvider;
8389
cb215987eb77 LTE-EPC end-to-end data plane imlemented and partially working
Nicola Baldo <nbaldo@cttc.es>
parents: 8160
diff changeset
   270
7886
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   271
  LteUeCmacSapUser* m_cmacSapUser;
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   272
  LteUeCmacSapProvider* m_cmacSapProvider;
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   273
9406
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   274
  LteUeRrcSapUser* m_rrcSapUser;
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   275
  LteUeRrcSapProvider* m_rrcSapProvider;
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   276
7886
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   277
  LteMacSapProvider* m_macSapProvider;
9447
f836d3a3b71a added LteUeRrcSapProvider::CompleteSetup ()
Nicola Baldo <nbaldo@cttc.es>
parents: 9430
diff changeset
   278
  LtePdcpSapUser* m_drbPdcpSapUser;
9337
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   279
  
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   280
  LteAsSapProvider* m_asSapProvider;
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   281
  LteAsSapUser* m_asSapUser;
7886
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   282
9406
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   283
  State m_state;
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   284
9337
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   285
  uint64_t m_imsi;
7886
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   286
  uint16_t m_rnti;
8007
845888b95c15 Added IMSI output to RLC outpu
jnin
parents: 7886
diff changeset
   287
  uint16_t m_cellId;
7886
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   288
9406
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   289
  Ptr<LteSignalingRadioBearerInfo> m_srb0;
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   290
  Ptr<LteSignalingRadioBearerInfo> m_srb1;
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   291
  std::map <uint8_t, Ptr<LteDataRadioBearerInfo> > m_drbMap;
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   292
  
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   293
  bool m_useRlcSm;
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   294
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   295
  uint8_t m_lastRrcTransactionIdentifier;
9337
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   296
9406
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   297
  uint8_t m_dlBandwidth; /**< downlink bandwidth in RBs */
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   298
  uint8_t m_ulBandwidth; /**< uplink bandwidth in RBs */
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   299
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   300
  uint16_t m_dlEarfcn;  /**< downlink carrier frequency */
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   301
  uint16_t m_ulEarfcn;  /**< uplink carrier frequency */
9337
ae7126b266ce revised LTE protocol stack for new RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 8714
diff changeset
   302
9452
9fa1012bd84b dynamic connection of RadioBearerStatsCalculator so it works properly with handover
Nicola Baldo <nbaldo@cttc.es>
parents: 9447
diff changeset
   303
  //             imsi      cellid    rnti   
9fa1012bd84b dynamic connection of RadioBearerStatsCalculator so it works properly with handover
Nicola Baldo <nbaldo@cttc.es>
parents: 9447
diff changeset
   304
  TracedCallback<uint64_t, uint16_t, uint16_t, State, State> m_stateTransitionTrace;
9fa1012bd84b dynamic connection of RadioBearerStatsCalculator so it works properly with handover
Nicola Baldo <nbaldo@cttc.es>
parents: 9447
diff changeset
   305
  //             imsi      cellid    rnti   
9fa1012bd84b dynamic connection of RadioBearerStatsCalculator so it works properly with handover
Nicola Baldo <nbaldo@cttc.es>
parents: 9447
diff changeset
   306
  TracedCallback<uint64_t, uint16_t, uint16_t> m_connectionEstablishedTrace;
9fa1012bd84b dynamic connection of RadioBearerStatsCalculator so it works properly with handover
Nicola Baldo <nbaldo@cttc.es>
parents: 9447
diff changeset
   307
  //             imsi      cellid    rnti   
9fa1012bd84b dynamic connection of RadioBearerStatsCalculator so it works properly with handover
Nicola Baldo <nbaldo@cttc.es>
parents: 9447
diff changeset
   308
  TracedCallback<uint64_t, uint16_t, uint16_t> m_connectionReconfigurationTrace;
9fa1012bd84b dynamic connection of RadioBearerStatsCalculator so it works properly with handover
Nicola Baldo <nbaldo@cttc.es>
parents: 9447
diff changeset
   309
  //             imsi      cellid    rnti     targetCellId
9fa1012bd84b dynamic connection of RadioBearerStatsCalculator so it works properly with handover
Nicola Baldo <nbaldo@cttc.es>
parents: 9447
diff changeset
   310
  TracedCallback<uint64_t, uint16_t, uint16_t, uint16_t> m_handoverStartTrace;
9fa1012bd84b dynamic connection of RadioBearerStatsCalculator so it works properly with handover
Nicola Baldo <nbaldo@cttc.es>
parents: 9447
diff changeset
   311
  //             imsi      cellid    rnti    
9fa1012bd84b dynamic connection of RadioBearerStatsCalculator so it works properly with handover
Nicola Baldo <nbaldo@cttc.es>
parents: 9447
diff changeset
   312
  TracedCallback<uint64_t, uint16_t, uint16_t> m_handoverEndOkTrace;
9406
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   313
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   314
  bool m_connectionPending; /**< true if a connection request by upper layers is pending */
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   315
  bool m_receivedMib; /**< true if MIB was received for the current cell  */
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   316
  bool m_receivedSib2; /**< true if SIB2 was received for the current cell  */
7f0f9d8f8e20 new LTE RRC model
Nicola Baldo <nbaldo@cttc.es>
parents: 9346
diff changeset
   317
7886
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   318
};
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   319
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   320
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   321
} // namespace ns3
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   322
b65c16d4da83 LENA project first public release
CTTC
parents:
diff changeset
   323
#endif // LTE_UE_RRC_H