From nobody Mon Feb 24 20:27:06 2025 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Z1sj717RPz5ppr4; Mon, 24 Feb 2025 20:27:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Z1sj64GhGz3nmn; Mon, 24 Feb 2025 20:27:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1740428826; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=icE8xMwtllwWzQ4NtzCng+y6JAcQKL8hJarcJpgkjw0=; b=wW/OWSiDY0rfEOvZAup1E7hcOj6hDGLLG3poQfHCcN8tuTD2AH0DYcLU5azwL7Rh60BjfC +ib7XtQOCCut+yO3KDKaZK18uOoy0bx/V6/O3yNPV27i5fVitxaAKMVK1ddW0uBWSyS0lv QY9UgWdegSS3he7NAkyLVLxj96eoo9Jtr9DXnZLZ0pihdGHQ9AbOA+cWIMRYaoqP/sn/q6 b/hg2r36V8/9vLDxdHbYI8uSiJGKk3Tmw69tCcDPWe/m1qbeokXvhdmmRc/JJFjQ1RBWaZ 87B92/ch4UrO5pF5g93K5f+UKz+Ndxe4+3hnlF1JYpOLBdCEf2OwAkENu3BrLA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1740428826; a=rsa-sha256; cv=none; b=K241p7171SLvmHA+3a+PN24xbO8ntVnpyTynD6M0hZYVxRUVdCC0e2ywfi4JUV78Sl+hNB +ppSiG9JB6xqGQBNQYt8YVhLPeV5Q2GAu9Lxx0Aw1+QR6LItvv6zHIwiXUboqcVI9vt5uG sMfryg35aewlTlk9SyjdZMjWA9M86HHfMn69UFsNvfztN0+9d4HQYLasif6fmmLInhAg9G yHCNxo7NLDblX2HkDxZKA0xCz1JpskhUhBKoqu5OhBEdwKRt1MchJ30ZqWV8qrBXip1J3Y TX3zqDM5HWwgXIFUQRE5IL8mVG6kKmjMvR8/EZceCrl/zJXNNn+C3TraTiqBCQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1740428826; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=icE8xMwtllwWzQ4NtzCng+y6JAcQKL8hJarcJpgkjw0=; b=uPZMFvXt31WBDHp4CtQHAAPNaRWBPQtP4Kat8lyMM/RmH5kiaUqNvkb4M+QuXX15AClNo4 26HQN92tO1KgaQEqFtAYvjBFp72ChZ21+c7ZYZ9rk4tOICVT+SQDpU8cL3Ha5hNv5+IbJR WOIoyCHeMzeSe72UEuBBGaoc7Rjhrcd6OBettCkzpeOn0O1+eJEicB6mzcwRCzDvz6Blz1 Sj/A704h1e+EawaadQLmswfoAIk3cVjGKAzlrPXtGmtZal0tXOob4Ugz4qZlstKIE3eJVI AzwHEDu423sGkU7EfRsH7UqwGnGjdWviXlX4XxqDx6O4ck1z7H8Bjb0RnU7IaQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Z1sj62xhlzwW0; Mon, 24 Feb 2025 20:27:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 51OKR6Co027122; Mon, 24 Feb 2025 20:27:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 51OKR6xd027119; Mon, 24 Feb 2025 20:27:06 GMT (envelope-from git) Date: Mon, 24 Feb 2025 20:27:06 GMT Message-Id: <202502242027.51OKR6xd027119@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: 3b84a5133a57 - stable/14 - net80211: crypto: enhance comment about IEEE80211_RX_F_MMIC_STRIP List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bz X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 3b84a5133a57fd9be48a738b524460f4222815f3 Auto-Submitted: auto-generated The branch stable/14 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=3b84a5133a57fd9be48a738b524460f4222815f3 commit 3b84a5133a57fd9be48a738b524460f4222815f3 Author: Bjoern A. Zeeb AuthorDate: 2025-02-15 12:40:40 +0000 Commit: Bjoern A. Zeeb CommitDate: 2025-02-24 20:26:47 +0000 net80211: crypto: enhance comment about IEEE80211_RX_F_MMIC_STRIP net80211 crypto currently re-uses the M[ichael]MIC flag for MIC as well at least in CCMP. This is a bit confusing so at least try to improve the comment that it becomes more obvious. In the long-term we may want to just add a MIC flag as well? Sponsored by: The FreeBSD Foundation Reviewed by: adrian Differential Revision: https://reviews.freebsd.org/D48978 (cherry picked from commit d688c20395a9f46d89edab4c57b863b6d752b061) --- sys/net80211/_ieee80211.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net80211/_ieee80211.h b/sys/net80211/_ieee80211.h index 1ac9328714f7..929de475f4bf 100644 --- a/sys/net80211/_ieee80211.h +++ b/sys/net80211/_ieee80211.h @@ -567,7 +567,7 @@ struct ieee80211_mimo_info { #define IEEE80211_RX_F_FAIL_MIC 0x00000080 /* Failed MIC check */ #define IEEE80211_RX_F_DECRYPTED 0x00000100 /* Hardware decrypted */ #define IEEE80211_RX_F_IV_STRIP 0x00000200 /* Decrypted; IV stripped */ -#define IEEE80211_RX_F_MMIC_STRIP 0x00000400 /* Decrypted; MMIC stripped */ +#define IEEE80211_RX_F_MMIC_STRIP 0x00000400 /* Decrypted; [Micheal] MIC ([M]MIC) stripped */ #define IEEE80211_RX_F_SHORTGI 0x00000800 /* This is a short-GI frame */ #define IEEE80211_RX_F_CCK 0x00001000 #define IEEE80211_RX_F_OFDM 0x00002000