author | Tom Henderson <tomh@tomh.org> |
Mon, 04 Jan 2016 14:11:51 -0800 | |
changeset 11800 | bd9c9abd5d6e |
parent 10271 | 6f6ffd9379b0 |
permissions | -rw-r--r-- |
9423
7127b2b9668f
fix compilation error with gcc-4.7
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
1 |
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ |
7127b2b9668f
fix compilation error with gcc-4.7
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
2 |
/* |
7127b2b9668f
fix compilation error with gcc-4.7
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
3 |
* Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) |
7127b2b9668f
fix compilation error with gcc-4.7
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
4 |
* |
7127b2b9668f
fix compilation error with gcc-4.7
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
5 |
* This program is free software; you can redistribute it and/or modify |
7127b2b9668f
fix compilation error with gcc-4.7
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
6 |
* it under the terms of the GNU General Public License version 2 as |
7127b2b9668f
fix compilation error with gcc-4.7
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
7 |
* published by the Free Software Foundation; |
7127b2b9668f
fix compilation error with gcc-4.7
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
8 |
* |
7127b2b9668f
fix compilation error with gcc-4.7
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
9 |
* This program is distributed in the hope that it will be useful, |
7127b2b9668f
fix compilation error with gcc-4.7
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
7127b2b9668f
fix compilation error with gcc-4.7
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
7127b2b9668f
fix compilation error with gcc-4.7
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
12 |
* GNU General Public License for more details. |
7127b2b9668f
fix compilation error with gcc-4.7
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
13 |
* |
7127b2b9668f
fix compilation error with gcc-4.7
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
14 |
* You should have received a copy of the GNU General Public License |
7127b2b9668f
fix compilation error with gcc-4.7
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
15 |
* along with this program; if not, write to the Free Software |
7127b2b9668f
fix compilation error with gcc-4.7
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
16 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
7127b2b9668f
fix compilation error with gcc-4.7
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
17 |
* |
7127b2b9668f
fix compilation error with gcc-4.7
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
18 |
* Author: Nicola Baldo <nbaldo@cttc.es> |
7127b2b9668f
fix compilation error with gcc-4.7
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
19 |
*/ |
7127b2b9668f
fix compilation error with gcc-4.7
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
20 |
|
10271
6f6ffd9379b0
Changes based on peer review: typos in documentation, conversion functions for Hysteresis and a3-Offset, separated constructor implementation of ReportConfigEutra, and removed dead code in LteUeRrc.
Budiarto Herman <budiarto.herman@magister.fi>
parents:
9423
diff
changeset
|
21 |
#include "lte-rrc-sap.h" |
9423
7127b2b9668f
fix compilation error with gcc-4.7
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
22 |
|
7127b2b9668f
fix compilation error with gcc-4.7
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
23 |
namespace ns3 { |
7127b2b9668f
fix compilation error with gcc-4.7
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
24 |
|
7127b2b9668f
fix compilation error with gcc-4.7
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
25 |
LteRrcSap::~LteRrcSap () |
7127b2b9668f
fix compilation error with gcc-4.7
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
26 |
{ |
7127b2b9668f
fix compilation error with gcc-4.7
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
27 |
} |
7127b2b9668f
fix compilation error with gcc-4.7
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
28 |
|
10271
6f6ffd9379b0
Changes based on peer review: typos in documentation, conversion functions for Hysteresis and a3-Offset, separated constructor implementation of ReportConfigEutra, and removed dead code in LteUeRrc.
Budiarto Herman <budiarto.herman@magister.fi>
parents:
9423
diff
changeset
|
29 |
LteRrcSap::ReportConfigEutra::ReportConfigEutra () |
6f6ffd9379b0
Changes based on peer review: typos in documentation, conversion functions for Hysteresis and a3-Offset, separated constructor implementation of ReportConfigEutra, and removed dead code in LteUeRrc.
Budiarto Herman <budiarto.herman@magister.fi>
parents:
9423
diff
changeset
|
30 |
{ |
6f6ffd9379b0
Changes based on peer review: typos in documentation, conversion functions for Hysteresis and a3-Offset, separated constructor implementation of ReportConfigEutra, and removed dead code in LteUeRrc.
Budiarto Herman <budiarto.herman@magister.fi>
parents:
9423
diff
changeset
|
31 |
triggerType = EVENT; |
6f6ffd9379b0
Changes based on peer review: typos in documentation, conversion functions for Hysteresis and a3-Offset, separated constructor implementation of ReportConfigEutra, and removed dead code in LteUeRrc.
Budiarto Herman <budiarto.herman@magister.fi>
parents:
9423
diff
changeset
|
32 |
eventId = EVENT_A1; |
6f6ffd9379b0
Changes based on peer review: typos in documentation, conversion functions for Hysteresis and a3-Offset, separated constructor implementation of ReportConfigEutra, and removed dead code in LteUeRrc.
Budiarto Herman <budiarto.herman@magister.fi>
parents:
9423
diff
changeset
|
33 |
threshold1.choice = ThresholdEutra::THRESHOLD_RSRP; |
6f6ffd9379b0
Changes based on peer review: typos in documentation, conversion functions for Hysteresis and a3-Offset, separated constructor implementation of ReportConfigEutra, and removed dead code in LteUeRrc.
Budiarto Herman <budiarto.herman@magister.fi>
parents:
9423
diff
changeset
|
34 |
threshold1.range = 0; |
6f6ffd9379b0
Changes based on peer review: typos in documentation, conversion functions for Hysteresis and a3-Offset, separated constructor implementation of ReportConfigEutra, and removed dead code in LteUeRrc.
Budiarto Herman <budiarto.herman@magister.fi>
parents:
9423
diff
changeset
|
35 |
threshold2.choice = ThresholdEutra::THRESHOLD_RSRP; |
6f6ffd9379b0
Changes based on peer review: typos in documentation, conversion functions for Hysteresis and a3-Offset, separated constructor implementation of ReportConfigEutra, and removed dead code in LteUeRrc.
Budiarto Herman <budiarto.herman@magister.fi>
parents:
9423
diff
changeset
|
36 |
threshold2.range = 0; |
6f6ffd9379b0
Changes based on peer review: typos in documentation, conversion functions for Hysteresis and a3-Offset, separated constructor implementation of ReportConfigEutra, and removed dead code in LteUeRrc.
Budiarto Herman <budiarto.herman@magister.fi>
parents:
9423
diff
changeset
|
37 |
reportOnLeave = false; |
6f6ffd9379b0
Changes based on peer review: typos in documentation, conversion functions for Hysteresis and a3-Offset, separated constructor implementation of ReportConfigEutra, and removed dead code in LteUeRrc.
Budiarto Herman <budiarto.herman@magister.fi>
parents:
9423
diff
changeset
|
38 |
a3Offset = 0; |
6f6ffd9379b0
Changes based on peer review: typos in documentation, conversion functions for Hysteresis and a3-Offset, separated constructor implementation of ReportConfigEutra, and removed dead code in LteUeRrc.
Budiarto Herman <budiarto.herman@magister.fi>
parents:
9423
diff
changeset
|
39 |
hysteresis = 0; |
6f6ffd9379b0
Changes based on peer review: typos in documentation, conversion functions for Hysteresis and a3-Offset, separated constructor implementation of ReportConfigEutra, and removed dead code in LteUeRrc.
Budiarto Herman <budiarto.herman@magister.fi>
parents:
9423
diff
changeset
|
40 |
timeToTrigger = 0; |
6f6ffd9379b0
Changes based on peer review: typos in documentation, conversion functions for Hysteresis and a3-Offset, separated constructor implementation of ReportConfigEutra, and removed dead code in LteUeRrc.
Budiarto Herman <budiarto.herman@magister.fi>
parents:
9423
diff
changeset
|
41 |
purpose = REPORT_STRONGEST_CELLS; |
6f6ffd9379b0
Changes based on peer review: typos in documentation, conversion functions for Hysteresis and a3-Offset, separated constructor implementation of ReportConfigEutra, and removed dead code in LteUeRrc.
Budiarto Herman <budiarto.herman@magister.fi>
parents:
9423
diff
changeset
|
42 |
triggerQuantity = RSRP; |
6f6ffd9379b0
Changes based on peer review: typos in documentation, conversion functions for Hysteresis and a3-Offset, separated constructor implementation of ReportConfigEutra, and removed dead code in LteUeRrc.
Budiarto Herman <budiarto.herman@magister.fi>
parents:
9423
diff
changeset
|
43 |
reportQuantity = BOTH; |
6f6ffd9379b0
Changes based on peer review: typos in documentation, conversion functions for Hysteresis and a3-Offset, separated constructor implementation of ReportConfigEutra, and removed dead code in LteUeRrc.
Budiarto Herman <budiarto.herman@magister.fi>
parents:
9423
diff
changeset
|
44 |
maxReportCells = MaxReportCells; |
6f6ffd9379b0
Changes based on peer review: typos in documentation, conversion functions for Hysteresis and a3-Offset, separated constructor implementation of ReportConfigEutra, and removed dead code in LteUeRrc.
Budiarto Herman <budiarto.herman@magister.fi>
parents:
9423
diff
changeset
|
45 |
reportInterval = MS480; |
6f6ffd9379b0
Changes based on peer review: typos in documentation, conversion functions for Hysteresis and a3-Offset, separated constructor implementation of ReportConfigEutra, and removed dead code in LteUeRrc.
Budiarto Herman <budiarto.herman@magister.fi>
parents:
9423
diff
changeset
|
46 |
reportAmount = 255; |
6f6ffd9379b0
Changes based on peer review: typos in documentation, conversion functions for Hysteresis and a3-Offset, separated constructor implementation of ReportConfigEutra, and removed dead code in LteUeRrc.
Budiarto Herman <budiarto.herman@magister.fi>
parents:
9423
diff
changeset
|
47 |
} |
6f6ffd9379b0
Changes based on peer review: typos in documentation, conversion functions for Hysteresis and a3-Offset, separated constructor implementation of ReportConfigEutra, and removed dead code in LteUeRrc.
Budiarto Herman <budiarto.herman@magister.fi>
parents:
9423
diff
changeset
|
48 |
|
6f6ffd9379b0
Changes based on peer review: typos in documentation, conversion functions for Hysteresis and a3-Offset, separated constructor implementation of ReportConfigEutra, and removed dead code in LteUeRrc.
Budiarto Herman <budiarto.herman@magister.fi>
parents:
9423
diff
changeset
|
49 |
|
9423
7127b2b9668f
fix compilation error with gcc-4.7
Nicola Baldo <nbaldo@cttc.es>
parents:
diff
changeset
|
50 |
} // namespace ns3 |