Message ID | CAF8O4-xaNWO+tFS=0+ffR5aKf0Z+OWDBSPpnjYWUgP86Oiey2g@mail.gmail.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
On Tue, Jan 07, 2014 at 06:30:07PM +0200, Eyal Shapira wrote: > Thanks. Seems like we decided the AP doesn't support any MIMO rates. > This wasn't handled well and caused the search cycle for an optimal Tx > configuration to get stuck. > Can you try the attached patch ? > Working, thanks. > Also, any chance you can send a traffic capture of some beacons and the assoc ? > I'd like to understand why we come to the conclusion no MIMO is supported. > AP limitation, but here is a capture anyway. Karl
On Tue, Jan 7, 2014 at 8:13 PM, Karl Beldan <karl.beldan@gmail.com> wrote: > On Tue, Jan 07, 2014 at 06:30:07PM +0200, Eyal Shapira wrote: >> Thanks. Seems like we decided the AP doesn't support any MIMO rates. >> This wasn't handled well and caused the search cycle for an optimal Tx >> configuration to get stuck. >> Can you try the attached patch ? >> > Working, thanks. > great. thanks for testing and again for reporting to begin with. >> Also, any chance you can send a traffic capture of some beacons and the assoc ? >> I'd like to understand why we come to the conclusion no MIMO is supported. >> > AP limitation, but here is a capture anyway. ok. so everything here makes sense. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
From 9e1f12500a658ed38004eec0d89f0ec8beaf9a86 Mon Sep 17 00:00:00 2001 From: Eyal Shapira <eyal@wizery.com> Date: Tue, 7 Jan 2014 18:19:35 +0200 Subject: [PATCH] iwlwifi: mvm: rs: fix handling of column switch error If we can't switch to a column because no rates are supported in that column this led to a state where the search cycle got stuck and never ended. This in turn also led to aggregation not being turned on. Fix this by marking a column as visited if we can't switch to it. Change-Id: I98fd0303d043a53ec557d1f7044ff3991ee7b481 Reported-by: Karl Beldan <karl.beldan@gmail.com> Signed-off-by: Eyal Shapira <eyalx.shapira@intel.com> --- drivers/net/wireless/iwlwifi/mvm/rs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/iwlwifi/mvm/rs.c b/drivers/net/wireless/iwlwifi/mvm/rs.c index 9e1586b..5c36273 100644 --- a/drivers/net/wireless/iwlwifi/mvm/rs.c +++ b/drivers/net/wireless/iwlwifi/mvm/rs.c @@ -1588,6 +1588,8 @@ static int rs_switch_to_column(struct iwl_mvm *mvm, search_tbl->column = col_id; rs_set_expected_tpt_table(lq_sta, search_tbl); + lq_sta->visited_columns |= BIT(col_id); + /* Get the best matching rate if we're changing modes. e.g. * SISO->MIMO, LEGACY->SISO, MIMO->SISO */ @@ -1611,7 +1613,6 @@ static int rs_switch_to_column(struct iwl_mvm *mvm, IWL_DEBUG_RATE(mvm, "Switched to column %d: Index %d\n", col_id, rate->index); - lq_sta->visited_columns |= BIT(col_id); return 0; err: -- 1.7.10.4