--- a/src/devices/wifi/mac-low.h Tue Apr 15 15:29:43 2008 -0700
+++ b/src/devices/wifi/mac-low.h Tue Apr 15 15:53:54 2008 -0700
@@ -22,6 +22,7 @@
#include <vector>
#include <stdint.h>
+#include <ostream>
#include "wifi-mac-header.h"
#include "wifi-mode.h"
@@ -252,6 +253,7 @@
uint32_t GetNextPacketSize (void) const;
private:
+ friend std::ostream &operator << (std::ostream &os, const MacLowTransmissionParameters ¶ms);
uint32_t m_nextSize;
enum {
ACK_NONE,
@@ -263,6 +265,8 @@
Time m_overrideDurationId;
};
+std::ostream &operator << (std::ostream &os, const MacLowTransmissionParameters ¶ms);
+
/**
* \brief handle RTS/CTS/DATA/ACK transactions.