Beacon is beacon header + list of arbitrary information elements. More...
#include <mesh-wifi-beacon.h>
Public Member Functions | |
MeshWifiBeacon (Ssid ssid, SupportedRates rates, uint64_t us) | |
MgtBeaconHeader | BeaconHeader () const |
Read standard Wifi beacon header. | |
void | AddInformationElement (Ptr< WifiInformationElement > ie) |
Add information element. | |
WifiMacHeader | CreateHeader (Mac48Address address, Mac48Address mpAddress) |
Time | GetBeaconInterval () const |
Returns a beacon interval of wifi beacon. | |
Ptr< Packet > | CreatePacket () |
Create frame = { beacon header + all information elements sorted by ElementId () }. |
Beacon is beacon header + list of arbitrary information elements.
It is supposed that distinct mesh protocols can use beacons to transport their own information elements.
ns3::MeshWifiBeacon::MeshWifiBeacon | ( | Ssid | ssid, |
SupportedRates | rates, | ||
uint64_t | us | ||
) |
C-tor
ssid | is SSID for beacon header |
rates | is a set of supported rates |
us | beacon interval in microseconds |
WifiMacHeader ns3::MeshWifiBeacon::CreateHeader | ( | Mac48Address | address, |
Mac48Address | mpAddress | ||
) |
Create wifi header for beacon frame.
address | is sender address |
mpAddress | is mesh point address |