src/devices/mesh/mesh-wifi-interface-mac.cc
changeset 5828 9959ba75ba25
parent 5774 0fad665ff307
child 5903 395e17028faf
child 6065 0f012e7d9128
--- a/src/devices/mesh/mesh-wifi-interface-mac.cc	Tue Dec 01 18:34:11 2009 +0300
+++ b/src/devices/mesh/mesh-wifi-interface-mac.cc	Wed Dec 02 19:58:59 2009 +0300
@@ -81,7 +81,8 @@
                   ;
   return tid;
 }
-MeshWifiInterfaceMac::MeshWifiInterfaceMac ()
+MeshWifiInterfaceMac::MeshWifiInterfaceMac () :
+  m_standard (WIFI_PHY_STANDARD_80211a)
 {
   NS_LOG_FUNCTION (this);
 
@@ -747,7 +748,12 @@
       NS_ASSERT (false);
       break;
     }
+  m_standard = standard;
 }
-
+WifiPhyStandard
+MeshWifiInterfaceMac::GetPhyStandard () const
+{
+  return m_standard;
+}
 } // namespace ns3