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) 2015 Danilo Abrignani | 3 * Copyright (c) 2015 Danilo Abrignani |
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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 /** | 94 /** |
95 * \param earfcn the uplink carrier frequency (EARFCN) | 95 * \param earfcn the uplink carrier frequency (EARFCN) |
96 */ | 96 */ |
97 void SetUlEarfcn (uint32_t earfcn); | 97 void SetUlEarfcn (uint32_t earfcn); |
98 | 98 |
99 /** | 99 /** |
100 * \brief Returns the CSG ID of the eNodeB. | 100 * \brief Returns the CSG ID of the eNodeB. |
101 * \return the Closed Subscriber Group identity | 101 * \return the Closed Subscriber Group identity |
102 * \sa LteEnbNetDevice::SetCsgId | 102 * \sa LteEnbNetDevice::SetCsgId |
103 */ | 103 */ |
104 uint32_t GetCsgId () const; | 104 uint16_t GetCsgId () const; |
105 | 105 |
106 /** | 106 /** |
107 * \brief Associate the eNodeB device with a particular CSG. | 107 * \brief Associate the eNodeB device with a particular CSG. |
108 * \param csgId the intended Closed Subscriber Group identity | 108 * \param csgId the intended Closed Subscriber Group identity |
109 * | 109 * |
110 * CSG identity is a number identifying a Closed Subscriber Group which the | 110 * CSG identity is a number identifying a Closed Subscriber Group which the |
111 * cell belongs to. eNodeB is associated with a single CSG identity. | 111 * cell belongs to. eNodeB is associated with a single CSG identity. |
112 * | 112 * |
113 * The same CSG identity can also be associated to several UEs, which is | 113 * The same CSG identity can also be associated to several UEs, which is |
114 * equivalent as enlisting these UEs as the members of this particular CSG. | 114 * equivalent as enlisting these UEs as the members of this particular CSG. |
115 * | 115 * |
116 * \sa LteEnbNetDevice::SetCsgIndication | 116 * \sa LteEnbNetDevice::SetCsgIndication |
117 */ | 117 */ |
118 void SetCsgId (uint32_t csgId); | 118 void SetCsgId (uint16_t csgId); |
119 | 119 |
120 /** | 120 /** |
121 * \brief Returns the CSG indication flag of the eNodeB. | 121 * \brief Returns the CSG indication flag of the eNodeB. |
122 * \return the CSG indication flag | 122 * \return the CSG indication flag |
123 * \sa LteEnbNetDevice::SetCsgIndication | 123 * \sa LteEnbNetDevice::SetCsgIndication |
124 */ | 124 */ |
125 bool GetCsgIndication () const; | 125 bool GetCsgIndication () const; |
126 | 126 |
127 /** | 127 /** |
128 * \brief Enable or disable the CSG indication flag. | 128 * \brief Enable or disable the CSG indication flag. |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 | 172 |
173 }; | 173 }; |
174 | 174 |
175 | 175 |
176 | 176 |
177 } // namespace ns3 | 177 } // namespace ns3 |
178 | 178 |
179 | 179 |
180 | 180 |
181 #endif /* COMPONENT_CARRIER_H */ | 181 #endif /* COMPONENT_CARRIER_H */ |
OLD | NEW |