LEFT | RIGHT |
(no file at all) | |
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ | 1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
2 /* | 2 /* |
3 * Copyright (c) 2008 INRIA | 3 * Copyright (c) 2008 INRIA |
4 * Copyright (c) 2013 Dalian University of Technology | 4 * Copyright (c) 2013 Dalian University of Technology |
5 * | 5 * |
6 * This program is free software; you can redistribute it and/or modify | 6 * This program is free software; you can redistribute it and/or modify |
7 * it under the terms of the GNU General Public License version 2 as | 7 * it under the terms of the GNU General Public License version 2 as |
8 * published by the Free Software Foundation; | 8 * published by the Free Software Foundation; |
9 * | 9 * |
10 * This program is distributed in the hope that it will be useful, | 10 * This program is distributed in the hope that it will be useful, |
(...skipping 12 matching lines...) Expand all Loading... |
23 #define OCB_WIFI_MAC_H | 23 #define OCB_WIFI_MAC_H |
24 | 24 |
25 #include "ns3/object-factory.h" | 25 #include "ns3/object-factory.h" |
26 #include "ns3/regular-wifi-mac.h" | 26 #include "ns3/regular-wifi-mac.h" |
27 #include "ns3/wifi-mac-queue.h" | 27 #include "ns3/wifi-mac-queue.h" |
28 #include "ns3/qos-utils.h" | 28 #include "ns3/qos-utils.h" |
29 #include "vendor-specific-action.h" | 29 #include "vendor-specific-action.h" |
30 #include "wave-net-device.h" | 30 #include "wave-net-device.h" |
31 | 31 |
32 namespace ns3 { | 32 namespace ns3 { |
| 33 |
33 class OrganizationIdentifier; | 34 class OrganizationIdentifier; |
34 class WaveNetDevice; | 35 class WaveNetDevice; |
| 36 |
35 /** | 37 /** |
36 * \brief STAs communicate with each directly outside the context of a BSS | 38 * \brief STAs communicate with each directly outside the context of a BSS |
37 * \ingroup wave | 39 * \ingroup wave |
38 * | 40 * |
39 * In OCB mac mode,synchronization, association, dis-association | 41 * In OCB mac mode,synchronization, association, dis-association |
40 * and authentication of normal wifi are not used for wireless access in | 42 * and authentication of normal wifi are not used for wireless access in |
41 * vehicular environments. | 43 * vehicular environments. |
42 * | 44 * |
43 * Although Timing Advertisement frame is a specific management frame defined | 45 * Although Timing Advertisement frame is a specific management frame defined |
44 * in 802.11p. It is mainly used by IEEE Std 1609.4 for channel switch synchroni
zation. | 46 * in 802.11p. It is mainly used by IEEE Std 1609.4 for channel switch synchroni
zation. |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 * Cancel transmit operation for internal queue associated with a specified Ac
cess Category. | 168 * Cancel transmit operation for internal queue associated with a specified Ac
cess Category. |
167 */ | 169 */ |
168 void CancleTx (enum AcIndex ac); | 170 void CancleTx (enum AcIndex ac); |
169 /** | 171 /** |
170 * To support MAC extension for multiple channel operation, | 172 * To support MAC extension for multiple channel operation, |
171 * Reset current MAC entity and flush its internal queues. | 173 * Reset current MAC entity and flush its internal queues. |
172 */ | 174 */ |
173 void Reset (void); | 175 void Reset (void); |
174 | 176 |
175 protected: | 177 protected: |
176 virtual void FinishConfigureStandard (enum WifiPhyStandard standard); | 178 virtual void FinishConfigureStandard (WifiPhyStandard standard); |
177 private: | 179 private: |
178 virtual void Receive (Ptr<Packet> packet, const WifiMacHeader *hdr); | 180 virtual void Receive (Ptr<Packet> packet, const WifiMacHeader *hdr); |
179 | 181 |
180 VendorSpecificContentManager m_vscManager; ///< VSC manager | 182 VendorSpecificContentManager m_vscManager; ///< VSC manager |
181 }; | 183 }; |
182 | 184 |
183 } | 185 } |
184 #endif /* OCB_WIFI_MAC_H */ | 186 #endif /* OCB_WIFI_MAC_H */ |
LEFT | RIGHT |