Classes | |
| struct | DropStats |
| Packet drop statistics. More... | |
| struct | WifiSetupParams |
| Wi-Fi setup parameters. More... | |
Functions | |
| std::pair< NetDeviceContainer, NetDeviceContainer > | CreateWifiDevices (const WifiSetupParams &wifiParams) |
| Create Wi-Fi devices. | |
| SpectrumWifiPhyHelper | GetPhyHelper (const std::string &channelsStr, Ptr< SpectrumChannel > channel) |
| Get a SpectrumWifiPhyHelper object configured with the channel settings listed in the given input string and with the given Spectrum channel. | |
| void | PrintThroughput (const Time &start, const Time &end, Ptr< Node > serverNode, Ptr< Node > staNode, uint64_t ulTxBytes, uint64_t dlTxBytes, uint64_t &ulRxBytes, uint64_t &dlRxBytes) |
| Print the average UL and DL throughput over the given time interval. | |
| std::pair< NetDeviceContainer, NetDeviceContainer > anonymous_namespace{wifi-roaming.cc}::CreateWifiDevices | ( | const WifiSetupParams & | wifiParams | ) |
Create Wi-Fi devices.
| wifiParams | the parameters to setup Wi-Fi devices |
Definition at line 170 of file wifi-roaming.cc.
References anonymous_namespace{wifi-roaming.cc}::WifiSetupParams::ap1Channels, anonymous_namespace{wifi-roaming.cc}::WifiSetupParams::ap2Channels, anonymous_namespace{wifi-roaming.cc}::WifiSetupParams::apNodes, ns3::WifiHelper::AssignStreams(), ns3::CreateObject(), ns3::NodeContainer::Get(), ns3::NodeContainer::GetN(), GetPhyHelper(), NS_ABORT_MSG_IF, NS_LOG_INFO, anonymous_namespace{wifi-roaming.cc}::WifiSetupParams::staChannels, anonymous_namespace{wifi-roaming.cc}::WifiSetupParams::staNodes, and ns3::WIFI_STANDARD_80211be.
| SpectrumWifiPhyHelper anonymous_namespace{wifi-roaming.cc}::GetPhyHelper | ( | const std::string & | channelsStr, |
| Ptr< SpectrumChannel > | channel ) |
Get a SpectrumWifiPhyHelper object configured with the channel settings listed in the given input string and with the given Spectrum channel.
| channelsStr | the input string containing semicolon separated channel settings |
| Channel | the given Spectrum channel |
Definition at line 148 of file wifi-roaming.cc.
References ns3::WifiPhyHelper::DLT_IEEE802_11_RADIO, NS_LOG_INFO, and ns3::SplitString().
Referenced by CreateWifiDevices().
| void anonymous_namespace{wifi-roaming.cc}::PrintThroughput | ( | const Time & | start, |
| const Time & | end, | ||
| Ptr< Node > | serverNode, | ||
| Ptr< Node > | staNode, | ||
| uint64_t | ulTxBytes, | ||
| uint64_t | dlTxBytes, | ||
| uint64_t & | ulRxBytes, | ||
| uint64_t & | dlRxBytes ) |
Print the average UL and DL throughput over the given time interval.
| start | start of the time interval |
| end | end of the time interval |
| serverNode | the server node |
| staNode | the STA node |
| ulTxBytes | cumulative number of bytes transmitted in the UL |
| dlTxBytes | cumulative number of bytes transmitted in the DL |
| ulRxBytes | cumulative number of bytes received in the UL before the interval; updated with the current cumulative value |
| dlRxBytes | cumulative number of bytes received in the DL before the interval; updated with the current cumulative value |
Definition at line 249 of file wifi-roaming.cc.
References ns3::Time::As(), ns3::DynamicCast(), NS_LOG_ERROR, ns3::Time::S, and sink.