View | Details | Raw Unified | Return to bug 2826
Collapse All | Expand All

(-)a/examples/wireless/examples-to-run.py (-1 / +1 lines)
 Lines 45-51    Link Here 
45
    ("he-wifi-network --simulationTime=0.25 --frequency=5 --useRts=0  --minExpectedThroughput=6 --maxExpectedThroughput=754", "True", "True"),
45
    ("he-wifi-network --simulationTime=0.25 --frequency=5 --useRts=0  --minExpectedThroughput=6 --maxExpectedThroughput=754", "True", "True"),
46
    ("he-wifi-network --simulationTime=0.3 --frequency=5 --useRts=1 --minExpectedThroughput=6 --maxExpectedThroughput=639", "True", "True"),
46
    ("he-wifi-network --simulationTime=0.3 --frequency=5 --useRts=1 --minExpectedThroughput=6 --maxExpectedThroughput=639", "True", "True"),
47
    ("he-wifi-network --simulationTime=0.25 --frequency=2.4 --useRts=0 --minExpectedThroughput=6 --maxExpectedThroughput=238", "True", "True"),
47
    ("he-wifi-network --simulationTime=0.25 --frequency=2.4 --useRts=0 --minExpectedThroughput=6 --maxExpectedThroughput=238", "True", "True"),
48
    ("he-wifi-network --simulationTime=0.25 --frequency=2.4 --useRts=1 --minExpectedThroughput=6 --maxExpectedThroughput=224", "True", "True"),
48
    ("he-wifi-network --simulationTime=0.3 --frequency=2.4 --useRts=1 --minExpectedThroughput=6 --maxExpectedThroughput=224", "True", "True"),
49
    ("simple-ht-hidden-stations --simulationTime=1 --minExpectedThroughput=22 --maxExpectedThroughput=22.5", "True", "True"),
49
    ("simple-ht-hidden-stations --simulationTime=1 --minExpectedThroughput=22 --maxExpectedThroughput=22.5", "True", "True"),
50
    ("mixed-network --simulationTime=1", "True", "True"),
50
    ("mixed-network --simulationTime=1", "True", "True"),
51
    ("wifi-aggregation --simulationTime=1 --verifyResults=1", "True", "True"),
51
    ("wifi-aggregation --simulationTime=1 --verifyResults=1", "True", "True"),
(-)a/src/wifi/model/wifi-remote-station-manager.cc (-1 / +18 lines)
 Lines 859-865    Link Here 
859
      (void) found;
859
      (void) found;
860
      return datatag.GetDataTxVector ();
860
      return datatag.GetDataTxVector ();
861
    }
861
    }
862
  return DoGetDataTxVector (Lookup (address, header));
862
  WifiTxVector txVector = DoGetDataTxVector (Lookup (address, header));
863
  if (header->IsMgt ())
864
    {
865
      WifiMode mgtMode;
866
      if (GetNBasicModes () > 0)
867
        {
868
          mgtMode = GetBasicMode (0);
869
        }
870
      else
871
        {
872
          mgtMode = GetDefaultMode ();
873
        }
874
      txVector.SetMode (mgtMode);
875
      txVector.SetPreambleType (GetPreambleForTransmission (mgtMode, address));
876
      txVector.SetChannelWidth (GetChannelWidthForTransmission (mgtMode, m_wifiPhy->GetChannelWidth ()));
877
      txVector.SetGuardInterval (ConvertGuardIntervalToNanoSeconds (mgtMode, m_wifiPhy->GetShortGuardInterval (), m_wifiPhy->GetGuardInterval ()));
878
    }
879
  return txVector;
863
}
880
}
864
881
865
WifiTxVector
882
WifiTxVector

Return to bug 2826