--- a/src/devices/mesh/dot11s/airtime-metric.h Mon Jun 01 18:46:20 2009 +0400
+++ b/src/devices/mesh/dot11s/airtime-metric.h Mon Jun 01 18:52:46 2009 +0400
@@ -27,25 +27,13 @@
{
public:
static TypeId GetTypeId ();
- // friend class MeshWifiInterfaceMac;
uint32_t CalculateMetric(Mac48Address peerAddress, Ptr<MeshWifiInterfaceMac> mac);
private:
uint32_t m_overheadNanosec;
-#if 0
- (34 //DIFS
- +9*2 //SIFS
- +16*2 //Preamble
- +24) //Ack
- *1000; //nanoseconds
-#endif
uint32_t m_testLength;
uint16_t m_headerLength;
uint16_t m_meshHeaderLength;
-#if 0
- static const uint32_t test_length = 1024;
- static const uint32_t header_length = 36;
-#endif
};
} //namespace dot11s
} //namespace ns3