diff options
author | Eyal Shapira <eyal@wizery.com> | 2014-04-05 22:27:36 -0400 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-04-13 09:51:06 -0400 |
commit | d8fff919ecd7820084675c2814913445e95640ac (patch) | |
tree | 31150d6b5417919188b3dd09b1d15c1150f936a4 /drivers/net/wireless | |
parent | fd7dbee51b3d98402edb11fec0c93d96476e0ae1 (diff) |
iwlwifi: mvm: avoid searching unnecessary columns
Don't search columns which are unlikely to succeed as previous
columns searched with less aggressive modulation failed.
Cc: <stable@vger.kernel.org> [3.14]
Signed-off-by: Eyal Shapira <eyalx.shapira@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/rs.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/rs.c b/drivers/net/wireless/iwlwifi/mvm/rs.c index b007db9cf3aa..5cab26ecc17a 100644 --- a/drivers/net/wireless/iwlwifi/mvm/rs.c +++ b/drivers/net/wireless/iwlwifi/mvm/rs.c | |||
@@ -212,8 +212,8 @@ static const struct rs_tx_column rs_tx_columns[] = { | |||
212 | RS_COLUMN_LEGACY_ANT_B, | 212 | RS_COLUMN_LEGACY_ANT_B, |
213 | RS_COLUMN_SISO_ANT_A, | 213 | RS_COLUMN_SISO_ANT_A, |
214 | RS_COLUMN_SISO_ANT_B, | 214 | RS_COLUMN_SISO_ANT_B, |
215 | RS_COLUMN_MIMO2, | 215 | RS_COLUMN_INVALID, |
216 | RS_COLUMN_MIMO2_SGI, | 216 | RS_COLUMN_INVALID, |
217 | RS_COLUMN_INVALID, | 217 | RS_COLUMN_INVALID, |
218 | RS_COLUMN_INVALID, | 218 | RS_COLUMN_INVALID, |
219 | }, | 219 | }, |
@@ -225,8 +225,8 @@ static const struct rs_tx_column rs_tx_columns[] = { | |||
225 | RS_COLUMN_LEGACY_ANT_A, | 225 | RS_COLUMN_LEGACY_ANT_A, |
226 | RS_COLUMN_SISO_ANT_A, | 226 | RS_COLUMN_SISO_ANT_A, |
227 | RS_COLUMN_SISO_ANT_B, | 227 | RS_COLUMN_SISO_ANT_B, |
228 | RS_COLUMN_MIMO2, | 228 | RS_COLUMN_INVALID, |
229 | RS_COLUMN_MIMO2_SGI, | 229 | RS_COLUMN_INVALID, |
230 | RS_COLUMN_INVALID, | 230 | RS_COLUMN_INVALID, |
231 | RS_COLUMN_INVALID, | 231 | RS_COLUMN_INVALID, |
232 | }, | 232 | }, |
@@ -239,9 +239,9 @@ static const struct rs_tx_column rs_tx_columns[] = { | |||
239 | RS_COLUMN_MIMO2, | 239 | RS_COLUMN_MIMO2, |
240 | RS_COLUMN_SISO_ANT_A_SGI, | 240 | RS_COLUMN_SISO_ANT_A_SGI, |
241 | RS_COLUMN_SISO_ANT_B_SGI, | 241 | RS_COLUMN_SISO_ANT_B_SGI, |
242 | RS_COLUMN_MIMO2_SGI, | ||
243 | RS_COLUMN_LEGACY_ANT_A, | 242 | RS_COLUMN_LEGACY_ANT_A, |
244 | RS_COLUMN_LEGACY_ANT_B, | 243 | RS_COLUMN_LEGACY_ANT_B, |
244 | RS_COLUMN_INVALID, | ||
245 | }, | 245 | }, |
246 | .checks = { | 246 | .checks = { |
247 | rs_siso_allow, | 247 | rs_siso_allow, |
@@ -255,9 +255,9 @@ static const struct rs_tx_column rs_tx_columns[] = { | |||
255 | RS_COLUMN_MIMO2, | 255 | RS_COLUMN_MIMO2, |
256 | RS_COLUMN_SISO_ANT_B_SGI, | 256 | RS_COLUMN_SISO_ANT_B_SGI, |
257 | RS_COLUMN_SISO_ANT_A_SGI, | 257 | RS_COLUMN_SISO_ANT_A_SGI, |
258 | RS_COLUMN_MIMO2_SGI, | ||
259 | RS_COLUMN_LEGACY_ANT_A, | 258 | RS_COLUMN_LEGACY_ANT_A, |
260 | RS_COLUMN_LEGACY_ANT_B, | 259 | RS_COLUMN_LEGACY_ANT_B, |
260 | RS_COLUMN_INVALID, | ||
261 | }, | 261 | }, |
262 | .checks = { | 262 | .checks = { |
263 | rs_siso_allow, | 263 | rs_siso_allow, |