opnsense-src/sbin/ifconfig
Bjoern A. Zeeb 586aaa8ac5 net80211: adjust more VHT structures/fields
Replace ieee80211_ie_vhtcap with ieee80211_vht_cap and
ieee80211_ie_vht_operation with ieee80211_vht_operation.
The "ie" version has the two bytes type/length at the beginning which
we did not actually use as such (the one place doing did just as unused
extra work).

Using the non-"ie" versions allows us to re-use them on shared code.
Using an enum helps us to not accidentally get unsuppored or unhandled
values tough we cannot use it in the struct as we need to ensure the
field width.

ieee80211_vht_operation is guarded by _KERNEL/WANT_NET80211.  While the
header is supposed to be exported to user land historically, software
such as wpa bring their own structure definitions.  For in-tree usage
it is only ifconfig which really cares (at least for now).

Sponsored by:	The FreeBSD Foundation
Reviewed by:	adrian (earlier), cc
Differential Revision: https://reviews.freebsd.org/D42901

(cherry picked from commit e85eb4c8d7bd8051c351a6fc6982a8b3bcfdbb2d)
2024-02-18 18:31:15 +00:00
..
tests Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
af_inet.c Purge more stray embedded $FreeBSD$ strings 2023-10-24 10:10:12 -07:00
af_inet6.c Purge more stray embedded $FreeBSD$ strings 2023-10-24 10:10:12 -07:00
af_link.c Purge more stray embedded $FreeBSD$ strings 2023-10-24 10:10:12 -07:00
af_nd6.c Purge more stray embedded $FreeBSD$ strings 2023-10-24 10:10:12 -07:00
carp.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
ifbridge.c Purge more stray embedded $FreeBSD$ strings 2023-10-24 10:10:12 -07:00
ifclone.c Purge more stray embedded $FreeBSD$ strings 2023-10-24 10:10:12 -07:00
ifconfig.8 ifconfig: add -D option to print driver name for interface 2023-12-05 10:17:47 -06:00
ifconfig.c ifconfig: add -D option to print driver name for interface 2023-12-05 10:17:47 -06:00
ifconfig.h ifconfig: add -D option to print driver name for interface 2023-12-05 10:17:47 -06:00
ifconfig_netlink.c ifconfig: add -D option to print driver name for interface 2023-12-05 10:17:47 -06:00
ifconfig_netlink.h ifconfig: make interface and address listing use Netlink as transport 2023-05-16 19:39:13 +00:00
iffib.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
ifgif.c Purge more stray embedded $FreeBSD$ strings 2023-10-24 10:10:12 -07:00
ifgre.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
ifgroup.c Purge more stray embedded $FreeBSD$ strings 2023-10-24 10:10:12 -07:00
ifieee80211.c net80211: adjust more VHT structures/fields 2024-02-18 18:31:15 +00:00
ifipsec.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
iflagg.c Purge more stray embedded $FreeBSD$ strings 2023-10-24 10:10:12 -07:00
ifmac.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
ifmedia.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
ifpfsync.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
ifstf.c ifconfig: remove (most of) the usages of global 'struct ifreq ifr'. 2023-06-16 07:19:21 +00:00
ifvlan.c Purge more stray embedded $FreeBSD$ strings 2023-10-24 10:10:12 -07:00
ifvxlan.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend.options Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
sfp.c Purge more stray embedded $FreeBSD$ strings 2023-10-24 10:10:12 -07:00