linux/drivers/net/wireless/mediatek/mt76/mt7921
Laxman Acharya Padhya 1a296bfd3e wifi: mt76: mt7921: skip unknown CLC firmware records
Treat an out-of-range CLC index as newer firmware rather than a
malformed image. linux-firmware 20260810 ships MT7922 records with
idx 3, and rejecting them made mt7921e fail to probe.

Keep the record-length checks, and report those as errors so a
truncated table is visible instead of a silent retry loop.

Fixes: 9417c5818a ("wifi: mt76: mt7921: validate CLC firmware records")
Reported-by: Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com>
Signed-off-by: Laxman Acharya Padhya <acharyalaxman8848@gmail.com>
Reviewed-by: Junjie Cao <junjie.cao@intel.com>
Tested-by: Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2026-09-13 10:15:16 -07:00
..
debugfs.c wifi: mt76: Drop unneeded mt76_register_debugfs_fops() return checks 2026-06-09 10:34:02 +00:00
init.c wifi: mt76: mt7921: refactor regulatory domain handling to regd.[ch] 2026-06-09 10:20:43 +00:00
Kconfig wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
mac.c wifi: mt76: fix 4th chain ACK RSSI bitmask in sta_poll 2026-07-31 12:25:40 +00:00
main.c wifi: mt76: mt7921: refactor regd update to fix recursive mutex deadlock 2026-07-31 12:25:39 +00:00
Makefile wifi: mt76: mt7921: refactor regulatory domain handling to regd.[ch] 2026-06-09 10:20:43 +00:00
mcu.c wifi: mt76: mt7921: skip unknown CLC firmware records 2026-09-13 10:15:16 -07:00
mcu.h wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
mt7921.h wifi: mt76: mt7921: refactor regulatory domain handling to regd.[ch] 2026-06-09 10:20:43 +00:00
pci_mac.c wifi: mt76: connac2: apply new rx all_complete_mask 2026-07-31 12:25:36 +00:00
pci_mcu.c wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
pci.c wifi: mt76: mt7921: Add PCIe AER handler support to prevent system crash 2026-07-31 12:25:39 +00:00
regd.c treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
regd.h wifi: mt76: mt7921: add regulatory wiphy self manager support 2026-07-31 12:25:39 +00:00
regs.h wifi: mt76: connac2: add per-chip PCIe register definitions 2026-07-31 12:25:36 +00:00
sdio_mac.c wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
sdio_mcu.c wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
sdio.c wifi: mt76: mt7921: add MT7902 SDIO device support 2026-03-24 15:49:30 +00:00
testmode.c wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
usb.c wifi: mt76: mt7921u: escalate broken USB transport to device reset 2026-06-09 10:15:22 +00:00