Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds a constant for the Information Element ID that indicates an extension #1130

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions layers/dot11.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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"
}
Expand Down