wifi: Remove unused WifiPhy::GetPpduFieldDuration method

This commit is contained in:
Stefano Avallone
2021-06-03 18:05:11 +02:00
parent a4e48a6bb7
commit 48cde39c58
2 changed files with 0 additions and 16 deletions

View File

@@ -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)
{

View File

@@ -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.
*/