iwlwifi: mvm: don't configure mimo rates if nss is limited to 1
authorEyal Shapira <eyal@wizery.com>
Sat, 9 Nov 2013 21:31:38 +0000 (23:31 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 9 Dec 2013 20:29:46 +0000 (22:29 +0200)
commitecc90e79e5add903de9f1bb599bdb2384cc762fb
tree2b7dfeeb77f2991829b8cddb24f54f4e5ca8c595
parent271518adff21b48c88caeb7d8847cb94af197994
iwlwifi: mvm: don't configure mimo rates if nss is limited to 1

Remote peer can publish a different number of supported nss via the
operating mode notification IE or action frame. If it limits to 1
then we don't want mimo rates configured in the rate table.

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