src/devices/wifi/edca-txop-n.cc
changeset 5953 9e400f6b8a2c
parent 5952 0588b01cd77e
child 5955 10fbe045901e
equal deleted inserted replaced
5952:0588b01cd77e 5953:9e400f6b8a2c
    29 #include "wifi-mac-trailer.h"
    29 #include "wifi-mac-trailer.h"
    30 #include "wifi-mac.h"
    30 #include "wifi-mac.h"
    31 #include "random-stream.h"
    31 #include "random-stream.h"
    32 #include "wifi-mac-queue.h"
    32 #include "wifi-mac-queue.h"
    33 #include "msdu-aggregator.h"
    33 #include "msdu-aggregator.h"
       
    34 #include "mgt-headers.h"
    34 
    35 
    35 NS_LOG_COMPONENT_DEFINE ("EdcaTxopN");
    36 NS_LOG_COMPONENT_DEFINE ("EdcaTxopN");
    36 
    37 
    37 #define MY_DEBUG(x) \
    38 #define MY_DEBUG(x) \
    38   NS_LOG_DEBUG (m_low->GetAddress () << " " << x)
    39   NS_LOG_DEBUG (m_low->GetAddress () << " " << x)
   697   station->PrepareForQueue (packet, fullPacketSize);
   698   station->PrepareForQueue (packet, fullPacketSize);
   698   m_queue->PushFront (packet, hdr);
   699   m_queue->PushFront (packet, hdr);
   699   StartAccessIfNeeded ();
   700   StartAccessIfNeeded ();
   700 }
   701 }
   701 
   702 
       
   703 void
       
   704 EdcaTxopN::GotAddBaResponse (const MgtAddBaResponseHeader *respHdr, Mac48Address recipient)
       
   705 {
       
   706   NS_LOG_FUNCTION (this);
       
   707   MY_DEBUG ("received AddBa response from "<<recipient);
       
   708   //?
       
   709   RestartAccessIfNeeded ();
       
   710 }
       
   711 
   702 } //namespace ns3
   712 } //namespace ns3