iwlwifi: dvm: query and report WoWLAN wakeup reason
authorJohannes Berg <johannes.berg@intel.com>
Tue, 8 Jan 2013 10:29:12 +0000 (11:29 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 12 Feb 2013 15:52:25 +0000 (16:52 +0100)
commit5718d27fc9a076ca397ea8c3d70e29969be24b9b
treecee1ba3d70f3c3ea2f0c82baac38b82ba4a98eb8
parent94d2f0ba052150a6d7217aeb836f5a709d1cadda
iwlwifi: dvm: query and report WoWLAN wakeup reason

Implement proper WoWLAN wakeup and query the wakeup
reasons, then report them to userspace.

Note that this is tricky: a firmware bug (that has
been fixed in later versions) means that the status
command response isn't properly closed in hardware
and thus won't arrive at the host. Sending another
command after it closes the status response but the
next command gets stuck, etc. We reset the device
after querying though, so this is not a big issue,
just makes for strange code.

Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/dvm/commands.h
drivers/net/wireless/iwlwifi/dvm/mac80211.c
This page took 0.048555 seconds and 5 git commands to generate.