src/wifi/examples/test-interference-helper.cc
changeset 11628 243b71de25a0
parent 11479 a3dcf66928f3
--- a/src/wifi/examples/test-interference-helper.cc	Wed Sep 02 16:37:05 2015 -0700
+++ b/src/wifi/examples/test-interference-helper.cc	Thu Sep 03 22:16:49 2015 +0200
@@ -236,6 +236,10 @@
     {
       input.standard = WIFI_PHY_STANDARD_80211n_5GHZ;
     }
+  else if (str_standard == "WIFI_PHY_STANDARD_80211ac")
+    {
+      input.standard = WIFI_PHY_STANDARD_80211ac;
+    }
 
   if (str_preamble == "WIFI_PREAMBLE_LONG" && (input.standard == WIFI_PHY_STANDARD_80211a || input.standard == WIFI_PHY_STANDARD_80211b || input.standard == WIFI_PHY_STANDARD_80211g))
     {
@@ -253,6 +257,10 @@
     {
       input.preamble = WIFI_PREAMBLE_HT_GF;
     }
+  else if (str_preamble == "WIFI_PREAMBLE_VHT" && input.standard == WIFI_PHY_STANDARD_80211ac)
+    {
+      input.preamble = WIFI_PREAMBLE_VHT;
+    }
   else
     {
       std::cout << "Preamble does not exist or is not compatible with the selected standard!" << std::endl;