On Wed, 2009-05-13 at 05:20 -0400, Luis R. Rodriguez wrote: > +/** > + * enum nl80211_wow_triggers - Wake-on-Wireless-LAN triggers > + * > + * NL80211_WOW_TRIGGER_MAGIC_PACKET: a wake signal will be sent to the > + * devices if a magic packet is received. > + * NL80211_WOW_TRIGGER_BMISS: WoW signal will be sent to the device when > + * a beacon has been missed by the associated AP. > + * NL80211_WOW_TRIGGER_LINK_CHANGE: a wake signal will be sent to > + * the device if a link change is detected on the device. > + * NL80211_WOW_TRIGGER_USER_PATTERN: a wake sigal will be sent to the > + * device if a user configurable pattern is received by > + * the device. > + */ > +enum nl80211_wow_triggers { > + NL80211_WOW_TRIGGER_MAGIC_PACKET = 1 << 0, > + NL80211_WOW_TRIGGER_BMISS = 1 << 1, > + NL80211_WOW_TRIGGER_LINK_CHANGE = 1 << 2, > + NL80211_WOW_TRIGGER_PATTERN = 1 << 3, > +}; Seems like you need to have a way to set the pattern and magic packet? johannes
Attachment:
signature.asc
Description: This is a digitally signed message part