OLD | NEW |
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ | 1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
2 /* | 2 /* |
3 * Copyright (c) 2013 | 3 * Copyright (c) 2013 |
4 * | 4 * |
5 * This program is free software; you can redistribute it and/or modify | 5 * This program is free software; you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License version 2 as | 6 * it under the terms of the GNU General Public License version 2 as |
7 * published by the Free Software Foundation; | 7 * published by the Free Software Foundation; |
8 * | 8 * |
9 * This program is distributed in the hope that it will be useful, | 9 * This program is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 30 matching lines...) Expand all Loading... |
41 * \return the object TypeId | 41 * \return the object TypeId |
42 */ | 42 */ |
43 static TypeId GetTypeId (void); | 43 static TypeId GetTypeId (void); |
44 TypeId GetInstanceTypeId (void) const; | 44 TypeId GetInstanceTypeId (void) const; |
45 | 45 |
46 /** | 46 /** |
47 * Create a AmpduTag with the default =0 no Ampdu | 47 * Create a AmpduTag with the default =0 no Ampdu |
48 */ | 48 */ |
49 AmpduTag (); | 49 AmpduTag (); |
50 /** | 50 /** |
51 * Set m_ampdu to 1. | 51 * \param supported the A-MPDU suppoted flag |
| 52 * |
| 53 * Set the A-MPDU supported flag. |
52 */ | 54 */ |
53 void SetAmpdu (bool supported); | 55 void SetAmpdu (bool supported); |
54 /** | 56 /** |
55 * \param nbofmpdus the remaining number of MPDUs | 57 * \param nbofmpdus the remaining number of MPDUs |
56 * | 58 * |
57 * Set the remaining number of MPDUs in the A-MPDU. | 59 * Set the remaining number of MPDUs in the A-MPDU. |
58 */ | 60 */ |
59 void SetRemainingNbOfMpdus (uint8_t nbofmpdus); | 61 void SetRemainingNbOfMpdus (uint8_t nbofmpdus); |
60 /** | 62 /** |
61 * \param duration the remaining duration of the A-MPDU | 63 * \param duration the remaining duration of the A-MPDU |
(...skipping 29 matching lines...) Expand all Loading... |
91 | 93 |
92 private: | 94 private: |
93 uint8_t m_ampdu; //!< Flag whether it is an A-MPDU | 95 uint8_t m_ampdu; //!< Flag whether it is an A-MPDU |
94 uint8_t m_nbOfMpdus; //!< Remaining number of MPDUs in the A-MPDU | 96 uint8_t m_nbOfMpdus; //!< Remaining number of MPDUs in the A-MPDU |
95 Time m_duration; //!< Remaining duration of the A-MPDU in nanoseconds | 97 Time m_duration; //!< Remaining duration of the A-MPDU in nanoseconds |
96 }; | 98 }; |
97 | 99 |
98 } //namespace ns3 | 100 } //namespace ns3 |
99 | 101 |
100 #endif /* AMPDU_TAG_H */ | 102 #endif /* AMPDU_TAG_H */ |
OLD | NEW |