summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-wps.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:34:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:34:10 +0000
commite4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc (patch)
tree68cb5ef9081156392f1dd62a00c6ccc1451b93df /epan/dissectors/packet-wps.h
parentInitial commit. (diff)
downloadwireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.tar.xz
wireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.zip
Adding upstream version 4.2.2.upstream/4.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'epan/dissectors/packet-wps.h')
-rw-r--r--epan/dissectors/packet-wps.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/epan/dissectors/packet-wps.h b/epan/dissectors/packet-wps.h
new file mode 100644
index 00000000..884b7b62
--- /dev/null
+++ b/epan/dissectors/packet-wps.h
@@ -0,0 +1,34 @@
+/* packet-wps.h
+ *
+ * Wifi Simple Config aka Wifi Protected Setup
+ *
+ * Written by Jens Braeuer using WiFi-Alliance Spec 1.0h and
+ * parts of a patch by JP Jiang and Philippe Teuwen. November 2007
+ *
+ * Spec:
+ * https://www.wi-fi.org/knowledge_center_overview.php?type=4
+ * Patch:
+ * http://wireshark.digimirror.nl/lists/wireshark-dev/200703/msg00121.html
+ *
+ * Copyright 2007 Jens Braeuer <jensb@cs.tu-berlin.de>
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 1998 Gerald Combs
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ *
+ */
+
+#ifndef _packet_wps_h_
+#define _packet_wps_h_
+
+ /* Vendor-Type and Vendor-id */
+#define WFA_VENDOR_ID 0x00372A
+#define WFA_SIMPLECONFIG_TYPE 0x1
+
+void
+dissect_wps_tlvs(proto_tree *eap_tree, tvbuff_t *tvb, int offset,
+ gint size, packet_info* pinfo);
+
+#endif