examples/wireless/wifi-blockack.cc
author Tom Henderson <tomh@tomh.org>
Thu, 01 Oct 2015 11:07:22 -0700
changeset 11677 1e2add816314
parent 8997 9222fc5291ca
permissions -rw-r--r--
update RELEASE_NOTES and VERSION for ns-3.24.1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5966
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
     1
/* -*-  Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
     2
/*
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
     3
 * Copyright (c) 2009 MIRKO BANCHI
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
     4
 *
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
     5
 * This program is free software; you can redistribute it and/or modify
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
     6
 * it under the terms of the GNU General Public License version 2 as 
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
     7
 * published by the Free Software Foundation;
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
     8
 *
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
     9
 * This program is distributed in the hope that it will be useful,
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    12
 * GNU General Public License for more details.
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    13
 *
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    14
 * You should have received a copy of the GNU General Public License
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    15
 * along with this program; if not, write to the Free Software
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    16
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    17
 *
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    18
 * Author: Mirko Banchi <mk.banchi@gmail.com>
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    19
 */
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    20
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    21
/**
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    22
 * This is a simple example in order to show how 802.11n compressed block ack mechanism could be used.
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    23
 *
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    24
 * Network topology:
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    25
 * 
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    26
 *  Wifi 192.168.1.0
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    27
 * 
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    28
 *        AP
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    29
 *   *    *
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    30
 *   |    |
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    31
 *   n1   n2 
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    32
 *
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    33
 * In this example a QoS sta sends UDP datagram packets to access point. On the access point
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    34
 * there is no application installed so it replies to every packet with an ICMP frame. However
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    35
 * our attention is on originator sta n1. We have set blockAckThreshold (mininum number of packets to use
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    36
 * block ack) to 2 so if there are in the BestEffort queue more than 2 packets a block ack will be
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    37
 * negotiated. We also set a timeout for block ack inactivity to 3 blocks of 1024 microseconds. This timer is
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    38
 * reset when:
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    39
 *    - the originator receives a block ack frame.
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    40
 *    - the recipient receives a block ack request or a MPDU with ack policy Block Ack. 
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    41
 */
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    42
#include "ns3/core-module.h"
6834
036f9a0b9899 Rename internet-stack to internet, and organize module
Tom Henderson <tomh@tomh.org>
parents: 6823
diff changeset
    43
#include "ns3/internet-module.h"
6823
a27f86fb4e55 Merge node and common modules into new network module
Tom Henderson <tomh@tomh.org>
parents: 6821
diff changeset
    44
#include "ns3/network-module.h"
6847
138f00c56381 Move applications to a single module
Mitch Watrous <watrous@u.washington.edu>
parents: 6834
diff changeset
    45
