|
|
| 28 |
#include "ns3/pointer.h" |
28 |
#include "ns3/pointer.h" |
| 29 |
#include "ns3/node.h" |
29 |
#include "ns3/node.h" |
| 30 |
#include "ns3/trace-source-accessor.h" |
30 |
#include "ns3/trace-source-accessor.h" |
|
|
31 |
#include "ns3/log.h" |
| 32 |
|
| 33 |
NS_LOG_COMPONENT_DEFINE ("WifiNetDevice"); |
| 31 |
|
34 |
|
| 32 |
namespace ns3 { |
35 |
namespace ns3 { |
| 33 |
|
36 |
|
|
|
| 65 |
WifiNetDevice::WifiNetDevice () |
68 |
WifiNetDevice::WifiNetDevice () |
| 66 |
: m_mtu (0), |
69 |
: m_mtu (0), |
| 67 |
m_configComplete (false) |
70 |
m_configComplete (false) |
| 68 |
{} |
71 |
{ |
|
|
72 |
NS_LOG_FUNCTION_NOARGS (); |
| 73 |
} |
| 69 |
WifiNetDevice::~WifiNetDevice () |
74 |
WifiNetDevice::~WifiNetDevice () |
| 70 |
{} |
75 |
{ |
|
|
76 |
NS_LOG_FUNCTION_NOARGS (); |
| 77 |
} |
| 71 |
|
78 |
|
| 72 |
void |
79 |
void |
| 73 |
WifiNetDevice::DoDispose (void) |
80 |
WifiNetDevice::DoDispose (void) |
| 74 |
{ |
81 |
{ |
|
|
82 |
NS_LOG_FUNCTION_NOARGS (); |
| 75 |
m_node = 0; |
83 |
m_node = 0; |
| 76 |
m_mac->Dispose (); |
84 |
m_mac->Dispose (); |
| 77 |
m_phy->Dispose (); |
85 |
m_phy->Dispose (); |