mac80211: allow drivers to request SM PS mode change
authorJohannes Berg <johannes.berg@intel.com>
Thu, 5 Aug 2010 15:05:55 +0000 (17:05 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 Aug 2010 19:26:40 +0000 (15:26 -0400)
commitd1f5b7a34aa5ff703c4966ea2652d4212ac75940
treeecc8f06625bf4e48334420586d7e16f9645aa1e4
parent7da7cc1d42d8ce02cca16df8c021e6d657f1f8fd
mac80211: allow drivers to request SM PS mode change

Sometimes drivers have more information than the
stack about how their antennas/chains are used,
and may require that the SM PS mode be changed.
This could happen, for example, when detecting
that the user disconnected an antenna. Thus this
patch introduces API to allow drivers to request
SM PS mode changes.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/mac80211.h
net/mac80211/ht.c
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c