Public Member Functions

ns3::MeshWifiBeacon Class Reference

Beacon is beacon header + list of arbitrary information elements. More...

#include <mesh-wifi-beacon.h>

Collaboration diagram for ns3::MeshWifiBeacon:
Collaboration graph
[legend]

List of all members.

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< PacketCreatePacket ()
 Create frame = { beacon header + all information elements sorted by ElementId () }.

Detailed Description

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.


Constructor & Destructor Documentation

ns3::MeshWifiBeacon::MeshWifiBeacon ( Ssid  ssid,
SupportedRates  rates,
uint64_t  us 
)

C-tor

Parameters:
ssid is SSID for beacon header
rates is a set of supported rates
us beacon interval in microseconds

Member Function Documentation

WifiMacHeader ns3::MeshWifiBeacon::CreateHeader ( Mac48Address  address,
Mac48Address  mpAddress 
)

Create wifi header for beacon frame.

Parameters:
address is sender address
mpAddress is mesh point address

The documentation for this class was generated from the following file: