<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sbin/ifconfig/ifieee80211.c, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2025-06-09T21:44:26Z</updated>
<entry>
<title>ifconfig: 802.11: decode more information elements (IEs)</title>
<updated>2025-06-09T21:44:26Z</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2025-06-02T16:06:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a2a15732eb1db4616aa628ae8bfd4047c40dbaee'/>
<id>urn:sha1:a2a15732eb1db4616aa628ae8bfd4047c40dbaee</id>
<content type='text'>
Start dealing with Element ID Extension present (IE T=255) and start
parsing elemants from the Element ID Extension set.

Namely (partially) decode HE_CAPA, HE_OPER, MU_EDCA_PARAM_SET,
and as well as SUP_OP_CLASS.

For length reasons also rename UNKNOWN_ELEMID_%d to ELEMID_%d.

Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
Reviewed by:	adrian
Differential Revision: https://reviews.freebsd.org/D50678
</content>
</entry>
<entry>
<title>ifconfig: 802.11: decode RSNXE IE</title>
<updated>2025-06-09T21:44:25Z</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2025-04-22T20:08:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1313f1c2a35f7dbaba1b2948d2f0c4a1f4113f67'/>
<id>urn:sha1:1313f1c2a35f7dbaba1b2948d2f0c4a1f4113f67</id>
<content type='text'>
Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
Reviewed by:	adrian
Differential Revision: https://reviews.freebsd.org/D50675
</content>
</entry>
<entry>
<title>ifconfig: 802.11: factor out keyix printing</title>
<updated>2025-06-09T21:44:25Z</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2025-05-27T19:51:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=164bf9ffbe1a9fc8768b2f597fd4b32b3e406ac1'/>
<id>urn:sha1:164bf9ffbe1a9fc8768b2f597fd4b32b3e406ac1</id>
<content type='text'>
The node unicast key (PTK) uses a key index of (-1) and printing
a 64k number does not look great.  Factor out printing the key
number into a buffer and use 'ucast' for the node unicast key.
Hope is that this will be useful for the future as well when we
will have more/different keys possibly.

Looks like (with -vk):
        AES-CCM 2:128-bit &lt;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&gt; rsc 0 tsc 0 rx
        AES-CCM 3:128-bit &lt;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&gt; rsc 0 tsc 0 rx
        AES-GCM ucast:128-bit &lt;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&gt; rsc 0 tsc 0 tx+rx

Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
Reviewed by:	adrian
Differential Revision: https://reviews.freebsd.org/D50555
</content>
</entry>
<entry>
<title>ifconfig: 802.11: print node unicast key (PTK) if available in STA mode</title>
<updated>2025-06-09T21:44:25Z</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2025-05-27T19:44:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e277735ce05911aaee336cd61ec3a12435f46d8d'/>
<id>urn:sha1:e277735ce05911aaee336cd61ec3a12435f46d8d</id>
<content type='text'>
Add a variable when querying the BSSID so we can later use it rather
than losing the "data" buffer.

When printing key information also query the node unicast key if in
STA mode (the key for the BSSID).  Do not error in case we fail.
This is helpful for debugging mostly; was also useful when testing
GCMP support.

Sponsored by:	The FreeBSD Foundation
MFC after;	3 days
Reviewed by:	adrian
Differential Revision: https://reviews.freebsd.org/D50554
</content>
</entry>
<entry>
<title>ifconfig: 802.11: also print IEEE80211_CIPHER_AES_GCM_128 information</title>
<updated>2025-06-09T21:44:25Z</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2025-05-27T19:38:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=54ad06cad10c3822784389b0956f92a1c7041abd'/>
<id>urn:sha1:54ad06cad10c3822784389b0956f92a1c7041abd</id>
<content type='text'>
While we currently do not print the STA unicast key (PTK) we will not
see this but it is for fullness and in preparations for follow-up
hanges.

Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
Reviewed by:	adrian
Differential Revision: https://reviews.freebsd.org/D50553
</content>
</entry>
<entry>
<title>ifconfig: 802.11: fix a warning message</title>
<updated>2025-05-28T10:42:58Z</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2025-05-27T19:34:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=08471a76e3d27ffa9e2605dab0ff3c4968e7fef6'/>
<id>urn:sha1:08471a76e3d27ffa9e2605dab0ff3c4968e7fef6</id>
<content type='text'>
s/can/cannot/

Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
Reviewed by:	emaste
Differential Revision: https://reviews.freebsd.org/D50552
</content>
</entry>
<entry>
<title>ifconfig: decode 256 bit CCM/GCM ciphers and 256 bit 802.1x/none keymgmt</title>
<updated>2025-04-04T03:23:47Z</updated>
<author>
<name>Adrian Chadd</name>
<email>adrian@FreeBSD.org</email>
</author>
<published>2025-03-24T01:14:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=628d1501f7ec5674ac06d10861d60e7326e0ef25'/>
<id>urn:sha1:628d1501f7ec5674ac06d10861d60e7326e0ef25</id>
<content type='text'>
* add AES-GCM-256 and AES-CCM-256 ciphers
* add WPA-PSK-SHA256 and UNSPEC-SHA256 key management

This allows them to show in ifconfig -v wlan0 list scan, eg

RSN&lt;v1 mc:AES-GCMP-256 uc:AES-CCMP-256+AES-GCMP-256 km:8021X-PSK+8021X-PSK-256&gt;

Differential Revision:	https://reviews.freebsd.org/D49481
Reviewed by:	thj
</content>
</entry>
<entry>
<title>ifconfig: add AES-GCMP RSN OUI decoding</title>
<updated>2025-03-02T01:35:08Z</updated>
<author>
<name>Adrian Chadd</name>
<email>adrian@FreeBSD.org</email>
</author>
<published>2025-03-01T01:18:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4b86550923cfb226a65b7d48c661654bd0a240cc'/>
<id>urn:sha1:4b86550923cfb226a65b7d48c661654bd0a240cc</id>
<content type='text'>
This decodes the AES-GCMP OUI in ifconfig, ifconfig list sta,
ifconfig list scan, etc.

Differential Revision:	https://reviews.freebsd.org/D49187
Reviewed by:	bz
</content>
</entry>
<entry>
<title>net80211/ifconfig: swap IEEE80211_FVHT_USEVHT160 and 80P80</title>
<updated>2025-02-15T15:49:02Z</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2025-02-15T12:40:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8f2e5b6ef32304ce340b91057b1eb4b191dbeac1'/>
<id>urn:sha1:8f2e5b6ef32304ce340b91057b1eb4b191dbeac1</id>
<content type='text'>
ieee80211_setupcurchan() compares the flags in a greater than manner.
In this case VHT160 should be &gt; VHT80P80 as it is preferable.
Swap the two flags and add a comment to note this.

Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
Reviewed by:	adrian
Differential Revision: https://reviews.freebsd.org/D48976
</content>
</entry>
<entry>
<title>ifconfig: make -vht work</title>
<updated>2025-01-07T18:09:00Z</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2025-01-04T16:58:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=42410c6d682c4e00ce6147f99b51a55f6f3fe075'/>
<id>urn:sha1:42410c6d682c4e00ce6147f99b51a55f6f3fe075</id>
<content type='text'>
Also hide the other vht options on -vht and only show vht40/80/160/80p80
when vht is enabled.

While here fix some whitespace and comments.

Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
Reviewed by:	adrian, emaste
Differential Revision: https://reviews.freebsd.org/D48326
</content>
</entry>
</feed>
