cfg80211/mac80211: support reporting wakeup reason
authorJohannes Berg <johannes.berg@intel.com>
Tue, 22 Jan 2013 11:34:29 +0000 (12:34 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 31 Jan 2013 13:00:21 +0000 (14:00 +0100)
commitcd8f7cb4e6dfa4ea08fc250a814240b883ef7911
tree2bcb8f04f01ee9768e5524799b0d429e51fb583d
parent3b144658bc7be5f7fa68d13ba24afb4c24489965
cfg80211/mac80211: support reporting wakeup reason

When waking up from WoWLAN, it is useful to know
what triggered the wakeup. Support reporting the
wakeup reason(s) in cfg80211 (and a pass-through
in mac80211) to allow userspace to know.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
include/net/mac80211.h
include/uapi/linux/nl80211.h
net/mac80211/pm.c
net/wireless/nl80211.c
net/wireless/trace.h