[PATCH 0/2] wifi: iwlwifi: keep Wi-Fi when Intel AMT powers the host on

From: Andrei Rusu de Castro

Date: Mon Nov 16 2026 - 11:41:48 EST


With IWLMEI enabled and AMT's wireless enabled, the host can come up
without Wi-Fi after AMT powers it on: CSME is still handing the NIC back
to the host while iwlwifi probes. On an HP ZBook Firefly 14 G10 (AX211,
CSME 16.1) this happened in two ways:

- the NIC cannot be woken at probe while CSME still drives it, and the
probe fails with -110 for good (patch 1);
- ownership moves back to CSME between the end of the probe and the
op mode's start, which then fails with -EBUSY (patch 2).

In both cases the SAP connection to CSME is up, so the host can take the
NVM from CSME and request the NIC over SAP, as it does when CSME visibly
owns the NIC at probe.

The series applies to iwlwifi-next. IWLMEI depends on BROKEN; it builds
with CONFIG_WERROR only together with [1], and binds only with [2]:

[1] https://lore.kernel.org/r/20261116-iwlmei-nvm-const-0c16d1de@empyreal.works
[2] https://lore.kernel.org/r/20261116-mei-cl-dma-parent-60802f47@empyreal.works

Tested with both patches on that machine. The failure in patch 1 hit four
of six AMT power-ons and resets before it; with it, AMT power-ons came back
on Wi-Fi 36-48 s after Power on. The race in patch 2 was seen once in seven
AMT power-ons with patch 1 applied (after about 20 minutes off) and did not
recur in the three power-ons since (after 0 s, 2 and 33 minutes off), so its
fallback has not yet run on hardware.

Andrei Rusu de Castro (2):
wifi: iwlwifi: pcie: use the CSME path when the NIC cannot be woken at
probe
wifi: iwlwifi: mvm: take the NVM from CSME when it takes the device
back

drivers/net/wireless/intel/iwlwifi/mvm/ops.c | 13 ++++++
.../net/wireless/intel/iwlwifi/pcie/trans.c | 40 ++++++++++++++++++-
2 files changed, 51 insertions(+), 2 deletions(-)

--
2.55.0