WifiCtsToSelfProtection specifies that CTS-to-self protection method is used. More...
#include "wifi-protection.h"
Public Member Functions | |
WifiCtsToSelfProtection () | |
std::unique_ptr< WifiProtection > | Copy () const override |
Clone this object. | |
void | Print (std::ostream &os) const override |
Print the object contents. | |
Public Member Functions inherited from ns3::WifiProtection | |
WifiProtection (Method m) | |
Constructor. | |
virtual | ~WifiProtection () |
virtual std::unique_ptr< WifiProtection > | Copy () const =0 |
Clone this object. | |
virtual void | Print (std::ostream &os) const =0 |
Print the object contents. | |
Public Attributes | |
WifiTxVector | ctsTxVector |
CTS TXVECTOR. | |
Public Attributes inherited from ns3::WifiProtection | |
const Method | method |
protection method | |
Time | protectionTime |
time required by the protection method | |
Additional Inherited Members | |
Public Types inherited from ns3::WifiProtection | |
enum | Method { NONE = 0 , RTS_CTS , CTS_TO_SELF , MU_RTS_CTS } |
Available protection methods. More... | |
WifiCtsToSelfProtection specifies that CTS-to-self protection method is used.
Definition at line 111 of file wifi-protection.h.
ns3::WifiCtsToSelfProtection::WifiCtsToSelfProtection | ( | ) |
Definition at line 88 of file wifi-protection.cc.
|
overridevirtual |
Clone this object.
Implements ns3::WifiProtection.
Definition at line 94 of file wifi-protection.cc.
|
overridevirtual |
Print the object contents.
os | output stream in which the data should be printed. |
Implements ns3::WifiProtection.
Definition at line 100 of file wifi-protection.cc.
WifiTxVector ns3::WifiCtsToSelfProtection::ctsTxVector |
CTS TXVECTOR.
Definition at line 118 of file wifi-protection.h.
Referenced by ns3::FrameExchangeManager::CalculateProtectionTime(), and ns3::FrameExchangeManager::SendCtsToSelf().