Search Linux Wireless

wl1271: how to use without runtime pm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Luciano,

I use omap3evm board with wl1271 extension module. Current version of
wl1271 driver works fine on upstream kernel and (with minor
modifications resulting from older mac80211) on 2.6.32 kernel with
integrated SDIO runtime PM patches from Ohad Ben-Cohen.

In the current kernel runtime PM support is always enabled for
omap2plus boards. However this is not the case for the earlier kernels.
Besides, on some other boards there might be no gpio pin to control
power supply of wl1271 card.

So the question is: what is the proper use of wl1271 driver in the case
when  wl1271 card is powered all the time ?

In a simple experiment I removed all pm_runtime functions from
wl1271_sdio.c and removed MMC_CAP_POWER_OFF_CARD flag from mmc slot
settings in board file. However I can't do ifdown/ifup procedure
properly:

root@omap3evm_minimal:~# ifconfig wlan0 down
root@omap3evm_minimal:~# ifconfig wlan0 up
[   55.313201] wl1271: ERROR timeout waiting for the hardware to
complete initialization
[   58.813964] wl1271: ERROR timeout waiting for the hardware to
complete initialization
[   60.648651] wl1271: ERROR sdio read failed (-110)
[   60.653686] wl1271: ERROR sdio write failed (-110)
[   62.057067] wl1271: ERROR sdio read failed (-110)
[   62.062072] wl1271: ERROR chip id doesn't match after firmware boot
[   62.068786] wl1271: ERROR firmware boot failed despite 3 retries
	ifconfig: SIOCSIFFLAGS: Input/output error
 
It looks like init procedure of wl1271 card can not be done twice
without powering off wl1271 card. 


Thanks,
Sergey
--
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


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux