Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1585)

Unified Diff: src/mesh/model/dot11s/airtime-metric.cc

Issue 14549044: Adding MPDU aggregation
Patch Set: changed A-MPDU implementation to simplify PCAP generation Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/energy/model/wifi-radio-energy-model.h ('k') | src/wifi/examples/wifi-phy-test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/mesh/model/dot11s/airtime-metric.cc
===================================================================
--- a/src/mesh/model/dot11s/airtime-metric.cc
+++ b/src/mesh/model/dot11s/airtime-metric.cc
@@ -102,7 +102,7 @@
//calculate metric
uint32_t metric = (uint32_t)((double)( /*Overhead + payload*/
mac->GetPifs () + mac->GetSlot () + mac->GetEifsNoDifs () + //DIFS + SIFS + AckTxTime = PIFS + SLOT + EifsNoDifs
- mac->GetWifiPhy ()->CalculateTxDuration (m_testFrame->GetSize (), txVector, WIFI_PREAMBLE_LONG)
+ mac->GetWifiPhy ()->CalculateTxDuration (m_testFrame->GetSize (), txVector, WIFI_PREAMBLE_LONG,0,0)
).GetMicroSeconds () / (10.24 * (1.0 - failAvg)));
return metric;
}
« no previous file with comments | « src/energy/model/wifi-radio-energy-model.h ('k') | src/wifi/examples/wifi-phy-test.cc » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b