Page MenuHomeFreeBSD

net80211: LinuxKPI: migrate HE IE structs from LinuxKPI to net80211
ClosedPublic

Authored by bz on Wed, Jun 4, 12:07 AM.
Tags
None
Referenced Files
F120328305: D50676.diff
Tue, Jun 17, 2:45 AM
Unknown Object (File)
Sat, Jun 14, 4:35 AM
Unknown Object (File)
Fri, Jun 13, 8:57 PM
Unknown Object (File)
Fri, Jun 13, 8:00 PM
Unknown Object (File)
Tue, Jun 10, 12:48 AM
Unknown Object (File)
Mon, Jun 9, 11:52 PM
Unknown Object (File)
Sun, Jun 8, 10:23 AM
Unknown Object (File)
Thu, Jun 5, 8:51 AM

Details

Summary

Take the HE IE structures as they are used by drivers and put them
into net80211 rather than LinuxKPI. There is little need to
re-invent the wheel on those. They settled for long enough.

Do not export them by default to user space as some also overlap with
wpa and we still do not have a clear distinction for what is available
only in kernel and what to user space. In our case ifconfig(8)
is a consumer of these structs which it can setting WANT_NET80211 like
we have done for some VHT bits before.

Add struct net80211_he_cap which holds the IE fields but also a bool
and is meant to be put into ic/vap/ni. The bool will give us the same
naming for all layers rather than having individual flags in each part
which was highly confusing. In theory this struct should be in
ieee80211_var.h but that would pull things apart.

Extend struct ieee80211_mu_edca_param_set by a union as it will help
ifocnfig(8) parsing the bk/be/vi/vo parts.

Sponsored 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 64629
Build 61513: arc lint + arc unit