equal
deleted
inserted
replaced
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]++; |