GTA02 WLAN into modules

Andy Green andy at openmoko.com
Fri Aug 29 14:26:28 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi -

As I explain in this bug

https://docs.openmoko.org/trac/ticket/1684

Atheros told me the best way to get WLAN recognized after it has been
powered down was to rmmod and re-modprobe the modules either side of the
change of power status.  Right now, the modules are all built-in on our
configs.  I meddled about with it for a while couple of weeks ago and
couldn't get it to rescan and discover the WLAN after power down either,
so I think we have to move to modules now for Atheros SDIO and WLAN
driver bits.

The other guy on the bug xbaldauf points out that changing this would be
good for him in another way, since he gets hit by either driver or
firmware bugs to do with association that he currently has to reboot to
clear.

So we will need a couple of things somehow on userspace side for it to
work...

~ - ifup script or whatever it is we use should power WLAN using a new
/sys that can come when we get this straight, then modprobe the modules in.

~ - ifdown script or similar should ifconfig down it, rmmod the modules,
then turn the WLAN module off uing the /sys thing again

...how are we set for making these changes on userspace side (be it
Openmoko or Debian or whatever), or is there a better way to come at it?

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAki36vQACgkQOjLpvpq7dMr0AACfU2RPWEMwt9JUpDenl78mCdeQ
62cAn2bp7Xj04Kibg+usZvsjadgvOWmo
=2N+j
-----END PGP SIGNATURE-----



More information about the devel mailing list