src/wifi/model/minstrel-wifi-manager.cc
changeset 11174 780a43e4980c
parent 11154 305803f4125c
child 11245 5c781d7e5a25
equal deleted inserted replaced
11173:9b4c47e6c37e 11174:780a43e4980c
   140   for (uint32_t i = 0; i < nModes; i++)
   140   for (uint32_t i = 0; i < nModes; i++)
   141     {
   141     {
   142       WifiMode mode = phy->GetMode (i);
   142       WifiMode mode = phy->GetMode (i);
   143       WifiTxVector txVector;
   143       WifiTxVector txVector;
   144       txVector.SetMode(mode);
   144       txVector.SetMode(mode);
   145       AddCalcTxTime (mode, phy->CalculateTxDuration (m_pktLen, txVector, WIFI_PREAMBLE_LONG, phy->GetFrequency()));
   145       AddCalcTxTime (mode, phy->CalculateTxDuration (m_pktLen, txVector, WIFI_PREAMBLE_LONG, phy->GetFrequency(), 0, 0));
   146     }
   146     }
   147   WifiRemoteStationManager::SetupPhy (phy);
   147   WifiRemoteStationManager::SetupPhy (phy);
   148 }
   148 }
   149 
   149 
   150 int64_t
   150 int64_t