[PATCH] add-ar6k-wake-interrupt.patch

matt_hsu matt_hsu at openmoko.org
Wed Jul 16 09:37:26 CEST 2008


Andy Green wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Somebody in the thread at some point said:
>
> |     I see. Thanks for you suggestion. :-) I made a new patch for this.
> | This makes the driver more clean. Initially, I thought we may need 
> to do
> | some handling which requires to call some sub-functions in ar6000.c for
> | interrupt handling. But  I think  it should be OK to do nothing in
> | interrupt handling. All the handling should be done in application(via
> | IOCTL).
>
> I stuck this in andy branch, but most of the magic here is in how to
> request to enable a wake mask based on packet details in the Atheros
> firmware.
>
> How can we find out how to do that, is it already some kind of standard
> since you mention IOCTL?
    Yes. It is IOCTL operation via socket whose is wmiconfig. I 
confirmed with people from Atheros. They are fine with putting this 
utility as public. Here it is:

    http://svn.openmoko.org/trunk/src/target/AR6kSDK.build_sw.18/

    You can find and compile this tool in:

    
http://svn.openmoko.org/trunk/src/target/AR6kSDK.build_sw.18/host/tools/wmiconfig/

    Later, I will post the approach of how-to-setup-wake-up-from-wifi on 
the wiki.

    Julian, I'll send the .bb file of this utility to you please let me 
know if you have any problems.

    Cheers,

    Matt
>
> - -Andy
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkhkpXQACgkQOjLpvpq7dMocHgCfWZJATnybbnIBtYgddHInIv1L
> LtoAoIJo3lZhT07JOxwu2bM4TmuZ2bTR
> =xIG7
> -----END PGP SIGNATURE-----
>




More information about the openmoko-devel mailing list