linux/drivers/net/wireless/ralink/rt2x00
Corentin Labbe 0a2581cbae wifi: ralink: RT2X00: init EEPROM properly
I have an hostapd setup with a
01:00.0 Network controller: Ralink corp. RT2790 Wireless 802.11n 1T/2R PCIe

The setup work fine on 6.18.26-gentoo
It breaks on 6.18.33-gentoo (and still broken on 6.18.37)

I found an hint in dmesg:
On 6.18.26-gentoo I see:
May 31 15:48:45 trash01 kernel: ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0003 detected
On 6.18.33-gentoo I see:
May 31 15:22:57 trash01 kernel: ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0006 detected

The RF chipset seems badly detected.

The problem was the EEPROM which was badly initialized.
Probably the origin was in some PCI change but unfortunately I couldn't play
to bisect/reboot often the board with this card to do it.

Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Acked-by: Stanislaw Gruszka <stf_xl@wp.pl>
Link: https://patch.msgid.link/20260703134932.3786771-1-clabbe@baylibre.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2026-07-06 14:11:08 +02:00
..
Kconfig wifi: rt2x00: fix CRC_CCITT dependency 2025-08-26 13:44:28 +02:00
Makefile wifi: rt2800: move 2x00soc to 2800soc 2025-07-23 12:29:08 +02:00
rt2x00.h wifi: rt2x00: allocate anchor with rt2x00dev 2026-05-20 11:57:35 +02:00
rt2x00config.c
rt2x00crypto.c wifi: rt2x00: simplify rt2x00crypto_rx_insert_iv() 2024-01-18 15:07:19 +02:00
rt2x00debug.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
rt2x00debug.h
rt2x00dev.c wifi: rt2x00: avoid full teardown before work setup in probe 2026-07-06 10:09:29 +02:00
rt2x00dump.h
rt2x00firmware.c
rt2x00leds.c
rt2x00leds.h
rt2x00lib.h
rt2x00link.c wifi: rt2x00: make watchdog param per device 2023-12-01 14:42:14 +02:00
rt2x00mac.c wifi: cfg80211/mac80211: Add support to get radio index 2025-06-24 15:19:27 +02:00
rt2x00mmio.c
rt2x00mmio.h
rt2x00pci.c
rt2x00pci.h
rt2x00queue.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
rt2x00queue.h
rt2x00reg.h
rt2x00usb.c wifi: rt2x00: allocate anchor with rt2x00dev 2026-05-20 11:57:35 +02:00
rt2x00usb.h
rt61pci.c wifi: ralink: RT2X00: init EEPROM properly 2026-07-06 14:11:08 +02:00
rt61pci.h wifi: rt2x00: use explicitly signed or unsigned types 2022-10-21 09:59:39 +03:00
rt73usb.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
rt73usb.h wifi: rt2x00: use explicitly signed or unsigned types 2022-10-21 09:59:39 +03:00
rt2400pci.c wifi: ralink: RT2X00: init EEPROM properly 2026-07-06 14:11:08 +02:00
rt2400pci.h wifi: rt2x00: use explicitly signed or unsigned types 2022-10-21 09:59:39 +03:00
rt2500pci.c wifi: ralink: RT2X00: init EEPROM properly 2026-07-06 14:11:08 +02:00
rt2500pci.h wifi: rt2x00: use explicitly signed or unsigned types 2022-10-21 09:59:39 +03:00
rt2500usb.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
rt2500usb.h wifi: rt2x00: use explicitly signed or unsigned types 2022-10-21 09:59:39 +03:00
rt2800.h wifi: rt2x00: introduce DMA busy check watchdog for rt2800 2023-11-08 20:14:10 +02:00
rt2800lib.c wifi: rt2x00: use generic nvmem_cell_get 2026-03-02 09:31:15 +01:00
rt2800lib.h wifi: rt2x00: add nvmem eeprom support 2025-10-30 08:39:18 +01:00
rt2800mmio.c wifi: rt2x00: Switch to use hrtimer_update_function() 2025-02-18 17:41:35 +01:00
rt2800mmio.h
rt2800pci.c wifi: ralink: RT2X00: init EEPROM properly 2026-07-06 14:11:08 +02:00
rt2800pci.h
rt2800soc.c wifi: rt2x00: add nvmem eeprom support 2025-10-30 08:39:18 +01:00
rt2800usb.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
rt2800usb.h