openwrt-pf/package
Georgi Valkov 9a928a437c
mac80211: mwifiex: fix freeze for 60 seconds caused by request_firmware
Fix regression in rgpower table loading, caused by using
request_firmware(): when the requested firmware does not exist, e.g.
nxp/rgpower_WW.bin does not exist on OpenWrt builds for WRT3200ACM,
request_firmware() falls back to firmware_fallback_sysfs(), which expects
the firmware to be provided by user space using SYSFS. No such utility is
provided in this configuration, so the entire system locks up for 60
seconds, until the request times out. During this time, no other log
messages are observed, and the device does not respond to commands over
UART.

The request_firmware() call is performed in the following context:
current->comm kworker/1:2  in_task 1  irqs_disabled 0  in_atomic 0

Fixed by using request_firmware_direct(). This prevents fallback to SYSFS,
and avoids delay. The rgpower table is optional. The driver falls back
to the device tree power table if the firmware is not present.

The error code is printed for debugging and returned to the caller,
which only cares for success or failure, so there are no side effects.

Link: #24205
Fixes: #24434
Fixes: https://forum.openwrt.org/t/25-12-0-slow-boot-on-linksys-wrt3200acm/247751
Fixes: 7b6f16a258

Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/24205
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
2026-07-28 09:49:18 +02:00
..
base-files base-files: fix missing tabs 2026-07-26 18:02:42 +02:00
boot uboot-airoha: fix ethernet on Gemtek W1700K 2026-07-28 09:46:24 +02:00
devel package: binutils: deduplicate ld 2026-04-18 19:34:21 +02:00
firmware package: rtl826x-firmware: make package versions consistent 2026-07-20 15:45:01 +02:00
kernel mac80211: mwifiex: fix freeze for 60 seconds caused by request_firmware 2026-07-28 09:49:18 +02:00
libs mbedtls: fix arm32 build errors with GCC 15.3 2026-07-14 22:50:47 +02:00
network package: utils: umbim: add dns servers independent of peerdns 2026-07-26 16:09:25 +02:00
system fstools: update to git HEAD of 2026-07-25 2026-07-25 17:30:51 +01:00
utils ucode-mod-bpf: bump PKG_RELEASE 2026-07-20 10:43:36 +02:00
Makefile build: add CycloneDX SBOM processing to apk 2026-05-17 12:21:09 +02:00