equal
deleted
inserted
replaced
180 NS_OBJECT_ENSURE_REGISTERED (WifiPhy); |
180 NS_OBJECT_ENSURE_REGISTERED (WifiPhy); |
181 |
181 |
182 TypeId |
182 TypeId |
183 WifiPhy::GetTypeId (void) |
183 WifiPhy::GetTypeId (void) |
184 { |
184 { |
185 static TypeId tid = TypeId ("WifiPhy") |
185 static TypeId tid = TypeId ("ns3::WifiPhy") |
186 .SetParent<Object> () |
186 .SetParent<Object> () |
187 .AddConstructor<WifiPhy> () |
187 .AddConstructor<WifiPhy> () |
188 .AddAttribute ("EnergyDetectionThreshold", |
188 .AddAttribute ("EnergyDetectionThreshold", |
189 "The energy of a received signal should be higher than " |
189 "The energy of a received signal should be higher than " |
190 "this threshold (dbm) to allow the PHY layer to detect the signal.", |
190 "this threshold (dbm) to allow the PHY layer to detect the signal.", |