iwlwifi: mvm: don't send SMPS action frame with single RX antenna
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 28 Nov 2013 13:25:21 +0000 (15:25 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 9 Dec 2013 20:34:28 +0000 (22:34 +0200)
commit710e4d08f2ab6eed7950884ab30e684704e325ca
treee0d9da1fe93b83621e87ca8cbef5bd723b8f14da
parent9d10849e4ea8bf9d8da80afa73918a9fe45c09ef
iwlwifi: mvm: don't send SMPS action frame with single RX antenna

Products that have only 1 antenna in Rx don't support MIMO
in RX. As a consequence, they will be in STATIC always.
Don't tell mac80211 to update SMPS in that case. mac80211
would send an action frame to the AP which is clearly
bogus.
As a matter of fact, we have seen that some APs send a
deauth when that happens.

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