iwlwifi: disable PSM on vifs with associated TDLS peers
authorArik Nemtsov <arik@wizery.com>
Thu, 15 May 2014 15:59:32 +0000 (18:59 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 7 Jul 2014 18:41:23 +0000 (21:41 +0300)
commitfa3d07e47f2411aa9ccb54192c4f978c60a9e111
tree3449e59d360de7aabcd43ccd5c7be4de14df72a3
parent07ecd897b1634e0f34a9ba9d0d1b9263bc05d90b
iwlwifi: disable PSM on vifs with associated TDLS peers

The FW does not support PSM on a vif with associated TDLS peers. Disable
PSM when the first peer joins and re-enable it when the last leaves.

Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac80211.c
drivers/net/wireless/iwlwifi/mvm/mvm.h
drivers/net/wireless/iwlwifi/mvm/power.c