src/devices/wifi/qos-utils.h
changeset 5956 e9918be47f78
parent 4720 15221757964f
child 6331 eee2eab36748
--- a/src/devices/wifi/qos-utils.h	Wed Feb 03 20:34:50 2010 +0100
+++ b/src/devices/wifi/qos-utils.h	Wed Feb 03 20:34:51 2010 +0100
@@ -45,6 +45,13 @@
  */
 uint8_t QosUtilsGetTidForPacket (Ptr<const Packet> packet);
 
+/*
+ * Next function is useful to correctly sort buffered packets under block ack.
+ * When an BAR is received from originator station, completed "old"
+ * (see section 9.10.3 in IEEE802.11e) packets must be forwarded up before "new" packets.
+ */
+uint32_t QosUtilsMapSeqControlToUniqueInteger (uint16_t seqControl, uint16_t endSequence);
+
 } //namespace ns3
 
 #endif /* QOS_UTILS_H */