What is the proper way to turn wlan on/off? Other wlan questions.
Paul Fertser
fercerpav at gmail.com
Thu Dec 18 12:50:05 CET 2008
Hi,
I'm a bit confused about the proper way to disable wlan. Currently,
FSO uses SIOCGIWTXPOW ioctl but recently a new driver was
committed. In any way eth0 is still present in iwconfig listing (is it
a correct behaviour?).
I actually tried using power_on sysfs node for wlan. After "echo 0 >
power_on" wifi no longer operational, with "mmc0:0001: error -110
reading SDIO_CCCR_INTx" error in dmesg. "echo 1 > power_on" doesn't
change that, still the same error. But if i do "echo s3c2440-sdi >
unbind; echo s3c2440-sdi > bind" in
/sys/devices/platform/s3c2440-sdi/driver i can use wlan again.
And, btw, while WiFi is operational, iwlist scan shows an obscure
error message when there're no APs around. Is it a known issue?
Are there plans to implement rfkill interface to Wlan? Should FSO
target it (as well as bluetooth's one)?
Andy, i can confirm that when wpa_supplicant is correctly associated
with an AP, suspend/resume cycle results in correct automatic
reestablishing of the connection.
--
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercerpav at gmail.com
More information about the openmoko-kernel
mailing list