Return-path: Received: from mail-ww0-f44.google.com ([74.125.82.44]:49860 "EHLO mail-ww0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752496Ab1KVGqN (ORCPT ); Tue, 22 Nov 2011 01:46:13 -0500 MIME-Version: 1.0 In-Reply-To: <20111122051310.GA23705@gamma.logic.tuwien.ac.at> References: <20111104045817.GA25778@gamma.logic.tuwien.ac.at> <20111107123812.GB23508@gamma.logic.tuwien.ac.at> <1320709047.31823.188.camel@wwguy-huron> <20111108043233.GA21171@gamma.logic.tuwien.ac.at> <20111109051152.GA16006@gamma.logic.tuwien.ac.at> <20111121030640.GI32505@gamma.logic.tuwien.ac.at> <20111122051310.GA23705@gamma.logic.tuwien.ac.at> Date: Tue, 22 Nov 2011 08:46:11 +0200 Message-ID: (sfid-20111122_074631_263116_FFBEAAB6) Subject: Re: iwlagn is getting very shaky From: Emmanuel Grumbach To: Norbert Preining Cc: "Guy, Wey-Yi" , David Rientjes , "linux-kernel@vger.kernel.org" , "ipw3945-devel@lists.sourceforge.net" , "ilw@linux.intel.com" , "linux-wireless@vger.kernel.org" , Pekka Enberg Content-Type: multipart/mixed; boundary=f46d0438eb4fab3b2004b24d28cd Sender: linux-wireless-owner@vger.kernel.org List-ID: --f46d0438eb4fab3b2004b24d28cd Content-Type: text/plain; charset=ISO-8859-1 On Tue, Nov 22, 2011 at 07:13, Norbert Preining wrote: > On Mo, 21 Nov 2011, Emmanuel Grumbach wrote: >> > If you think I shouuld turn on power debug again and see hope that >> > it happens again, let me know. >> >> No, I don't think it is needed. Thanks. > Hi Norbert, Please apply the patch attached. It has been submitted upstream but hasn't been merged in the tree you use apparently. Then please run with set the TXQUEUES debug flag: 0x8000000. This will give us a better understanding regarding what happens with the queues and how they are mapped. Do you use any SoftAP / P2P feature ? HW queues can be stalled sometimes when using such configuration. Can it also be that the AP that we can't work with has any kind of power save feature (I know that this one is hard to answer though :-)) ? Thanks ! --f46d0438eb4fab3b2004b24d28cd Content-Type: application/octet-stream; name="QUEUE_DEBUG.patch" Content-Disposition: attachment; filename="QUEUE_DEBUG.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gvajdz7a0 ZGlmZiAtLWdpdCBhL2RyaXZlcnMvbmV0L3dpcmVsZXNzL2l3bHdpZmkvaXdsLWFnbi1yeC5jIGIv ZHJpdmVycy9uZXQvd2lyZWxlc3MvaXdsd2lmaS9pd2wtYWduLXJ4LmMKaW5kZXggZjBkNmQ5NC4u ZmRiNGMzNyAxMDA2NDQKLS0tIGEvZHJpdmVycy9uZXQvd2lyZWxlc3MvaXdsd2lmaS9pd2wtYWdu LXJ4LmMKKysrIGIvZHJpdmVycy9uZXQvd2lyZWxlc3MvaXdsd2lmaS9pd2wtYWduLXJ4LmMKQEAg LTgwMCw3ICs4MDAsOCBAQCBzdGF0aWMgdm9pZCBpd2xhZ25fcGFzc19wYWNrZXRfdG9fbWFjODAy MTEoc3RydWN0IGl3bF9wcml2ICpwcml2LAogCQkJCQkgICAgICAgY3R4LT5hY3RpdmUuYnNzaWRf YWRkcikpCiAJCQkJY29udGludWU7CiAJCQljdHgtPmxhc3RfdHhfcmVqZWN0ZWQgPSBmYWxzZTsK LQkJCWl3bF90cmFuc193YWtlX2FueV9xdWV1ZSh0cmFucyhwcml2KSwgY3R4LT5jdHhpZCk7CisJ CQlpd2xfdHJhbnNfd2FrZV9hbnlfcXVldWUodHJhbnMocHJpdiksIGN0eC0+Y3R4aWQsCisJCQkJ ImNoYW5uZWwgZ290IGFjdGl2ZSIpOwogCQl9CiAJfQogCmRpZmYgLS1naXQgYS9kcml2ZXJzL25l dC93aXJlbGVzcy9pd2x3aWZpL2l3bC1hZ24tcnhvbi5jIGIvZHJpdmVycy9uZXQvd2lyZWxlc3Mv aXdsd2lmaS9pd2wtYWduLXJ4b24uYwppbmRleCA4ZTQ1ZmJhLi44ZGU5N2Y1IDEwMDY0NAotLS0g YS9kcml2ZXJzL25ldC93aXJlbGVzcy9pd2x3aWZpL2l3bC1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