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) 2005 INRIA | 3 * Copyright (c) 2005 INRIA |
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 |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
12 * GNU General Public License for more details. | 12 * GNU General Public License for more details. |
13 * | 13 * |
14 * You should have received a copy of the GNU General Public License | 14 * You should have received a copy of the GNU General Public License |
15 * along with this program; if not, write to the Free Software | 15 * along with this program; if not, write to the Free Software |
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
17 * | 17 * |
18 * Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr> | 18 * Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr> |
19 */ | 19 */ |
20 | 20 |
21 #ifndef DCA_TXOP_H | 21 #ifndef DCA_TXOP_H |
22 #define DCA_TXOP_H | 22 #define DCA_TXOP_H |
23 | 23 |
24 #include "mac-low.h" | 24 #include "mac-low-transmission-parameters.h" |
25 #include "wifi-mac-header.h" | 25 #include "wifi-mac-header.h" |
26 #include "wifi-remote-station-manager.h" | |
27 | 26 |
28 namespace ns3 { | 27 namespace ns3 { |
29 | 28 |
| 29 class Packet; |
30 class DcfState; | 30 class DcfState; |
31 class DcfManager; | 31 class DcfManager; |
32 class MacTxMiddle; | 32 class MacTxMiddle; |
| 33 class MacLow; |
| 34 class WifiMode; |
| 35 class WifiMacQueue; |
| 36 class WifiMacQueueItem; |
33 class UniformRandomVariable; | 37 class UniformRandomVariable; |
34 class CtrlBAckResponseHeader; | 38 class CtrlBAckResponseHeader; |
| 39 class WifiRemoteStationManager; |
35 | 40 |
36 /** | 41 /** |
37 * \brief handle packet fragmentation and retransmissions. | 42 * \brief handle packet fragmentation and retransmissions. |
38 * \ingroup wifi | 43 * \ingroup wifi |
39 * | 44 * |
40 * This class implements the packet fragmentation and | 45 * This class implements the packet fragmentation and |
41 * retransmission policy. It uses the ns3::MacLow and ns3::DcfManager | 46 * retransmission policy. It uses the ns3::MacLow and ns3::DcfManager |
42 * helper classes to respectively send packets and decide when | 47 * helper classes to respectively send packets and decide when |
43 * to send them. Packets are stored in a ns3::WifiMacQueue until | 48 * to send them. Packets are stored in a ns3::WifiMacQueue until |
44 * they can be sent. | 49 * they can be sent. |
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 | 423 |
419 Ptr<const Packet> m_currentPacket; //!< the current packet | 424 Ptr<const Packet> m_currentPacket; //!< the current packet |
420 WifiMacHeader m_currentHdr; //!< the current header | 425 WifiMacHeader m_currentHdr; //!< the current header |
421 MacLowTransmissionParameters m_currentParams; ///< current transmission parame
ters | 426 MacLowTransmissionParameters m_currentParams; ///< current transmission parame
ters |
422 uint8_t m_fragmentNumber; //!< the fragment number | 427 uint8_t m_fragmentNumber; //!< the fragment number |
423 }; | 428 }; |
424 | 429 |
425 } //namespace ns3 | 430 } //namespace ns3 |
426 | 431 |
427 #endif /* DCA_TXOP_H */ | 432 #endif /* DCA_TXOP_H */ |
OLD | NEW |