[OpenWrt-Devel] [PATCH] Give WiFi modules more time to settle

Felix Fietkau nbd at openwrt.org
Tue May 12 05:59:33 EDT 2015

On 2015-05-12 11:33, Hante Meuleman wrote:
> Understood, what is wifi detect using as input? Do the netdevs have to 
> be up? Where is the information that wifi app is reading coming from?
It looks for registered cfg80211 wiphys. It does not care about netdevs.

> brcmfmac uses different method for firmware loading. It is not as 
> easily patched as the ath10k driver. But I would like to know exactly 
> what wifi detect uses as input. As in case of brcmfmac I expect that 
> firmware loading will not be the only asynchronous "problem".
It should be enough to rework the request_firmware_nowait calls into
request_firmware calls.

> What would be easy is adding a delay of 2 seconds to the function 
> brcmfmac_module_init in core.c, but that won't guarantee it will work.
Still seems more fragile and hackish.

- Felix
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list