Skip to content

Commit

Permalink
Merge branch 'fix_issue_32' into 'master'
Browse files Browse the repository at this point in the history
examples: Update comments in rate-adaptation-distance

Closes #32

See merge request nsnam/ns-3-dev!45
  • Loading branch information
sderonne committed Apr 27, 2019
2 parents e6c7376 + ee7fcf4 commit fe0ca00
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions examples/wireless/rate-adaptation-distance.cc
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@
* - (if logging is enabled) the changes of rate to standard output.
*
* Example usage:
* ./waf --run "rate-adaptation-distance --staManager=ns3::MinstrelWifiManager --apManager=ns3::MinstrelWifiManager --outputFileName=minstrel"
* ./waf --run "rate-adaptation-distance --standard=802.11a --staManager=ns3::MinstrelWifiManager --apManager=ns3::MinstrelWifiManager --outputFileName=minstrel"
*
* Another example (moving towards the AP):
* ./waf --run "rate-adaptation-distance --staManager=ns3::MinstrelWifiManager --apManager=ns3::MinstrelWifiManager --outputFileName=minstrel --stepsSize=1 --STA1_x=-200"
* ./waf --run "rate-adaptation-distance --standard=802.11a --staManager=ns3::MinstrelWifiManager --apManager=ns3::MinstrelWifiManager --outputFileName=minstrel --stepsSize=1 --STA1_x=-200"
*
* Example for HT rates with SGI and channel width of 40MHz:
* ./waf --run "rate-adaptation-distance --staManager=ns3::MinstrelHtWifiManager --apManager=ns3::MinstrelHtWifiManager --outputFileName=minstrelHt --shortGuardInterval=true --channelWidth=40"
Expand Down Expand Up @@ -191,7 +191,6 @@ int main (int argc, char *argv[])
NodeContainer wifiStaNodes;
wifiStaNodes.Create (1);


YansWifiPhyHelper wifiPhy = YansWifiPhyHelper::Default ();
YansWifiChannelHelper wifiChannel = YansWifiChannelHelper::Default ();
wifiPhy.SetChannel (wifiChannel.Create ());
Expand Down

0 comments on commit fe0ca00

Please sign in to comment.