--- 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