linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stanislaw Gruszka <sgruszka@redhat.com>
To: "Guy, Wey-Yi" <wey-yi.w.guy@intel.com>
Cc: Johannes Berg <johannes@sipsolutions.net>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: [PATCH 1/2] iwlwifi: fix set_tx_power vs scan
Date: Fri, 22 Oct 2010 14:56:28 +0200	[thread overview]
Message-ID: <20101022125628.GA4527@redhat.com> (raw)
In-Reply-To: <20101021131348.GA5654@redhat.com>

On Thu, Oct 21, 2010 at 03:13:48PM +0200, Stanislaw Gruszka wrote:
> On Thu, Oct 14, 2010 at 10:32:05AM +0200, Stanislaw Gruszka wrote:
> > > Looks good, the only thing is if priv->tx_power_user_lmt ==
> > > priv->tx_power_next, we don't even have to call set_tx_power, but I
> > > guess calling it won't hurt, so its your decision check or not.
> > 
> > I'll will call iwl_set_tx_power( ... , false); what seems to be right
> > thing to do.
> 
> Set tx power have to be forces. Without that I get  
> 
> iwlagn 0000:40:00.0: low ack count detected, restart firmware
> iwlagn 0000:40:00.0: On demand firmware reload
> iwlagn 0000:40:00.0: Stopping AGG while state not ON or starting
> iwlagn 0000:40:00.0: queue number out of range: 0, must be 10 to 19
> iwlagn 0000:40:00.0: Aggregation not enabled for tid 0 because load = 0
> iwlagn 0000:40:00.0: Aggregation not enabled for tid 0 because load = 1
> iwlagn 0000:40:00.0: Aggregation not enabled for tid 0 because load = 0
> iwlagn 0000:40:00.0: Aggregation not enabled for tid 0 because load = 0
> iwlagn 0000:40:00.0: iwlagn_tx_agg_start on ra = 00:23:69:35:d1:3f tid = 0
> iwlagn 0000:40:00.0: low ack count detected, restart firmware
> iwlagn 0000:40:00.0: On demand firmware reload
> iwlagn 0000:40:00.0: Stopping AGG while state not ON or starting
> iwlagn 0000:40:00.0: queue number out of range: 0, must be 10 to 19
> iwlagn 0000:40:00.0: iwlagn_tx_agg_start on ra = 00:23:69:35:d1:3f tid = 0
> iwlagn 0000:40:00.0: low ack count detected, restart firmware
> iwlagn 0000:40:00.0: On demand firmware reload
> iwlagn 0000:40:00.0: Stopping AGG while state not ON or starting
> iwlagn 0000:40:00.0: queue number out of range: 0, must be 10 to 19
> iwlagn 0000:40:00.0: Aggregation not enabled for tid 0 because load = 4
> iwlagn 0000:40:00.0: Aggregation not enabled for tid 0 because load = 0
> 
> on 5300 and device was unusable in general. Hence I will only comment
> that forcing send tx power after scan is needed.

Not true. I have the same problem with vanilla 2.6.36 without any of my
patches (further investigation show this is 2.6.34 -> 2.6.35
regression). Problem happens only on 5Ghz, that confused me 
because NetworkManager in some cases connects to 5Ghz, in others to
2.4Ghz on my system.

Since my patches do not screw up (at least not that thing :) I'm going
to repost them, also further bisect this "low ack count detected" issue.

Stanislaw

  parent reply	other threads:[~2010-10-22 12:53 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-13 13:39 [PATCH 1/2] iwlwifi: fix set_tx_power vs scan Stanislaw Gruszka
2010-10-13 13:39 ` [PATCH 2/2] iwlwifi: one less commit_rxon while scan Stanislaw Gruszka
2010-10-14  8:42   ` Stanislaw Gruszka
2010-10-14 15:54     ` Guy, Wey-Yi
2010-10-15 14:51       ` Stanislaw Gruszka
2010-10-15 16:00         ` Guy, Wey-Yi
2010-10-13 15:18 ` [PATCH 1/2] iwlwifi: fix set_tx_power vs scan Guy, Wey-Yi
2010-10-14  8:32   ` Stanislaw Gruszka
2010-10-21 13:13     ` Stanislaw Gruszka
2010-10-21 14:26       ` Guy, Wey-Yi
2010-10-22 12:56       ` Stanislaw Gruszka [this message]
2010-10-22 14:39         ` Guy, Wey-Yi
2010-10-22 15:04           ` Stanislaw Gruszka
2010-10-22 16:51         ` Dan Williams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101022125628.GA4527@redhat.com \
    --to=sgruszka@redhat.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=wey-yi.w.guy@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).