src/wifi/model/mac-tx-middle.h
changeset 11174 780a43e4980c
parent 10483 e3a02ed14587
child 11450 9f4ae69f12b7
--- a/src/wifi/model/mac-tx-middle.h	Wed Jan 28 06:34:11 2015 -0800
+++ b/src/wifi/model/mac-tx-middle.h	Wed Jan 28 10:11:32 2015 -0800
@@ -50,6 +50,14 @@
    */
   uint16_t GetNextSequenceNumberfor (const WifiMacHeader *hdr);
   /**
+   * Return the next sequence number for the Traffic ID and destination, but do not pick it (i.e. the current sequence number remains unchanged). 
+   * This functions is used for A-MPDU aggregation.
+   *
+   * \param hdr Wi-Fi header
+   * \return the next sequence number
+   */
+  uint16_t PeekNextSequenceNumberfor (const WifiMacHeader *hdr);
+  /**
    * Return the next sequence number for the Traffic ID and destination.
    *
    * \param tid Traffic ID