git: 62c1865c9aae - main - net80211: delete the deprecated ieee80211_wepkey struct

From: Adrian Chadd <adrian_at_FreeBSD.org>
Date: Tue, 09 Jun 2026 04:35:22 UTC
The branch main has been updated by adrian:

URL: https://cgit.FreeBSD.org/src/commit/?id=62c1865c9aaef436498c444b460e6ec2fbcaf44d

commit 62c1865c9aaef436498c444b460e6ec2fbcaf44d
Author:     Adrian Chadd <adrian@FreeBSD.org>
AuthorDate: 2026-06-09 04:27:12 +0000
Commit:     Adrian Chadd <adrian@FreeBSD.org>
CommitDate: 2026-06-09 04:27:12 +0000

    net80211: delete the deprecated ieee80211_wepkey struct
    
    This hasn't been used in a long time, and since I am shuffling around
    the net80211 crypto API a bunch, let's just delete it instead of
    leaving it here and trying to figure out how to support it if it's
    used by userland somehow.
    
    Reviewed by:    guest-seuros
    Differential Revision:  https://reviews.freebsd.org/D57312
---
 sys/net80211/ieee80211_crypto.h | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/sys/net80211/ieee80211_crypto.h b/sys/net80211/ieee80211_crypto.h
index 824983ae4d2d..9ae91bcaeb5d 100644
--- a/sys/net80211/ieee80211_crypto.h
+++ b/sys/net80211/ieee80211_crypto.h
@@ -50,14 +50,6 @@
 #define	IEEE80211_KEYBUF_SIZE		IEEE80211_KEYBUF_128_SIZE
 #define	IEEE80211_MICBUF_SIZE		IEEE80211_MICBUF_128_SIZE
 
-/*
- * Old WEP-style key.  Deprecated.
- */
-struct ieee80211_wepkey {
-	u_int		wk_len;		/* key length in bytes */
-	uint8_t		wk_key[IEEE80211_KEYBUF_SIZE];
-};
-
 struct ieee80211_rsnparms {
 	uint8_t		rsn_mcastcipher;	/* mcast/group cipher */
 	uint8_t		rsn_mcastkeylen;	/* mcast key length */