From 85f7e477a88d54b3d17292ccb6e8a17adec66e0d Mon Sep 17 00:00:00 2001
From: Nicola Baldo
The method InterferenceHelper::CalculateTxDuration (uint32_t size, WifiMode payloadMode, WifiPreamble preamble) has been made static, so that the frame duration depends only on the characteristics of the frame (i.e., the function parameters) and not on the particular standard which is used by the receiving PHY. This makes it now possible to correctly calculate the duration of incoming frames in scenarios in which devices using different PHY configurations coexist in the same channel (e.g., a BSS using short preamble and another BSS using long preamble).
+The following member methods have been added to InterferenceHelper:
++ static WifiMode GetPlcpHeaderMode (WifiMode, WifiPreamble); + static uint32_t GetPlcpHeaderDurationMicroSeconds (WifiMode, WifiPreamble); + static uint32_t GetPlcpPreambleDurationMicroSeconds (WifiMode, WifiPreamble); + static uint32_t GetPayloadDurationMicroSeconds (size, WifiMode);+
The following member methods have been removed from InterferenceHelper:
++ void Configure80211aParameters (void); + void Configure80211bParameters (void); + void Configure80211_10MhzParameters (void); + void Configure80211_5MhzParameters (void);+
WifiMode now has a WifiPhyStandard attribute which identifies the standard the WifiMode belongs to. To properly set this attribute when creating a new WifiMode, it is now required to explicitly pass a WifiPhyStandard parameter to all WifiModeFactory::CreateXXXX() methods. The WifiPhyStandard value of an existing WifiMode can be retrieved using the new method WifiMode::GetStandard().
+