LEFT | RIGHT |
(no file at all) | |
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) 2013 Budiarto Herman | 3 * Copyright (c) 2013 Budiarto Herman |
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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 /** | 95 /** |
96 * Determines if a neighbour cell is a valid destination for handover. | 96 * Determines if a neighbour cell is a valid destination for handover. |
97 * Currently always return true. | 97 * Currently always return true. |
98 * | 98 * |
99 * \param cellId The cell ID of the neighbour cell. | 99 * \param cellId The cell ID of the neighbour cell. |
100 * \return True if the cell is a valid destination for handover. | 100 * \return True if the cell is a valid destination for handover. |
101 */ | 101 */ |
102 bool IsValidNeighbour (uint16_t cellId); | 102 bool IsValidNeighbour (uint16_t cellId); |
103 | 103 |
104 /// The expected measurement identity for A3 measurements. | 104 /// The expected measurement identity for A3 measurements. |
105 uint8_t m_measId; | 105 std::vector<uint8_t> m_measIds; |
106 | 106 |
107 /** | 107 /** |
108 * The `Hysteresis` attribute. Handover margin (hysteresis) in dB (rounded to | 108 * The `Hysteresis` attribute. Handover margin (hysteresis) in dB (rounded to |
109 * the nearest multiple of 0.5 dB). | 109 * the nearest multiple of 0.5 dB). |
110 */ | 110 */ |
111 double m_hysteresisDb; | 111 double m_hysteresisDb; |
112 /** | 112 /** |
113 * The `TimeToTrigger` attribute. Time during which neighbour cell's RSRP | 113 * The `TimeToTrigger` attribute. Time during which neighbour cell's RSRP |
114 * must continuously higher than serving cell's RSRP " | 114 * must continuously higher than serving cell's RSRP " |
115 */ | 115 */ |
116 Time m_timeToTrigger; | 116 Time m_timeToTrigger; |
117 | 117 |
118 /// Interface to the eNodeB RRC instance. | 118 /// Interface to the eNodeB RRC instance. |
119 LteHandoverManagementSapUser* m_handoverManagementSapUser; | 119 LteHandoverManagementSapUser* m_handoverManagementSapUser; |
120 /// Receive API calls from the eNodeB RRC instance. | 120 /// Receive API calls from the eNodeB RRC instance. |
121 LteHandoverManagementSapProvider* m_handoverManagementSapProvider; | 121 LteHandoverManagementSapProvider* m_handoverManagementSapProvider; |
122 | 122 |
123 }; // end of class A3RsrpHandoverAlgorithm | 123 }; // end of class A3RsrpHandoverAlgorithm |
124 | 124 |
125 | 125 |
126 } // end of namespace ns3 | 126 } // end of namespace ns3 |
127 | 127 |
128 | 128 |
129 #endif /* A3_RSRP_HANDOVER_ALGORITHM_H */ | 129 #endif /* A3_RSRP_HANDOVER_ALGORITHM_H */ |
LEFT | RIGHT |