From cc5d35ba96fd9b7835382aa7d4146dd3326b18a2 Mon Sep 17 00:00:00 2001 From: Aaron Holtzman <77404441+aholtzma-am@users.noreply.github.com> Date: Tue, 6 Apr 2021 22:41:57 -0400 Subject: [PATCH] add missing ieee80211 mgmt frame subtype The action no ack message is the same as the regular action message. --- dpkt/ieee80211.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dpkt/ieee80211.py b/dpkt/ieee80211.py index 1dfbccbc..6abab822 100644 --- a/dpkt/ieee80211.py +++ b/dpkt/ieee80211.py @@ -27,6 +27,7 @@ M_AUTH = 11 M_DEAUTH = 12 M_ACTION = 13 +M_ACTION_NO_ACK = 14 C_BLOCK_ACK_REQ = 8 C_BLOCK_ACK = 9 C_PS_POLL = 10 @@ -296,7 +297,8 @@ def unpack(self, buf): M_AUTH: ('auth', self.Auth), M_PROBE_RESP: ('probe_resp', self.Beacon), M_DEAUTH: ('deauth', self.Deauth), - M_ACTION: ('action', self.Action) + M_ACTION: ('action', self.Action), + M_ACTION_NO_ACK: ('action_no_ack', self.Action) } c_decoder = {