The branch main has been updated by adrian:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=98e8df90b5cc5180c09e71998e5f3e05c76a4fe1

commit 98e8df90b5cc5180c09e71998e5f3e05c76a4fe1
Author:     Adrian Chadd <adr...@freebsd.org>
AuthorDate: 2024-04-22 03:29:08 +0000
Commit:     Adrian Chadd <adr...@freebsd.org>
CommitDate: 2024-05-14 21:39:11 +0000

    net80211: add placeholder module names for the new ciphers
    
    This is effectively a no-op as we currently don't advertise these
    ciphers as available anywhere.
    
    Note though the intent to support 128 and 256 bit ciphers in the same
    crypto module.
    
    Differential Revision:  https://reviews.freebsd.org/D44900
    Reviewed by:    cc, cy
    Approved by:    cc, cy
---
 sys/net80211/ieee80211_crypto.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/sys/net80211/ieee80211_crypto.c b/sys/net80211/ieee80211_crypto.c
index e849fe06db65..3659d3f7c79a 100644
--- a/sys/net80211/ieee80211_crypto.c
+++ b/sys/net80211/ieee80211_crypto.c
@@ -274,6 +274,13 @@ static const char *cipher_modnames[IEEE80211_CIPHER_MAX] = 
{
        [IEEE80211_CIPHER_TKIPMIC] = "#4",      /* NB: reserved */
        [IEEE80211_CIPHER_CKIP]    = "wlan_ckip",
        [IEEE80211_CIPHER_NONE]    = "wlan_none",
+       [IEEE80211_CIPHER_AES_CCM_256] = "wlan_ccmp",
+       [IEEE80211_CIPHER_BIP_CMAC_128] = "wlan_bip_cmac",
+       [IEEE80211_CIPHER_BIP_CMAC_256] = "wlan_bip_cmac",
+       [IEEE80211_CIPHER_BIP_GMAC_128] = "wlan_bip_gmac",
+       [IEEE80211_CIPHER_BIP_GMAC_256] = "wlan_bip_gmac",
+       [IEEE80211_CIPHER_AES_GCM_128]  = "wlan_gcmp",
+       [IEEE80211_CIPHER_AES_GCM_256]  = "wlan_gcmp",
 };
 
 /* NB: there must be no overlap between user-supplied and device-owned flags */

Reply via email to