On 03/05/14 11:24, Samuel Ortiz wrote:
I'm attaching the log corresponding to a modprobe brcmfmac debug=0x31416
&& ifconfig wlan0 up sequence.
I have modified this in the driver, to make it less aggressive about
SDIO sleeps:
sdio_host.h:
#define BRCMF_WD_POLL_MS 200
dhd_sdio.c:
#define BRCMF_IDLE_INTERVAL 20
So this log looks fine, because due to the changes above it never goes
to sleep. The log actually show it is a backport, right?
> I also have 2 question for you;-)
Sorry if I sounded a bit rude, I didn't mean it :-/
I did not take it as rude so no worries.
> - what mmc host controller is used?
So this is sdhci-acpi.
> - do you have CONFIG_RUNTIME_PM enabled?
CONFIG_PM_RUNTIME is enabled, yes. Do you want me to test with it
disabled ?
I am asking because Russell King recently discovered that SDHCI based
host controller drivers disable the SDIO interrupt. This would explain
the timeout on the scan as the scan results are events from the device
that require this interrupt. Even with your patches this may still
happen. You can probably disable it for the host controller through sysfs.
Regards,
Arend
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html