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,