From owner-freebsd-wireless@FreeBSD.ORG Tue Aug 14 21:00:32 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 3E4001065739; Tue, 14 Aug 2012 21:00:32 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-gg0-f182.google.com (mail-gg0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id D5D4F8FC0C; Tue, 14 Aug 2012 21:00:31 +0000 (UTC) Received: by ggnk4 with SMTP id k4so1202090ggn.13 for ; Tue, 14 Aug 2012 14:00:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=cq9rWu4YYd+NaDKd2sbvYzUwA1TX3neAqbtauNu6q7A=; b=kFSVkmpeJbC6hoizqYN1jryODAvP9j2otIiIueIf8h0BuwJXImrp7dw64mzCWXkjlN FBt75fQHenwADjXZo1E2WHERoZUZl4E8UuI7P9ZuI7SqCVg4bqh1RjgowR47SJTvWg2B CHFNyBU4WGzaa2p4+VdcYE1TN7J60qO3pXsgLsdJuJZCDrNSjHPoTzbBbg4L6dEafyaW ldZTmIhjC6os7OLYLRv3cdDnBuJjrVt1Deg1O0TwtlNs4FyZBTk0SgSIzEC65qZwUvYB +v0kDOnBRVuWIjkeQ1AidrK//vGqoXF9IUiiiVB7jk/e0rs1zrNr/XQn40KOqJ43V0IK 3CDQ== MIME-Version: 1.0 Received: by 10.68.231.233 with SMTP id tj9mr38556462pbc.39.1344978030624; Tue, 14 Aug 2012 14:00:30 -0700 (PDT) Received: by 10.68.43.169 with HTTP; Tue, 14 Aug 2012 14:00:30 -0700 (PDT) Received: by 10.68.43.169 with HTTP; Tue, 14 Aug 2012 14:00:30 -0700 (PDT) In-Reply-To: <1311732708.20120815005429@serebryakov.spb.ru> References: <1311732708.20120815005429@serebryakov.spb.ru> Date: Tue, 14 Aug 2012 14:00:30 -0700 Message-ID: From: Adrian Chadd To: Lev Serebryakov Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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: Tue, 14 Aug 2012 21:00:32 -0000 Cool! Please file a pr with those logs. The aa55aa55 means some uninitialised memory is used for descriptors and i need to squish that. Adrian On Aug 14, 2012 1:55 PM, "Lev Serebryakov" wrote: > Hello, Freebsd-wireless. > > My router gives me stable 2MiB/s transfer from wire to air now, with > r239228 (client is 802.11g, so it is very resonable speed!) > > This revision has other quirks, but ath works as good as never > before. > > Thank you, Adrian! > > Some dmesg with enabled reset debug (dev.ath.0.debug=4294967328) is here: > > ath0: ath_init: if_flags 0x8803 > ath0: ath_stop_locked: invalid 0 if_flags 0x8803 > ath0: ath_init: imask=0xe0000071 > ath0: ath_txq_update: Q1 qflags 0xf aifs 3 cwmin 15 cwmax 63 burstTime 0 > ath0: ath_txq_update: Q0 qflags 0xf aifs 7 cwmin 15 cwmax 1023 burstTime 0 > ath0: ath_txq_update: Q2 qflags 0xf aifs 1 cwmin 7 cwmax 15 burstTime 3008 > ath0: ath_txq_update: Q3 qflags 0xf aifs 1 cwmin 3 cwmax 7 burstTime 1504 > ath0: ath_chan_set: 1 (2412 MHz, flags 0x10480) > ath0: ath_legacy_stoprecv: rx queue 0x20b8000, link 0xd58c42a0 > ath0: ath_stoptxdma: tx queue [9] 0, link 0 > ath0: ath_tx_stopdma: tx queue [0] 0, link 0 > ath0: ath_tx_stopdma: tx queue [1] 0, link 0 > ath0: ath_tx_stopdma: tx queue [2] 0, link 0 > ath0: ath_tx_stopdma: tx queue [3] 0, link 0 > ath0: ath_tx_stopdma: tx queue [8] 0, link 0 > ath0: ath_stoptxdma: tx queue [9] 0, link 0 > ath0: ath_tx_stopdma: tx queue [0] 0, link 0 > ath0: ath_tx_stopdma: tx queue [1] 0, link 0 > ath0: ath_tx_stopdma: tx queue [2] 0, link 0 > ath0: ath_tx_stopdma: tx queue [3] 0, link 0 > ath0: ath_tx_stopdma: tx queue [8] 0, link 0 > ath0: ath_txq_update: Q1 qflags 0xf aifs 2 cwmin 7 cwmax 1023 burstTime > 2048 > ath0: ath_txq_update: Q0 qflags 0xf aifs 7 cwmin 15 cwmax 1023 burstTime 0 > ath0: ath_txq_update: Q2 qflags 0xf aifs 1 cwmin 7 cwmax 15 burstTime 3008 > ath0: ath_txq_update: Q3 qflags 0xf aifs 1 cwmin 3 cwmax 7 burstTime 1504 > ath0: ath_setslottime: chan 2412 MHz flags 0x10480 short slot, 9 usec > ath0: ath_stop_locked: invalid 0 if_flags 0x8802 > ath0: ath_stoptxdma: tx queue [9] 0x1bfd000, link 0 > ath0: ath_tx_stopdma: tx queue [0] 0, link 0 > ath0: ath_tx_stopdma: tx queue [1] 0x1b89480, link 0 > ath0: ath_tx_stopdma: tx queue [2] 0, link 0 > ath0: ath_tx_stopdma: tx queue [3] 0, link 0 > ath0: ath_tx_stopdma: tx queue [8] 0, link 0 > ath0: ath_legacy_stoprecv: rx queue 0x20ba540, link 0xd58ba4e0 > ath0: ath_init: if_flags 0x8803 > ath0: ath_stop_locked: invalid 0 if_flags 0x8803 > ath0: ath_init: imask=0xe0000071 > ath0: ath_txq_update: Q1 qflags 0xf aifs 3 cwmin 15 cwmax 63 burstTime 0 > ath0: ath_txq_update: Q0 qflags 0xf aifs 7 cwmin 15 cwmax 1023 burstTime 0 > ath0: ath_txq_update: Q2 qflags 0xf aifs 1 cwmin 7 cwmax 15 burstTime 3008 > ath0: ath_txq_update: Q3 qflags 0xf aifs 1 cwmin 3 cwmax 7 burstTime 1504 > ath0: ath_chan_set: 1 (2412 MHz, flags 0x10480) > ath0: ath_txq_update: Q1 qflags 0xf aifs 2 cwmin 7 cwmax 1023 burstTime > 2048 > ath0: ath_txq_update: Q0 qflags 0xf aifs 7 cwmin 15 cwmax 1023 burstTime 0 > ath0: ath_txq_update: Q2 qflags 0xf aifs 1 cwmin 7 cwmax 15 burstTime 3008 > ath0: ath_txq_update: Q3 qflags 0xf aifs 1 cwmin 3 cwmax 7 burstTime 1504 > ath0: ath_setslottime: chan 2412 MHz flags 0x10480 short slot, 9 usec > >> System load finished here > ath0: stuck beacon; resetting (bmiss count 4) > ath0: ath_reset: called > ath0: ath_stoptxdma: tx queue [9] 0x1bfd000, link 0 > ath0: ath_tx_stopdma: tx queue [0] 0, link 0 > ath0: ath_tx_stopdma: tx queue [1] 0x1be32c0, link 0xcdbe58a0 > ath0: ath_tx_stopdma: tx queue [2] 0, link 0 > ath0: ath_tx_stopdma: tx queue [3] 0, link 0 > ath0: ath_tx_stopdma: tx queue [8] 0x1b9c1c0, link 0 > Q1[ 0] (DS.V:0xcdbe2f00 DS.P:0x1be2f00) L:01be2f60 D:17ab333e F:0001 ! > Seq: 4512 swtry: 0 ADDBAW?: 0 DOBAW?: 0 > 413f0612 0000902c 24348000 1b0e090d 022c0180 315a02d8 > 08000000 0006318c 00000000 3f000000 3f000000 3f000000 00000000 > 00000000 > 00000000 00000000 00000000 00000000 00000000 00000000 00000000 > 00000000 > (DS.V:0xcdbe2f60 DS.P:0x1be2f60) L:01be32c0 D:13826010 F:0001 ! > Seq: 4512 swtry: 0 ADDBAW?: 0 DOBAW?: 0 > 00000000 000005dc 24348000 1b0e090d aa55aa55 aa55aa55 > aa55aa55 aa55aa55 aa55aa55 aa55aa55 aa55aa55 aa55aa55 00808080 > 00000002 > 3e40fe08 c1709269 fbf00000 80808080 00000000 00000000 00000000 > 00000c89 > [end] > Q1[ 0] (DS.V:0xcdbe32c0 DS.P:0x1be32c0) L:01be3320 D:1445073e F:0001 > Seq: 4528 swtry: 0 ADDBAW?: 0 DOBAW?: 0 > 413f0612 0000902c 24348000 1b0e090d 022c0180 315a02d8 > 08000000 0006318c 00000000 3f000000 3f000000 3f000000 00000000 > 00000000 > 00000000 00000000 00000000 00000000 00000000 00000000 00000000 > 00000000 > (DS.V:0xcdbe3320 DS.P:0x1be3320) L:01be3680 D:17abc010 F:0001 > Seq: 4528 swtry: 0 ADDBAW?: 0 DOBAW?: 0 > 00000000 000005dc 24348000 1b0e090d aa55aa55 aa55aa55 > aa55aa55 aa55aa55 aa55aa55 aa55aa55 aa55aa55 aa55aa55 00000000 > 00000000 > 00000000 00000000 00000000 00000000 00000000 00000000 00000000 > 00000000 > [end] > ath0: ath_legacy_stoprecv: rx queue 0x20bb2a0, link 0xd58bb240 > > > -- > // Black Lion AKA Lev Serebryakov > > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org > " >