iwlwifi: mvm: add option that allows a vif to disable PS
authorLuciano Coelho <luciano.coelho@intel.com>
Fri, 8 Aug 2014 16:50:46 +0000 (19:50 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 3 Sep 2014 19:48:59 +0000 (22:48 +0300)
commit2533edcee8aa311a24e5c0a7da955893ad65dc24
tree8c205a88b744cf0ef3658b01a0f55027d51db686
parentef9203d23fecf11e02958de0988170a67adf7447
iwlwifi: mvm: add option that allows a vif to disable PS

We need to disable PS when a monitor vif is active or, in the future,
when a channel switch is happening.  Add a boolean to mvmvif that
allows PS to be disabled generically.  Additionally, make the monitor
interface use this new flag when it gets activated.

Signed-off-by: Luciano Coelho <luciano.coelho@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