From 53d07298b7559e19a7f21f03534be895e0bafa00 Mon Sep 17 00:00:00 2001 From: evilsocket Date: Sun, 27 Jan 2019 16:50:56 +0100 Subject: [PATCH] new: parsing WPS response type field --- packets/dot11_wps.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packets/dot11_wps.go b/packets/dot11_wps.go index 91158e57..cba87fab 100644 --- a/packets/dot11_wps.go +++ b/packets/dot11_wps.go @@ -43,7 +43,12 @@ var ( "0000": "Pin", "0004": "PushButton", }}, - 0x103B: wpsAttr{Name: "Response Type"}, + 0x103B: wpsAttr{Name: "Response Type", Desc: map[string]string{ + "00": "Enrollee Info", + "01": "Enrollee", + "02": "Registrar", + "03": "AP", + }}, 0x1047: wpsAttr{Name: "UUID-E"}, 0x1021: wpsAttr{Name: "Manufacturer", Type: wpsStr}, 0x1023: wpsAttr{Name: "Model Name", Type: wpsStr},