author | Mathieu Lacage <mathieu.lacage@sophia.inria.fr> |
Fri, 09 Nov 2007 08:44:03 +0100 | |
changeset 2091 | 9ef23a8f0980 |
parent 2059 | d8b7b2de044e |
child 2146 | 40ad60ac9912 |
permissions | -rw-r--r-- |
1929
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
1 |
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
2 |
/* |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
3 |
* Copyright (c) 2005 INRIA |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
4 |
* |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
5 |
* This program is free software; you can redistribute it and/or modify |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
6 |
* it under the terms of the GNU General Public License version 2 as |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
7 |
* published by the Free Software Foundation; |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
8 |
* |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
9 |
* This program is distributed in the hope that it will be useful, |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
12 |
* GNU General Public License for more details. |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
13 |
* |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
14 |
* You should have received a copy of the GNU General Public License |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
15 |
* along with this program; if not, write to the Free Software |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
16 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
17 |
* |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
18 |
* Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr> |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
19 |
*/ |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
20 |
|
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
21 |
#ifndef DCA_TXOP_H |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
22 |
#define DCA_TXOP_H |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
23 |
|
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
24 |
#include <stdint.h> |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
25 |
#include "ns3/callback.h" |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
26 |
#include "ns3/packet.h" |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
27 |
#include "ns3/callback-trace-source.h" |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
28 |
#include "ns3/nstime.h" |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
29 |
#include "wifi-mac-header.h" |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
30 |
#include "wifi-mode.h" |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
31 |
|
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
32 |
namespace ns3 { |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
33 |
|
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
34 |
class Dcf; |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
35 |
class WifiMacQueue; |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
36 |
class MacLow; |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
37 |
class WifiPhy; |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
38 |
class MacParameters; |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
39 |
class MacTxMiddle; |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
40 |
|
2059 | 41 |
/** |
42 |
* \brief handle packet fragmentation and retransmissions. |
|
43 |
* |
|
44 |
* This class implements the packet fragmentation and |
|
45 |
* retransmission policy. It uses the ns3::MacLow and ns3::Dcf |
|
46 |
* helper classes to respectively send packets and decide when |
|
47 |
* to send them. Packets are stored in a ns3::WifiMacQueue until |
|
48 |
* they can be sent. |
|
49 |
* |
|
50 |
* The policy currently implemented uses a simple fragmentation |
|
51 |
* threshold: any packet bigger than this threshold is fragmented |
|
52 |
* in fragments whose size is smaller than the threshold. |
|
53 |
* |
|
54 |
* The retransmission policy is also very simple: every packet is |
|
55 |
* retransmitted until it is either successfully transmitted or |
|
56 |
* it has been retransmitted up until the ssrc or slrc thresholds. |
|
57 |
* |
|
58 |
* The rts/cts policy is similar to the fragmentation policy: when |
|
59 |
* a packet is bigger than a threshold, the rts/cts protocol is used. |
|
60 |
*/ |
|
1929
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
61 |
class DcaTxop |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
62 |
{ |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
63 |
public: |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
64 |
typedef Callback <void, WifiMacHeader const&> TxOk; |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
65 |
typedef Callback <void, WifiMacHeader const&> TxFailed; |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
66 |
|
2059 | 67 |
/** |
68 |
* \param minCw forwarded to ns3::Dcf constructor |
|
69 |
* \param maxCw forwarded to ns3::Dcf constructor |
|
70 |
* |
|
71 |
* Initialized from \valueref{WifiMaxSsrc}, \valueref{WifiMaxSlrc}, |
|
72 |
* \valueref{WifiRtsCtsThreshold}, and, \valueref{WifiFragmentationThreshold}. |
|
73 |
*/ |
|
1969
a3803bfd94f9
fix valgrind warning
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
1929
diff
changeset
|
74 |
DcaTxop (uint32_t minCw, uint32_t maxCw); |
1929
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
75 |
~DcaTxop (); |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
76 |
|
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
77 |
void SetLow (MacLow *low); |
2054
ba8e810bae4c
derive WifiPhy from Object and manage it with a Ptr<>
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
1969
diff
changeset
|
78 |
void SetPhy (Ptr<WifiPhy> phy); |
1929
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
79 |
void SetParameters (MacParameters *parameters); |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
80 |
void SetTxMiddle (MacTxMiddle *txMiddle); |
2059 | 81 |
/** |
82 |
* \param callback the callback to invoke when a |
|
83 |
* packet transmission was completed successfully. |
|
84 |
*/ |
|
1929
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
85 |
void SetTxOkCallback (TxOk callback); |
2059 | 86 |
/** |
87 |
* \param callback the callback to invoke when a |
|
88 |
* packet transmission was completed unsuccessfully. |
|
89 |
*/ |
|
1929
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
90 |
void SetTxFailedCallback (TxFailed callback); |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
91 |
|
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
92 |
void SetDifs (Time difs); |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
93 |
void SetEifs (Time eifs); |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
94 |
void SetCwBounds (uint32_t min, uint32_t max); |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
95 |
void SetMaxQueueSize (uint32_t size); |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
96 |
void SetMaxQueueDelay (Time delay); |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
97 |
|
2059 | 98 |
/** |
99 |
* \param packet packet to send |
|
100 |
* \param hdr header of packet to send. |
|
101 |
* |
|
102 |
* Store the packet in the internal queue until it |
|
103 |
* can be sent safely. |
|
104 |
*/ |
|
1929
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
105 |
void Queue (Packet packet, WifiMacHeader const &hdr); |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
106 |
private: |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
107 |
class AccessListener; |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
108 |
class TransmissionListener; |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
109 |
class NavListener; |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
110 |
class PhyListener; |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
111 |
friend class AccessListener; |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
112 |
friend class TransmissionListener; |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
113 |
|
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
114 |
MacLow *Low (void); |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
115 |
MacParameters *Parameters (void); |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
116 |
|
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
117 |
/* event handlers */ |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
118 |
void AccessGrantedNow (void); |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
119 |
bool AccessingAndWillNotify (void); |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
120 |
bool AccessNeeded (void); |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
121 |
void GotCts (double snr, WifiMode txMode); |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
122 |
void MissedCts (void); |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
123 |
void GotAck (double snr, WifiMode txMode); |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
124 |
void MissedAck (void); |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
125 |
void StartNext (void); |
2091
9ef23a8f0980
handle cancel events
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2059
diff
changeset
|
126 |
void Cancel (void); |
1929
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
127 |
|
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
128 |
bool NeedRts (void); |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
129 |
bool NeedFragmentation (void); |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
130 |
uint32_t GetNFragments (void); |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
131 |
uint32_t GetLastFragmentSize (void); |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
132 |
uint32_t GetNextFragmentSize (void); |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
133 |
uint32_t GetFragmentSize (void); |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
134 |
bool IsLastFragment (void); |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
135 |
void NextFragment (void); |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
136 |
Packet GetFragmentPacket (WifiMacHeader *hdr); |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
137 |
|
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
138 |
Dcf *m_dcf; |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
139 |
TxOk m_txOkCallback; |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
140 |
TxFailed m_txFailedCallback; |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
141 |
WifiMacQueue *m_queue; |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
142 |
MacTxMiddle *m_txMiddle; |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
143 |
MacLow *m_low; |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
144 |
MacParameters *m_parameters; |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
145 |
TransmissionListener *m_transmissionListener; |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
146 |
AccessListener *m_accessListener; |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
147 |
NavListener *m_navListener; |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
148 |
PhyListener *m_phyListener; |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
149 |
|
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
150 |
|
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
151 |
Packet m_currentPacket; |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
152 |
bool m_hasCurrent; |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
153 |
WifiMacHeader m_currentHdr; |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
154 |
uint32_t m_ssrc; |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
155 |
uint32_t m_slrc; |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
156 |
uint8_t m_fragmentNumber; |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
157 |
|
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
158 |
/* 80211-dca-acktimeout |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
159 |
* param1: slrc |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
160 |
*/ |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
161 |
CallbackTraceSource<uint32_t> m_acktimeoutTrace; |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
162 |
/* 80211-dca-ctstimeout |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
163 |
* param1: ssrc |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
164 |
*/ |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
165 |
CallbackTraceSource<uint32_t> m_ctstimeoutTrace; |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
166 |
}; |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
167 |
|
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
168 |
} //namespace ns3 |
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
169 |
|
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
170 |
|
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
171 |
|
437bba482899
add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff
changeset
|
172 |
#endif /* DCA_TXOP_H */ |