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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 * \param isIdealRrc if true, simulation uses Ideal RRC protocol, otherwise | 93 * \param isIdealRrc if true, simulation uses Ideal RRC protocol, otherwise |
94 * simulation uses Real RRC protocol | 94 * simulation uses Real RRC protocol |
95 * \param interSiteDistance the distance between eNodeB in meters | 95 * \param interSiteDistance the distance between eNodeB in meters |
96 * \param ueSetupList a list of UE configuration to be installed in the | 96 * \param ueSetupList a list of UE configuration to be installed in the |
97 * simulation | 97 * simulation |
98 * \param rngRun the number of run to be used by the random number generator | 98 * \param rngRun the number of run to be used by the random number generator |
99 */ | 99 */ |
100 LteCellSelectionTestCase (std::string name, bool isEpcMode, bool isIdealRrc, | 100 LteCellSelectionTestCase (std::string name, bool isEpcMode, bool isIdealRrc, |
101 double interSiteDistance, | 101 double interSiteDistance, |
102 std::vector<UeSetup_t> ueSetupList, | 102 std::vector<UeSetup_t> ueSetupList, |
103 int64_t rngRun); | 103 uint64_t rngRun); |
104 | 104 |
105 virtual ~LteCellSelectionTestCase (); | 105 virtual ~LteCellSelectionTestCase (); |
106 | 106 |
107 private: | 107 private: |
108 /** | 108 /** |
109 * \brief Setup the simulation according to the configuration set by the | 109 * \brief Setup the simulation according to the configuration set by the |
110 * class constructor, run it, and verify the result. | 110 * class constructor, run it, and verify the result. |
111 */ | 111 */ |
112 virtual void DoRun (); | 112 virtual void DoRun (); |
113 | 113 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 * \param cellId the cell ID | 156 * \param cellId the cell ID |
157 * \param rnti the RNTI | 157 * \param rnti the RNTI |
158 */ | 158 */ |
159 void ConnectionEstablishedCallback (std::string context, uint64_t imsi, | 159 void ConnectionEstablishedCallback (std::string context, uint64_t imsi, |
160 uint16_t cellId, uint16_t rnti); | 160 uint16_t cellId, uint16_t rnti); |
161 | 161 |
162 bool m_isEpcMode; ///< whether the LTE configuration in test is using EPC | 162 bool m_isEpcMode; ///< whether the LTE configuration in test is using EPC |
163 bool m_isIdealRrc; ///< whether the LTE is configured to use ideal RRC | 163 bool m_isIdealRrc; ///< whether the LTE is configured to use ideal RRC |
164 double m_interSiteDistance; ///< inter site distance | 164 double m_interSiteDistance; ///< inter site distance |
165 std::vector<UeSetup_t> m_ueSetupList; ///< UE setup list | 165 std::vector<UeSetup_t> m_ueSetupList; ///< UE setup list |
166 int64_t m_rngRun; ///< rng run | 166 uint64_t m_rngRun; ///< rng run |
167 | 167 |
168 /// The current UE RRC state. | 168 /// The current UE RRC state. |
169 std::vector<LteUeRrc::State> m_lastState; | 169 std::vector<LteUeRrc::State> m_lastState; |
170 | 170 |
171 }; // end of class LteCellSelectionTestCase | 171 }; // end of class LteCellSelectionTestCase |
172 | 172 |
173 #endif /* LTE_TEST_CELL_SELECTION_H */ | 173 #endif /* LTE_TEST_CELL_SELECTION_H */ |
LEFT | RIGHT |