wifi: Add Link Measurement and Neighbor Report action frame headers

Part of #1311 (IEEE 802.11k/v support). This is MR 2 of 3. Depends on !2788 (the foundational IEs).

Summary

Four action frame headers for 802.11k Link Measurement and Neighbor Report exchanges. These are the wire-format types that carry the IEs from !2788 inside action frames.

LinkMeasurementRequestHeader (Action 2, Section 9.6.6.4)

3-byte header: Dialog Token, Transmit Power Used (signed dBm), Max Transmit Power (signed dBm).

LinkMeasurementReportHeader (Action 3, Section 9.6.6.5)

Embeds a TpcReportElement, plus Receive/Transmit Antenna ID, RCPI, RSNI, and optional subelements.

NeighborReportRequestHeader (Action 4, Section 9.6.6.6)

Dialog Token with an optional SSID element for targeted neighbor queries.

NeighborReportResponseHeader (Action 5, Section 9.6.6.7)

Dialog Token followed by zero or more NeighborReportElement instances.

Files

  • src/wifi/model/link-measurement.{h,cc}
  • src/wifi/model/neighbor-report.{h,cc}
  • src/wifi/test/wifi-rrm-info-elems-test.cc (adds 4 test cases, 9 total)
  • src/wifi/CMakeLists.txt

Tests

./ns3 run "test-runner --suite=wifi-rrm-info-elems"

4 new test cases: LinkMeasurementRequestTest, LinkMeasurementReportTest, NeighborReportRequestTest, NeighborReportResponseTest.

Dependencies

Merge !2788 first. LinkMeasurementReportHeader embeds TpcReportElement, and NeighborReportResponseHeader contains NeighborReportElements.

Merge request reports

Loading