#include "ns3/applications-module.h"
5966
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    46
#include "ns3/wifi-module.h"
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    47
#include "ns3/mobility-module.h"
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    48
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    49
using namespace ns3;
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    50
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    51
NS_LOG_COMPONENT_DEFINE ("Test-block-ack");
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    52
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    53
int main (int argc, char const* argv[])
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    54
{
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    55
  LogComponentEnable ("EdcaTxopN", LOG_LEVEL_DEBUG);
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    56
  LogComponentEnable ("BlockAckManager", LOG_LEVEL_INFO);
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    57
 
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    58
  Ptr<Node> sta = CreateObject<Node> ();
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    59
  Ptr<Node> ap = CreateObject<Node> ();
6674
52f8688d6d01 Bug 978: Run check-style.py on files touched in the reorganisation
Dean Armstrong <deanarm@gmail.com>
parents: 6673
diff changeset
    60
5966
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    61
  YansWifiChannelHelper channel = YansWifiChannelHelper::Default ();
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    62
  YansWifiPhyHelper phy = YansWifiPhyHelper::Default ();
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    63
  phy.SetChannel (channel.Create ());
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    64
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    65
  WifiHelper wifi = WifiHelper::Default ();
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    66
  QosWifiMacHelper mac = QosWifiMacHelper::Default ();
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    67
  /* disable fragmentation */
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    68
  wifi.SetRemoteStationManager ("ns3::AarfWifiManager", "FragmentationThreshold", UintegerValue (2500));
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    69
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    70
  Ssid ssid ("My-network");
6674
52f8688d6d01 Bug 978: Run check-style.py on files touched in the reorganisation
Dean Armstrong <deanarm@gmail.com>
parents: 6673
diff changeset
    71
6673
ec22aa763e2d Bug 978: Consolidate Wi-Fi MAC high functionality
Dean Armstrong <deanarm@gmail.com>
parents: 6309
diff changeset
    72
  mac.SetType ("ns3::StaWifiMac",
6674
52f8688d6d01 Bug 978: Run check-style.py on files touched in the reorganisation
Dean Armstrong <deanarm@gmail.com>
parents: 6673
diff changeset
    73
               "Ssid", SsidValue (ssid),
6673
ec22aa763e2d Bug 978: Consolidate Wi-Fi MAC high functionality
Dean Armstrong <deanarm@gmail.com>
parents: 6309
diff changeset
    74
               "ActiveProbing", BooleanValue (false));
6294
6cefb3c0696a add methods in QosWifiMacHelper for block ack parameters setup
Mirko Banchi <mk.banchi@gmail.com>
parents: 5966
diff changeset
    75
  /* setting blockack threshold for sta's BE queue */
6cefb3c0696a add methods in QosWifiMacHelper for block ack parameters setup
Mirko Banchi <mk.banchi@gmail.com>
parents: 5966
diff changeset
    76
  mac.SetBlockAckThresholdForAc (AC_BE, 2);
6cefb3c0696a add methods in QosWifiMacHelper for block ack parameters setup
Mirko Banchi <mk.banchi@gmail.com>
parents: 5966
diff changeset
    77
  /* setting block inactivity timeout to 3*1024 = 3072 microseconds */ 
6cefb3c0696a add methods in QosWifiMacHelper for block ack parameters setup
Mirko Banchi <mk.banchi@gmail.com>
parents: 5966
diff changeset
    78
  //mac.SetBlockAckInactivityTimeoutForAc (AC_BE, 3);
5966
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    79
  NetDeviceContainer staDevice = wifi.Install (phy, mac, sta);
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    80
6673
ec22aa763e2d Bug 978: Consolidate Wi-Fi MAC high functionality
Dean Armstrong <deanarm@gmail.com>
parents: 6309
diff changeset
    81
  mac.SetType ("ns3::ApWifiMac",
ec22aa763e2d Bug 978: Consolidate Wi-Fi MAC high functionality
Dean Armstrong <deanarm@gmail.com>
parents: 6309
diff changeset
    82
               "Ssid", SsidValue (ssid));
6294
6cefb3c0696a add methods in QosWifiMacHelper for block ack parameters setup
Mirko Banchi <mk.banchi@gmail.com>
parents: 5966
diff changeset
    83
  mac.SetBlockAckThresholdForAc (AC_BE, 0);
5966
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    84
  NetDeviceContainer apDevice = wifi.Install (phy, mac, ap);
6674
52f8688d6d01 Bug 978: Run check-style.py on files touched in the reorganisation
Dean Armstrong <deanarm@gmail.com>
parents: 6673
diff changeset
    85
5966
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    86
  /* Setting mobility model */
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    87
  MobilityHelper mobility;
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    88
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    89
  mobility.SetPositionAllocator ("ns3::GridPositionAllocator",
6674
52f8688d6d01 Bug 978: Run check-style.py on files touched in the reorganisation
Dean Armstrong <deanarm@gmail.com>
parents: 6673
diff changeset
    90
                                 "MinX", DoubleValue (0.0),
52f8688d6d01 Bug 978: Run check-style.py on files touched in the reorganisation
Dean Armstrong <deanarm@gmail.com>
parents: 6673
diff changeset
    91
                                 "MinY", DoubleValue (0.0),
52f8688d6d01 Bug 978: Run check-style.py on files touched in the reorganisation
Dean Armstrong <deanarm@gmail.com>
parents: 6673
diff changeset
    92
                                 "DeltaX", DoubleValue (5.0),
52f8688d6d01 Bug 978: Run check-style.py on files touched in the reorganisation
Dean Armstrong <deanarm@gmail.com>
parents: 6673
diff changeset
    93
                                 "DeltaY", DoubleValue (10.0),
52f8688d6d01 Bug 978: Run check-style.py on files touched in the reorganisation
Dean Armstrong <deanarm@gmail.com>
parents: 6673
diff changeset
    94
                                 "GridWidth", UintegerValue (3),
52f8688d6d01 Bug 978: Run check-style.py on files touched in the reorganisation
Dean Armstrong <deanarm@gmail.com>
parents: 6673
diff changeset
    95
                                 "LayoutType", StringValue ("RowFirst"));
5966
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    96
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    97
  mobility.SetMobilityModel ("ns3::RandomWalk2dMobilityModel",
6674
52f8688d6d01 Bug 978: Run check-style.py on files touched in the reorganisation
Dean Armstrong <deanarm@gmail.com>
parents: 6673
diff changeset
    98
                             "Bounds", RectangleValue (Rectangle (-50, 50, -50, 50)));
5966
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    99
  mobility.Install (sta);
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   100
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   101
  mobility.SetMobilityModel ("ns3::ConstantPositionMobilityModel");
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   102
  mobility.Install (ap);
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   103
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   104
  /* Internet stack*/
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   105
  InternetStackHelper stack;
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   106
  stack.Install (sta);
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   107
  stack.Install (ap);
6674
52f8688d6d01 Bug 978: Run check-style.py on files touched in the reorganisation
Dean Armstrong <deanarm@gmail.com>
parents: 6673
diff changeset
   108
5966
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   109
  Ipv4AddressHelper address;
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   110
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   111
  address.SetBase ("192.168.1.0", "255.255.255.0");
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   112
  Ipv4InterfaceContainer staIf;
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   113
  Ipv4InterfaceContainer apIf;
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   114
  staIf = address.Assign (staDevice);
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   115
  apIf = address.Assign (apDevice);
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   116
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   117
  /* Setting applications */
6674
52f8688d6d01 Bug 978: Run check-style.py on files touched in the reorganisation
Dean Armstrong <deanarm@gmail.com>
parents: 6673
diff changeset
   118
5966
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   119
  uint16_t port = 9;
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   120
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   121
  DataRate dataRate ("1Mb/s");
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   122
  OnOffHelper onOff ("ns3::UdpSocketFactory", Address (InetSocketAddress (apIf.GetAddress (0), port)));
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   123
  onOff.SetAttribute ("DataRate", DataRateValue (dataRate));
8997
9222fc5291ca Replace more instances of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 6865
diff changeset
   124
  onOff.SetAttribute ("OnTime", StringValue ("ns3::ConstantRandomVariable[Constant=0.01]"));
9222fc5291ca Replace more instances of RandomVariable with RandomVariableStream
Mitch Watrous
parents: 6865
diff changeset
   125
  onOff.SetAttribute ("OffTime", StringValue ("ns3::ConstantRandomVariable[Constant=8]"));
5966
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   126
  onOff.SetAttribute ("PacketSize", UintegerValue (50));
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   127
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   128
  ApplicationContainer staApps = onOff.Install (sta);
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   129
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   130
  staApps.Start (Seconds (1.0));
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   131
  staApps.Stop (Seconds (10.0));
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   132
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   133
  Ipv4GlobalRoutingHelper::PopulateRoutingTables ();
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   134
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   135
  Simulator::Stop (Seconds (10.0));
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   136
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   137
  phy.EnablePcap ("test-blockack-2", ap->GetId (), 0);
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   138
  Simulator::Run ();
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   139
  Simulator::Destroy ();
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   140
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   141
  return 0;
bd34322d49c1 add a block ack example
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   142
}