]> The Tcpdump Group git mirrors - tcpdump/commitdiff
IEEE 802.11: Add a test to check the 802.11s Mesh ID in management frames 924/head
authorGokul Sivakumar <[email protected]>
Sun, 4 Jul 2021 12:54:57 +0000 (18:24 +0530)
committerGokul Sivakumar <[email protected]>
Sun, 22 Aug 2021 05:38:57 +0000 (11:08 +0530)
The newly added pcap file contains a Mesh Beacon frame, a Wildcard Probe
Request and a Mesh Probe Response. The test case checks if the "Mesh ID"
field is properly parsed by the IEEE 802.11 printer.

tests/TESTLIST
tests/ieee802.11_meshid.out [new file with mode: 0644]
tests/ieee802.11_meshid.pcap [new file with mode: 0644]

index 08ac040f9e51e8ec5c279c7cb0f081647de57434..f30056481eea50c0632cb1498aad2754dbdb567a 100644 (file)
@@ -270,6 +270,7 @@ scps_invalid        scps_invalid.pcap       scps_invalid.out
 # IEEE 802.11 tests
 802.11_exthdr  ieee802.11_exthdr.pcap  ieee802.11_exthdr.out   -v
 802.11_rx-stbc ieee802.11_rx-stbc.pcap ieee802.11_rx-stbc.out
+802.11_meshid  ieee802.11_meshid.pcap  ieee802.11_meshid.out
 
 # OpenFlow tests
 of10_p3295-vv  of10_p3295.pcap         of10_p3295-vv.out       -vv
diff --git a/tests/ieee802.11_meshid.out b/tests/ieee802.11_meshid.out
new file mode 100644 (file)
index 0000000..79faa3b
--- /dev/null
@@ -0,0 +1,3 @@
+    1  12:20:37.867811 9526800862us tsft 6.0 Mb/s 5745 MHz 11a -34dBm signal [bit 22] Beacon () [6.0* 9.0 12.0* 18.0 24.0* 36.0 48.0 54.0 Mbit] IBSS CH: 149, PRIVACY (MESHID: 11s-mesh-network)
+    2  12:20:38.357687 9527290733us tsft 6.0 Mb/s 5745 MHz 11a -38dBm signal [bit 22] Probe Request () [6.0 9.0 12.0 18.0 24.0 36.0 48.0 54.0 Mbit]
+    3  12:20:38.358276 9527291378us tsft 6.0 Mb/s 5745 MHz 11a -34dBm signal [bit 22] Probe Response () [6.0* 9.0 12.0* 18.0 24.0* 36.0 48.0 54.0 Mbit] CH: 149, PRIVACY (MESHID: 11s-mesh-network)
diff --git a/tests/ieee802.11_meshid.pcap b/tests/ieee802.11_meshid.pcap
new file mode 100644 (file)
index 0000000..7d149a7
Binary files /dev/null and b/tests/ieee802.11_meshid.pcap differ