src/devices/wifi/mac-tx-middle.cc
changeset 4079 210d64d11998
parent 1977 4303409f3d8e
child 4399 3858687497ce
equal deleted inserted replaced
4077:d2e461e575f4 4079:210d64d11998
    37 uint16_t 
    37 uint16_t 
    38 MacTxMiddle::GetNextSequenceNumberfor (const WifiMacHeader *hdr)
    38 MacTxMiddle::GetNextSequenceNumberfor (const WifiMacHeader *hdr)
    39 {
    39 {
    40   uint16_t retval;
    40   uint16_t retval;
    41   if (hdr->IsQosData () &&
    41   if (hdr->IsQosData () &&
    42       !hdr->GetAddr1 ().IsBroadcast ()) 
    42       !hdr->GetAddr1 ().IsGroup ()) 
    43     {
    43     {
    44       uint8_t tid = hdr->GetQosTid ();
    44       uint8_t tid = hdr->GetQosTid ();
    45       NS_ASSERT (tid < 16);
    45       NS_ASSERT (tid < 16);
    46       retval = m_qosSequences[tid];
    46       retval = m_qosSequences[tid];
    47       m_qosSequences[tid]++;
    47       m_qosSequences[tid]++;