src/devices/wifi/wifi-net-device.cc
changeset 2602 d9262bff6df2
parent 2601 4297e8c61615
child 2618 b2706c1a6c3b
equal deleted inserted replaced
2601:4297e8c61615 2602:d9262bff6df2
    31 namespace ns3 {
    31 namespace ns3 {
    32 
    32 
    33 TypeId 
    33 TypeId 
    34 WifiNetDevice::GetTypeId (void)
    34 WifiNetDevice::GetTypeId (void)
    35 {
    35 {
    36   static TypeId tid = TypeId ("WifiNetDevice")
    36   static TypeId tid = TypeId ("ns3::WifiNetDevice")
    37     .SetParent<NetDevice> ()
    37     .SetParent<NetDevice> ()
    38     .AddAttribute ("Channel", "XXX",
    38     .AddAttribute ("Channel", "XXX",
    39                    Ptr<Channel> (0),
    39                    Ptr<Channel> (0),
    40                    MakePtrAccessor (&WifiNetDevice::GetChannel),
    40                    MakePtrAccessor (&WifiNetDevice::GetChannel),
    41                    MakePtrChecker<Channel> ())
    41                    MakePtrChecker<Channel> ())