author | Sébastien Deronne <sebastien.deronne@gmail.com> |
Thu, 03 Sep 2015 22:16:49 +0200 | |
changeset 11628 | 243b71de25a0 |
parent 11606 | 98fa74311b21 |
permissions | -rwxr-xr-x |
7385
10beb0e53130
standardize emacs c++ mode comments
Vedran Miletić <rivanvx@gmail.com>
parents:
7334
diff
changeset
|
1 |
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
1889 | 2 |
/* |
3 |
* Copyright (c) 2005,2006 INRIA |
|
4 |
* |
|
5 |
* This program is free software; you can redistribute it and/or modify |
|
7141
072fb225b714
run check-style.py on src/wifi
Nicola Baldo <nicola@baldo.biz>
parents:
7139
diff
changeset
|
6 |
* it under the terms of the GNU General Public License version 2 as |
1889 | 7 |
* published by the Free Software Foundation; |
8 |
* |
|
9 |
* This program is distributed in the hope that it will be useful, |
|
10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 |
* GNU General Public License for more details. |
|
13 |
* |
|
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 |
|
16 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
17 |
* |
|
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
18 |
* Authors: Mathieu Lacage <mathieu.lacage@sophia.inria.fr> |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
19 |
* Sébastien Deronne <sebastien.deronne@gmail.com> |
1889 | 20 |
*/ |
21 |
||
1890
a2b30c6456c9
Phy80211 -> WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
1889
diff
changeset
|
22 |
#ifndef WIFI_PHY_H |
a2b30c6456c9
Phy80211 -> WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
1889
diff
changeset
|
23 |
#define WIFI_PHY_H |
1889 | 24 |
|
25 |
#include <stdint.h> |
|
26 |
#include "ns3/callback.h" |
|
27 |
#include "ns3/packet.h" |
|
2054
ba8e810bae4c
derive WifiPhy from Object and manage it with a Ptr<>
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
1988
diff
changeset
|
28 |
#include "ns3/object.h" |
1889 | 29 |
#include "ns3/nstime.h" |
30 |
#include "ns3/ptr.h" |
|
1902
26a57487bb49
no need for ns3 prefix
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
1892
diff
changeset
|
31 |
#include "wifi-mode.h" |
1920
1d4864775cf8
replace header mode with preamble mode
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
1919
diff
changeset
|
32 |
#include "wifi-preamble.h" |
2166
00b5eb43dba2
Improve the accuracy of 802.11a tx duration calculations.
Federico Maguolo <federico.maguolo@dei.unipd.it>
parents:
2159
diff
changeset
|
33 |
#include "wifi-phy-standard.h" |
4263
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
34 |
#include "ns3/traced-callback.h" |
10139 | 35 |
#include "wifi-tx-vector.h" |
1889 | 36 |
|
37 |
namespace ns3 { |
|
38 |
||
1891
add6fb8761f3
use WifiMode rather than TransmissionMode
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
1890
diff
changeset
|
39 |
class WifiChannel; |
3912
4d1a61f80745
new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3906
diff
changeset
|
40 |
class NetDevice; |
1889 | 41 |
|
11492
2e3b8610f78b
rename snrDb to signalNoiseDbm
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11481
diff
changeset
|
42 |
struct signalNoiseDbm |
11479
a3dcf66928f3
add support for HT MCS and A-MPDU in radiotap headers
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11452
diff
changeset
|
43 |
{ |
11492
2e3b8610f78b
rename snrDb to signalNoiseDbm
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11481
diff
changeset
|
44 |
double signal; //in dBm |
2e3b8610f78b
rename snrDb to signalNoiseDbm
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11481
diff
changeset
|
45 |
double noise; //in dBm |
11479
a3dcf66928f3
add support for HT MCS and A-MPDU in radiotap headers
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11452
diff
changeset
|
46 |
}; |
a3dcf66928f3
add support for HT MCS and A-MPDU in radiotap headers
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11452
diff
changeset
|
47 |
|
a3dcf66928f3
add support for HT MCS and A-MPDU in radiotap headers
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11452
diff
changeset
|
48 |
struct mpduInfo |
a3dcf66928f3
add support for HT MCS and A-MPDU in radiotap headers
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11452
diff
changeset
|
49 |
{ |
a3dcf66928f3
add support for HT MCS and A-MPDU in radiotap headers
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11452
diff
changeset
|
50 |
uint8_t packetType; |
a3dcf66928f3
add support for HT MCS and A-MPDU in radiotap headers
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11452
diff
changeset
|
51 |
uint32_t referenceNumber; |
a3dcf66928f3
add support for HT MCS and A-MPDU in radiotap headers
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11452
diff
changeset
|
52 |
}; |
a3dcf66928f3
add support for HT MCS and A-MPDU in radiotap headers
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11452
diff
changeset
|
53 |
|
2684
68c643329c2b
improve doxygen
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2659
diff
changeset
|
54 |
/** |
68c643329c2b
improve doxygen
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2659
diff
changeset
|
55 |
* \brief receive notifications about phy events. |
68c643329c2b
improve doxygen
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2659
diff
changeset
|
56 |
*/ |
7141
072fb225b714
run check-style.py on src/wifi
Nicola Baldo <nicola@baldo.biz>
parents:
7139
diff
changeset
|
57 |
class WifiPhyListener |
072fb225b714
run check-style.py on src/wifi
Nicola Baldo <nicola@baldo.biz>
parents:
7139
diff
changeset
|
58 |
{ |
1889 | 59 |
public: |
1890
a2b30c6456c9
Phy80211 -> WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
1889
diff
changeset
|
60 |
virtual ~WifiPhyListener (); |
1889 | 61 |
|
2684
68c643329c2b
improve doxygen
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2659
diff
changeset
|
62 |
/** |
68c643329c2b
improve doxygen
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2659
diff
changeset
|
63 |
* \param duration the expected duration of the packet reception. |
68c643329c2b
improve doxygen
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2659
diff
changeset
|
64 |
* |
3905
99c9346b5d71
split interference calculation from YansWifiPhy. Move them to InterferenceHelper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3899
diff
changeset
|
65 |
* We have received the first bit of a packet. We decided |
1889 | 66 |
* that we could synchronize on this packet. It does not mean |
67 |
* we will be able to successfully receive completely the |
|
3905
99c9346b5d71
split interference calculation from YansWifiPhy. Move them to InterferenceHelper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3899
diff
changeset
|
68 |
* whole packet. It means that we will report a BUSY status until |
99c9346b5d71
split interference calculation from YansWifiPhy. Move them to InterferenceHelper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3899
diff
changeset
|
69 |
* one of the following happens: |
99c9346b5d71
split interference calculation from YansWifiPhy. Move them to InterferenceHelper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3899
diff
changeset
|
70 |
* - NotifyRxEndOk |
8867
743aeb2fef78
fixed typo in doxygen of WifiPhyListener
Nicola Baldo <nbaldo@cttc.es>
parents:
7600
diff
changeset
|
71 |
* - NotifyRxEndError |
3905
99c9346b5d71
split interference calculation from YansWifiPhy. Move them to InterferenceHelper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3899
diff
changeset
|
72 |
* - NotifyTxStart |
1889 | 73 |
*/ |
74 |
virtual void NotifyRxStart (Time duration) = 0; |
|
2684
68c643329c2b
improve doxygen
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2659
diff
changeset
|
75 |
/** |
3905
99c9346b5d71
split interference calculation from YansWifiPhy. Move them to InterferenceHelper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3899
diff
changeset
|
76 |
* We have received the last bit of a packet for which |
2684
68c643329c2b
improve doxygen
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2659
diff
changeset
|
77 |
* NotifyRxStart was invoked first and, the packet has |
68c643329c2b
improve doxygen
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2659
diff
changeset
|
78 |
* been successfully received. |
1889 | 79 |
*/ |
7141
072fb225b714
run check-style.py on src/wifi
Nicola Baldo <nicola@baldo.biz>
parents:
7139
diff
changeset
|
80 |
virtual void NotifyRxEndOk (void) = 0; |
2684
68c643329c2b
improve doxygen
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2659
diff
changeset
|
81 |
/** |
3905
99c9346b5d71
split interference calculation from YansWifiPhy. Move them to InterferenceHelper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3899
diff
changeset
|
82 |
* We have received the last bit of a packet for which |
2684
68c643329c2b
improve doxygen
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2659
diff
changeset
|
83 |
* NotifyRxStart was invoked first and, the packet has |
68c643329c2b
improve doxygen
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2659
diff
changeset
|
84 |
* _not_ been successfully received. |
68c643329c2b
improve doxygen
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2659
diff
changeset
|
85 |
*/ |
1889 | 86 |
virtual void NotifyRxEndError (void) = 0; |
2684
68c643329c2b
improve doxygen
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2659
diff
changeset
|
87 |
/** |
68c643329c2b
improve doxygen
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2659
diff
changeset
|
88 |
* \param duration the expected transmission duration. |
10883
d919e7194e23
add support for a Wifi sleep mode
Stefano Avallone <stefano.avallone@unina.it>
parents:
10607
diff
changeset
|
89 |
* \param txPowerDbm the nominal tx power in dBm |
2684
68c643329c2b
improve doxygen
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2659
diff
changeset
|
90 |
* |
68c643329c2b
improve doxygen
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2659
diff
changeset
|
91 |
* We are about to send the first bit of the packet. |
7141
072fb225b714
run check-style.py on src/wifi
Nicola Baldo <nicola@baldo.biz>
parents:
7139
diff
changeset
|
92 |
* We do not send any event to notify the end of |
3905
99c9346b5d71
split interference calculation from YansWifiPhy. Move them to InterferenceHelper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3899
diff
changeset
|
93 |
* transmission. Listeners should assume that the |
99c9346b5d71
split interference calculation from YansWifiPhy. Move them to InterferenceHelper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3899
diff
changeset
|
94 |
* channel implicitely reverts to the idle state |
99c9346b5d71
split interference calculation from YansWifiPhy. Move them to InterferenceHelper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3899
diff
changeset
|
95 |
* unless they have received a cca busy report. |
1889 | 96 |
*/ |
10883
d919e7194e23
add support for a Wifi sleep mode
Stefano Avallone <stefano.avallone@unina.it>
parents:
10607
diff
changeset
|
97 |
virtual void NotifyTxStart (Time duration, double txPowerDbm) = 0; |
2684
68c643329c2b
improve doxygen
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2659
diff
changeset
|
98 |
/** |
68c643329c2b
improve doxygen
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2659
diff
changeset
|
99 |
* \param duration the expected busy duration. |
68c643329c2b
improve doxygen
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2659
diff
changeset
|
100 |
* |
3905
99c9346b5d71
split interference calculation from YansWifiPhy. Move them to InterferenceHelper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3899
diff
changeset
|
101 |
* This method does not really report a real state |
99c9346b5d71
split interference calculation from YansWifiPhy. Move them to InterferenceHelper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3899
diff
changeset
|
102 |
* change as opposed to the other methods in this class. |
99c9346b5d71
split interference calculation from YansWifiPhy. Move them to InterferenceHelper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3899
diff
changeset
|
103 |
* It merely reports that, unless the medium is reported |
7141
072fb225b714
run check-style.py on src/wifi
Nicola Baldo <nicola@baldo.biz>
parents:
7139
diff
changeset
|
104 |
* busy through NotifyTxStart or NotifyRxStart/End, |
072fb225b714
run check-style.py on src/wifi
Nicola Baldo <nicola@baldo.biz>
parents:
7139
diff
changeset
|
105 |
* it will be busy as defined by the currently selected |
3905
99c9346b5d71
split interference calculation from YansWifiPhy. Move them to InterferenceHelper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3899
diff
changeset
|
106 |
* CCA mode. |
99c9346b5d71
split interference calculation from YansWifiPhy. Move them to InterferenceHelper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3899
diff
changeset
|
107 |
* |
99c9346b5d71
split interference calculation from YansWifiPhy. Move them to InterferenceHelper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3899
diff
changeset
|
108 |
* Typical client code which wants to have a clear picture |
99c9346b5d71
split interference calculation from YansWifiPhy. Move them to InterferenceHelper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3899
diff
changeset
|
109 |
* of the CCA state will need to keep track of the time at |
99c9346b5d71
split interference calculation from YansWifiPhy. Move them to InterferenceHelper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3899
diff
changeset
|
110 |
* which the last NotifyCcaBusyStart method is called and |
99c9346b5d71
split interference calculation from YansWifiPhy. Move them to InterferenceHelper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3899
diff
changeset
|
111 |
* what duration it reported. |
2684
68c643329c2b
improve doxygen
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2659
diff
changeset
|
112 |
*/ |
3905
99c9346b5d71
split interference calculation from YansWifiPhy. Move them to InterferenceHelper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3899
diff
changeset
|
113 |
virtual void NotifyMaybeCcaBusyStart (Time duration) = 0; |
5189 | 114 |
/** |
115 |
* \param duration the expected channel switching duration. |
|
116 |
* |
|
7141
072fb225b714
run check-style.py on src/wifi
Nicola Baldo <nicola@baldo.biz>
parents:
7139
diff
changeset
|
117 |
* We do not send any event to notify the end of |
5189 | 118 |
* channel switching. Listeners should assume that the |
119 |
* channel implicitely reverts to the idle or busy states. |
|
120 |
*/ |
|
7141
072fb225b714
run check-style.py on src/wifi
Nicola Baldo <nicola@baldo.biz>
parents:
7139
diff
changeset
|
121 |
virtual void NotifySwitchingStart (Time duration) = 0; |
10883
d919e7194e23
add support for a Wifi sleep mode
Stefano Avallone <stefano.avallone@unina.it>
parents:
10607
diff
changeset
|
122 |
/** |
d919e7194e23
add support for a Wifi sleep mode
Stefano Avallone <stefano.avallone@unina.it>
parents:
10607
diff
changeset
|
123 |
* Notify listeners that we went to sleep |
d919e7194e23
add support for a Wifi sleep mode
Stefano Avallone <stefano.avallone@unina.it>
parents:
10607
diff
changeset
|
124 |
*/ |
d919e7194e23
add support for a Wifi sleep mode
Stefano Avallone <stefano.avallone@unina.it>
parents:
10607
diff
changeset
|
125 |
virtual void NotifySleep (void) = 0; |
d919e7194e23
add support for a Wifi sleep mode
Stefano Avallone <stefano.avallone@unina.it>
parents:
10607
diff
changeset
|
126 |
/** |
d919e7194e23
add support for a Wifi sleep mode
Stefano Avallone <stefano.avallone@unina.it>
parents:
10607
diff
changeset
|
127 |
* Notify listeners that we woke up |
d919e7194e23
add support for a Wifi sleep mode
Stefano Avallone <stefano.avallone@unina.it>
parents:
10607
diff
changeset
|
128 |
*/ |
d919e7194e23
add support for a Wifi sleep mode
Stefano Avallone <stefano.avallone@unina.it>
parents:
10607
diff
changeset
|
129 |
virtual void NotifyWakeup (void) = 0; |
1889 | 130 |
}; |
131 |
||
132 |
||
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
133 |
/** |
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
134 |
* \brief 802.11 PHY layer model |
7139
79dd02ed46ec
doxygen wifi module grouping all wifi classes
Nicola Baldo <nbaldo@cttc.es>
parents:
6852
diff
changeset
|
135 |
* \ingroup wifi |
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
136 |
* |
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
137 |
*/ |
2054
ba8e810bae4c
derive WifiPhy from Object and manage it with a Ptr<>
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
1988
diff
changeset
|
138 |
class WifiPhy : public Object |
1889 | 139 |
{ |
140 |
public: |
|
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
141 |
/** |
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
142 |
* The state of the PHY layer. |
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
143 |
*/ |
7141
072fb225b714
run check-style.py on src/wifi
Nicola Baldo <nicola@baldo.biz>
parents:
7139
diff
changeset
|
144 |
enum State |
072fb225b714
run check-style.py on src/wifi
Nicola Baldo <nicola@baldo.biz>
parents:
7139
diff
changeset
|
145 |
{ |
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
146 |
/** |
5820
1c02054740eb
Renaming WifiPhy state SYNC to RX to avoid confusion with "synchronizing".
Timo Bingmann <tbns@idlebox.net>
parents:
5189
diff
changeset
|
147 |
* The PHY layer is IDLE. |
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
148 |
*/ |
5820
1c02054740eb
Renaming WifiPhy state SYNC to RX to avoid confusion with "synchronizing".
Timo Bingmann <tbns@idlebox.net>
parents:
5189
diff
changeset
|
149 |
IDLE, |
1c02054740eb
Renaming WifiPhy state SYNC to RX to avoid confusion with "synchronizing".
Timo Bingmann <tbns@idlebox.net>
parents:
5189
diff
changeset
|
150 |
/** |
1c02054740eb
Renaming WifiPhy state SYNC to RX to avoid confusion with "synchronizing".
Timo Bingmann <tbns@idlebox.net>
parents:
5189
diff
changeset
|
151 |
* The PHY layer has sense the medium busy through the CCA mechanism |
1c02054740eb
Renaming WifiPhy state SYNC to RX to avoid confusion with "synchronizing".
Timo Bingmann <tbns@idlebox.net>
parents:
5189
diff
changeset
|
152 |
*/ |
1c02054740eb
Renaming WifiPhy state SYNC to RX to avoid confusion with "synchronizing".
Timo Bingmann <tbns@idlebox.net>
parents:
5189
diff
changeset
|
153 |
CCA_BUSY, |
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
154 |
/** |
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
155 |
* The PHY layer is sending a packet. |
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
156 |
*/ |
2055
8899d6ef5d52
phy state logger
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2054
diff
changeset
|
157 |
TX, |
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
158 |
/** |
5820
1c02054740eb
Renaming WifiPhy state SYNC to RX to avoid confusion with "synchronizing".
Timo Bingmann <tbns@idlebox.net>
parents:
5189
diff
changeset
|
159 |
* The PHY layer is receiving a packet. |
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
160 |
*/ |
5820
1c02054740eb
Renaming WifiPhy state SYNC to RX to avoid confusion with "synchronizing".
Timo Bingmann <tbns@idlebox.net>
parents:
5189
diff
changeset
|
161 |
RX, |
5189 | 162 |
/** |
163 |
* The PHY layer is switching to other channel. |
|
164 |
*/ |
|
10883
d919e7194e23
add support for a Wifi sleep mode
Stefano Avallone <stefano.avallone@unina.it>
parents:
10607
diff
changeset
|
165 |
SWITCHING, |
d919e7194e23
add support for a Wifi sleep mode
Stefano Avallone <stefano.avallone@unina.it>
parents:
10607
diff
changeset
|
166 |
/** |
d919e7194e23
add support for a Wifi sleep mode
Stefano Avallone <stefano.avallone@unina.it>
parents:
10607
diff
changeset
|
167 |
* The PHY layer is sleeping. |
d919e7194e23
add support for a Wifi sleep mode
Stefano Avallone <stefano.avallone@unina.it>
parents:
10607
diff
changeset
|
168 |
*/ |
d919e7194e23
add support for a Wifi sleep mode
Stefano Avallone <stefano.avallone@unina.it>
parents:
10607
diff
changeset
|
169 |
SLEEP |
2055
8899d6ef5d52
phy state logger
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2054
diff
changeset
|
170 |
}; |
5820
1c02054740eb
Renaming WifiPhy state SYNC to RX to avoid confusion with "synchronizing".
Timo Bingmann <tbns@idlebox.net>
parents:
5189
diff
changeset
|
171 |
|
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
172 |
/** |
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
173 |
* arg1: packet received successfully |
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
174 |
* arg2: snr of packet |
11384
935dc1cc08a4
Bug 2097 [wifi] - ACKs should be sent using legacy rates and preambles in 802.11n
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11348
diff
changeset
|
175 |
* arg3: TXVECTOR of packet |
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
176 |
* arg4: type of preamble used for packet. |
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
177 |
*/ |
11442
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
178 |
typedef Callback<void, Ptr<Packet>, double, WifiTxVector, enum WifiPreamble> RxOkCallback; |
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
179 |
/** |
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
180 |
* arg1: packet received unsuccessfully |
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
181 |
* arg2: snr of packet |
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
182 |
*/ |
11442
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
183 |
typedef Callback<void, Ptr<const Packet>, double> RxErrorCallback; |
1889 | 184 |
|
2524
db72c0e7743e
port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2166
diff
changeset
|
185 |
static TypeId GetTypeId (void); |
db72c0e7743e
port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2166
diff
changeset
|
186 |
|
db72c0e7743e
port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2166
diff
changeset
|
187 |
WifiPhy (); |
db72c0e7743e
port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2166
diff
changeset
|
188 |
virtual ~WifiPhy (); |
db72c0e7743e
port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2166
diff
changeset
|
189 |
|
10424
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
190 |
/** |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
191 |
* Return the minimum available transmission power level (dBm). |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
192 |
* |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
193 |
* \return the minimum available transmission power level in dBm |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
194 |
*/ |
3888
a15618dcd0eb
rename WifiPhy to YansWifiPhy and add WifiPhy abstract base class.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3887
diff
changeset
|
195 |
virtual double GetTxPowerStart (void) const = 0; |
10424
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
196 |
/** |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
197 |
* Return the maximum available transmission power level (dBm). |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
198 |
* |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
199 |
* \return the maximum available transmission power level in dBm |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
200 |
*/ |
3888
a15618dcd0eb
rename WifiPhy to YansWifiPhy and add WifiPhy abstract base class.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3887
diff
changeset
|
201 |
virtual double GetTxPowerEnd (void) const = 0; |
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
202 |
/** |
10424
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
203 |
* \return the number of tx power levels available for this PHY. |
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
204 |
*/ |
3888
a15618dcd0eb
rename WifiPhy to YansWifiPhy and add WifiPhy abstract base class.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3887
diff
changeset
|
205 |
virtual uint32_t GetNTxPower (void) const = 0; |
1891
add6fb8761f3
use WifiMode rather than TransmissionMode
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
1890
diff
changeset
|
206 |
|
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
207 |
/** |
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
208 |
* \param callback the callback to invoke |
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
209 |
* upon successful packet reception. |
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
210 |
*/ |
5820
1c02054740eb
Renaming WifiPhy state SYNC to RX to avoid confusion with "synchronizing".
Timo Bingmann <tbns@idlebox.net>
parents:
5189
diff
changeset
|
211 |
virtual void SetReceiveOkCallback (RxOkCallback callback) = 0; |
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
212 |
/** |
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
213 |
* \param callback the callback to invoke |
6273
8d70de29d514
spell check, mostly in comments.
Andrey Mazo <mazo@iitp.ru>
parents:
5820
diff
changeset
|
214 |
* upon erroneous packet reception. |
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
215 |
*/ |
5820
1c02054740eb
Renaming WifiPhy state SYNC to RX to avoid confusion with "synchronizing".
Timo Bingmann <tbns@idlebox.net>
parents:
5189
diff
changeset
|
216 |
virtual void SetReceiveErrorCallback (RxErrorCallback callback) = 0; |
1889 | 217 |
|
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
218 |
/** |
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
219 |
* \param packet the packet to send |
11570 | 220 |
* \param txVector the TXVECTOR that has tx parameters such as mode, the transmission mode to use to send |
10883
d919e7194e23
add support for a Wifi sleep mode
Stefano Avallone <stefano.avallone@unina.it>
parents:
10607
diff
changeset
|
221 |
* this packet, and txPowerLevel, a power level to use to send this packet. The real transmission |
d919e7194e23
add support for a Wifi sleep mode
Stefano Avallone <stefano.avallone@unina.it>
parents:
10607
diff
changeset
|
222 |
* power is calculated as txPowerMin + txPowerLevel * (txPowerMax - txPowerMin) / nTxLevels |
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
223 |
* \param preamble the type of preamble to use to send this packet. |
11174
780a43e4980c
add MPDU aggregation (with contributions from Sebastien Deronne and Ioannis Selinis)
Ghada Badawy <gbadawy@gmail.com>
parents:
11159
diff
changeset
|
224 |
* \param packetType the type of the packet 0 is not A-MPDU, 1 is a MPDU that is part of an A-MPDU and 2 is the last MPDU in an A-MPDU |
11479
a3dcf66928f3
add support for HT MCS and A-MPDU in radiotap headers
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11452
diff
changeset
|
225 |
* \param mpduReferenceNumber the A-MPDU reference number (must be a different value for each A-MPDU but the same for each subframe within one A-MPDU) |
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
226 |
*/ |
11570 | 227 |
virtual void SendPacket (Ptr<const Packet> packet, WifiTxVector txVector, enum WifiPreamble preamble, uint8_t packetType, uint32_t mpduReferenceNumber) = 0; |
1889 | 228 |
|
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
229 |
/** |
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
230 |
* \param listener the new listener |
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
231 |
* |
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
232 |
* Add the input listener to the list of objects to be notified of |
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
233 |
* PHY-level events. |
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
234 |
*/ |
3888
a15618dcd0eb
rename WifiPhy to YansWifiPhy and add WifiPhy abstract base class.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3887
diff
changeset
|
235 |
virtual void RegisterListener (WifiPhyListener *listener) = 0; |
11159
b744c32b69bc
patch to support IEEE 1609.4 MAC extension in wave module
Junling Bu <linlinjavaer@gmail.com>
parents:
11119
diff
changeset
|
236 |
/** |
b744c32b69bc
patch to support IEEE 1609.4 MAC extension in wave module
Junling Bu <linlinjavaer@gmail.com>
parents:
11119
diff
changeset
|
237 |
* \param listener the listener to be unregistered |
b744c32b69bc
patch to support IEEE 1609.4 MAC extension in wave module
Junling Bu <linlinjavaer@gmail.com>
parents:
11119
diff
changeset
|
238 |
* |
b744c32b69bc
patch to support IEEE 1609.4 MAC extension in wave module
Junling Bu <linlinjavaer@gmail.com>
parents:
11119
diff
changeset
|
239 |
* Remove the input listener from the list of objects to be notified of |
b744c32b69bc
patch to support IEEE 1609.4 MAC extension in wave module
Junling Bu <linlinjavaer@gmail.com>
parents:
11119
diff
changeset
|
240 |
* PHY-level events. |
b744c32b69bc
patch to support IEEE 1609.4 MAC extension in wave module
Junling Bu <linlinjavaer@gmail.com>
parents:
11119
diff
changeset
|
241 |
*/ |
b744c32b69bc
patch to support IEEE 1609.4 MAC extension in wave module
Junling Bu <linlinjavaer@gmail.com>
parents:
11119
diff
changeset
|
242 |
virtual void UnregisterListener (WifiPhyListener *listener) = 0; |
1889 | 243 |
|
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
244 |
/** |
10883
d919e7194e23
add support for a Wifi sleep mode
Stefano Avallone <stefano.avallone@unina.it>
parents:
10607
diff
changeset
|
245 |
* Put in sleep mode. |
d919e7194e23
add support for a Wifi sleep mode
Stefano Avallone <stefano.avallone@unina.it>
parents:
10607
diff
changeset
|
246 |
*/ |
d919e7194e23
add support for a Wifi sleep mode
Stefano Avallone <stefano.avallone@unina.it>
parents:
10607
diff
changeset
|
247 |
virtual void SetSleepMode (void) = 0; |
d919e7194e23
add support for a Wifi sleep mode
Stefano Avallone <stefano.avallone@unina.it>
parents:
10607
diff
changeset
|
248 |
/** |
d919e7194e23
add support for a Wifi sleep mode
Stefano Avallone <stefano.avallone@unina.it>
parents:
10607
diff
changeset
|
249 |
* Resume from sleep mode. |
d919e7194e23
add support for a Wifi sleep mode
Stefano Avallone <stefano.avallone@unina.it>
parents:
10607
diff
changeset
|
250 |
*/ |
d919e7194e23
add support for a Wifi sleep mode
Stefano Avallone <stefano.avallone@unina.it>
parents:
10607
diff
changeset
|
251 |
virtual void ResumeFromSleep (void) = 0; |
d919e7194e23
add support for a Wifi sleep mode
Stefano Avallone <stefano.avallone@unina.it>
parents:
10607
diff
changeset
|
252 |
|
d919e7194e23
add support for a Wifi sleep mode
Stefano Avallone <stefano.avallone@unina.it>
parents:
10607
diff
changeset
|
253 |
/** |
10424
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
254 |
* \return true of the current state of the PHY layer is WifiPhy::IDLE, false otherwise. |
5820
1c02054740eb
Renaming WifiPhy state SYNC to RX to avoid confusion with "synchronizing".
Timo Bingmann <tbns@idlebox.net>
parents:
5189
diff
changeset
|
255 |
*/ |
1c02054740eb
Renaming WifiPhy state SYNC to RX to avoid confusion with "synchronizing".
Timo Bingmann <tbns@idlebox.net>
parents:
5189
diff
changeset
|
256 |
virtual bool IsStateIdle (void) = 0; |
1c02054740eb
Renaming WifiPhy state SYNC to RX to avoid confusion with "synchronizing".
Timo Bingmann <tbns@idlebox.net>
parents:
5189
diff
changeset
|
257 |
/** |
10424
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
258 |
* \return true of the current state of the PHY layer is WifiPhy::CCA_BUSY, false otherwise. |
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
259 |
*/ |
3888
a15618dcd0eb
rename WifiPhy to YansWifiPhy and add WifiPhy abstract base class.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3887
diff
changeset
|
260 |
virtual bool IsStateCcaBusy (void) = 0; |
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
261 |
/** |
10424
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
262 |
* \return true of the current state of the PHY layer is not WifiPhy::IDLE, false otherwise. |
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
263 |
*/ |
3888
a15618dcd0eb
rename WifiPhy to YansWifiPhy and add WifiPhy abstract base class.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3887
diff
changeset
|
264 |
virtual bool IsStateBusy (void) = 0; |
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
265 |
/** |
10424
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
266 |
* \return true of the current state of the PHY layer is WifiPhy::RX, false otherwise. |
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
267 |
*/ |
5820
1c02054740eb
Renaming WifiPhy state SYNC to RX to avoid confusion with "synchronizing".
Timo Bingmann <tbns@idlebox.net>
parents:
5189
diff
changeset
|
268 |
virtual bool IsStateRx (void) = 0; |
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
269 |
/** |
10424
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
270 |
* \return true of the current state of the PHY layer is WifiPhy::TX, false otherwise. |
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
271 |
*/ |
3888
a15618dcd0eb
rename WifiPhy to YansWifiPhy and add WifiPhy abstract base class.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3887
diff
changeset
|
272 |
virtual bool IsStateTx (void) = 0; |
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
273 |
/** |
10424
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
274 |
* \return true of the current state of the PHY layer is WifiPhy::SWITCHING, false otherwise. |
5820
1c02054740eb
Renaming WifiPhy state SYNC to RX to avoid confusion with "synchronizing".
Timo Bingmann <tbns@idlebox.net>
parents:
5189
diff
changeset
|
275 |
*/ |
1c02054740eb
Renaming WifiPhy state SYNC to RX to avoid confusion with "synchronizing".
Timo Bingmann <tbns@idlebox.net>
parents:
5189
diff
changeset
|
276 |
virtual bool IsStateSwitching (void) = 0; |
1c02054740eb
Renaming WifiPhy state SYNC to RX to avoid confusion with "synchronizing".
Timo Bingmann <tbns@idlebox.net>
parents:
5189
diff
changeset
|
277 |
/** |
10883
d919e7194e23
add support for a Wifi sleep mode
Stefano Avallone <stefano.avallone@unina.it>
parents:
10607
diff
changeset
|
278 |
* \return true if the current state of the PHY layer is WifiPhy::SLEEP, false otherwise. |
d919e7194e23
add support for a Wifi sleep mode
Stefano Avallone <stefano.avallone@unina.it>
parents:
10607
diff
changeset
|
279 |
*/ |
d919e7194e23
add support for a Wifi sleep mode
Stefano Avallone <stefano.avallone@unina.it>
parents:
10607
diff
changeset
|
280 |
virtual bool IsStateSleep (void) = 0; |
d919e7194e23
add support for a Wifi sleep mode
Stefano Avallone <stefano.avallone@unina.it>
parents:
10607
diff
changeset
|
281 |
/** |
10424
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
282 |
* \return the amount of time since the current state has started. |
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
283 |
*/ |
3888
a15618dcd0eb
rename WifiPhy to YansWifiPhy and add WifiPhy abstract base class.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3887
diff
changeset
|
284 |
virtual Time GetStateDuration (void) = 0; |
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
285 |
/** |
10424
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
286 |
* \return the predicted delay until this PHY can become WifiPhy::IDLE. |
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
287 |
* |
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
288 |
* The PHY will never become WifiPhy::IDLE _before_ the delay returned by |
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
289 |
* this method but it could become really idle later. |
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
290 |
*/ |
3888
a15618dcd0eb
rename WifiPhy to YansWifiPhy and add WifiPhy abstract base class.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3887
diff
changeset
|
291 |
virtual Time GetDelayUntilIdle (void) = 0; |
1889 | 292 |
|
10424
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
293 |
/** |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
294 |
* Return the start time of the last received packet. |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
295 |
* |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
296 |
* \return the start time of the last received packet |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
297 |
*/ |
3888
a15618dcd0eb
rename WifiPhy to YansWifiPhy and add WifiPhy abstract base class.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3887
diff
changeset
|
298 |
virtual Time GetLastRxStartTime (void) const = 0; |
2139
a2cf93c741c3
add WifiPhy::GetLastRxStart
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2083
diff
changeset
|
299 |
|
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
300 |
/** |
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
301 |
* \param size the number of bytes in the packet to send |
11570 | 302 |
* \param txVector the TXVECTOR used for the transmission of this packet |
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
303 |
* \param preamble the type of preamble to use for this packet. |
11041
f353014f08e9
bug 1971: 802.11n at 2.4 GHz should include a signal extension duration
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
10883
diff
changeset
|
304 |
* \param frequency the channel center frequency (MHz) |
11442
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
305 |
* \param packetType the type of the packet 0 is not A-MPDU, 1 is a MPDU that is part of an A-MPDU and 2 is the last MPDU in an A-MPDU |
11450
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
306 |
* \param incFlag this flag is used to indicate that the static variables need to be update or not. This function is called a couple of times for the same packet so static variables should not be increased each time. |
11442
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
307 |
* |
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
308 |
* \return the total amount of time this PHY will stay busy for the transmission of these bytes. |
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
309 |
*/ |
11570 | 310 |
Time CalculateTxDuration (uint32_t size, WifiTxVector txVector, enum WifiPreamble preamble, double frequency, uint8_t packetType, uint8_t incFlag); |
11450
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
311 |
|
11348
ded786322135
Bug 2066 [wifi] - A-MPDU reception should check for successful preamble
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11332
diff
changeset
|
312 |
/** |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
313 |
* \param txVector the transmission parameters used for this packet |
11348
ded786322135
Bug 2066 [wifi] - A-MPDU reception should check for successful preamble
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11332
diff
changeset
|
314 |
* \param preamble the type of preamble to use for this packet. |
11442
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
315 |
* |
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
316 |
* \return the total amount of time this PHY will stay busy for the transmission of the PLCP preamble and PLCP header. |
11348
ded786322135
Bug 2066 [wifi] - A-MPDU reception should check for successful preamble
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11332
diff
changeset
|
317 |
*/ |
11570 | 318 |
Time CalculatePlcpPreambleAndHeaderDuration (WifiTxVector txVector, enum WifiPreamble preamble); |
10139 | 319 |
|
11118
43129ee9dc94
remove unused payload mode argument
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11086
diff
changeset
|
320 |
/** |
10139 | 321 |
* \param preamble the type of preamble |
11570 | 322 |
* \param txVector the transmission parameters used for this packet |
11442
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
323 |
* |
10139 | 324 |
* \return the training symbol duration |
325 |
*/ |
|
11570 | 326 |
static Time GetPlcpHtTrainingSymbolDuration (WifiPreamble preamble, WifiTxVector txVector); |
11118
43129ee9dc94
remove unused payload mode argument
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11086
diff
changeset
|
327 |
/** |
10139 | 328 |
* \param payloadMode the WifiMode use for the transmission of the payload |
11450
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
329 |
* |
11452
f7e2c3127a02
Bug 2108 [wifi] - Erroneous implementation in InterferenceHelper
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11450
diff
changeset
|
330 |
* \return the WifiMode used for the transmission of the HT-SIG and the HT training fields |
f7e2c3127a02
Bug 2108 [wifi] - Erroneous implementation in InterferenceHelper
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11450
diff
changeset
|
331 |
* in Mixed Format and greenfield format PLCP header |
10139 | 332 |
*/ |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
333 |
static WifiMode GetHtPlcpHeaderMode (WifiMode payloadMode); |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
334 |
/** |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
335 |
* \param payloadMode the WifiMode use for the transmission of the payload |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
336 |
* |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
337 |
* \return the WifiMode used for the transmission of the VHT-STF, VHT-LTF and VHT-SIG-B fields |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
338 |
*/ |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
339 |
static WifiMode GetVhtPlcpHeaderMode (WifiMode payloadMode); |
11450
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
340 |
/** |
10139 | 341 |
* \param preamble the type of preamble |
11450
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
342 |
* |
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
343 |
* \return the duration of the HT-SIG in Mixed Format and greenfield format PLCP header |
10139 | 344 |
*/ |
11332
8ea5c08711a3
remove unused payloadMode argument in WifiPhy::GetPlcpHtSigHeaderDuration
Ghada Badawy <gbadawy@gmail.com>
parents:
11201
diff
changeset
|
345 |
static Time GetPlcpHtSigHeaderDuration (WifiPreamble preamble); |
11450
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
346 |
/** |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
347 |
* \param preamble the type of preamble |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
348 |
* |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
349 |
* \return the duration of the VHT-SIG-A1 in PLCP header |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
350 |
*/ |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
351 |
static Time GetPlcpVhtSigA1Duration (WifiPreamble preamble); |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
352 |
/** |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
353 |
* \param preamble the type of preamble |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
354 |
* |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
355 |
* \return the duration of the VHT-SIG-A2 in PLCP header |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
356 |
*/ |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
357 |
static Time GetPlcpVhtSigA2Duration (WifiPreamble preamble); |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
358 |
/** |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
359 |
* \param preamble the type of preamble |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
360 |
* |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
361 |
* \return the duration of the VHT-SIG-B in PLCP header |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
362 |
*/ |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
363 |
static Time GetPlcpVhtSigBDuration (WifiPreamble preamble); |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
364 |
/** |
7143
0146b1916bc0
wifi tx duration calculations moved from InterferenceHelper to WifiPhy
Nicola Baldo <nicola@baldo.biz>
parents:
7141
diff
changeset
|
365 |
* \param payloadMode the WifiMode use for the transmission of the payload |
0146b1916bc0
wifi tx duration calculations moved from InterferenceHelper to WifiPhy
Nicola Baldo <nicola@baldo.biz>
parents:
7141
diff
changeset
|
366 |
* \param preamble the type of preamble |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
367 |
* \param txVector the transmission parameters used for this packet |
11450
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
368 |
* |
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
369 |
* \return the WifiMode used for the transmission of the PLCP header |
7143
0146b1916bc0
wifi tx duration calculations moved from InterferenceHelper to WifiPhy
Nicola Baldo <nicola@baldo.biz>
parents:
7141
diff
changeset
|
370 |
*/ |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
371 |
static WifiMode GetPlcpHeaderMode (WifiMode payloadMode, WifiPreamble preamble, WifiTxVector txVector); |
7600
57ba46094a0d
fix various doxygen errors
Vedran Miletić <rivanvx@gmail.com>
parents:
7385
diff
changeset
|
372 |
/** |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
373 |
* \param txVector the transmission parameters used for this packet |
7600
57ba46094a0d
fix various doxygen errors
Vedran Miletić <rivanvx@gmail.com>
parents:
7385
diff
changeset
|
374 |
* \param preamble the type of preamble |
11450
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
375 |
* |
11119
067928a573cd
remove unnecessary Time to double conversions in wifi models
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11118
diff
changeset
|
376 |
* \return the duration of the PLCP header |
7143
0146b1916bc0
wifi tx duration calculations moved from InterferenceHelper to WifiPhy
Nicola Baldo <nicola@baldo.biz>
parents:
7141
diff
changeset
|
377 |
*/ |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
378 |
static Time GetPlcpHeaderDuration (WifiTxVector txVector, WifiPreamble preamble); |
11450
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
379 |
/** |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
380 |
* \param txVector the transmission parameters used for this packet |
11450
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
381 |
* \param preamble the type of preamble |
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
382 |
* |
11119
067928a573cd
remove unnecessary Time to double conversions in wifi models
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11118
diff
changeset
|
383 |
* \return the duration of the PLCP preamble |
7143
0146b1916bc0
wifi tx duration calculations moved from InterferenceHelper to WifiPhy
Nicola Baldo <nicola@baldo.biz>
parents:
7141
diff
changeset
|
384 |
*/ |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
385 |
static Time GetPlcpPreambleDuration (WifiTxVector txVector, WifiPreamble preamble); |
11450
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
386 |
/** |
7600
57ba46094a0d
fix various doxygen errors
Vedran Miletić <rivanvx@gmail.com>
parents:
7385
diff
changeset
|
387 |
* \param size the number of bytes in the packet to send |
11570 | 388 |
* \param txVector the TXVECTOR used for the transmission of this packet |
11442
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
389 |
* \param preamble the type of preamble to use for this packet |
11041
f353014f08e9
bug 1971: 802.11n at 2.4 GHz should include a signal extension duration
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
10883
diff
changeset
|
390 |
* \param frequency the channel center frequency (MHz) |
11442
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
391 |
* \param packetType the type of the packet (0 is not A-MPDU, 1 is a MPDU that is part of an A-MPDU and 2 is the last MPDU in an A-MPDU) |
11174
780a43e4980c
add MPDU aggregation (with contributions from Sebastien Deronne and Ioannis Selinis)
Ghada Badawy <gbadawy@gmail.com>
parents:
11159
diff
changeset
|
392 |
* \param incFlag this flag is used to indicate that the static variables need to be update or not. This function is called a couple of times for the same packet so static variables should not be increased each time |
11450
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
393 |
* |
11119
067928a573cd
remove unnecessary Time to double conversions in wifi models
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11118
diff
changeset
|
394 |
* \return the duration of the payload |
7143
0146b1916bc0
wifi tx duration calculations moved from InterferenceHelper to WifiPhy
Nicola Baldo <nicola@baldo.biz>
parents:
7141
diff
changeset
|
395 |
*/ |
11570 | 396 |
Time GetPayloadDuration (uint32_t size, WifiTxVector txVector, WifiPreamble preamble, double frequency, uint8_t packetType, uint8_t incFlag); |
6372
0fafd9716f44
Bug 853: Consider mandatory rates for Wi-Fi control responses
Dean Armstrong <deanarm@gmail.com>
parents:
6360
diff
changeset
|
397 |
|
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
398 |
/** |
6372
0fafd9716f44
Bug 853: Consider mandatory rates for Wi-Fi control responses
Dean Armstrong <deanarm@gmail.com>
parents:
6360
diff
changeset
|
399 |
* The WifiPhy::GetNModes() and WifiPhy::GetMode() methods are used |
0fafd9716f44
Bug 853: Consider mandatory rates for Wi-Fi control responses
Dean Armstrong <deanarm@gmail.com>
parents:
6360
diff
changeset
|
400 |
* (e.g., by a WifiRemoteStationManager) to determine the set of |
0fafd9716f44
Bug 853: Consider mandatory rates for Wi-Fi control responses
Dean Armstrong <deanarm@gmail.com>
parents:
6360
diff
changeset
|
401 |
* transmission/reception modes that this WifiPhy(-derived class) |
0fafd9716f44
Bug 853: Consider mandatory rates for Wi-Fi control responses
Dean Armstrong <deanarm@gmail.com>
parents:
6360
diff
changeset
|
402 |
* can support - a set of WifiMode objects which we call the |
0fafd9716f44
Bug 853: Consider mandatory rates for Wi-Fi control responses
Dean Armstrong <deanarm@gmail.com>
parents:
6360
diff
changeset
|
403 |
* DeviceRateSet, and which is stored as WifiPhy::m_deviceRateSet. |
0fafd9716f44
Bug 853: Consider mandatory rates for Wi-Fi control responses
Dean Armstrong <deanarm@gmail.com>
parents:
6360
diff
changeset
|
404 |
* |
0fafd9716f44
Bug 853: Consider mandatory rates for Wi-Fi control responses
Dean Armstrong <deanarm@gmail.com>
parents:
6360
diff
changeset
|
405 |
* It is important to note that the DeviceRateSet is a superset (not |
0fafd9716f44
Bug 853: Consider mandatory rates for Wi-Fi control responses
Dean Armstrong <deanarm@gmail.com>
parents:
6360
diff
changeset
|
406 |
* necessarily proper) of the OperationalRateSet (which is |
0fafd9716f44
Bug 853: Consider mandatory rates for Wi-Fi control responses
Dean Armstrong <deanarm@gmail.com>
parents:
6360
diff
changeset
|
407 |
* logically, if not actually, a property of the associated |
0fafd9716f44
Bug 853: Consider mandatory rates for Wi-Fi control responses
Dean Armstrong <deanarm@gmail.com>
parents:
6360
diff
changeset
|
408 |
* WifiRemoteStationManager), which itself is a superset (again, not |
0fafd9716f44
Bug 853: Consider mandatory rates for Wi-Fi control responses
Dean Armstrong <deanarm@gmail.com>
parents:
6360
diff
changeset
|
409 |
* necessarily proper) of the BSSBasicRateSet. |
0fafd9716f44
Bug 853: Consider mandatory rates for Wi-Fi control responses
Dean Armstrong <deanarm@gmail.com>
parents:
6360
diff
changeset
|
410 |
* |
10424
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
411 |
* \return the number of transmission modes supported by this PHY. |
6372
0fafd9716f44
Bug 853: Consider mandatory rates for Wi-Fi control responses
Dean Armstrong <deanarm@gmail.com>
parents:
6360
diff
changeset
|
412 |
* |
0fafd9716f44
Bug 853: Consider mandatory rates for Wi-Fi control responses
Dean Armstrong <deanarm@gmail.com>
parents:
6360
diff
changeset
|
413 |
* \sa WifiPhy::GetMode() |
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
414 |
*/ |
3888
a15618dcd0eb
rename WifiPhy to YansWifiPhy and add WifiPhy abstract base class.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3887
diff
changeset
|
415 |
virtual uint32_t GetNModes (void) const = 0; |
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
416 |
/** |
6372
0fafd9716f44
Bug 853: Consider mandatory rates for Wi-Fi control responses
Dean Armstrong <deanarm@gmail.com>
parents:
6360
diff
changeset
|
417 |
* The WifiPhy::GetNModes() and WifiPhy::GetMode() methods are used |
0fafd9716f44
Bug 853: Consider mandatory rates for Wi-Fi control responses
Dean Armstrong <deanarm@gmail.com>
parents:
6360
diff
changeset
|
418 |
* (e.g., by a WifiRemoteStationManager) to determine the set of |
0fafd9716f44
Bug 853: Consider mandatory rates for Wi-Fi control responses
Dean Armstrong <deanarm@gmail.com>
parents:
6360
diff
changeset
|
419 |
* transmission/reception modes that this WifiPhy(-derived class) |
0fafd9716f44
Bug 853: Consider mandatory rates for Wi-Fi control responses
Dean Armstrong <deanarm@gmail.com>
parents:
6360
diff
changeset
|
420 |
* can support - a set of WifiMode objects which we call the |
0fafd9716f44
Bug 853: Consider mandatory rates for Wi-Fi control responses
Dean Armstrong <deanarm@gmail.com>
parents:
6360
diff
changeset
|
421 |
* DeviceRateSet, and which is stored as WifiPhy::m_deviceRateSet. |
0fafd9716f44
Bug 853: Consider mandatory rates for Wi-Fi control responses
Dean Armstrong <deanarm@gmail.com>
parents:
6360
diff
changeset
|
422 |
* |
0fafd9716f44
Bug 853: Consider mandatory rates for Wi-Fi control responses
Dean Armstrong <deanarm@gmail.com>
parents:
6360
diff
changeset
|
423 |
* It is important to note that the DeviceRateSet is a superset (not |
0fafd9716f44
Bug 853: Consider mandatory rates for Wi-Fi control responses
Dean Armstrong <deanarm@gmail.com>
parents:
6360
diff
changeset
|
424 |
* necessarily proper) of the OperationalRateSet (which is |
0fafd9716f44
Bug 853: Consider mandatory rates for Wi-Fi control responses
Dean Armstrong <deanarm@gmail.com>
parents:
6360
diff
changeset
|
425 |
* logically, if not actually, a property of the associated |
0fafd9716f44
Bug 853: Consider mandatory rates for Wi-Fi control responses
Dean Armstrong <deanarm@gmail.com>
parents:
6360
diff
changeset
|
426 |
* WifiRemoteStationManager), which itself is a superset (again, not |
0fafd9716f44
Bug 853: Consider mandatory rates for Wi-Fi control responses
Dean Armstrong <deanarm@gmail.com>
parents:
6360
diff
changeset
|
427 |
* necessarily proper) of the BSSBasicRateSet. |
0fafd9716f44
Bug 853: Consider mandatory rates for Wi-Fi control responses
Dean Armstrong <deanarm@gmail.com>
parents:
6360
diff
changeset
|
428 |
* |
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
429 |
* \param mode index in array of supported modes |
11442
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
430 |
* |
10424
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
431 |
* \return the mode whose index is specified. |
6372
0fafd9716f44
Bug 853: Consider mandatory rates for Wi-Fi control responses
Dean Armstrong <deanarm@gmail.com>
parents:
6360
diff
changeset
|
432 |
* |
0fafd9716f44
Bug 853: Consider mandatory rates for Wi-Fi control responses
Dean Armstrong <deanarm@gmail.com>
parents:
6360
diff
changeset
|
433 |
* \sa WifiPhy::GetNModes() |
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
434 |
*/ |
3888
a15618dcd0eb
rename WifiPhy to YansWifiPhy and add WifiPhy abstract base class.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3887
diff
changeset
|
435 |
virtual WifiMode GetMode (uint32_t mode) const = 0; |
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
436 |
/** |
10607
8e61a2de1a85
[wifi] moved IsModeSupported to WifiPhy
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10580
diff
changeset
|
437 |
* Check if the given WifiMode is supported by the PHY. |
8e61a2de1a85
[wifi] moved IsModeSupported to WifiPhy
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10580
diff
changeset
|
438 |
* |
8e61a2de1a85
[wifi] moved IsModeSupported to WifiPhy
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10580
diff
changeset
|
439 |
* \param mode the wifi mode to check |
11442
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
440 |
* |
10607
8e61a2de1a85
[wifi] moved IsModeSupported to WifiPhy
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10580
diff
changeset
|
441 |
* \return true if the given mode is supported, |
8e61a2de1a85
[wifi] moved IsModeSupported to WifiPhy
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10580
diff
changeset
|
442 |
* false otherwise |
8e61a2de1a85
[wifi] moved IsModeSupported to WifiPhy
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10580
diff
changeset
|
443 |
*/ |
8e61a2de1a85
[wifi] moved IsModeSupported to WifiPhy
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10580
diff
changeset
|
444 |
virtual bool IsModeSupported (WifiMode mode) const = 0; |
11450
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
445 |
|
10607
8e61a2de1a85
[wifi] moved IsModeSupported to WifiPhy
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10580
diff
changeset
|
446 |
/** |
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
447 |
* \param txMode the transmission mode |
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
448 |
* \param ber the probability of bit error rate |
11442
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
449 |
* |
10424
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
450 |
* \return the minimum snr which is required to achieve |
3912
4d1a61f80745
new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3906
diff
changeset
|
451 |
* the requested ber for the specified transmission mode. (W/W) |
2057
73723aad7527
dox for WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2056
diff
changeset
|
452 |
*/ |
3888
a15618dcd0eb
rename WifiPhy to YansWifiPhy and add WifiPhy abstract base class.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3887
diff
changeset
|
453 |
virtual double CalculateSnr (WifiMode txMode, double ber) const = 0; |
11450
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
454 |
|
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
455 |
/** |
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
456 |
* The WifiPhy::NBssMembershipSelectors() method is used |
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
457 |
* (e.g., by a WifiRemoteStationManager) to determine the set of |
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
458 |
* transmission/reception modes that this WifiPhy(-derived class) |
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
459 |
* can support - a set of WifiMode objects which we call the |
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
460 |
* BssMembershipSelectorSet, and which is stored as WifiPhy::m_bssMembershipSelectorSet. |
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
461 |
* |
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
462 |
* \return the memebership selector whose index is specified. |
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
463 |
*/ |
11442
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
464 |
virtual uint32_t GetNBssMembershipSelectors (void) const = 0; |
11450
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
465 |
/** |
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
466 |
* The WifiPhy::BssMembershipSelector() method is used |
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
467 |
* (e.g., by a WifiRemoteStationManager) to determine the set of |
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
468 |
* transmission/reception modes that this WifiPhy(-derived class) |
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
469 |
* can support - a set of WifiMode objects which we call the |
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
470 |
* BssMembershipSelectorSet, and which is stored as WifiPhy::m_bssMembershipSelectorSet. |
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
471 |
* |
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
472 |
* \param selector index in array of supported memberships |
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
473 |
* |
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
474 |
* \return the memebership selector whose index is specified. |
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
475 |
*/ |
11442
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
476 |
virtual uint32_t GetBssMembershipSelector (uint32_t selector) const = 0; |
10139 | 477 |
/** |
478 |
* The WifiPhy::GetMembershipSelectorModes() method is used |
|
479 |
* (e.g., by a WifiRemoteStationManager) to determine the set of |
|
480 |
* transmission/reception modes that this WifiPhy(-derived class) |
|
481 |
* can support - a set of WifiMode objects which we call the |
|
11083
96e983e7cd5d
fix typos in wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11075
diff
changeset
|
482 |
* BssMembershipSelectorSet, and which is stored as WifiPhy::m_bssMembershipSelectorSet. |
10139 | 483 |
* |
11442
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
484 |
* \param selector index in array of supported memberships |
10139 | 485 |
* |
10424
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
486 |
* \return a WifiModeList that contains the WifiModes associrated with the selected index. |
10139 | 487 |
* |
488 |
* \sa WifiPhy::GetMembershipSelectorModes() |
|
489 |
*/ |
|
11450
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
490 |
virtual WifiModeList GetMembershipSelectorModes (uint32_t selector) = 0; |
10139 | 491 |
/** |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
492 |
* The WifiPhy::GetNMcs() method is used |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
493 |
* (e.g., by a WifiRemoteStationManager) to determine the set of |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
494 |
* transmission/reception MCS indexes that this WifiPhy(-derived class) |
11083
96e983e7cd5d
fix typos in wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11075
diff
changeset
|
495 |
* can support - a set of MCS indexes which we call the |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
496 |
* DeviceMcsSet, and which is stored as WifiPhy::m_deviceMcsSet. |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
497 |
* |
11083
96e983e7cd5d
fix typos in wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11075
diff
changeset
|
498 |
* \return the MCS index whose index is specified. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
499 |
*/ |
11450
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
500 |
virtual uint8_t GetNMcs (void) const = 0; |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
501 |
/** |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
502 |
* The WifiPhy::GetMcs() method is used |
10139 | 503 |
* (e.g., by a WifiRemoteStationManager) to determine the set of |
504 |
* transmission/reception MCS indexes that this WifiPhy(-derived class) |
|
11083
96e983e7cd5d
fix typos in wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11075
diff
changeset
|
505 |
* can support - a set of MCS indexes which we call the |
10139 | 506 |
* DeviceMcsSet, and which is stored as WifiPhy::m_deviceMcsSet. |
507 |
* |
|
11442
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
508 |
* \param mcs index in array of supported MCS |
10139 | 509 |
* |
11083
96e983e7cd5d
fix typos in wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11075
diff
changeset
|
510 |
* \return the MCS index whose index is specified. |
10139 | 511 |
*/ |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
512 |
virtual WifiMode GetMcs (uint8_t mcs) const = 0; |
10139 | 513 |
|
7141
072fb225b714
run check-style.py on src/wifi
Nicola Baldo <nicola@baldo.biz>
parents:
7139
diff
changeset
|
514 |
/** |
072fb225b714
run check-style.py on src/wifi
Nicola Baldo <nicola@baldo.biz>
parents:
7139
diff
changeset
|
515 |
* \brief Set channel number. |
072fb225b714
run check-style.py on src/wifi
Nicola Baldo <nicola@baldo.biz>
parents:
7139
diff
changeset
|
516 |
* |
4690
86343f7d6bfd
Initial multichannel support in Yans Wifi PHY.
Pavel Boyko <boyko@iitp.ru>
parents:
4680
diff
changeset
|
517 |
* Channel center frequency = Channel starting frequency + 5 MHz * (nch - 1) |
86343f7d6bfd
Initial multichannel support in Yans Wifi PHY.
Pavel Boyko <boyko@iitp.ru>
parents:
4680
diff
changeset
|
518 |
* |
86343f7d6bfd
Initial multichannel support in Yans Wifi PHY.
Pavel Boyko <boyko@iitp.ru>
parents:
4680
diff
changeset
|
519 |
* where Starting channel frequency is standard-dependent, see SetStandard() |
10580
2a29a9bd6fd6
Update (most of) IEEE Std 802.11-2007 to IEEE Std 802.11-2012
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10483
diff
changeset
|
520 |
* as defined in (Section 18.3.8.4.2 "Channel numbering"; IEEE Std 802.11-2012). |
10424
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
521 |
* |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
522 |
* \param id the channel number |
7141
072fb225b714
run check-style.py on src/wifi
Nicola Baldo <nicola@baldo.biz>
parents:
7139
diff
changeset
|
523 |
*/ |
4690
86343f7d6bfd
Initial multichannel support in Yans Wifi PHY.
Pavel Boyko <boyko@iitp.ru>
parents:
4680
diff
changeset
|
524 |
virtual void SetChannelNumber (uint16_t id) = 0; |
11450
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
525 |
/** |
10424
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
526 |
* Return current channel number. |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
527 |
* |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
528 |
* \return the current channel number |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
529 |
*/ |
11159
b744c32b69bc
patch to support IEEE 1609.4 MAC extension in wave module
Junling Bu <linlinjavaer@gmail.com>
parents:
11119
diff
changeset
|
530 |
virtual uint16_t GetChannelNumber (void) const = 0; |
b744c32b69bc
patch to support IEEE 1609.4 MAC extension in wave module
Junling Bu <linlinjavaer@gmail.com>
parents:
11119
diff
changeset
|
531 |
/** |
b744c32b69bc
patch to support IEEE 1609.4 MAC extension in wave module
Junling Bu <linlinjavaer@gmail.com>
parents:
11119
diff
changeset
|
532 |
* \return the required time for channel switch operation of this WifiPhy |
b744c32b69bc
patch to support IEEE 1609.4 MAC extension in wave module
Junling Bu <linlinjavaer@gmail.com>
parents:
11119
diff
changeset
|
533 |
*/ |
b744c32b69bc
patch to support IEEE 1609.4 MAC extension in wave module
Junling Bu <linlinjavaer@gmail.com>
parents:
11119
diff
changeset
|
534 |
virtual Time GetChannelSwitchDelay (void) const = 0; |
4720
15221757964f
bug 641: CwMin setting for 802.11b
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4715
diff
changeset
|
535 |
|
10424
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
536 |
/** |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
537 |
* Configure the PHY-level parameters for different Wi-Fi standard. |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
538 |
* |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
539 |
* \param standard the Wi-Fi standard |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
540 |
*/ |
4720
15221757964f
bug 641: CwMin setting for 802.11b
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4715
diff
changeset
|
541 |
virtual void ConfigureStandard (enum WifiPhyStandard standard) = 0; |
7141
072fb225b714
run check-style.py on src/wifi
Nicola Baldo <nicola@baldo.biz>
parents:
7139
diff
changeset
|
542 |
|
10424
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
543 |
/** |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
544 |
* Return the WifiChannel this WifiPhy is connected to. |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
545 |
* |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
546 |
* \return the WifiChannel this WifiPhy is connected to |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
547 |
*/ |
3888
a15618dcd0eb
rename WifiPhy to YansWifiPhy and add WifiPhy abstract base class.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3887
diff
changeset
|
548 |
virtual Ptr<WifiChannel> GetChannel (void) const = 0; |
1889 | 549 |
|
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
550 |
/** |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
551 |
* Return a WifiMode for DSSS at 1Mbps. |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
552 |
* |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
553 |
* \return a WifiMode for DSSS at 1Mbps |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
554 |
*/ |
6360
d8975477ff6a
Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents:
6273
diff
changeset
|
555 |
static WifiMode GetDsssRate1Mbps (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
556 |
/** |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
557 |
* Return a WifiMode for DSSS at 2Mbps. |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
558 |
* |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
559 |
* \return a WifiMode for DSSS at 2Mbps |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
560 |
*/ |
6360
d8975477ff6a
Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents:
6273
diff
changeset
|
561 |
static WifiMode GetDsssRate2Mbps (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
562 |
/** |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
563 |
* Return a WifiMode for DSSS at 5.5Mbps. |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
564 |
* |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
565 |
* \return a WifiMode for DSSS at 5.5Mbps |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
566 |
*/ |
6360
d8975477ff6a
Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents:
6273
diff
changeset
|
567 |
static WifiMode GetDsssRate5_5Mbps (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
568 |
/** |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
569 |
* Return a WifiMode for DSSS at 11Mbps. |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
570 |
* |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
571 |
* \return a WifiMode for DSSS at 11Mbps |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
572 |
*/ |
6360
d8975477ff6a
Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents:
6273
diff
changeset
|
573 |
static WifiMode GetDsssRate11Mbps (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
574 |
/** |
11201
ecaa43fa0263
fix Doxygen typos
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11174
diff
changeset
|
575 |
* Return a WifiMode for ERP-OFDM at 6Mbps. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
576 |
* |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
577 |
* \return a WifiMode for ERP-OFDM at 6Mbps |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
578 |
*/ |
6597
7fbc895f7361
Bug 852: Support ERP-OFDM rates and thus '802.11g'
Dean Armstrong <deanarm@gmail.com>
parents:
6372
diff
changeset
|
579 |
static WifiMode GetErpOfdmRate6Mbps (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
580 |
/** |
11201
ecaa43fa0263
fix Doxygen typos
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11174
diff
changeset
|
581 |
* Return a WifiMode for ERP-OFDM at 9Mbps. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
582 |
* |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
583 |
* \return a WifiMode for ERP-OFDM at 9Mbps |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
584 |
*/ |
6597
7fbc895f7361
Bug 852: Support ERP-OFDM rates and thus '802.11g'
Dean Armstrong <deanarm@gmail.com>
parents:
6372
diff
changeset
|
585 |
static WifiMode GetErpOfdmRate9Mbps (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
586 |
/** |
11201
ecaa43fa0263
fix Doxygen typos
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11174
diff
changeset
|
587 |
* Return a WifiMode for ERP-OFDM at 12Mbps. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
588 |
* |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
589 |
* \return a WifiMode for ERP-OFDM at 12Mbps |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
590 |
*/ |
6597
7fbc895f7361
Bug 852: Support ERP-OFDM rates and thus '802.11g'
Dean Armstrong <deanarm@gmail.com>
parents:
6372
diff
changeset
|
591 |
static WifiMode GetErpOfdmRate12Mbps (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
592 |
/** |
11201
ecaa43fa0263
fix Doxygen typos
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11174
diff
changeset
|
593 |
* Return a WifiMode for ERP-OFDM at 18Mbps. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
594 |
* |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
595 |
* \return a WifiMode for ERP-OFDM at 18Mbps |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
596 |
*/ |
6597
7fbc895f7361
Bug 852: Support ERP-OFDM rates and thus '802.11g'
Dean Armstrong <deanarm@gmail.com>
parents:
6372
diff
changeset
|
597 |
static WifiMode GetErpOfdmRate18Mbps (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
598 |
/** |
11201
ecaa43fa0263
fix Doxygen typos
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11174
diff
changeset
|
599 |
* Return a WifiMode for ERP-OFDM at 24Mbps. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
600 |
* |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
601 |
* \return a WifiMode for ERP-OFDM at 24Mbps |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
602 |
*/ |
6597
7fbc895f7361
Bug 852: Support ERP-OFDM rates and thus '802.11g'
Dean Armstrong <deanarm@gmail.com>
parents:
6372
diff
changeset
|
603 |
static WifiMode GetErpOfdmRate24Mbps (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
604 |
/** |
11201
ecaa43fa0263
fix Doxygen typos
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11174
diff
changeset
|
605 |
* Return a WifiMode for ERP-OFDM at 36Mbps. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
606 |
* |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
607 |
* \return a WifiMode for ERP-OFDM at 36Mbps |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
608 |
*/ |
6597
7fbc895f7361
Bug 852: Support ERP-OFDM rates and thus '802.11g'
Dean Armstrong <deanarm@gmail.com>
parents:
6372
diff
changeset
|
609 |
static WifiMode GetErpOfdmRate36Mbps (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
610 |
/** |
11201
ecaa43fa0263
fix Doxygen typos
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11174
diff
changeset
|
611 |
* Return a WifiMode for ERP-OFDM at 48Mbps. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
612 |
* |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
613 |
* \return a WifiMode for ERP-OFDM at 48Mbps |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
614 |
*/ |
6597
7fbc895f7361
Bug 852: Support ERP-OFDM rates and thus '802.11g'
Dean Armstrong <deanarm@gmail.com>
parents:
6372
diff
changeset
|
615 |
static WifiMode GetErpOfdmRate48Mbps (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
616 |
/** |
11201
ecaa43fa0263
fix Doxygen typos
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11174
diff
changeset
|
617 |
* Return a WifiMode for ERP-OFDM at 54Mbps. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
618 |
* |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
619 |
* \return a WifiMode for ERP-OFDM at 54Mbps |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
620 |
*/ |
6597
7fbc895f7361
Bug 852: Support ERP-OFDM rates and thus '802.11g'
Dean Armstrong <deanarm@gmail.com>
parents:
6372
diff
changeset
|
621 |
static WifiMode GetErpOfdmRate54Mbps (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
622 |
/** |
11201
ecaa43fa0263
fix Doxygen typos
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11174
diff
changeset
|
623 |
* Return a WifiMode for OFDM at 6Mbps. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
624 |
* |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
625 |
* \return a WifiMode for OFDM at 6Mbps |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
626 |
*/ |
6360
d8975477ff6a
Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents:
6273
diff
changeset
|
627 |
static WifiMode GetOfdmRate6Mbps (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
628 |
/** |
11201
ecaa43fa0263
fix Doxygen typos
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11174
diff
changeset
|
629 |
* Return a WifiMode for OFDM at 9Mbps. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
630 |
* |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
631 |
* \return a WifiMode for OFDM at 9Mbps |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
632 |
*/ |
6360
d8975477ff6a
Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents:
6273
diff
changeset
|
633 |
static WifiMode GetOfdmRate9Mbps (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
634 |
/** |
11201
ecaa43fa0263
fix Doxygen typos
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11174
diff
changeset
|
635 |
* Return a WifiMode for OFDM at 12Mbps. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
636 |
* |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
637 |
* \return a WifiMode for OFDM at 12Mbps |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
638 |
*/ |
6360
d8975477ff6a
Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents:
6273
diff
changeset
|
639 |
static WifiMode GetOfdmRate12Mbps (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
640 |
/** |
11201
ecaa43fa0263
fix Doxygen typos
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11174
diff
changeset
|
641 |
* Return a WifiMode for OFDM at 18Mbps. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
642 |
* |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
643 |
* \return a WifiMode for OFDM at 18Mbps |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
644 |
*/ |
6360
d8975477ff6a
Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents:
6273
diff
changeset
|
645 |
static WifiMode GetOfdmRate18Mbps (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
646 |
/** |
11201
ecaa43fa0263
fix Doxygen typos
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11174
diff
changeset
|
647 |
* Return a WifiMode for OFDM at 24Mbps. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
648 |
* |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
649 |
* \return a WifiMode for OFDM at 24Mbps |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
650 |
*/ |
6360
d8975477ff6a
Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents:
6273
diff
changeset
|
651 |
static WifiMode GetOfdmRate24Mbps (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
652 |
/** |
11201
ecaa43fa0263
fix Doxygen typos
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11174
diff
changeset
|
653 |
* Return a WifiMode for OFDM at 36Mbps. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
654 |
* |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
655 |
* \return a WifiMode for OFDM at 36Mbps |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
656 |
*/ |
6360
d8975477ff6a
Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents:
6273
diff
changeset
|
657 |
static WifiMode GetOfdmRate36Mbps (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
658 |
/** |
11201
ecaa43fa0263
fix Doxygen typos
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11174
diff
changeset
|
659 |
* Return a WifiMode for OFDM at 48Mbps. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
660 |
* |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
661 |
* \return a WifiMode for OFDM at 48Mbps |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
662 |
*/ |
6360
d8975477ff6a
Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents:
6273
diff
changeset
|
663 |
static WifiMode GetOfdmRate48Mbps (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
664 |
/** |
11201
ecaa43fa0263
fix Doxygen typos
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11174
diff
changeset
|
665 |
* Return a WifiMode for OFDM at 54Mbps. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
666 |
* |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
667 |
* \return a WifiMode for OFDM at 54Mbps |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
668 |
*/ |
6360
d8975477ff6a
Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents:
6273
diff
changeset
|
669 |
static WifiMode GetOfdmRate54Mbps (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
670 |
/** |
11201
ecaa43fa0263
fix Doxygen typos
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11174
diff
changeset
|
671 |
* Return a WifiMode for OFDM at 3Mbps with 10MHz channel spacing. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
672 |
* |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
673 |
* \return a WifiMode for OFDM at 3Mbps with 10MHz channel spacing |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
674 |
*/ |
6360
d8975477ff6a
Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents:
6273
diff
changeset
|
675 |
static WifiMode GetOfdmRate3MbpsBW10MHz (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
676 |
/** |
11201
ecaa43fa0263
fix Doxygen typos
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11174
diff
changeset
|
677 |
* Return a WifiMode for OFDM at 4.5Mbps with 10MHz channel spacing. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
678 |
* |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
679 |
* \return a WifiMode for OFDM at 4.5Mbps with 10MHz channel spacing |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
680 |
*/ |
6360
d8975477ff6a
Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents:
6273
diff
changeset
|
681 |
static WifiMode GetOfdmRate4_5MbpsBW10MHz (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
682 |
/** |
11201
ecaa43fa0263
fix Doxygen typos
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11174
diff
changeset
|
683 |
* Return a WifiMode for OFDM at 6Mbps with 10MHz channel spacing. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
684 |
* |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
685 |
* \return a WifiMode for OFDM at 6Mbps with 10MHz channel spacing |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
686 |
*/ |
6360
d8975477ff6a
Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents:
6273
diff
changeset
|
687 |
static WifiMode GetOfdmRate6MbpsBW10MHz (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
688 |
/** |
11201
ecaa43fa0263
fix Doxygen typos
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11174
diff
changeset
|
689 |
* Return a WifiMode for OFDM at 9Mbps with 10MHz channel spacing. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
690 |
* |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
691 |
* \return a WifiMode for OFDM at 9Mbps with 10MHz channel spacing |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
692 |
*/ |
6360
d8975477ff6a
Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents:
6273
diff
changeset
|
693 |
static WifiMode GetOfdmRate9MbpsBW10MHz (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
694 |
/** |
11201
ecaa43fa0263
fix Doxygen typos
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11174
diff
changeset
|
695 |
* Return a WifiMode for OFDM at 12Mbps with 10MHz channel spacing. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
696 |
* |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
697 |
* \return a WifiMode for OFDM at 12Mbps with 10MHz channel spacing |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
698 |
*/ |
6360
d8975477ff6a
Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents:
6273
diff
changeset
|
699 |
static WifiMode GetOfdmRate12MbpsBW10MHz (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
700 |
/** |
11201
ecaa43fa0263
fix Doxygen typos
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11174
diff
changeset
|
701 |
* Return a WifiMode for OFDM at 18Mbps with 10MHz channel spacing. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
702 |
* |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
703 |
* \return a WifiMode for OFDM at 18Mbps with 10MHz channel spacing |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
704 |
*/ |
6360
d8975477ff6a
Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents:
6273
diff
changeset
|
705 |
static WifiMode GetOfdmRate18MbpsBW10MHz (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
706 |
/** |
11201
ecaa43fa0263
fix Doxygen typos
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11174
diff
changeset
|
707 |
* Return a WifiMode for OFDM at 24Mbps with 10MHz channel spacing. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
708 |
* |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
709 |
* \return a WifiMode for OFDM at 24Mbps with 10MHz channel spacing |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
710 |
*/ |
6360
d8975477ff6a
Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents:
6273
diff
changeset
|
711 |
static WifiMode GetOfdmRate24MbpsBW10MHz (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
712 |
/** |
11201
ecaa43fa0263
fix Doxygen typos
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11174
diff
changeset
|
713 |
* Return a WifiMode for OFDM at 27Mbps with 10MHz channel spacing. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
714 |
* |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
715 |
* \return a WifiMode for OFDM at 27Mbps with 10MHz channel spacing |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
716 |
*/ |
6360
d8975477ff6a
Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents:
6273
diff
changeset
|
717 |
static WifiMode GetOfdmRate27MbpsBW10MHz (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
718 |
/** |
11201
ecaa43fa0263
fix Doxygen typos
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11174
diff
changeset
|
719 |
* Return a WifiMode for OFDM at 1.5Mbps with 5MHz channel spacing. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
720 |
* |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
721 |
* \return a WifiMode for OFDM at 1.5Mbps with 5MHz channel spacing |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
722 |
*/ |
6360
d8975477ff6a
Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents:
6273
diff
changeset
|
723 |
static WifiMode GetOfdmRate1_5MbpsBW5MHz (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
724 |
/** |
11201
ecaa43fa0263
fix Doxygen typos
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11174
diff
changeset
|
725 |
* Return a WifiMode for OFDM at 2.25Mbps with 5MHz channel spacing. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
726 |
* |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
727 |
* \return a WifiMode for OFDM at 2.25Mbps with 5MHz channel spacing |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
728 |
*/ |
6360
d8975477ff6a
Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents:
6273
diff
changeset
|
729 |
static WifiMode GetOfdmRate2_25MbpsBW5MHz (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
730 |
/** |
11201
ecaa43fa0263
fix Doxygen typos
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11174
diff
changeset
|
731 |
* Return a WifiMode for OFDM at 3Mbps with 5MHz channel spacing. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
732 |
* |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
733 |
* \return a WifiMode for OFDM at 3Mbps with 5MHz channel spacing |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
734 |
*/ |
6360
d8975477ff6a
Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents:
6273
diff
changeset
|
735 |
static WifiMode GetOfdmRate3MbpsBW5MHz (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
736 |
/** |
11201
ecaa43fa0263
fix Doxygen typos
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11174
diff
changeset
|
737 |
* Return a WifiMode for OFDM at 4.5Mbps with 5MHz channel spacing. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
738 |
* |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
739 |
* \return a WifiMode for OFDM at 4.5Mbps with 5MHz channel spacing |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
740 |
*/ |
6360
d8975477ff6a
Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents:
6273
diff
changeset
|
741 |
static WifiMode GetOfdmRate4_5MbpsBW5MHz (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
742 |
/** |
11201
ecaa43fa0263
fix Doxygen typos
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11174
diff
changeset
|
743 |
* Return a WifiMode for OFDM at 6Mbps with 5MHz channel spacing. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
744 |
* |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
745 |
* \return a WifiMode for OFDM at 6Mbps with 5MHz channel spacing |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
746 |
*/ |
6360
d8975477ff6a
Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents:
6273
diff
changeset
|
747 |
static WifiMode GetOfdmRate6MbpsBW5MHz (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
748 |
/** |
11201
ecaa43fa0263
fix Doxygen typos
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11174
diff
changeset
|
749 |
* Return a WifiMode for OFDM at 9Mbps with 5MHz channel spacing. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
750 |
* |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
751 |
* \return a WifiMode for OFDM at 9Mbps with 5MHz channel spacing |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
752 |
*/ |
6360
d8975477ff6a
Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents:
6273
diff
changeset
|
753 |
static WifiMode GetOfdmRate9MbpsBW5MHz (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
754 |
/** |
11201
ecaa43fa0263
fix Doxygen typos
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11174
diff
changeset
|
755 |
* Return a WifiMode for OFDM at 12Mbps with 5MHz channel spacing. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
756 |
* |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
757 |
* \return a WifiMode for OFDM at 12Mbps with 5MHz channel spacing |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
758 |
*/ |
6360
d8975477ff6a
Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents:
6273
diff
changeset
|
759 |
static WifiMode GetOfdmRate12MbpsBW5MHz (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
760 |
/** |
11201
ecaa43fa0263
fix Doxygen typos
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11174
diff
changeset
|
761 |
* Return a WifiMode for OFDM at 13.5Mbps with 5MHz channel spacing. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
762 |
* |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
763 |
* \return a WifiMode for OFDM at 13.5Mbps with 5MHz channel spacing |
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
764 |
*/ |
6360
d8975477ff6a
Bug 871: Rework construction of Wi-Fi rates
Dean Armstrong <deanarm@gmail.com>
parents:
6273
diff
changeset
|
765 |
static WifiMode GetOfdmRate13_5MbpsBW5MHz (); |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
766 |
|
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
767 |
/** |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
768 |
* Return MCS 0 from HT MCS values. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
769 |
* |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
770 |
* \return MCS 0 from HT MCS values |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
771 |
*/ |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
772 |
static WifiMode GetHtMcs0 (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
773 |
/** |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
774 |
* Return MCS 1 from HT MCS values. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
775 |
* |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
776 |
* \return MCS 1 from HT MCS values |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
777 |
*/ |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
778 |
static WifiMode GetHtMcs1 (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
779 |
/** |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
780 |
* Return MCS 2 from HT MCS values. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
781 |
* |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
782 |
* \return MCS 2 from HT MCS values |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
783 |
*/ |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
784 |
static WifiMode GetHtMcs2 (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
785 |
/** |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
786 |
* Return MCS 3 from HT MCS values. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
787 |
* |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
788 |
* \return MCS 3 from HT MCS values |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
789 |
*/ |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
790 |
static WifiMode GetHtMcs3 (); |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
791 |
/** |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
792 |
* Return MCS 4 from HT MCS values. |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
793 |
* |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
794 |
* \return MCS 4 from HT MCS values |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
795 |
*/ |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
796 |
static WifiMode GetHtMcs4 (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
797 |
/** |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
798 |
* Return MCS 5 from HT MCS values. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
799 |
* |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
800 |
* \return MCS 5 from HT MCS values |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
801 |
*/ |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
802 |
static WifiMode GetHtMcs5 (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
803 |
/** |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
804 |
* Return MCS 6 from HT MCS values. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
805 |
* |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
806 |
* \return MCS 6 from HT MCS values |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
807 |
*/ |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
808 |
static WifiMode GetHtMcs6 (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
809 |
/** |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
810 |
* Return MCS 7 from HT MCS values. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
811 |
* |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
812 |
* \return MCS 7 from HT MCS values |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
813 |
*/ |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
814 |
static WifiMode GetHtMcs7 (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
815 |
/** |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
816 |
* Return MCS 8 from HT MCS values. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
817 |
* |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
818 |
* \return MCS 8 from HT MCS values |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
819 |
*/ |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
820 |
static WifiMode GetHtMcs8 (); |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
821 |
/** |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
822 |
* Return MCS 9 from HT MCS values. |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
823 |
* |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
824 |
* \return MCS 9 from HT MCS values |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
825 |
*/ |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
826 |
static WifiMode GetHtMcs9 (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
827 |
/** |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
828 |
* Return MCS 10 from HT MCS values. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
829 |
* |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
830 |
* \return MCS 10 from HT MCS values |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
831 |
*/ |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
832 |
static WifiMode GetHtMcs10 (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
833 |
/** |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
834 |
* Return MCS 11 from HT MCS values. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
835 |
* |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
836 |
* \return MCS 11 from HT MCS values |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
837 |
*/ |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
838 |
static WifiMode GetHtMcs11 (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
839 |
/** |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
840 |
* Return MCS 12 from HT MCS values. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
841 |
* |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
842 |
* \return MCS 12 from HT MCS values |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
843 |
*/ |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
844 |
static WifiMode GetHtMcs12 (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
845 |
/** |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
846 |
* Return MCS 13 from HT MCS values. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
847 |
* |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
848 |
* \return MCS 13 from HT MCS values |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
849 |
*/ |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
850 |
static WifiMode GetHtMcs13 (); |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
851 |
/** |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
852 |
* Return MCS 14 from HT MCS values. |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
853 |
* |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
854 |
* \return MCS 14 from HT MCS values |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
855 |
*/ |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
856 |
static WifiMode GetHtMcs14 (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
857 |
/** |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
858 |
* Return MCS 15 from HT MCS values. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
859 |
* |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
860 |
* \return MCS 15 from HT MCS values |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
861 |
*/ |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
862 |
static WifiMode GetHtMcs15 (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
863 |
/** |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
864 |
* Return MCS 16 from HT MCS values. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
865 |
* |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
866 |
* \return MCS 16 from HT MCS values |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
867 |
*/ |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
868 |
static WifiMode GetHtMcs16 (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
869 |
/** |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
870 |
* Return MCS 17 from HT MCS values. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
871 |
* |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
872 |
* \return MCS 17 from HT MCS values |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
873 |
*/ |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
874 |
static WifiMode GetHtMcs17 (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
875 |
/** |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
876 |
* Return MCS 18 from HT MCS values. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
877 |
* |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
878 |
* \return MCS 18 from HT MCS values |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
879 |
*/ |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
880 |
static WifiMode GetHtMcs18 (); |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
881 |
/** |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
882 |
* Return MCS 19 from HT MCS values. |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
883 |
* |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
884 |
* \return MCS 19 from HT MCS values |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
885 |
*/ |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
886 |
static WifiMode GetHtMcs19 (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
887 |
/** |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
888 |
* Return MCS 20 from HT MCS values. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
889 |
* |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
890 |
* \return MCS 20 from HT MCS values |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
891 |
*/ |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
892 |
static WifiMode GetHtMcs20 (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
893 |
/** |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
894 |
* Return MCS 21 from HT MCS values. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
895 |
* |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
896 |
* \return MCS 21 from HT MCS values |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
897 |
*/ |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
898 |
static WifiMode GetHtMcs21 (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
899 |
/** |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
900 |
* Return MCS 22 from HT MCS values. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
901 |
* |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
902 |
* \return MCS 22 from HT MCS values |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
903 |
*/ |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
904 |
static WifiMode GetHtMcs22 (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
905 |
/** |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
906 |
* Return MCS 23 from HT MCS values. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
907 |
* |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
908 |
* \return MCS 23 from HT MCS values |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
909 |
*/ |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
910 |
static WifiMode GetHtMcs23 (); |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
911 |
/** |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
912 |
* Return MCS 24 from HT MCS values. |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
913 |
* |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
914 |
* \return MCS 24 from HT MCS values |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
915 |
*/ |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
916 |
static WifiMode GetHtMcs24 (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
917 |
/** |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
918 |
* Return MCS 25 from HT MCS values. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
919 |
* |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
920 |
* \return MCS 25 from HT MCS values |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
921 |
*/ |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
922 |
static WifiMode GetHtMcs25 (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
923 |
/** |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
924 |
* Return MCS 26 from HT MCS values. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
925 |
* |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
926 |
* \return MCS 26 from HT MCS values |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
927 |
*/ |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
928 |
static WifiMode GetHtMcs26 (); |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
929 |
/** |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
930 |
* Return MCS 27 from HT MCS values. |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
931 |
* |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
932 |
* \return MCS 27 from HT MCS values |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
933 |
*/ |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
934 |
static WifiMode GetHtMcs27 (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
935 |
/** |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
936 |
* Return MCS 28 from HT MCS values. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
937 |
* |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
938 |
* \return MCS 28 from HT MCS values |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
939 |
*/ |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
940 |
static WifiMode GetHtMcs28 (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
941 |
/** |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
942 |
* Return MCS 29 from HT MCS values. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
943 |
* |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
944 |
* \return MCS 29 from HT MCS values |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
945 |
*/ |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
946 |
static WifiMode GetHtMcs29 (); |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
947 |
/** |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
948 |
* Return MCS 30 from HT MCS values. |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
949 |
* |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
950 |
* \return MCS 30 from HT MCS values |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
951 |
*/ |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
952 |
static WifiMode GetHtMcs30 (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
953 |
/** |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
954 |
* Return MCS 31 from HT MCS values. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
955 |
* |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
956 |
* \return MCS 31 from HT MCS values |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
957 |
*/ |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
958 |
static WifiMode GetHtMcs31 (); |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
959 |
|
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
960 |
/** |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
961 |
* Return MCS 0 from VHT MCS values. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
962 |
* |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
963 |
* \return MCS 0 from VHT MCS values |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
964 |
*/ |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
965 |
static WifiMode GetVhtMcs0 (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
966 |
/** |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
967 |
* Return MCS 1 from VHT MCS values. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
968 |
* |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
969 |
* \return MCS 1 from VHT MCS values |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
970 |
*/ |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
971 |
static WifiMode GetVhtMcs1 (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
972 |
/** |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
973 |
* Return MCS 2 from VHT MCS values. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
974 |
* |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
975 |
* \return MCS 2 from VHT MCS values |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
976 |
*/ |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
977 |
static WifiMode GetVhtMcs2 (); |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
978 |
/** |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
979 |
* Return MCS 3 from VHT MCS values. |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
980 |
* |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
981 |
* \return MCS 3 from VHT MCS values |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
982 |
*/ |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
983 |
static WifiMode GetVhtMcs3 (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
984 |
/** |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
985 |
* Return MCS 4 from VHT MCS values. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
986 |
* |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
987 |
* \return MCS 4 from VHT MCS values |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
988 |
*/ |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
989 |
static WifiMode GetVhtMcs4 (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
990 |
/** |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
991 |
* Return MCS 5 from VHT MCS values. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
992 |
* |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
993 |
* \return MCS 5 from VHT MCS values |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
994 |
*/ |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
995 |
static WifiMode GetVhtMcs5 (); |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
996 |
/** |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
997 |
* Return MCS 6 from VHT MCS values. |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
998 |
* |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
999 |
* \return MCS 6 from VHT MCS values |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
1000 |
*/ |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
1001 |
static WifiMode GetVhtMcs6 (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
1002 |
/** |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
1003 |
* Return MCS 7 from VHT MCS values. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
1004 |
* |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
1005 |
* \return MCS 7 from VHT MCS values |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
1006 |
*/ |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
1007 |
static WifiMode GetVhtMcs7 (); |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
1008 |
/** |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
1009 |
* Return MCS 8 from VHT MCS values. |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
1010 |
* |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
1011 |
* \return MCS 8 from VHT MCS values |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
1012 |
*/ |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
1013 |
static WifiMode GetVhtMcs8 (); |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
1014 |
/** |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
1015 |
* Return MCS 9 from VHT MCS values. |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
1016 |
* |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
1017 |
* \return MCS 9 from VHT MCS values |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
1018 |
*/ |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
1019 |
static WifiMode GetVhtMcs9 (); |
4470 | 1020 |
|
4264
9d2e96c4e6e4
Piles of changes for tracing rework
Craig Dowell <craigdo@ee.washington.edu>
parents:
4263
diff
changeset
|
1021 |
/** |
11442
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
1022 |
* Public method used to fire a PhyTxBegin trace. |
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
1023 |
* Implemented for encapsulation purposes. |
10424
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1024 |
* |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1025 |
* \param packet the packet being transmitted |
4264
9d2e96c4e6e4
Piles of changes for tracing rework
Craig Dowell <craigdo@ee.washington.edu>
parents:
4263
diff
changeset
|
1026 |
*/ |
9d2e96c4e6e4
Piles of changes for tracing rework
Craig Dowell <craigdo@ee.washington.edu>
parents:
4263
diff
changeset
|
1027 |
void NotifyTxBegin (Ptr<const Packet> packet); |
9d2e96c4e6e4
Piles of changes for tracing rework
Craig Dowell <craigdo@ee.washington.edu>
parents:
4263
diff
changeset
|
1028 |
/** |
11442
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
1029 |
* Public method used to fire a PhyTxEnd trace. |
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
1030 |
* Implemented for encapsulation purposes. |
10424
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1031 |
* |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1032 |
* \param packet the packet that was transmitted |
4264
9d2e96c4e6e4
Piles of changes for tracing rework
Craig Dowell <craigdo@ee.washington.edu>
parents:
4263
diff
changeset
|
1033 |
*/ |
9d2e96c4e6e4
Piles of changes for tracing rework
Craig Dowell <craigdo@ee.washington.edu>
parents:
4263
diff
changeset
|
1034 |
void NotifyTxEnd (Ptr<const Packet> packet); |
9d2e96c4e6e4
Piles of changes for tracing rework
Craig Dowell <craigdo@ee.washington.edu>
parents:
4263
diff
changeset
|
1035 |
/** |
11442
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
1036 |
* Public method used to fire a PhyTxDrop trace. |
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
1037 |
* Implemented for encapsulation purposes. |
10424
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1038 |
* |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1039 |
* \param packet the packet that was failed to transmitted |
4264
9d2e96c4e6e4
Piles of changes for tracing rework
Craig Dowell <craigdo@ee.washington.edu>
parents:
4263
diff
changeset
|
1040 |
*/ |
9d2e96c4e6e4
Piles of changes for tracing rework
Craig Dowell <craigdo@ee.washington.edu>
parents:
4263
diff
changeset
|
1041 |
void NotifyTxDrop (Ptr<const Packet> packet); |
4263
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1042 |
/** |
11442
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
1043 |
* Public method used to fire a PhyRxBegin trace. |
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
1044 |
* Implemented for encapsulation purposes. |
10424
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1045 |
* |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1046 |
* \param packet the packet being received |
4264
9d2e96c4e6e4
Piles of changes for tracing rework
Craig Dowell <craigdo@ee.washington.edu>
parents:
4263
diff
changeset
|
1047 |
*/ |
9d2e96c4e6e4
Piles of changes for tracing rework
Craig Dowell <craigdo@ee.washington.edu>
parents:
4263
diff
changeset
|
1048 |
void NotifyRxBegin (Ptr<const Packet> packet); |
9d2e96c4e6e4
Piles of changes for tracing rework
Craig Dowell <craigdo@ee.washington.edu>
parents:
4263
diff
changeset
|
1049 |
/** |
11442
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
1050 |
* Public method used to fire a PhyRxEnd trace. |
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
1051 |
* Implemented for encapsulation purposes. |
10424
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1052 |
* |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1053 |
* \param packet the packet received |
4264
9d2e96c4e6e4
Piles of changes for tracing rework
Craig Dowell <craigdo@ee.washington.edu>
parents:
4263
diff
changeset
|
1054 |
*/ |
9d2e96c4e6e4
Piles of changes for tracing rework
Craig Dowell <craigdo@ee.washington.edu>
parents:
4263
diff
changeset
|
1055 |
void NotifyRxEnd (Ptr<const Packet> packet); |
9d2e96c4e6e4
Piles of changes for tracing rework
Craig Dowell <craigdo@ee.washington.edu>
parents:
4263
diff
changeset
|
1056 |
/** |
11442
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
1057 |
* Public method used to fire a PhyRxDrop trace. |
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
1058 |
* Implemented for encapsulation purposes. |
10424
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1059 |
* |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1060 |
* \param packet the packet that was not successfully received |
4264
9d2e96c4e6e4
Piles of changes for tracing rework
Craig Dowell <craigdo@ee.washington.edu>
parents:
4263
diff
changeset
|
1061 |
*/ |
9d2e96c4e6e4
Piles of changes for tracing rework
Craig Dowell <craigdo@ee.washington.edu>
parents:
4263
diff
changeset
|
1062 |
void NotifyRxDrop (Ptr<const Packet> packet); |
9d2e96c4e6e4
Piles of changes for tracing rework
Craig Dowell <craigdo@ee.washington.edu>
parents:
4263
diff
changeset
|
1063 |
|
7141
072fb225b714
run check-style.py on src/wifi
Nicola Baldo <nicola@baldo.biz>
parents:
7139
diff
changeset
|
1064 |
/** |
11442
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
1065 |
* Public method used to fire a MonitorSniffer trace for a wifi packet being received. |
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
1066 |
* Implemented for encapsulation purposes. |
7141
072fb225b714
run check-style.py on src/wifi
Nicola Baldo <nicola@baldo.biz>
parents:
7139
diff
changeset
|
1067 |
* |
11086
65914b1ed5b3
TracedCallback function signatures, the rest.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11083
diff
changeset
|
1068 |
* \param packet the packet being received |
65914b1ed5b3
TracedCallback function signatures, the rest.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11083
diff
changeset
|
1069 |
* \param channelFreqMhz the frequency in MHz at which the packet is |
65914b1ed5b3
TracedCallback function signatures, the rest.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11083
diff
changeset
|
1070 |
* received. Note that in real devices this is normally the |
65914b1ed5b3
TracedCallback function signatures, the rest.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11083
diff
changeset
|
1071 |
* frequency to which the receiver is tuned, and this can be |
65914b1ed5b3
TracedCallback function signatures, the rest.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11083
diff
changeset
|
1072 |
* different than the frequency at which the packet was originally |
65914b1ed5b3
TracedCallback function signatures, the rest.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11083
diff
changeset
|
1073 |
* transmitted. This is because it is possible to have the receiver |
65914b1ed5b3
TracedCallback function signatures, the rest.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11083
diff
changeset
|
1074 |
* tuned on a given channel and still to be able to receive packets |
65914b1ed5b3
TracedCallback function signatures, the rest.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11083
diff
changeset
|
1075 |
* on a nearby channel. |
65914b1ed5b3
TracedCallback function signatures, the rest.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11083
diff
changeset
|
1076 |
* \param channelNumber the channel on which the packet is received |
65914b1ed5b3
TracedCallback function signatures, the rest.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11083
diff
changeset
|
1077 |
* \param rate the PHY data rate in units of 500kbps (i.e., the same |
65914b1ed5b3
TracedCallback function signatures, the rest.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11083
diff
changeset
|
1078 |
* units used both for the radiotap and for the prism header) |
11479
a3dcf66928f3
add support for HT MCS and A-MPDU in radiotap headers
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11452
diff
changeset
|
1079 |
* \param preamble the preamble of the packet |
11570 | 1080 |
* \param txVector the TXVECTOR that holds rx parameters |
11479
a3dcf66928f3
add support for HT MCS and A-MPDU in radiotap headers
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11452
diff
changeset
|
1081 |
* \param aMpdu the type of the packet (0 is not A-MPDU, 1 is a MPDU that is part of an A-MPDU and 2 is the last MPDU in an A-MPDU) |
a3dcf66928f3
add support for HT MCS and A-MPDU in radiotap headers
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11452
diff
changeset
|
1082 |
* and the A-MPDU reference number (must be a different value for each A-MPDU but the same for each subframe within one A-MPDU) |
11492
2e3b8610f78b
rename snrDb to signalNoiseDbm
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11481
diff
changeset
|
1083 |
* \param signalNoise signal power and noise power in dBm |
11086
65914b1ed5b3
TracedCallback function signatures, the rest.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11083
diff
changeset
|
1084 |
*/ |
65914b1ed5b3
TracedCallback function signatures, the rest.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11083
diff
changeset
|
1085 |
void NotifyMonitorSniffRx (Ptr<const Packet> packet, uint16_t channelFreqMhz, |
11479
a3dcf66928f3
add support for HT MCS and A-MPDU in radiotap headers
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11452
diff
changeset
|
1086 |
uint16_t channelNumber, uint32_t rate, WifiPreamble preamble, |
11570 | 1087 |
WifiTxVector txVector, struct mpduInfo aMpdu, struct signalNoiseDbm signalNoise); |
11086
65914b1ed5b3
TracedCallback function signatures, the rest.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11083
diff
changeset
|
1088 |
|
65914b1ed5b3
TracedCallback function signatures, the rest.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11083
diff
changeset
|
1089 |
/** |
65914b1ed5b3
TracedCallback function signatures, the rest.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11083
diff
changeset
|
1090 |
* TracedCallback signature for monitor mode receive events. |
65914b1ed5b3
TracedCallback function signatures, the rest.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11083
diff
changeset
|
1091 |
* |
7141
072fb225b714
run check-style.py on src/wifi
Nicola Baldo <nicola@baldo.biz>
parents:
7139
diff
changeset
|
1092 |
* |
10424
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1093 |
* \param packet the packet being received |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1094 |
* \param channelFreqMhz the frequency in MHz at which the packet is |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1095 |
* received. Note that in real devices this is normally the |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1096 |
* frequency to which the receiver is tuned, and this can be |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1097 |
* different than the frequency at which the packet was originally |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1098 |
* transmitted. This is because it is possible to have the receiver |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1099 |
* tuned on a given channel and still to be able to receive packets |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1100 |
* on a nearby channel. |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1101 |
* \param channelNumber the channel on which the packet is received |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1102 |
* \param rate the PHY data rate in units of 500kbps (i.e., the same |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1103 |
* units used both for the radiotap and for the prism header) |
11479
a3dcf66928f3
add support for HT MCS and A-MPDU in radiotap headers
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11452
diff
changeset
|
1104 |
* \param preamble the preamble of the packet |
11570 | 1105 |
* \param txVector the TXVECTOR that holds rx parameters |
11479
a3dcf66928f3
add support for HT MCS and A-MPDU in radiotap headers
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11452
diff
changeset
|
1106 |
* \param aMpdu the type of the packet (0 is not A-MPDU, 1 is a MPDU that is part of an A-MPDU and 2 is the last MPDU in an A-MPDU) |
a3dcf66928f3
add support for HT MCS and A-MPDU in radiotap headers
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11452
diff
changeset
|
1107 |
* and the A-MPDU reference number (must be a different value for each A-MPDU but the same for each subframe within one A-MPDU) |
11492
2e3b8610f78b
rename snrDb to signalNoiseDbm
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11481
diff
changeset
|
1108 |
* \param signalNoise signal power and noise power in dBm |
11606
98fa74311b21
[doxygen] Revise TracedCallback function signatures for const.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11570
diff
changeset
|
1109 |
* \todo WifiTxVector should be passed by const reference because |
98fa74311b21
[doxygen] Revise TracedCallback function signatures for const.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11570
diff
changeset
|
1110 |
* of its size. |
4264
9d2e96c4e6e4
Piles of changes for tracing rework
Craig Dowell <craigdo@ee.washington.edu>
parents:
4263
diff
changeset
|
1111 |
*/ |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
1112 |
typedef void (* MonitorSnifferRxCallback)(Ptr<const Packet> packet, uint16_t channelFreqMhz, |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
1113 |
uint16_t channelNumber, uint32_t rate, WifiPreamble preamble, |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
1114 |
WifiTxVector txVector, struct mpduInfo aMpdu, |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
1115 |
struct signalNoiseDbm signalNoise); |
4492
3ebeb7bf3c15
added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents:
4470
diff
changeset
|
1116 |
|
7141
072fb225b714
run check-style.py on src/wifi
Nicola Baldo <nicola@baldo.biz>
parents:
7139
diff
changeset
|
1117 |
/** |
11442
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
1118 |
* Public method used to fire a MonitorSniffer trace for a wifi packet being transmitted. |
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
1119 |
* Implemented for encapsulation purposes. |
7141
072fb225b714
run check-style.py on src/wifi
Nicola Baldo <nicola@baldo.biz>
parents:
7139
diff
changeset
|
1120 |
* |
10424
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1121 |
* \param packet the packet being transmitted |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1122 |
* \param channelFreqMhz the frequency in MHz at which the packet is |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1123 |
* transmitted. |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1124 |
* \param channelNumber the channel on which the packet is transmitted |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1125 |
* \param rate the PHY data rate in units of 500kbps (i.e., the same |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1126 |
* units used both for the radiotap and for the prism header) |
11479
a3dcf66928f3
add support for HT MCS and A-MPDU in radiotap headers
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11452
diff
changeset
|
1127 |
* \param preamble the preamble of the packet |
11570 | 1128 |
* \param txVector the TXVECTOR that holds tx parameters |
11479
a3dcf66928f3
add support for HT MCS and A-MPDU in radiotap headers
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11452
diff
changeset
|
1129 |
* \param aMpdu the type of the packet (0 is not A-MPDU, 1 is a MPDU that is part of an A-MPDU and 2 is the last MPDU in an A-MPDU) |
a3dcf66928f3
add support for HT MCS and A-MPDU in radiotap headers
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11452
diff
changeset
|
1130 |
* and the A-MPDU reference number (must be a different value for each A-MPDU but the same for each subframe within one A-MPDU) |
4492
3ebeb7bf3c15
added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents:
4470
diff
changeset
|
1131 |
*/ |
11086
65914b1ed5b3
TracedCallback function signatures, the rest.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11083
diff
changeset
|
1132 |
void NotifyMonitorSniffTx (Ptr<const Packet> packet, uint16_t channelFreqMhz, |
11479
a3dcf66928f3
add support for HT MCS and A-MPDU in radiotap headers
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11452
diff
changeset
|
1133 |
uint16_t channelNumber, uint32_t rate, WifiPreamble preamble, |
11570 | 1134 |
WifiTxVector txVector, struct mpduInfo aMpdu); |
11086
65914b1ed5b3
TracedCallback function signatures, the rest.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11083
diff
changeset
|
1135 |
|
65914b1ed5b3
TracedCallback function signatures, the rest.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11083
diff
changeset
|
1136 |
/** |
65914b1ed5b3
TracedCallback function signatures, the rest.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11083
diff
changeset
|
1137 |
* TracedCallback signature for monitor mode transmit events. |
65914b1ed5b3
TracedCallback function signatures, the rest.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11083
diff
changeset
|
1138 |
* |
65914b1ed5b3
TracedCallback function signatures, the rest.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11083
diff
changeset
|
1139 |
* \param packet the packet being transmitted |
65914b1ed5b3
TracedCallback function signatures, the rest.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11083
diff
changeset
|
1140 |
* \param channelFreqMhz the frequency in MHz at which the packet is |
65914b1ed5b3
TracedCallback function signatures, the rest.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11083
diff
changeset
|
1141 |
* transmitted. |
65914b1ed5b3
TracedCallback function signatures, the rest.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11083
diff
changeset
|
1142 |
* \param channelNumber the channel on which the packet is transmitted |
65914b1ed5b3
TracedCallback function signatures, the rest.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11083
diff
changeset
|
1143 |
* \param rate the PHY data rate in units of 500kbps (i.e., the same |
65914b1ed5b3
TracedCallback function signatures, the rest.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11083
diff
changeset
|
1144 |
* units used both for the radiotap and for the prism header) |
11479
a3dcf66928f3
add support for HT MCS and A-MPDU in radiotap headers
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11452
diff
changeset
|
1145 |
* \param preamble the preamble of the packet |
11570 | 1146 |
* \param txVector the TXVECTOR that holds tx parameters |
11479
a3dcf66928f3
add support for HT MCS and A-MPDU in radiotap headers
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11452
diff
changeset
|
1147 |
* \param aMpdu the type of the packet (0 is not A-MPDU, 1 is a MPDU that is part of an A-MPDU and 2 is the last MPDU in an A-MPDU) |
a3dcf66928f3
add support for HT MCS and A-MPDU in radiotap headers
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11452
diff
changeset
|
1148 |
* and the A-MPDU reference number (must be a different value for each A-MPDU but the same for each subframe within one A-MPDU) |
11606
98fa74311b21
[doxygen] Revise TracedCallback function signatures for const.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11570
diff
changeset
|
1149 |
* \todo WifiTxVector should be passed by const reference because |
98fa74311b21
[doxygen] Revise TracedCallback function signatures for const.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11570
diff
changeset
|
1150 |
* of its size. |
11086
65914b1ed5b3
TracedCallback function signatures, the rest.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11083
diff
changeset
|
1151 |
*/ |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
1152 |
typedef void (* MonitorSnifferTxCallback)(const Ptr<const Packet> packet, uint16_t channelFreqMhz, |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
1153 |
uint16_t channelNumber, uint32_t rate, WifiPreamble preamble, |
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
1154 |
WifiTxVector txVector, struct mpduInfo aMpdu); |
11086
65914b1ed5b3
TracedCallback function signatures, the rest.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11083
diff
changeset
|
1155 |
|
11450
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
1156 |
/** |
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
1157 |
* Assign a fixed random variable stream number to the random variables |
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
1158 |
* used by this model. Return the number of streams (possibly zero) that |
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
1159 |
* have been assigned. |
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
1160 |
* |
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
1161 |
* \param stream first stream index to use |
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
1162 |
* \return the number of stream indices assigned by this model |
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
1163 |
*/ |
8981
7e1c95c4d1a7
Replace src/wifi usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents:
8867
diff
changeset
|
1164 |
virtual int64_t AssignStreams (int64_t stream) = 0; |
7e1c95c4d1a7
Replace src/wifi usage of RandomVariable with RandomVariableStream
Mitch Watrous
parents:
8867
diff
changeset
|
1165 |
|
10139 | 1166 |
/** |
10424
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1167 |
* \param freq the operating frequency on this node. |
10139 | 1168 |
*/ |
11442
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
1169 |
virtual void SetFrequency (uint32_t freq) = 0; |
10424
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1170 |
/** |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1171 |
* \return the operating frequency on this node |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1172 |
*/ |
11442
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
1173 |
virtual uint32_t GetFrequency (void) const = 0; |
10139 | 1174 |
/** |
10424
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1175 |
* \param tx the number of transmitters on this node. |
10139 | 1176 |
*/ |
11442
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
1177 |
virtual void SetNumberOfTransmitAntennas (uint32_t tx) = 0; |
10424
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1178 |
/** |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1179 |
* \return the number of transmit antenna on this device |
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1180 |
*/ |
11442
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
1181 |
virtual uint32_t GetNumberOfTransmitAntennas (void) const = 0; |
11450
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
1182 |
/** |
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
1183 |
* \param rx the number of receivers on this node. |
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
1184 |
*/ |
11442
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
1185 |
virtual void SetNumberOfReceiveAntennas (uint32_t rx) = 0; |
10139 | 1186 |
/** |
11083
96e983e7cd5d
fix typos in wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11075
diff
changeset
|
1187 |
* \return the number of receivers on this node. |
10139 | 1188 |
*/ |
11442
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
1189 |
virtual uint32_t GetNumberOfReceiveAntennas (void) const = 0; |
10139 | 1190 |
/** |
10424
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1191 |
* \param guardInterval Enable or disable short guard interval |
10139 | 1192 |
*/ |
11442
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
1193 |
virtual void SetGuardInterval (bool guardInterval) = 0; |
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
1194 |
/** |
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
1195 |
* \return true if short guard interval is supported, false otherwise |
10139 | 1196 |
*/ |
1197 |
virtual bool GetGuardInterval (void) const = 0; |
|
1198 |
/** |
|
10424
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1199 |
* \param ldpc Enable or disable LDPC |
10139 | 1200 |
*/ |
11442
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
1201 |
virtual void SetLdpc (bool ldpc) = 0; |
10139 | 1202 |
/** |
10424
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1203 |
* \return true if LDPC is supported, false otherwise |
10139 | 1204 |
*/ |
11442
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
1205 |
virtual bool GetLdpc (void) const = 0; |
10139 | 1206 |
/** |
10424
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1207 |
* \param stbc Enable or disable STBC is supported |
10139 | 1208 |
*/ |
11442
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
1209 |
virtual void SetStbc (bool stbc) = 0; |
10139 | 1210 |
/** |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
1211 |
* \return true if STBC is supported, false otherwise |
10139 | 1212 |
*/ |
11442
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
1213 |
virtual bool GetStbc (void) const = 0; |
10139 | 1214 |
/** |
10424
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1215 |
* \param greenfield Enable or disable GreenField |
10139 | 1216 |
*/ |
11442
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
1217 |
virtual void SetGreenfield (bool greenfield) = 0; |
10139 | 1218 |
/** |
10424
9d29c9a5ddcb
doxygen warnings for wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10139
diff
changeset
|
1219 |
* \return true if Greenfield is supported, false otherwise |
10139 | 1220 |
*/ |
11442
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
1221 |
virtual bool GetGreenfield (void) const = 0; |
10139 | 1222 |
/** |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
1223 |
* \return the channel width |
10139 | 1224 |
*/ |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
1225 |
virtual uint32_t GetChannelWidth (void) const = 0; |
10139 | 1226 |
/** |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
1227 |
* \param channelwidth channel width |
10139 | 1228 |
*/ |
11628
243b71de25a0
add support for IEEE 802.11ac
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11606
diff
changeset
|
1229 |
virtual void SetChannelWidth (uint32_t channelwidth) = 0; |
11442
a0bc7041194d
cleanup wifi-phy
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11424
diff
changeset
|
1230 |
|
4264
9d2e96c4e6e4
Piles of changes for tracing rework
Craig Dowell <craigdo@ee.washington.edu>
parents:
4263
diff
changeset
|
1231 |
|
9d2e96c4e6e4
Piles of changes for tracing rework
Craig Dowell <craigdo@ee.washington.edu>
parents:
4263
diff
changeset
|
1232 |
private: |
9d2e96c4e6e4
Piles of changes for tracing rework
Craig Dowell <craigdo@ee.washington.edu>
parents:
4263
diff
changeset
|
1233 |
/** |
9d2e96c4e6e4
Piles of changes for tracing rework
Craig Dowell <craigdo@ee.washington.edu>
parents:
4263
diff
changeset
|
1234 |
* The trace source fired when a packet begins the transmission process on |
4263
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1235 |
* the medium. |
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1236 |
* |
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1237 |
* \see class CallBackTraceSource |
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1238 |
*/ |
4264
9d2e96c4e6e4
Piles of changes for tracing rework
Craig Dowell <craigdo@ee.washington.edu>
parents:
4263
diff
changeset
|
1239 |
TracedCallback<Ptr<const Packet> > m_phyTxBeginTrace; |
4263
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1240 |
|
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1241 |
/** |
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1242 |
* The trace source fired when a packet ends the transmission process on |
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1243 |
* the medium. |
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1244 |
* |
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1245 |
* \see class CallBackTraceSource |
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1246 |
*/ |
4264
9d2e96c4e6e4
Piles of changes for tracing rework
Craig Dowell <craigdo@ee.washington.edu>
parents:
4263
diff
changeset
|
1247 |
TracedCallback<Ptr<const Packet> > m_phyTxEndTrace; |
4263
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1248 |
|
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1249 |
/** |
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1250 |
* The trace source fired when the phy layer drops a packet as it tries |
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1251 |
* to transmit it. |
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1252 |
* |
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1253 |
* \see class CallBackTraceSource |
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1254 |
*/ |
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1255 |
TracedCallback<Ptr<const Packet> > m_phyTxDropTrace; |
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1256 |
|
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1257 |
/** |
4264
9d2e96c4e6e4
Piles of changes for tracing rework
Craig Dowell <craigdo@ee.washington.edu>
parents:
4263
diff
changeset
|
1258 |
* The trace source fired when a packet begins the reception process from |
4263
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1259 |
* the medium. |
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1260 |
* |
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1261 |
* \see class CallBackTraceSource |
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1262 |
*/ |
4264
9d2e96c4e6e4
Piles of changes for tracing rework
Craig Dowell <craigdo@ee.washington.edu>
parents:
4263
diff
changeset
|
1263 |
TracedCallback<Ptr<const Packet> > m_phyRxBeginTrace; |
4263
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1264 |
|
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1265 |
/** |
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1266 |
* The trace source fired when a packet ends the reception process from |
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1267 |
* the medium. |
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1268 |
* |
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1269 |
* \see class CallBackTraceSource |
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1270 |
*/ |
4264
9d2e96c4e6e4
Piles of changes for tracing rework
Craig Dowell <craigdo@ee.washington.edu>
parents:
4263
diff
changeset
|
1271 |
TracedCallback<Ptr<const Packet> > m_phyRxEndTrace; |
4263
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1272 |
|
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1273 |
/** |
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1274 |
* The trace source fired when the phy layer drops a packet it has received. |
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1275 |
* |
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1276 |
* \see class CallBackTraceSource |
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1277 |
*/ |
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1278 |
TracedCallback<Ptr<const Packet> > m_phyRxDropTrace; |
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1279 |
|
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1280 |
/** |
4492
3ebeb7bf3c15
added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents:
4470
diff
changeset
|
1281 |
* A trace source that emulates a wifi device in monitor mode |
7141
072fb225b714
run check-style.py on src/wifi
Nicola Baldo <nicola@baldo.biz>
parents:
7139
diff
changeset
|
1282 |
* sniffing a packet being received. |
072fb225b714
run check-style.py on src/wifi
Nicola Baldo <nicola@baldo.biz>
parents:
7139
diff
changeset
|
1283 |
* |
4492
3ebeb7bf3c15
added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents:
4470
diff
changeset
|
1284 |
* As a reference with the real world, firing this trace |
3ebeb7bf3c15
added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents:
4470
diff
changeset
|
1285 |
* corresponds in the madwifi driver to calling the function |
3ebeb7bf3c15
added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents:
4470
diff
changeset
|
1286 |
* ieee80211_input_monitor() |
4263
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1287 |
* |
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1288 |
* \see class CallBackTraceSource |
11606
98fa74311b21
[doxygen] Revise TracedCallback function signatures for const.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11570
diff
changeset
|
1289 |
* \todo WifiTxVector and signalNoiseDbm should be be passed as |
98fa74311b21
[doxygen] Revise TracedCallback function signatures for const.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11570
diff
changeset
|
1290 |
* const references because of their sizes. |
4263
fec2f830d015
trace consistency changes
Craig Dowell <craigdo@ee.washington.edu>
parents:
4039
diff
changeset
|
1291 |
*/ |
11606
98fa74311b21
[doxygen] Revise TracedCallback function signatures for const.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11570
diff
changeset
|
1292 |
TracedCallback<Ptr<const Packet>, uint16_t, uint16_t, uint32_t, |
98fa74311b21
[doxygen] Revise TracedCallback function signatures for const.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11570
diff
changeset
|
1293 |
WifiPreamble, WifiTxVector, |
98fa74311b21
[doxygen] Revise TracedCallback function signatures for const.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11570
diff
changeset
|
1294 |
struct mpduInfo, struct signalNoiseDbm> m_phyMonitorSniffRxTrace; |
4492
3ebeb7bf3c15
added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents:
4470
diff
changeset
|
1295 |
|
3ebeb7bf3c15
added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents:
4470
diff
changeset
|
1296 |
/** |
3ebeb7bf3c15
added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents:
4470
diff
changeset
|
1297 |
* A trace source that emulates a wifi device in monitor mode |
7141
072fb225b714
run check-style.py on src/wifi
Nicola Baldo <nicola@baldo.biz>
parents:
7139
diff
changeset
|
1298 |
* sniffing a packet being transmitted. |
072fb225b714
run check-style.py on src/wifi
Nicola Baldo <nicola@baldo.biz>
parents:
7139
diff
changeset
|
1299 |
* |
4492
3ebeb7bf3c15
added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents:
4470
diff
changeset
|
1300 |
* As a reference with the real world, firing this trace |
3ebeb7bf3c15
added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents:
4470
diff
changeset
|
1301 |
* corresponds in the madwifi driver to calling the function |
3ebeb7bf3c15
added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents:
4470
diff
changeset
|
1302 |
* ieee80211_input_monitor() |
3ebeb7bf3c15
added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents:
4470
diff
changeset
|
1303 |
* |
3ebeb7bf3c15
added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents:
4470
diff
changeset
|
1304 |
* \see class CallBackTraceSource |
11606
98fa74311b21
[doxygen] Revise TracedCallback function signatures for const.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11570
diff
changeset
|
1305 |
* \todo WifiTxVector should be passed by const reference because |
98fa74311b21
[doxygen] Revise TracedCallback function signatures for const.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11570
diff
changeset
|
1306 |
* of its size. |
4492
3ebeb7bf3c15
added support for radiotap and prism headers
Nicola Baldo <nbaldo@cttc.es>
parents:
4470
diff
changeset
|
1307 |
*/ |
11606
98fa74311b21
[doxygen] Revise TracedCallback function signatures for const.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11570
diff
changeset
|
1308 |
TracedCallback<Ptr<const Packet>, uint16_t, uint16_t, uint32_t, |
98fa74311b21
[doxygen] Revise TracedCallback function signatures for const.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11570
diff
changeset
|
1309 |
WifiPreamble, WifiTxVector, |
98fa74311b21
[doxygen] Revise TracedCallback function signatures for const.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
11570
diff
changeset
|
1310 |
struct mpduInfo> m_phyMonitorSniffTxTrace; |
11450
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
1311 |
|
11174
780a43e4980c
add MPDU aggregation (with contributions from Sebastien Deronne and Ioannis Selinis)
Ghada Badawy <gbadawy@gmail.com>
parents:
11159
diff
changeset
|
1312 |
uint32_t m_totalAmpduNumSymbols; //!< Number of symbols previously transmitted for the MPDUs in an A-MPDU, used for the computation of the number of symbols needed for the last MPDU in the A-MPDU |
780a43e4980c
add MPDU aggregation (with contributions from Sebastien Deronne and Ioannis Selinis)
Ghada Badawy <gbadawy@gmail.com>
parents:
11159
diff
changeset
|
1313 |
uint32_t m_totalAmpduSize; //!< Total size of the previously transmitted MPDUs in an A-MPDU, used for the computation of the number of symbols needed for the last MPDU in the A-MPDU |
1889 | 1314 |
}; |
1315 |
||
5820
1c02054740eb
Renaming WifiPhy state SYNC to RX to avoid confusion with "synchronizing".
Timo Bingmann <tbns@idlebox.net>
parents:
5189
diff
changeset
|
1316 |
/** |
1c02054740eb
Renaming WifiPhy state SYNC to RX to avoid confusion with "synchronizing".
Timo Bingmann <tbns@idlebox.net>
parents:
5189
diff
changeset
|
1317 |
* \param os output stream |
1c02054740eb
Renaming WifiPhy state SYNC to RX to avoid confusion with "synchronizing".
Timo Bingmann <tbns@idlebox.net>
parents:
5189
diff
changeset
|
1318 |
* \param state wifi state to stringify |
10483
e3a02ed14587
[doxygen] wifi module
Daniel Lertpratchya <nikkipui@gmail.com>
parents:
10424
diff
changeset
|
1319 |
* \return output stream |
5820
1c02054740eb
Renaming WifiPhy state SYNC to RX to avoid confusion with "synchronizing".
Timo Bingmann <tbns@idlebox.net>
parents:
5189
diff
changeset
|
1320 |
*/ |
1c02054740eb
Renaming WifiPhy state SYNC to RX to avoid confusion with "synchronizing".
Timo Bingmann <tbns@idlebox.net>
parents:
5189
diff
changeset
|
1321 |
std::ostream& operator<< (std::ostream& os, enum WifiPhy::State state); |
1c02054740eb
Renaming WifiPhy state SYNC to RX to avoid confusion with "synchronizing".
Timo Bingmann <tbns@idlebox.net>
parents:
5189
diff
changeset
|
1322 |
|
11450
9f4ae69f12b7
cleanup wifi module
Sébastien Deronne <sebastien.deronne@gmail.com>
parents:
11442
diff
changeset
|
1323 |
} //namespace ns3 |
1889 | 1324 |
|
1890
a2b30c6456c9
Phy80211 -> WifiPhy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
1889
diff
changeset
|
1325 |
#endif /* WIFI_PHY_H */ |