From nobody Sat Feb 15 15:51:19 2025 X-Original-To: dev-commits-src-main@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 4YwD13736Yz5njhM; Sat, 15 Feb 2025 15:51:19 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YwD132G3pz3HLG; Sat, 15 Feb 2025 15:51:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739634679; 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=/o5yUZECAGQ3duTlLztLoWKSecd6bqlmwez4gb4ApYA=; b=lWYi02V9LFeWqiu5U31Y1AOu5gIKAjh3Q34hkNgT7+jXhwtoO2s8eaQr7HZFaAhqqq8hR7 MlhtGBKoZrMlTiAeFV6JG7tyi+e7vy5Z/zoFsNzULSbrB6gqPUlUh7XzLvib5R1OCiVMj/ 4K1nqBD2VJdWczh6TqYE+jNQM7/L3S8EOgXkF06ZkPGuOcTHhomg32hZQluUE5TIsv6jJ5 7Z7XJBuPyP3x5IL9/MSEUtejX1EZ6Igh4L0RawL+vPUkRgQr5m/I7JlVVwajrNwx/zEtPd bbCE5ErRgMrOB/a0OGllPib3OnK2cFWLlYTPqXZJ+1vFdsGsR5sVXklIKqpR8A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1739634679; a=rsa-sha256; cv=none; b=S6WLCdn6sezECYy+R8rYOUTjzBmOr8JP543K9EFVVi52Y92ttqPtw8pQ8QoMMDDqGXQ2bc 4ku9N/4DJB/Ug0hfThv8YcScTsF6LbbYaqp5ioRREnGyXjz9OfGIzlQLUuNQZToLmj/FL+ iymX2ueThhDLJ8X2yq0ugQdx689uA9rb3scUCMx4O+4/N8lBrG3/WAssOCC8s5waqaUmXH p24zwsIcLG/6yPCd8s/M66Ol2obhEsV2p5/d3O1v6jA/ya0LI8mvKt3+KCi5G3sdt4BiLA jJsUZhVknib/KtuUAcykNUDGBxmtByvHK+3i8xRPP9lVqc7x4XH4Gad3V11mqQ== 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=1739634679; 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=/o5yUZECAGQ3duTlLztLoWKSecd6bqlmwez4gb4ApYA=; b=KOTE1gnvaDrFlIGmgH+Z111b4QNVf8hxLetkUgivUpIqbKH5xDiRXi5NrJFRghuxijDi1Y WDr6VHvhQf2tNhDdAfzlulVfuIqYs06dShDdUwuFZu9Tm1j1BH8U+9OTN9yMRx5R26C6hu K8o5Yk8PhPdjjOp/C60vRotH+E4Fx9W/x7NNPbfeNGz2moAC4sL7Tj63qa641Q8gLJn4DM IXKhJ+YC6Ku5slE+5Hl3iGZ+r2nqB5b12SaLN4oIALw/JsewjyI9hKZbSTP9bWdbhBVkrA 8JINQ13zTF8GRVgVO8RmpykhsSvDEk+RM/QRhY9znTZMR9F4KLEf4Hb95LEtXQ== 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 4YwD131rzsz1M0j; Sat, 15 Feb 2025 15:51:19 +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 51FFpJRa050393; Sat, 15 Feb 2025 15:51:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 51FFpJOa050390; Sat, 15 Feb 2025 15:51:19 GMT (envelope-from git) Date: Sat, 15 Feb 2025 15:51:19 GMT Message-Id: <202502151551.51FFpJOa050390@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: d688c20395a9 - main - net80211: crypto: enhance comment about IEEE80211_RX_F_MMIC_STRIP List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: d688c20395a9f46d89edab4c57b863b6d752b061 Auto-Submitted: auto-generated The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=d688c20395a9f46d89edab4c57b863b6d752b061 commit d688c20395a9f46d89edab4c57b863b6d752b061 Author: Bjoern A. Zeeb AuthorDate: 2025-02-15 12:40:40 +0000 Commit: Bjoern A. Zeeb CommitDate: 2025-02-15 15:49:53 +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 MFC after: 3 days Reviewed by: adrian Differential Revision: https://reviews.freebsd.org/D48978 --- 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 5c7e6110026d..8ae7eb0f1c45 100644 --- a/sys/net80211/_ieee80211.h +++ b/sys/net80211/_ieee80211.h @@ -588,7 +588,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