From b99d5ddd4d922d866b7fbe143f06a72e2bd035ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Deronne?= Date: Mon, 6 Feb 2017 20:40:29 +0100 Subject: [PATCH] wifi: Clean files changed in previous commit --- src/wifi/model/edca-txop-n.cc | 4 ++-- src/wifi/model/edca-txop-n.h | 4 ++-- src/wifi/model/mac-low.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/wifi/model/edca-txop-n.cc b/src/wifi/model/edca-txop-n.cc index ae8e15901..fe6c4ffb9 100644 --- a/src/wifi/model/edca-txop-n.cc +++ b/src/wifi/model/edca-txop-n.cc @@ -1038,7 +1038,7 @@ EdcaTxopN::GetTxopFragmentOffset (uint32_t fragmentNumber) const uint32_t offset; uint32_t fragmentSize = GetTxopFragmentSize (); uint32_t nFragments = (m_currentPacket->GetSize () / fragmentSize); - if ((m_currentPacket->GetSize () % fragmentSize) > 0) + if ((m_currentPacket->GetSize () % fragmentSize) > 0) { nFragments++; } @@ -1090,7 +1090,7 @@ EdcaTxopN::GetFragmentSize (void) const uint32_t EdcaTxopN::GetNextFragmentSize (void) const - { +{ uint32_t size; if (IsTxopFragmentation ()) { diff --git a/src/wifi/model/edca-txop-n.h b/src/wifi/model/edca-txop-n.h index c3d782085..934b3f238 100644 --- a/src/wifi/model/edca-txop-n.h +++ b/src/wifi/model/edca-txop-n.h @@ -463,7 +463,7 @@ private: * false otherwise. */ bool HasTxop (void) const; - + /** * Calculate the size of the next fragment. * @@ -489,7 +489,7 @@ private: * false otherwise. */ bool IsLastFragment (void) const; - + /** * Check if the current packet is fragmented because of an exceeded TXOP duration. * diff --git a/src/wifi/model/mac-low.h b/src/wifi/model/mac-low.h index b97540426..d252e63cc 100644 --- a/src/wifi/model/mac-low.h +++ b/src/wifi/model/mac-low.h @@ -453,7 +453,7 @@ public: Time CalculateOverallTxTime (Ptr packet, const WifiMacHeader* hdr, const MacLowTransmissionParameters ¶ms) const; - + Time CalculateOverallTxFragmentTime (Ptr packet, const WifiMacHeader* hdr, const MacLowTransmissionParameters& params,