iwlwifi: mvm: don't allow diversity if BT Coex / TT forbid it
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 18 May 2014 06:16:45 +0000 (09:16 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 19 May 2014 13:38:21 +0000 (16:38 +0300)
commit5c90422439d62b574fd9e021fabaae2dc9a3065e
tree07aa1c5b8deab261bf06f40395853ca63078d912
parent894981ed43fc5e706330469e27972f7c2dd046cb
iwlwifi: mvm: don't allow diversity if BT Coex / TT forbid it

We should not allow diversity when BT Coex needs the second
antenna. Thermal Throttling can also request to stop using
the second antenna. Honour those requests.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/mvm.h
drivers/net/wireless/iwlwifi/mvm/phy-ctxt.c
drivers/net/wireless/iwlwifi/mvm/utils.c