iwlwifi: mvm: disable power on P2P client when BSS is added
authorAvri Altman <avri.altman@intel.com>
Thu, 20 Feb 2014 11:28:57 +0000 (13:28 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 9 Mar 2014 14:39:08 +0000 (16:39 +0200)
commit8ea0c68fe56983f40256d0407ecf19530fd31442
treec3bab58b7a0e16dfa5368c53606e2bff98dd4843
parent6ca89f1fd8c247e58d6e34528f3a4890dd8003c6
iwlwifi: mvm: disable power on P2P client when BSS is added

When power update is initiated on BSS STA while P2P client
exists, the power command will be sent only on BSS STA vif
ignoring P2P client.

Since the firmware has symmetric constraints on the power
save enablement we can simplify the code a bit.

The current firmware doesn't know how to enable power
management on P2P client. Even BSS power management must
be disabled when a P2P client is added.

Future firmware will support power save on BSS and P2P client
as long as they are on different channels.
This was buggy since we didn't disable power management on
P2P client interface if BSS added on the same channel.

Signed-off-by: Avri Altman <avri.altman@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/power.c