From owner-freebsd-wireless@FreeBSD.ORG Sun Aug 19 07:12:20 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DE416106564A for ; Sun, 19 Aug 2012 07:12:20 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id AFFC38FC12 for ; Sun, 19 Aug 2012 07:12:20 +0000 (UTC) Received: by pbbrp2 with SMTP id rp2so5818103pbb.13 for ; Sun, 19 Aug 2012 00:12:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=MfiXGpJ2xFrgqyHGOwDzNIE7C/qwU3cEc1kJ0yofkuw=; b=CtFC7OiLqnSdnH9CMSCOVXRk0l5Ot1pcIVGTZck+nyPu484i5HGoWpFrHS9IOO8KNU hHIMg6MQprGlhg7UEzhdZW+emcp8x5hvfNf4nzMHrjX7A1HHU64gVM/DfUgDGWXdUYod M0EwmXQgF4/x5jgoq749zTuT3H9jD5PjYvAG2E6nkZrD6RBLIqwIijVnOB93LWV8IqEG QM3pihKA/ak4uzIUjxjleUDafrwdv3aQ4q5cK93D1kqB6ksLuAdov4JPvSvuaVDQt0a0 Cl5TdZivRbFMDPLS8rL4xe9hiQlDGn6EB49WQ/AfNk/8HBTzUQ2D8C3s2MDws16sPwfP SAsw== MIME-Version: 1.0 Received: by 10.66.72.130 with SMTP id d2mr21068682pav.59.1345360340121; Sun, 19 Aug 2012 00:12:20 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.43.169 with HTTP; Sun, 19 Aug 2012 00:12:20 -0700 (PDT) In-Reply-To: <20120819071403.GF98910@zxy.spb.ru> References: <1311732708.20120815005429@serebryakov.spb.ru> <20120819071403.GF98910@zxy.spb.ru> Date: Sun, 19 Aug 2012 00:12:20 -0700 X-Google-Sender-Auth: ohzN3hbxX6ND4PuwW8faOfGtbe8 Message-ID: From: Adrian Chadd To: Slawa Olhovchenkov Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-wireless@freebsd.org Subject: Re: New ath code works well as AP X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Aug 2012 07:12:21 -0000 I don't see this kind of behaviour in STA mode. What are you associating to= ? What channel is it on? Adrian On 19 August 2012 00:14, Slawa Olhovchenkov wrote: > ... and still works bad as client: > > [138084] ath0: mem 0xb0200000-0xb020ffff irq 18 at device = 5.0 on pci6 > [138085] ath0: DMA setup: legacy > [138085] ath0: [HT] enabling HT modes > [138085] ath0: [HT] 2 RX streams; 2 TX streams > [138085] ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps > [138085] ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 1= 8Mbps 24Mbps 36Mbps 48Mbps 54Mbps > [138085] ath0: 2T2R > [138085] ath0: 11ng MCS 20MHz > [138085] ath0: MCS 0-7: 6.5Mbps - 65Mbps > [138085] ath0: MCS 8-15: 13Mbps - 130Mbps > [138085] ath0: 11ng MCS 40MHz: > [138085] ath0: MCS 0-7: 13.5Mbps - 135Mbps > [138085] ath0: MCS 8-15: 27Mbps - 270Mbps > [138085] ath0: 11ng MCS 40MHz SGI: > [138085] ath0: MCS 0-7: 15Mbps - 150Mbps > [138085] ath0: MCS 8-15: 30Mbps - 300Mbps > [138085] ath0: AR9220 mac 128.2 RF5133 phy 13.0 > [138085] ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 > [138085] ath0: Use hw queue 1 for WME_AC_BE traffic > [138085] ath0: Use hw queue 0 for WME_AC_BK traffic > [138085] ath0: Use hw queue 2 for WME_AC_VI traffic > [138085] ath0: Use hw queue 3 for WME_AC_VO traffic > [138085] ath0: Use hw queue 8 for CAB traffic > [138085] ath0: Use hw queue 9 for beacons > [138085] ath0: using multicast key search > [138086] wlan0: bpf attached > [138086] wlan0: bpf attached > [138086] wlan0: Ethernet address: f4:ec:38:a3:10:dc > [138088] wlan0: link state changed to UP > [138088] Aug 18 13:13:20 notebook kernel: [138088] wlan0: link state chan= ged to UP > [145438] ath0: ath_tx_tid_drain: node 0xc4b4a000: bf=3D0xc4b2cdf0: addbaw= =3D0, dobaw=3D0, seqno=3D242, retry=3D0 > [145438] ath0: ath_tx_tid_drain: node 0xc4b4a000: bf=3D0xc4b2cdf0: tid tx= q_depth=3D1 hwq_depth=3D0, bar_wait=3D0 > [145438] ath0: ath_tx_tid_drain: node 0xc4b4a000: tid 16: txq_depth=3D2, = txq_aggr_depth=3D0, sched=3D0, paused=3D0, hwq_depth=3D0, incomp=3D0, baw_h= ead=3D0, baw_tail=3D0 txa_start=3D-1, ni_txseqs=3D16627 > [145438] TODS f4:ec:38:a3:10:dc->00:1c:58:56:bf:a8(00:11:95:ca:ae:7c) dat= a WEP [IV 01 1d 00 02 00 00 KID 0] 0M > [145438] 0841 0000 0011 95ca ae7c f4ec 38a3 10dc 001c 5856 bfa8 200f 011= d 0020 0200 0000 aaaa 0300 0000 0800 4500 0054 7e70 4000 4006 2770 0a00 001= b c346 c762 f69d 0016 1a05 4198 1648 1015 8018 040f 01f8 0000 0101 080a 08a= b 35d4 50c5 6e53 f988 6d22 6676 20bf 51b9 b74c 3fb2 933e 5d5a f972 eec7 754= 5 > 3be7 475c ad3b b052 > [145438] wlan0: link state changed to DOWN > [145440] wlan0: link state changed to UP > [145450] wlan0: link state changed to DOWN > [145452] wlan0: link state changed to UP > [145505] wlan0: link state changed to DOWN > [145507] wlan0: link state changed to UP > [145517] wlan0: link state changed to DOWN > [145519] wlan0: link state changed to UP > [147013] wlan0: link state changed to DOWN > [147015] wlan0: link state changed to UP > [147025] wlan0: link state changed to DOWN > [147028] wlan0: link state changed to UP > [154244] wlan0: link state changed to DOWN > [154246] wlan0: link state changed to UP > [155821] ath0: bb hang detected (0x4), resetting > [175886] wlan0: link state changed to DOWN > [175889] wlan0: link state changed to UP > [177174] ath0: ath_tx_tid_drain: node 0xc50dd000: bf=3D0xc4b41ff0: addbaw= =3D0, dobaw=3D0, seqno=3D0, retry=3D0 > [177174] ath0: ath_tx_tid_drain: node 0xc50dd000: bf=3D0xc4b41ff0: tid tx= q_depth=3D1 hwq_depth=3D0, bar_wait=3D0 > [177174] ath0: ath_tx_tid_drain: node 0xc50dd000: tid 16: txq_depth=3D2, = txq_aggr_depth=3D0, sched=3D0, paused=3D0, hwq_depth=3D0, incomp=3D0, baw_h= ead=3D0, baw_tail=3D0 txa_start=3D-1, ni_txseqs=3D40661 > [177174] NODS f4:ec:38:a3:10:dc->00:11:95:ca:ae:7c(00:11:95:ca:ae:7c) pro= be_req 0M > [177174] 4000 0000 0011 95ca ae7c f4ec 38a3 10dc 0011 95ca ae7c 40ed 000= 3 736c 7701 0882 848b 960c 1218 2430 2601 0000 0fac 0201 0000 0fac 0401 000= 0 0fac 0100 0001 002a d59e 9e8d ea21 0eea 3d42 9bdc 4f4e 4432 0430 4860 6c > [177174] wlan0: link state changed to DOWN > [177176] wlan0: link state changed to UP > [177186] wlan0: link state changed to DOWN > [177188] wlan0: link state changed to UP > [177375] wlan0: link state changed to DOWN > [177378] wlan0: link state changed to UP > [177388] wlan0: link state changed to DOWN > [177390] wlan0: link state changed to UP > [179397] ath0: ath_tx_tid_drain: node 0xc50dd000: bf=3D0xc4b39d20: addbaw= =3D0, dobaw=3D0, seqno=3D2062, retry=3D0 > [179397] ath0: ath_tx_tid_drain: node 0xc50dd000: bf=3D0xc4b39d20: tid tx= q_depth=3D13 hwq_depth=3D0, bar_wait=3D0 > [179397] ath0: ath_tx_tid_drain: node 0xc50dd000: tid 16: txq_depth=3D2, = txq_aggr_depth=3D0, sched=3D0, paused=3D0, hwq_depth=3D0, incomp=3D0, baw_h= ead=3D0, baw_tail=3D0 txa_start=3D-1, ni_txseqs=3D47131 > [179397] TODS f4:ec:38:a3:10:dc->00:1c:58:56:bf:a8(00:11:95:ca:ae:7c) dat= a WEP [IV 0b b8 00 05 00 00 KID 0] 0M > [179397] 0841 0000 0011 95ca ae7c f4ec 38a3 10dc 001c 5856 bfa8 e080 0bb= 8 0020 0500 0000 aaaa 0300 0000 0800 4500 0034 1535 4000 4006 90cb 0a00 001= b c346 c762 f65f 0014 b6aa cfc8 46ad 84ba 8010 03fc e360 0000 0101 080a 428= d 489d f0d1 3651 > [179399] wlan0: link state changed to UP > [179409] wlan0: link state changed to DOWN > [179411] wlan0: link state changed to UP > [179636] ath0: ath_tx_tid_drain: node 0xc4b5b000: bf=3D0xc4b355f0: addbaw= =3D0, dobaw=3D0, seqno=3D948, retry=3D0 > [179636] ath0: ath_tx_tid_drain: node 0xc4b5b000: bf=3D0xc4b355f0: tid tx= q_depth=3D4 hwq_depth=3D0, bar_wait=3D0 > [179636] ath0: ath_tx_tid_drain: node 0xc4b5b000: tid 16: txq_depth=3D2, = txq_aggr_depth=3D0, sched=3D0, paused=3D0, hwq_depth=3D0, incomp=3D0, baw_h= ead=3D0, baw_tail=3D0 txa_start=3D-1, ni_txseqs=3D41912 > [179636] TODS f4:ec:38:a3:10:dc->00:1c:58:56:bf:a8(00:11:95:ca:ae:7c) dat= a WEP [IV b1 a3 00 00 00 00 KID 0] 0M > [179636] 0841 0000 0011 95ca ae7c f4ec 38a3 10dc 001c 5856 bfa8 403b b1a= 3 0020 0000 0000 aaaa 0300 0000 0800 4500 0034 bb4b 4000 4006 eab4 0a00 001= b c346 c762 b0cc 0014 5ba9 9748 1033 a13f 8010 03fc 39f3 0000 0101 080a f0d= 2 a239 f0d4 cae3 > [179636] wlan0: link state changed to DOWN > [179638] wlan0: link state changed to UP > [179648] wlan0: link state changed to DOWN > [179650] wlan0: link state changed to UP > [180075] wlan0: link state changed to DOWN > [180077] wlan0: link state changed to UP > [180087] wlan0: link state changed to DOWN > [180089] wlan0: link state changed to UP > [180486] wlan0: link state changed to DOWN > [180488] wlan0: link state changed to UP > [180498] wlan0: link state changed to DOWN > [180500] wlan0: link state changed to UP > [181165] ath0: ath_tx_tid_drain: node 0xc50dd000: bf=3D0xc4b41bb0: addbaw= =3D0, dobaw=3D0, seqno=3D0, retry=3D0 > [181165] ath0: ath_tx_tid_drain: node 0xc50dd000: bf=3D0xc4b41bb0: tid tx= q_depth=3D1 hwq_depth=3D0, bar_wait=3D0 > [181165] ath0: ath_tx_tid_drain: node 0xc50dd000: tid 16: txq_depth=3D2, = txq_aggr_depth=3D0, sched=3D0, paused=3D0, hwq_depth=3D0, incomp=3D0, baw_h= ead=3D0, baw_tail=3D0 txa_start=3D-1, ni_txseqs=3D58839 > [181165] NODS f4:ec:38:a3:10:dc->00:11:95:ca:ae:7c(00:11:95:ca:ae:7c) pro= be_req 0M > [181165] 4000 0000 0011 95ca ae7c f4ec 38a3 10dc 0011 95ca ae7c 605d 000= 3 736c 7701 0882 848b 960c 1218 2430 2601 0000 0fac 0201 0000 0fac 0401 000= 0 0fac 0100 0001 002a d59e 9e8d ea21 0eea 3d42 9bdc 4f4e 4432 0430 4860 6c > [181165] wlan0: link state changed to DOWN > [181166] Aug 19 01:11:18 notebook kernel: [181165] wlan0: link state chan= ged to DOWN > [181168] wlan0: link state changed to UP > [181168] Aug 19 01:11:20 notebook kernel: [181168] wlan0: link state chan= ged to UP > [181178] wlan0: link state changed to DOWN > [181178] Aug 19 01:11:30 notebook kernel: [181178] wlan0: link state chan= ged to DOWN > [181180] wlan0: link state changed to UP > [181612] wlan0: link state changed to DOWN > [181614] wlan0: link state changed to UP > [181624] wlan0: link state changed to DOWN > [181626] wlan0: link state changed to UP > [190739] wlan0: link state changed to DOWN > [190741] wlan0: link state changed to UP > [190751] wlan0: link state changed to DOWN > [190754] wlan0: link state changed to UP > [194052] ath0: device timeout > [202568] ath0: device timeout > [205182] wlan0: link state changed to DOWN > [205184] wlan0: link state changed to UP > [214975] ath0: bb hang detected (0x4), resetting > [216007] wlan0: link state changed to DOWN > [216009] wlan0: link state changed to UP