]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8bcc404c77fc0903a08e8e79eedd2ceaf3ffab35
treecee1ba3d70f3c3ea2f0c82baac38b82ba4a98eb8
parent643b12657b21f017acd87cb4f288971af84769c9
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