diff --git a/examples/wireless/he-wifi-network.cc b/examples/wireless/he-wifi-network.cc index 7399c6c53..cfbbb98d9 100644 --- a/examples/wireless/he-wifi-network.cc +++ b/examples/wireless/he-wifi-network.cc @@ -211,7 +211,7 @@ int main (int argc, char *argv[]) } else { - rxBytes = payloadSize * DynamicCast (sinkApp.Get (0))->GetTotalRx (); + rxBytes = DynamicCast (sinkApp.Get (0))->GetTotalRx (); } double throughput = (rxBytes * 8) / (simulationTime * 1000000.0); //Mbit/s std::cout << mcs << "\t\t\t" << channelWidth << " MHz\t\t\t" << gi << " ns\t\t\t" << throughput << " Mbit/s" << std::endl; diff --git a/examples/wireless/ht-wifi-network.cc b/examples/wireless/ht-wifi-network.cc index e37dddb4a..2ed274916 100644 --- a/examples/wireless/ht-wifi-network.cc +++ b/examples/wireless/ht-wifi-network.cc @@ -229,7 +229,7 @@ int main (int argc, char *argv[]) } else { - rxBytes = payloadSize * DynamicCast (sinkApp.Get (0))->GetTotalRx (); + rxBytes = DynamicCast (sinkApp.Get (0))->GetTotalRx (); } double throughput = (rxBytes * 8) / (simulationTime * 1000000.0); //Mbit/s std::cout << mcs << "\t\t\t" << channelWidth << " MHz\t\t\t" << sgi << "\t\t\t" << throughput << " Mbit/s" << std::endl; diff --git a/examples/wireless/vht-wifi-network.cc b/examples/wireless/vht-wifi-network.cc index 8f09dbd05..2bdab79e6 100644 --- a/examples/wireless/vht-wifi-network.cc +++ b/examples/wireless/vht-wifi-network.cc @@ -216,7 +216,7 @@ int main (int argc, char *argv[]) } else { - rxBytes = payloadSize * DynamicCast (sinkApp.Get (0))->GetTotalRx (); + rxBytes = DynamicCast (sinkApp.Get (0))->GetTotalRx (); } double throughput = (rxBytes * 8) / (simulationTime * 1000000.0); //Mbit/s std::cout << mcs << "\t\t\t" << channelWidth << " MHz\t\t\t" << sgi << "\t\t\t" << throughput << " Mbit/s" << std::endl;