src/devices/wifi/wifi-default-parameters.cc
changeset 2268 0e57ac711220
parent 2166 00b5eb43dba2
child 2271 85724b1cbb1a
equal deleted inserted replaced
2267:87dd46db981d 2268:0e57ac711220
   159  0, (void *)0);
   159  0, (void *)0);
   160 static NumericDefaultValue<double> g_idealBer
   160 static NumericDefaultValue<double> g_idealBer
   161 ("WifiIdealRateControlBerThreshold",
   161 ("WifiIdealRateControlBerThreshold",
   162  "The maximum Bit Error Rate acceptable at any transmission mode",
   162  "The maximum Bit Error Rate acceptable at any transmission mode",
   163  10e-6);
   163  10e-6);
   164 
   164 static BooleanDefaultValue g_isLowLatency
       
   165 ("WifiMacPhyIsLowLatency",
       
   166  "Is the communication latency between the MAC and PHY low ?",
       
   167  true);
   165 
   168 
   166 
   169 
   167 uint32_t 
   170 uint32_t 
   168 GetMaxSsrc (void)
   171 GetMaxSsrc (void)
   169 {
   172 {
   292 Ssid
   295 Ssid
   293 GetSsid (void)
   296 GetSsid (void)
   294 {
   297 {
   295   return Ssid (g_ssid.GetValue ().c_str ());
   298   return Ssid (g_ssid.GetValue ().c_str ());
   296 }
   299 }
   297 
   300 bool 
       
   301 GetIsLowLatency (void)
       
   302 {
       
   303   return g_isLowLatency.GetValue ();
       
   304 }
   298 
   305 
   299 } // namespace WifiDefaultParameters
   306 } // namespace WifiDefaultParameters
   300 
   307 
   301 } // namespace ns3 
   308 } // namespace ns3