From: Jose Ignacio Tornos Martinez <jtornosm@redhat.com>
To: johannes@sipsolutions.net
Cc: davem@davemloft.net, emmanuel.grumbach@intel.com,
herbert@gondor.apana.org.au, ilan.peer@intel.com,
jtornosm@redhat.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: Fri, 9 Oct 2026 08:43:26 +0200 [thread overview]
Message-ID: <20261009064326.43891-1-jtornosm@redhat.com> (raw)
In-Reply-To: <289161e6ddaf18fa63a55623c75d700850fd57b6.camel@sipsolutions.net>
Hi Johannes,
Sorry for the delay. I wanted to have concrete results
before continuing the conversation.
> No keys at all, but yeah.
Right, no keys at all in firmware.
> What are you testing with now? Still MFP?
Yes, MFP enabled. WPA2-PSK with ieee80211w=2 on the AP,
AX211 as STA, channel 52 80MHz HE.
> 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??
You are right, it does not work. I was wrong in my
previous mail, sorry about that. Monitoring the frames
with a separate station in monitor mode (mt76) I can
see that firmware sends ADDBA Request unprotected, AP
drops it (MFP), firmware retries every ~2 seconds
followed by DELBA, all dropped. TX throughput is ~26
Mbps (individual MPDUs, no aggregation).
Following the pattern of mt76, I tested triggering
ieee80211_start_tx_ba_session() from the driver so
mac80211 sends an encrypted ADDBA through the normal
TX path. The AP accepts, the BA session is fully
established and persists, no DELBA is sent by the AP.
But TLC does not know about this host-established
session so it still does not aggregate.
Is there a way to allow TX aggregation from mac80211
in this scenario, similar to how the RX path can be
managed from the host? Or any other mechanism to let
TLC know that a BA session has been established for a
TID so it can aggregate? I could not find a TX
equivalent of STA_MODIFY_ADD_BA_TID in the firmware
API, but maybe there is another way I am missing.
> That almost seems low (11g maxed out at ~24 Mbps with
> 54 Mbps PHY rate), but depends on the channel width
> and MCS.
The same setup without fips=1 gives ~500 Mbps, so
the individual MPDU overhead explains the gap.
> I'd have said it should already work that way.
You were right. After debugging I found the places in
the RX path where frames were being dropped without
keys and fixed them (see v3 3/4).
I am sending a v3 (4 patches) with the current working
state as a provisional version to show you the status
and continue with your guidance. The series covers:
fips_allows_exception() infrastructure, MFP re-enabled,
RX AMPDU and A-MSDU fixes, and debug message reduction.
RX throughput is back to ~450 Mbps with these fixes.
TX throughput is the remaining limitation.
I plan to address IGTK/BIGTK offload and 6 GHz
dependencies in later versions of this series once we
settle the aggregation question.
Thank you for the guidance
Best regards
Jose Ignacio
next prev parent reply other threads:[~2026-10-09 6:43 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-30 12:08 [PATCH v2 0/5] wifi: add opt-in FIPS exception for iwlwifi 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
2026-10-09 6:43 ` Jose Ignacio Tornos Martinez [this message]
2026-10-09 7:08 ` Johannes Berg
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=20261009064326.43891-1-jtornosm@redhat.com \
--to=jtornosm@redhat.com \
--cc=davem@davemloft.net \
--cc=emmanuel.grumbach@intel.com \
--cc=herbert@gondor.apana.org.au \
--cc=ilan.peer@intel.com \
--cc=johannes@sipsolutions.net \
--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