diff options
author | Eyal Shapira <eyal@wizery.com> | 2014-04-08 10:52:27 -0400 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-05-06 13:38:24 -0400 |
commit | 31b204525a7f0decee85ec336d406c01c5411a5c (patch) | |
tree | f9f9d76a9d273953ae6453e98f905b43c46f58fa /drivers/net | |
parent | cebeb0f1885fa93c44be5d4e0b9b640210ff088c (diff) |
iwlwifi: mvm: rs: revert changes to search cycle rules
Adding more options in the search cycle causes longer
search cycles with additional wondering off to non optimal Tx
configurations. Reduce the Tx configurations searched to
improve throughput in non optimal attenuations.
Signed-off-by: Eyal Shapira <eyalx.shapira@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/rs.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/rs.c b/drivers/net/wireless/iwlwifi/mvm/rs.c index 857ddaf6f48c..f9aab1590df8 100644 --- a/drivers/net/wireless/iwlwifi/mvm/rs.c +++ b/drivers/net/wireless/iwlwifi/mvm/rs.c | |||
@@ -211,7 +211,7 @@ static const struct rs_tx_column rs_tx_columns[] = { | |||
211 | .next_columns = { | 211 | .next_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_MIMO2, |
215 | RS_COLUMN_INVALID, | 215 | RS_COLUMN_INVALID, |
216 | RS_COLUMN_INVALID, | 216 | RS_COLUMN_INVALID, |
217 | RS_COLUMN_INVALID, | 217 | RS_COLUMN_INVALID, |
@@ -223,8 +223,8 @@ static const struct rs_tx_column rs_tx_columns[] = { | |||
223 | .ant = ANT_B, | 223 | .ant = ANT_B, |
224 | .next_columns = { | 224 | .next_columns = { |
225 | RS_COLUMN_LEGACY_ANT_A, | 225 | RS_COLUMN_LEGACY_ANT_A, |
226 | RS_COLUMN_SISO_ANT_A, | ||
227 | RS_COLUMN_SISO_ANT_B, | 226 | RS_COLUMN_SISO_ANT_B, |
227 | RS_COLUMN_MIMO2, | ||
228 | RS_COLUMN_INVALID, | 228 | RS_COLUMN_INVALID, |
229 | RS_COLUMN_INVALID, | 229 | RS_COLUMN_INVALID, |
230 | RS_COLUMN_INVALID, | 230 | RS_COLUMN_INVALID, |
@@ -238,10 +238,10 @@ static const struct rs_tx_column rs_tx_columns[] = { | |||
238 | RS_COLUMN_SISO_ANT_B, | 238 | RS_COLUMN_SISO_ANT_B, |
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, | ||
242 | RS_COLUMN_LEGACY_ANT_A, | 241 | RS_COLUMN_LEGACY_ANT_A, |
243 | RS_COLUMN_LEGACY_ANT_B, | 242 | RS_COLUMN_LEGACY_ANT_B, |
244 | RS_COLUMN_INVALID, | 243 | RS_COLUMN_INVALID, |
244 | RS_COLUMN_INVALID, | ||
245 | }, | 245 | }, |
246 | .checks = { | 246 | .checks = { |
247 | rs_siso_allow, | 247 | rs_siso_allow, |
@@ -254,10 +254,10 @@ static const struct rs_tx_column rs_tx_columns[] = { | |||
254 | RS_COLUMN_SISO_ANT_A, | 254 | RS_COLUMN_SISO_ANT_A, |
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, | ||
258 | RS_COLUMN_LEGACY_ANT_A, | 257 | RS_COLUMN_LEGACY_ANT_A, |
259 | RS_COLUMN_LEGACY_ANT_B, | 258 | RS_COLUMN_LEGACY_ANT_B, |
260 | RS_COLUMN_INVALID, | 259 | RS_COLUMN_INVALID, |
260 | RS_COLUMN_INVALID, | ||
261 | }, | 261 | }, |
262 | .checks = { | 262 | .checks = { |
263 | rs_siso_allow, | 263 | rs_siso_allow, |
@@ -271,10 +271,10 @@ static const struct rs_tx_column rs_tx_columns[] = { | |||
271 | RS_COLUMN_SISO_ANT_B_SGI, | 271 | RS_COLUMN_SISO_ANT_B_SGI, |
272 | RS_COLUMN_MIMO2_SGI, | 272 | RS_COLUMN_MIMO2_SGI, |
273 | RS_COLUMN_SISO_ANT_A, | 273 | RS_COLUMN_SISO_ANT_A, |
274 | RS_COLUMN_SISO_ANT_B, | ||
275 | RS_COLUMN_MIMO2, | ||
276 | RS_COLUMN_LEGACY_ANT_A, | 274 | RS_COLUMN_LEGACY_ANT_A, |
277 | RS_COLUMN_LEGACY_ANT_B, | 275 | RS_COLUMN_LEGACY_ANT_B, |
276 | RS_COLUMN_INVALID, | ||
277 | RS_COLUMN_INVALID, | ||
278 | }, | 278 | }, |
279 | .checks = { | 279 | .checks = { |
280 | rs_siso_allow, | 280 | rs_siso_allow, |
@@ -289,10 +289,10 @@ static const struct rs_tx_column rs_tx_columns[] = { | |||
289 | RS_COLUMN_SISO_ANT_A_SGI, | 289 | RS_COLUMN_SISO_ANT_A_SGI, |
290 | RS_COLUMN_MIMO2_SGI, | 290 | RS_COLUMN_MIMO2_SGI, |
291 | RS_COLUMN_SISO_ANT_B, | 291 | RS_COLUMN_SISO_ANT_B, |
292 | RS_COLUMN_SISO_ANT_A, | ||
293 | RS_COLUMN_MIMO2, | ||
294 | RS_COLUMN_LEGACY_ANT_A, | 292 | RS_COLUMN_LEGACY_ANT_A, |
295 | RS_COLUMN_LEGACY_ANT_B, | 293 | RS_COLUMN_LEGACY_ANT_B, |
294 | RS_COLUMN_INVALID, | ||
295 | RS_COLUMN_INVALID, | ||
296 | }, | 296 | }, |
297 | .checks = { | 297 | .checks = { |
298 | rs_siso_allow, | 298 | rs_siso_allow, |
@@ -304,12 +304,12 @@ static const struct rs_tx_column rs_tx_columns[] = { | |||
304 | .ant = ANT_AB, | 304 | .ant = ANT_AB, |
305 | .next_columns = { | 305 | .next_columns = { |
306 | RS_COLUMN_SISO_ANT_A, | 306 | RS_COLUMN_SISO_ANT_A, |
307 | RS_COLUMN_SISO_ANT_B, | ||
308 | RS_COLUMN_SISO_ANT_A_SGI, | ||
309 | RS_COLUMN_SISO_ANT_B_SGI, | ||
310 | RS_COLUMN_MIMO2_SGI, | 307 | RS_COLUMN_MIMO2_SGI, |
311 | RS_COLUMN_LEGACY_ANT_A, | 308 | RS_COLUMN_LEGACY_ANT_A, |
312 | RS_COLUMN_LEGACY_ANT_B, | 309 | RS_COLUMN_LEGACY_ANT_B, |
310 | RS_COLUMN_INVALID, | ||
311 | RS_COLUMN_INVALID, | ||
312 | RS_COLUMN_INVALID, | ||
313 | }, | 313 | }, |
314 | .checks = { | 314 | .checks = { |
315 | rs_mimo_allow, | 315 | rs_mimo_allow, |
@@ -321,12 +321,12 @@ static const struct rs_tx_column rs_tx_columns[] = { | |||
321 | .sgi = true, | 321 | .sgi = true, |
322 | .next_columns = { | 322 | .next_columns = { |
323 | RS_COLUMN_SISO_ANT_A_SGI, | 323 | RS_COLUMN_SISO_ANT_A_SGI, |
324 | RS_COLUMN_SISO_ANT_B_SGI, | ||
325 | RS_COLUMN_SISO_ANT_A, | ||
326 | RS_COLUMN_SISO_ANT_B, | ||
327 | RS_COLUMN_MIMO2, | 324 | RS_COLUMN_MIMO2, |
328 | RS_COLUMN_LEGACY_ANT_A, | 325 | RS_COLUMN_LEGACY_ANT_A, |
329 | RS_COLUMN_LEGACY_ANT_B, | 326 | RS_COLUMN_LEGACY_ANT_B, |
327 | RS_COLUMN_INVALID, | ||
328 | RS_COLUMN_INVALID, | ||
329 | RS_COLUMN_INVALID, | ||
330 | }, | 330 | }, |
331 | .checks = { | 331 | .checks = { |
332 | rs_mimo_allow, | 332 | rs_mimo_allow, |