From: Johannes Berg <johannes@sipsolutions.net>
To: Jose Ignacio Tornos Martinez <jtornosm@redhat.com>
Cc: davem@davemloft.net, emmanuel.grumbach@intel.com,
herbert@gondor.apana.org.au, ilan.peer@intel.com,
linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-wireless@vger.kernel.org,
miriam.rachel.korenblit@intel.com
Subject: Re: [PATCH v2 0/5] wifi: add opt-in FIPS exception for iwlwifi
Date: Mon, 05 Oct 2026 22:55:35 +0200 [thread overview]
Message-ID: <289161e6ddaf18fa63a55623c75d700850fd57b6.camel@sipsolutions.net> (raw)
In-Reply-To: <20261005164521.1037345-1-jtornosm@redhat.com>
Hi,
> With the minimum changes on top of the fips_allows() infrastructure
> (patch below), I have bidirectional data working with SW crypto.
> mac80211 handles CCMP encryption/decryption on the host, firmware
> has no data keys.
No keys at all, but yeah.
What are you testing with now? Still MFP?
> However, I had to disable RX AMPDU aggregation to make RX work.
> Without PTK in firmware, firmware does not set the correct bits
> in the Block Ack bitmap, since it cannot validate the received
> frames. The AP assumes frames were not received, retransmits,
> and eventually gives up. TX AMPDU works fine because the AP has
> the keys and sends correct BA back to the STA.
That doesn't really make sense. How can TX A-MPDU work when you have
MFP, this was the bit you disabled earlier even with all the other work?
And the firmware has to send the AddBA request, so that can't make it
through??
> Disabling RX AMPDU forces individual frame ACKs, which work at
> the PHY level without keys. The throughput cost is significant:
> ~12-30 Mbps instead of ~500 Mbps with HW crypto.
That almost seems low (11g maxed out at ~24 Mbps with 54 Mbps PHY rate),
but depends on the channel width and MCS.
> Analyzing the Block Ack protocol, I think the BA bitmap only
> requires the Sequence Number (from the unencrypted MAC header) and
> CRC validation (PHY-level). So neither could require decryption keys.
> Could we allow this behavior?
> Is there a firmware mode where firmware acknowledges all CRC-valid
> frames in the BA regardless of decryption status?
I'd have said it should already work that way.
johannes
prev parent reply other threads:[~2026-10-05 20:55 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-30 12:08 Jose Ignacio Tornos Martinez
2026-09-30 12:08 ` [PATCH v2 1/5] crypto: fips: add fips_exception kernel boot parameter and fips_allows() helper Jose Ignacio Tornos Martinez
2026-09-30 12:08 ` [PATCH v2 2/5] wifi: mac80211: allow keys to driver with fips_exception Jose Ignacio Tornos Martinez
2026-09-30 12:08 ` [PATCH v2 3/5] wifi: iwlwifi: restore FIPS-disabled features " Jose Ignacio Tornos Martinez
2026-09-30 12:08 ` [PATCH v2 4/5] wifi: iwlwifi: use software crypto for management frames in FIPS exception mode Jose Ignacio Tornos Martinez
2026-09-30 12:08 ` [PATCH v2 5/5] wifi: iwlwifi: reduce encryption error message to debug level in FIPS mode Jose Ignacio Tornos Martinez
2026-10-01 7:37 ` [PATCH v2 0/5] wifi: add opt-in FIPS exception for iwlwifi Johannes Berg
2026-10-01 13:08 ` Jose Ignacio Tornos Martinez
2026-10-01 14:06 ` Johannes Berg
2026-10-01 15:59 ` Jose Ignacio Tornos Martinez
2026-10-01 16:19 ` Johannes Berg
2026-10-01 18:52 ` Jose Ignacio Tornos Martinez
2026-10-01 20:22 ` Johannes Berg
2026-10-02 10:45 ` Jose Ignacio Tornos Martinez
2026-10-05 16:45 ` Jose Ignacio Tornos Martinez
2026-10-05 20:55 ` Johannes Berg [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=289161e6ddaf18fa63a55623c75d700850fd57b6.camel@sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=davem@davemloft.net \
--cc=emmanuel.grumbach@intel.com \
--cc=herbert@gondor.apana.org.au \
--cc=ilan.peer@intel.com \
--cc=jtornosm@redhat.com \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=miriam.rachel.korenblit@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®