]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[efi] Assume that vendor wireless drivers are unusable via SNP
authorMichael Brown <mcb30@ipxe.org>
Tue, 15 Jul 2025 08:12:54 +0000 (09:12 +0100)
committerMichael Brown <mcb30@ipxe.org>
Tue, 15 Jul 2025 08:12:54 +0000 (09:12 +0100)
commit7ac4b3c6f1c0d40b9e6d799e77df711784029f82
treeaf3ac0cc6675bcb4fcbdfd1f270d1eff54e4108f
parentc3376f86457120e360161ce19e6862f31980c2f2
[efi] Assume that vendor wireless drivers are unusable via SNP

The UEFI model for wireless network boot cannot sensibly be described
without cursing.  Commit 758a504 ("[efi] Inhibit calls to Shutdown()
for wireless SNP devices") attempts to work around some of the known
issues.

Experimentation shows that on at least some platforms (observed with a
Lenovo ThinkPad T14s Gen 5) the vendor SNP driver is broken to the
point of being unusable in anything other than the single use case
envisioned by the firwmare authors.  Doing almost anything directly
via the SNP protocol interface has a greater than 50% chance of
locking up the system.

Assume, in the absence of any evidence to the contrary so far, that
vendor SNP drivers for wireless network devices are so badly written
as to be unusable.  Refuse to even attempt to interact with these
drivers via the SNP or NII protocol interfaces.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/net/efi/mnp.c
src/drivers/net/efi/snp.c
src/drivers/net/efi/snpnet.c
src/drivers/net/efi/snpnet.h
src/drivers/net/efi/snponly.c