src/wifi/model/qos-tag.h
changeset 7141 072fb225b714
parent 7139 79dd02ed46ec
child 7385 10beb0e53130
--- a/src/wifi/model/qos-tag.h	Fri May 06 13:21:20 2011 -0700
+++ b/src/wifi/model/qos-tag.h	Sat May 07 21:49:46 2011 +0200
@@ -3,7 +3,7 @@
  * Copyright (c) 2009 MIRKO BANCHI
  *
  * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as 
+ * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation;
  *
  * This program is distributed in the hope that it will be useful,
@@ -36,7 +36,8 @@
  * case the mapping between UPs and TIDs should be determined by a
  * TSPEC element as per IEEE Std. 802.11-2007, Section 7.3.2.30
  */
-enum UserPriority {
+enum UserPriority
+{
   UP_BK = 1, /**< background  */
   UP_BE = 0, /**< best effort (default) */
   UP_EE = 3, /**< excellent effort  */
@@ -45,9 +46,9 @@
   UP_VO = 6, /**< voice, < 10ms latency and jitter */
   UP_NC = 7  /**< network control */
 };
-  
+
 
-  
+
 /**
  * \ingroup wifi
  *
@@ -55,7 +56,7 @@
  * specify the TID which will be used by a QoS-aware WifiMac for a
  * given traffic flow. Note that the current QosTag class was
  * designed to be completely mac/wifi specific without any attempt
- * at being generic. 
+ * at being generic.
  */
 class QosTag : public Tag
 {
@@ -63,34 +64,34 @@
   static TypeId GetTypeId (void);
   virtual TypeId GetInstanceTypeId (void) const;
 
-  /** 
-   * Create a QosTag with the default TID = 0 (best effort traffic) 
-   */  
+  /**
+   * Create a QosTag with the default TID = 0 (best effort traffic)
+   */
   QosTag ();
 
-  /** 
-   * Create a QosTag with the given TID 
-   */  
+  /**
+   * Create a QosTag with the given TID
+   */
   QosTag (uint8_t tid);
 
-  /** 
+  /**
    * Set the TID to the given value. This assumes that the
    * application is aware of the QoS support provided by the MAC
-   * layer, and is therefore able to set the correct TID. 
-   * 
+   * layer, and is therefore able to set the correct TID.
+   *
    * @param tid the value of the TID to set
    */
   void SetTid (uint8_t tid);
 
-  /** 
+  /**
    * Set the TID to the value that corresponds to the requested
    * UserPriority. Note that, since the mapping of UserPriority to TID
    * is defined for EDCA only, you should call this method only when
    * EDCA is used. When using HDCA, QosTag(uint8_t tid) should be used
    * instead.
-   * 
+   *
    * @param up the requested UserPriority
-   * 
+   *
    */
   void SetUserPriority (UserPriority up);