This commit is contained in:
Kirill Andreev
2009-06-01 18:52:46 +04:00
parent 7bffd94f45
commit ce74646584

View File

@@ -27,25 +27,13 @@ class AirtimeLinkMetricCalculator : public Object
{
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