diff --git a/src/wifi/model/wifi-phy.cc b/src/wifi/model/wifi-phy.cc index b06fac1fd..9ce4a83da 100644 --- a/src/wifi/model/wifi-phy.cc +++ b/src/wifi/model/wifi-phy.cc @@ -1606,12 +1606,6 @@ WifiPhy::CalculatePhyPreambleAndHeaderDuration (const WifiTxVector& txVector) return GetStaticPhyEntity (txVector.GetModulationClass ())->CalculatePhyPreambleAndHeaderDuration (txVector); } -Time -WifiPhy::GetPpduFieldDuration (WifiPpduField field, const WifiTxVector& txVector) -{ - return GetStaticPhyEntity (txVector.GetModulationClass ())->GetDuration (field, txVector); -} - Time WifiPhy::CalculateTxDuration (uint32_t size, const WifiTxVector& txVector, WifiPhyBand band, uint16_t staId) { diff --git a/src/wifi/model/wifi-phy.h b/src/wifi/model/wifi-phy.h index 842bd8fb9..8a3cef1c3 100644 --- a/src/wifi/model/wifi-phy.h +++ b/src/wifi/model/wifi-phy.h @@ -263,16 +263,6 @@ public: * \return the total amount of time this PHY will stay busy for the transmission of the PHY preamble and PHY header. */ static Time CalculatePhyPreambleAndHeaderDuration (const WifiTxVector& txVector); - /** - * Get the duration of the PPDU field (or group of fields) - * for the given transmission parameters. - * - * \param field the PPDU field (or group of fields) - * \param txVector the transmission parameters - * - * \return the duration of the PPDU field - */ - static Time GetPpduFieldDuration (WifiPpduField field, const WifiTxVector& txVector); /** * \return the preamble detection duration, which is the time correlation needs to detect the start of an incoming frame. */