src/devices/wifi/wifi-phy.cc
changeset 2602 d9262bff6df2
parent 2530 05f9cec44621
child 2630 17b545238ab3
equal deleted inserted replaced
2601:4297e8c61615 2602:d9262bff6df2
   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.",