OLD | NEW |
1 /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ | 1 /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ |
2 /* | 2 /* |
3 * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) | 3 * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) |
4 * | 4 * |
5 * This program is free software; you can redistribute it and/or modify | 5 * This program is free software; you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License version 2 as | 6 * it under the terms of the GNU General Public License version 2 as |
7 * published by the Free Software Foundation; | 7 * published by the Free Software Foundation; |
8 * | 8 * |
9 * This program is distributed in the hope that it will be useful, | 9 * This program is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 /////////////////////////////////////////// | 51 /////////////////////////////////////////// |
52 // CMAC SAP forwarder | 52 // CMAC SAP forwarder |
53 /////////////////////////////////////////// | 53 /////////////////////////////////////////// |
54 | 54 |
55 /** | 55 /** |
56 * \brief Class for forwarding CMAC SAP User functions. | 56 * \brief Class for forwarding CMAC SAP User functions. |
57 */ | 57 */ |
58 class EnbRrcMemberLteEnbCmacSapUser : public LteEnbCmacSapUser | 58 class EnbRrcMemberLteEnbCmacSapUser : public LteEnbCmacSapUser |
59 { | 59 { |
60 public: | 60 public: |
| 61 /** |
| 62 * Constructor |
| 63 * |
| 64 * \param rrc ENB RRC |
| 65 */ |
61 EnbRrcMemberLteEnbCmacSapUser (LteEnbRrc* rrc); | 66 EnbRrcMemberLteEnbCmacSapUser (LteEnbRrc* rrc); |
62 | 67 |
63 virtual uint16_t AllocateTemporaryCellRnti (); | 68 virtual uint16_t AllocateTemporaryCellRnti (); |
64 virtual void NotifyLcConfigResult (uint16_t rnti, uint8_t lcid, bool success); | 69 virtual void NotifyLcConfigResult (uint16_t rnti, uint8_t lcid, bool success); |
65 virtual void RrcConfigurationUpdateInd (UeConfig params); | 70 virtual void RrcConfigurationUpdateInd (UeConfig params); |
66 | 71 |
67 private: | 72 private: |
68 LteEnbRrc* m_rrc; | 73 LteEnbRrc* m_rrc; ///< the RRC |
69 }; | 74 }; |
70 | 75 |
71 EnbRrcMemberLteEnbCmacSapUser::EnbRrcMemberLteEnbCmacSapUser (LteEnbRrc* rrc) | 76 EnbRrcMemberLteEnbCmacSapUser::EnbRrcMemberLteEnbCmacSapUser (LteEnbRrc* rrc) |
72 : m_rrc (rrc) | 77 : m_rrc (rrc) |
73 { | 78 { |
74 } | 79 } |
75 | 80 |
76 uint16_t | 81 uint16_t |
77 EnbRrcMemberLteEnbCmacSapUser::AllocateTemporaryCellRnti () | 82 EnbRrcMemberLteEnbCmacSapUser::AllocateTemporaryCellRnti () |
78 { | 83 { |
(...skipping 2439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2518 rachConfigCommon.raSupervisionInfo.raResponseWindowSize = rc.raResponseWindowS
ize; | 2523 rachConfigCommon.raSupervisionInfo.raResponseWindowSize = rc.raResponseWindowS
ize; |
2519 si.sib2.radioResourceConfigCommon.rachConfigCommon = rachConfigCommon; | 2524 si.sib2.radioResourceConfigCommon.rachConfigCommon = rachConfigCommon; |
2520 | 2525 |
2521 m_rrcSapUser->SendSystemInformation (si); | 2526 m_rrcSapUser->SendSystemInformation (si); |
2522 Simulator::Schedule (m_systemInformationPeriodicity, &LteEnbRrc::SendSystemInf
ormation, this); | 2527 Simulator::Schedule (m_systemInformationPeriodicity, &LteEnbRrc::SendSystemInf
ormation, this); |
2523 } | 2528 } |
2524 | 2529 |
2525 | 2530 |
2526 } // namespace ns3 | 2531 } // namespace ns3 |
2527 | 2532 |
OLD | NEW |