iwlwifi: mvm: Enable power save on a single P2P client interface
authorAlexander Bondar <alexander.bondar@intel.com>
Mon, 2 Sep 2013 14:10:14 +0000 (17:10 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 17 Dec 2013 17:39:42 +0000 (19:39 +0200)
commit51498cf6d8b42e89be77d48a2158825ca9bbd3bf
tree0b624003c1d42a442eb4b5715c189d393252f530
parent92d8556250c81bd6d4df522926a2cb3711dd01e2
iwlwifi: mvm: Enable power save on a single P2P client interface

Enable power save on P2P client interface only if it is the
only bound interface.
Avoid using uAPSD if P2P client is associated to GO that uses
opportunistic power save. This is due to current FW limitation.

Signed-off-by: Alexander Bondar <alexander.bondar@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/iwl-fw.h
drivers/net/wireless/iwlwifi/mvm/mac80211.c
drivers/net/wireless/iwlwifi/mvm/power.c