Adding NS3 FDNetDevice RM
[nepi.git] / src / nepi / resources / ns3 / classes / sta_wifi_mac.py
index 3b2288f..650b8ca 100644 (file)
@@ -59,6 +59,16 @@ class NS3StaWifiMac(NS3BaseWifiMac):
 
         cls._register_attribute(attr_maxmissedbeacons)
 
+        attr_activeprobing = Attribute("ActiveProbing",
+            "If true, we send probe requests. If false, we don\'t. NOTE: if more than one STA in your simulation is using active probing, you should enable it at a different simulation time for each STA, otherwise all the STAs will start sending probes at the same time resulting in collisions. See bug 1060 for more info.",
+            type = Types.Bool,
+            default = "False",  
+            allowed = None,
+            range = None,    
+            flags = Flags.Reserved | Flags.Construct)
+
+        cls._register_attribute(attr_activeprobing)
+
         attr_qossupported = Attribute("QosSupported",
             "This Boolean attribute is set to enable 802.11e/WMM-style QoS support at this STA",
             type = Types.Bool,