Skip to content

Draft: wifi: Add WifiPhyReceptionTraceHelper

New trace helper class to assist in tracing reception events and statistics at the Wi-Fi Phy layer.

  • Implementation
    • de-duplicate code in calculating statistics
    • remove MacToNodeMap argument in public API Enable()
    • investigate reuse of WifiPpdu UID as the internal UID
    • add Enable(NetDeviceContainer) variant
    • refactor trace configurations to not use config paths
    • Check that it operates with two BSS if helper is configured on only one BSS
  • Unit test
  • Sphinx documentation with example
    • figures for documentation
    • remove ARP message from the example program (affecting statistics)
    • modify example to use two BSS and check hidden terminal scenario
    • example is reporting an incorrect device ID

I have not reviewed the implementation in detail yet, focusing mostly on the API and documentation and unit tests. There will be more updates to the implementation pushed at a later date.

I would like to include this feature in ns-3.42 (May) and invite further review on the API (see header file) and documentation (see extensions to wifi-user.rst), which may be in semi-final form now.

Edited by Tom Henderson

Merge request reports