All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Guy, Wey-Yi" <wey-yi.w.guy@intel.com>
To: Norbert Preining <preining@logic.at>
Cc: David Rientjes <rientjes@google.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"ipw3945-devel@lists.sourceforge.net"
	<ipw3945-devel@lists.sourceforge.net>,
	"ilw@linux.intel.com" <ilw@linux.intel.com>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
	Pekka Enberg <penberg@cs.helsinki.fi>
Subject: Re: iwlagn is getting very shaky
Date: Wed, 19 Oct 2011 18:32:19 -0700	[thread overview]
Message-ID: <1319074339.31823.68.camel@wwguy-huron> (raw)
In-Reply-To: <20111020020225.GO11060@gamma.logic.tuwien.ac.at>

[-- Attachment #1: Type: text/plain, Size: 1791 bytes --]

On Wed, 2011-10-19 at 19:02 -0700, Norbert Preining wrote:
> On Mi, 19 Okt 2011, wwguy wrote:
> > instead of having you to revert the patch I ask you to do, could you
> > please just apply the patch I attach here and see if it make any
> > differences? it is also for debugging purpose, so please check the dmesg
> > log.
> 
> Do you mean the patch you send with a strange date:
> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
> ---
>  drivers/net/wireless/iwlwifi/iwl-agn-tx.c |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-tx.c
> b/drivers/net/wireless/iwlwifi/iwl-agn-tx.c
> index 863c43f..5a87071 100644
> --- a/drivers/net/wireless/iwlwifi/iwl-agn-tx.c
> +++ b/drivers/net/wireless/iwlwifi/iwl-agn-tx.c
> @@ -812,8 +812,13 @@ int iwlagn_rx_reply_tx(struct iwl_priv *priv, struct
> iwl_rx_mem_buffer *rxb,
>                         if (status == TX_STATUS_FAIL_PASSIVE_NO_RX &&
>                             iwl_is_associated_ctx(ctx) && ctx->vif &&
>                             ctx->vif->type == NL80211_IFTYPE_STATION) {
> +#if 0
>                                 ctx->last_tx_rejected = true;
>                                 iwl_trans_stop_queue(trans(priv), txq_id);
> +#endif
> +IWL_ERR(priv,
> +       "Encounter TX_STATUS_FAIL_PASSIVE_NO_RX, am I on 5.2G band? (%d)\n",
> +       txq_id);
> 
>                                 IWL_DEBUG_TX_REPLY(priv,
>                                            "TXQ %d status %s (0x%08x) "
> --
> 1.7.0.4
> 
> It does not apply at all, I cannot even find
> 	rejected
> in iwl-agn-tx.c.
> 
> On which tree is that based, can you provide a patch against main
> git branch of Linus.
> 
> Thanks.
> 
Let's try this and see if apply. btw, are you on 5GHz?

Thanks
Wey


[-- Attachment #2: 0001-iwlagn-stop-queue-testing.patch --]
[-- Type: text/x-patch, Size: 1109 bytes --]

>From 78e955b90a8e259d180bfb962ef4558645d74a91 Mon Sep 17 00:00:00 2001
From: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Date: Wed, 19 Oct 2011 18:27:41 -0700
Subject: [PATCH 1/1] iwlagn: stop queue testing

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
---
 drivers/net/wireless/iwlwifi/iwl-agn-lib.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-lib.c b/drivers/net/wireless/iwlwifi/iwl-agn-lib.c
index 3bee0f1..d543686 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn-lib.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn-lib.c
@@ -191,8 +191,14 @@ static void iwlagn_set_tx_status(struct iwl_priv *priv,
 	if (status == TX_STATUS_FAIL_PASSIVE_NO_RX &&
 	    iwl_is_associated_ctx(ctx) && ctx->vif &&
 	    ctx->vif->type == NL80211_IFTYPE_STATION) {
+#if 0
 		ctx->last_tx_rejected = true;
 		iwl_stop_queue(priv, &priv->txq[txq_id]);
+#endif
+IWL_ERR(priv,
+       "Encounter TX_STATUS_FAIL_PASSIVE_NO_RX, am I on 5.2G band? (%d)\n",
+       txq_id);
+
 	}
 
 	IWL_DEBUG_TX_REPLY(priv, "TXQ %d status %s (0x%08x) rate_n_flags "
-- 
1.7.0.4


  reply	other threads:[~2011-10-20  2:22 UTC|newest]

Thread overview: 94+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-19  6:01 iwlagn is getting very shaky Norbert Preining
2011-10-19  6:09 ` David Rientjes
2011-10-19  6:11   ` Pekka Enberg
2011-10-19  5:55     ` Guy, Wey-Yi
2011-10-19  6:48       ` Norbert Preining
2011-10-19  6:15         ` Guy, Wey-Yi
2011-10-19  7:19           ` Pekka Enberg
2011-10-19  6:44             ` Guy, Wey-Yi
2011-10-20  9:12               ` Pekka Enberg
2011-10-19  6:39         ` Guy, Wey-Yi
2011-10-19  6:25   ` Norbert Preining
2011-10-19  5:48     ` Guy, Wey-Yi
2011-10-19  6:46       ` Norbert Preining
2011-10-19  6:13         ` Guy, Wey-Yi
2011-10-19 12:49           ` Norbert Preining
2011-10-19 15:31             ` wwguy
2011-10-20  2:02               ` Norbert Preining
2011-10-20  1:32                 ` Guy, Wey-Yi [this message]
2011-10-20  2:51                   ` Norbert Preining
2011-10-20  2:55                     ` Guy, Wey-Yi W
2011-10-20  3:14                       ` Norbert Preining
2011-10-20  5:30                         ` David Rientjes
2011-10-20  4:59           ` Norbert Preining
2011-10-20  7:40             ` Johannes Berg
2011-10-20 13:45               ` Norbert Preining
2011-10-20 13:50                 ` Johannes Berg
2011-10-20 13:54                   ` Norbert Preining
2011-10-21  1:23               ` Norbert Preining
2011-10-21  7:26                 ` Johannes Berg
2011-10-20 14:10             ` wwguy
2011-10-21  1:24               ` Norbert Preining
2011-10-23 21:26                 ` David Rientjes
2011-10-26  2:50                   ` Norbert Preining
2011-10-26  3:55                     ` wwguy
2011-10-26  4:03                       ` Norbert Preining
2011-10-26  4:00                         ` wwguy
2011-10-26  4:34                           ` Norbert Preining
2011-10-26  4:54                             ` Richard Yao
2011-10-26 19:56                               ` [Ilw] " wwguy
2011-10-26 19:36                             ` wwguy
2011-11-02  3:13                         ` Norbert Preining
2011-11-02  3:21                           ` Guy, Wey-Yi
2011-11-04  0:56                             ` Richard Yao
2011-11-04  4:58                             ` Norbert Preining
2011-11-07 12:38                               ` Norbert Preining
2011-11-07 23:37                                 ` Guy, Wey-Yi
2011-11-08  4:32                                   ` Norbert Preining
2011-11-08  8:07                                     ` Emmanuel Grumbach
2011-11-08  8:24                                       ` Emmanuel Grumbach
2011-11-09  5:11                                       ` Norbert Preining
2011-11-09  7:15                                         ` Emmanuel Grumbach
2011-11-21  3:06                                           ` Norbert Preining
2011-11-21 13:59                                             ` Emmanuel Grumbach
2011-11-21 23:24                                               ` Norbert Preining
2011-11-22  0:24                                                 ` Norbert Preining
2011-11-22  5:13                                               ` Norbert Preining
2011-11-22  6:46                                                 ` Emmanuel Grumbach
2011-11-22  6:48                                                   ` Emmanuel Grumbach
2011-11-22  7:27                                                   ` Norbert Preining
2011-11-22  7:45                                                     ` Emmanuel Grumbach
2011-11-22  7:54                                                       ` Norbert Preining
2011-11-22  8:11                                                         ` Emmanuel Grumbach
2011-11-22 12:43                                                           ` Norbert Preining
2011-11-22 14:15                                                             ` Emmanuel Grumbach
2011-11-23  1:55                                                               ` Norbert Preining
2011-11-24  6:47                                                                 ` Emmanuel Grumbach
2011-11-24 23:02                                                                   ` Norbert Preining
2011-11-25  4:50                                                                     ` Emmanuel Grumbach
2011-11-25 12:21                                                                   ` Norbert Preining
2011-11-25 12:31                                                                     ` Emmanuel Grumbach
2011-11-25 12:37                                                                       ` Norbert Preining
2011-11-27  6:38                                                                         ` Emmanuel Grumbach
2011-11-27  9:43                                                                           ` Emmanuel Grumbach
2011-11-27  9:46                                                                             ` Johannes Berg
2011-11-27 10:44                                                                               ` Emmanuel Grumbach
2011-11-28  3:56                                                                                 ` Norbert Preining
     [not found]                                                                                   ` <CANUX_P2kYiFCP8uAhLZC_kVEjoyxabRBx3Pn+ndtFus=6hJN7Q@mail.gmail.com>
2011-11-28  4:23                                                                                     ` Norbert Preining
2011-11-28  6:33                                                                                       ` Emmanuel Grumbach
2011-11-28 23:25                                                                                       ` Norbert Preining
2011-11-29  6:59                                                                                         ` Emmanuel Grumbach
2011-11-29  7:48                                                                                           ` Jeff Chua
2011-11-29  7:50                                                                                             ` Emmanuel Grumbach
2011-11-29  8:31                                                                                           ` Johannes Berg
2011-11-29  9:19                                                                                             ` Emmanuel Grumbach
2011-11-29  9:32                                                                                               ` Norbert Preining
2011-12-01  3:17                                                                                                 ` Norbert Preining
2011-12-11  9:24                                                                                             ` Emmanuel Grumbach
2011-12-11 19:56                                                                                               ` Emmanuel Grumbach
2011-12-15 14:07                                                                                                 ` Johannes Berg
2011-11-16 13:40                                         ` Richard Yao
2011-11-21  3:03                                           ` Norbert Preining
2011-10-26  4:19 ` Richard Yao
2011-10-27  0:05   ` Fwd: " Richard Yao
2011-10-27  3:48     ` Guy, Wey-Yi W

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=1319074339.31823.68.camel@wwguy-huron \
    --to=wey-yi.w.guy@intel.com \
    --cc=ilw@linux.intel.com \
    --cc=ipw3945-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=penberg@cs.helsinki.fi \
    --cc=preining@logic.at \
    --cc=rientjes@google.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.