Page MenuHomeFreeBSD

net80211: add the beginning of the extfield information elements (IE ext)
ClosedPublic

Authored by bz on Tue, Jun 3, 10:23 PM.
Tags
None
Referenced Files
F119968397: D50674.diff
Fri, Jun 13, 8:57 PM
Unknown Object (File)
Thu, Jun 12, 8:57 AM
Unknown Object (File)
Thu, Jun 12, 5:56 AM
Unknown Object (File)
Thu, Jun 12, 4:17 AM
Unknown Object (File)
Tue, Jun 10, 4:05 PM
Unknown Object (File)
Tue, Jun 10, 3:59 PM
Unknown Object (File)
Mon, Jun 9, 6:55 PM
Unknown Object (File)
Sun, Jun 8, 4:28 AM

Details

Summary

The original list of IEs got expanded from TLV to TLextTV.
If the T matches 255 then we have a second list of IEs where the
meaning of TL stays the same. That means the 1 octet extT is part
of the length and the value starts at ie+3.

Start populating the list with IEEE802.11-2020 and 802.11ax-2021
values.

They will be initially used to start decoding some of the announced IEs
for ifconfig [-v] list (scan|sta). That should help users with
AX-enabled APs to see this (rather than no or UNKNOWN_ELEMID_255 and
make debugging easier once we implement 11ax.

Sposored by: The FreeBSD Foundation
MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 64627
Build 61511: arc lint + arc unit

Event Timeline

bz requested review of this revision.Tue, Jun 3, 10:23 PM
adrian added inline comments.
sys/net80211/ieee80211.h
1347

why not ieee80211_elemid_ext ?

bz marked an inline comment as done.

Add 11.

sys/net80211/ieee80211.h
1347

Good catch.

This revision is now accepted and ready to land.Wed, Jun 4, 12:21 AM