From fe2e2053b94204601cf52bd8602a017befe1e644 Mon Sep 17 00:00:00 2001 From: Tucker Owens Date: Thu, 13 Jul 2023 15:12:13 -0400 Subject: [PATCH] Adds a constant for the IE ID that indicates an extension A IE ID value of 255 means the IE is an extension element, where the second byte of the Content is a Element ID Extension value. More information about this can be found in table 9-92 of IEEE Std 802.11-2020. --- layers/dot11.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/layers/dot11.go b/layers/dot11.go index 3e6491061..47ec5cace 100644 --- a/layers/dot11.go +++ b/layers/dot11.go @@ -412,6 +412,7 @@ const ( Dot11InformationElementIDWhiteSpaceMap Dot11InformationElementID = 205 Dot11InformationElementIDFineTuningMeasureParams Dot11InformationElementID = 206 Dot11InformationElementIDVendor Dot11InformationElementID = 221 + Dot11InformationElementIDExtension Dot11InformationElementID = 255 ) // String provides a human readable string for Dot11InformationElementID. @@ -762,6 +763,8 @@ func (a Dot11InformationElementID) String() string { return "Fine Tuning Measure Parameters" case Dot11InformationElementIDVendor: return "Vendor" + case Dot11InformationElementIDExtension: + return "Element ID Extension" default: return "Unknown information element id" }