#include "ns3/command-line.h"#include "ns3/config.h"#include "ns3/double.h"#include "ns3/flow-monitor-helper.h"#include "ns3/gnuplot.h"#include "ns3/internet-stack-helper.h"#include "ns3/ipv4-address-helper.h"#include "ns3/ipv4-flow-classifier.h"#include "ns3/log.h"#include "ns3/mobility-helper.h"#include "ns3/on-off-helper.h"#include "ns3/packet-sink-helper.h"#include "ns3/ssid.h"#include "ns3/uinteger.h"#include "ns3/wifi-mac-header.h"#include "ns3/wifi-mac.h"#include "ns3/wifi-net-device.h"#include "ns3/yans-wifi-channel.h"#include "ns3/yans-wifi-helper.h" Include dependency graph for wifi-power-adaptation-interference.cc:
 Include dependency graph for wifi-power-adaptation-interference.cc:Go to the source code of this file.
| Classes | |
| class | NodeStatistics | 
| Class to collect node statistics.  More... | |
| Functions | |
| void | PowerCallback (std::string path, double oldPower, double newPower, Mac48Address dest) | 
| Callback called by WifiNetDevice/RemoteStationManager/x/PowerChange. | |
| void | RateCallback (std::string path, DataRate oldRate, DataRate newRate, Mac48Address dest) | 
| Callback called by WifiNetDevice/RemoteStationManager/x/RateChange. | |
| Variables | |
| static const uint32_t | packetSize = 1420 | 
| Packet size generated at the AP. | |
$ ./ns3 run "wifi-power-adaptation-interference [Program Options]"
--manager  --rtsThreshold  --outputFileName  --simuTime  --maxPower  --minPower  --powerLevels  --AP1_x  --AP1_y  --STA1_x  --STA1_y  --AP2_x  --AP2_y  --STA2_x  --STA2_y  Definition in file wifi-power-adaptation-interference.cc.
| void PowerCallback | ( | std::string | path, | 
| double | oldPower, | ||
| double | newPower, | ||
| Mac48Address | dest | ||
| ) | 
Callback called by WifiNetDevice/RemoteStationManager/x/PowerChange.
| path | The trace path. | 
| oldPower | Old Tx power. | 
| newPower | Actual Tx power. | 
| dest | Destination of the transmission. | 
Definition at line 433 of file wifi-power-adaptation-interference.cc.
References ns3::Simulator::Now(), and NS_LOG_INFO.
 Here is the call graph for this function:
 Here is the call graph for this function:| void RateCallback | ( | std::string | path, | 
| DataRate | oldRate, | ||
| DataRate | newRate, | ||
| Mac48Address | dest | ||
| ) | 
Callback called by WifiNetDevice/RemoteStationManager/x/RateChange.
| path | The trace path. | 
| oldRate | Old rate. | 
| newRate | Actual rate. | 
| dest | Destination of the transmission. | 
Definition at line 448 of file wifi-power-adaptation-interference.cc.
References ns3::Simulator::Now(), and NS_LOG_INFO.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | static | 
Packet size generated at the AP.
Definition at line 83 of file wifi-power-adaptation-interference.cc.