From owner-freebsd-wireless@FreeBSD.ORG Sat Aug 18 22:13:06 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E64381065670; Sat, 18 Aug 2012 22:13:06 +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 B44C48FC0A; Sat, 18 Aug 2012 22:13:05 +0000 (UTC) Received: by pbbrp2 with SMTP id rp2so5484982pbb.13 for ; Sat, 18 Aug 2012 15:13:05 -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=MOXRVBWXbvbzlJvgwKdVxVU20JZJVc1KUgZHzWtvroc=; b=kUuDOkvJV54eNhyvEiCdIPHM0CB/eULxsCalJ1+2ILeh1lz1D65nMrBKsYpPUqzFUt OEXXlY2LY1G9JdHzXUTtAfLVyKtWrx3KYBoMWQ3r4rj0tKXkzSuF2fertMrVzw04SJYI ouQD08sprJEuPROWodfDBODYwNuszcVGjUBWj7tTmcjOKWz8n8Dt9+Mtz7NO4fKBTi2N K4DtGDnJAajGPPigr0e3XvBoM/u+AiSFk5MFt2DFBWqzMBcY6zzRM6ehOC8KO7NnzBYI QOeqdDKG0a4w33fckvLtWvOY36aALpAEcEO5opsUHpX+XFcM7nckHWljuO2ApgIV+zuQ G4aw== MIME-Version: 1.0 Received: by 10.66.75.195 with SMTP id e3mr19259128paw.32.1345327985238; Sat, 18 Aug 2012 15:13:05 -0700 (PDT) Received: by 10.68.43.169 with HTTP; Sat, 18 Aug 2012 15:13:05 -0700 (PDT) In-Reply-To: References: <1311732708.20120815005429@serebryakov.spb.ru> Date: Sat, 18 Aug 2012 15:13:05 -0700 Message-ID: From: Adrian Chadd To: Lev Serebryakov Content-Type: text/plain; charset=ISO-8859-1 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: Sat, 18 Aug 2012 22:13:07 -0000 .. please file a PR? Pretty please? :0 Adrian On 14 August 2012 14:00, Adrian Chadd wrote: > 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"