freebsd-src/sbin/ifconfig
Bjoern A. Zeeb e85eb4c8d7 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
MFC after:	3 days
Reviewed by:	adrian (earlier), cc
Differential Revision: https://reviews.freebsd.org/D42901
2023-12-22 00:20:19 +00:00
..
tests Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
af_inet.c netlink: cope with growing requests 2023-10-17 08:47:52 +02:00
af_inet6.c netlink: cope with growing requests 2023-10-17 08:47:52 +02:00
af_link.c Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00
af_nd6.c Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00
carp.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
ifbridge.c ifconfig: add static bridge addresses for vlan 0, not 1 2023-10-15 16:21:53 +02:00
ifclone.c Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00
ifconfig.8 ifconfig: add -D option to print driver name for interface 2023-11-28 13:47:37 -06:00
ifconfig.c ifconfig: add -D option to print driver name for interface 2023-11-28 13:47:37 -06:00
ifconfig.h ifconfig: add -D option to print driver name for interface 2023-11-28 13:47:37 -06:00
ifconfig_netlink.c ifconfig: add -D option to print driver name for interface 2023-11-28 13:47:37 -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-09-25 07:54:56 -07:00
ifgre.c sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
ifgroup.c Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00
ifieee80211.c net80211: adjust more VHT structures/fields 2023-12-22 00:20:19 +00:00
ifipsec.c sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
iflagg.c Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -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-09-25 07:54:56 -07:00
ifvxlan.c sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
Makefile sbin: Remove ancient SCCS tags. 2023-11-26 22:23:29 -07: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-09-25 07:54:56 -07:00