From owner-freebsd-wireless@FreeBSD.ORG Sun Dec 4 00:35:25 2011 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 D34C9106566C for ; Sun, 4 Dec 2011 00:35:25 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 88D7A8FC0C for ; Sun, 4 Dec 2011 00:35:25 +0000 (UTC) Received: by vcbfk1 with SMTP id fk1so5056218vcb.13 for ; Sat, 03 Dec 2011 16:35:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=5hkh80s9ROzNEhSSsfryja+wPkRC9E+RLrivb/xyIcM=; b=F3n1chLOlMETZ4v2NlnIV1NfkrzbSNxmLOQUp0ZnkPkUzdHP7kvmzz5vBzcrJsE3Bp VgBpb0Zv1d3G37PHSlNlHcnlB/I4cQgr7DhX+Nkl1+m2ZIxpV6dQVjIjtI4y7qz7BNVx uINdqWDL2V2/iVGFMPtc+Gys89tzVZuHBIJE8= MIME-Version: 1.0 Received: by 10.220.6.207 with SMTP id a15mr371537vca.70.1322958924734; Sat, 03 Dec 2011 16:35:24 -0800 (PST) Received: by 10.52.109.10 with HTTP; Sat, 3 Dec 2011 16:35:24 -0800 (PST) In-Reply-To: <4EDA609F.2080401@entel.upc.edu> References: <3d4d2d249836fafc6acd885693c02198@webmail.entel.upc.edu> <4ECFCDAB.1080407@entel.upc.edu> <4ED3B4D1.3020701@entel.upc.edu> <4EDA4BBA.6010203@entel.upc.edu> <4EDA609F.2080401@entel.upc.edu> Date: Sun, 4 Dec 2011 08:35:24 +0800 Message-ID: From: Adrian Chadd To: =?ISO-8859-1?Q?Gustau_P=E9rez?= Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org Subject: Re: Big delays between an AR5416 AP and its clients 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, 04 Dec 2011 00:35:25 -0000 I don't think it's been resolved in ath9k, no. Your diagnosis has been very very thorough and helpful, thanks! It may not actually be a power save queue issue. As long as you can (a) reproduce it and (b) know exactly which revision caused the issue, I'll begin dissecting that revision sometime in mid-December. That's a 5000 line diff though. What I'll likely do for you is chop up the diff into many more smaller diffs so we can try to narrow down what caused it. Thanks again! Adrian From owner-freebsd-wireless@FreeBSD.ORG Sun Dec 4 00:41:02 2011 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 36570106564A for ; Sun, 4 Dec 2011 00:41:02 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id D9FCF8FC08 for ; Sun, 4 Dec 2011 00:41:01 +0000 (UTC) Received: by vbbfr13 with SMTP id fr13so5057265vbb.13 for ; Sat, 03 Dec 2011 16:41:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=gwkzUz+/c7pznt7v9xTGl9nvcCW3ey10+HYgOWJruU0=; b=x0uR387U+j+2K9wnkFfR6tWr9QLHUqAL3ryppf26GFiqT3dseUHau9EnVCxUT4NHXF elximXIMMQCuu/F2x1FvX1qN8ZVHGc83THiooc3t8CgBHvfRr/oYdSvUJUY+oBHRMdJa AWdo8nmzjzeJnXkkE36qx6PLnpydpeQGYZweg= MIME-Version: 1.0 Received: by 10.52.94.227 with SMTP id df3mr2219304vdb.51.1322959260914; Sat, 03 Dec 2011 16:41:00 -0800 (PST) Received: by 10.52.109.10 with HTTP; Sat, 3 Dec 2011 16:41:00 -0800 (PST) In-Reply-To: References: <3d4d2d249836fafc6acd885693c02198@webmail.entel.upc.edu> <4ECFCDAB.1080407@entel.upc.edu> <4ED3B4D1.3020701@entel.upc.edu> <4EDA4BBA.6010203@entel.upc.edu> <4EDA609F.2080401@entel.upc.edu> Date: Sun, 4 Dec 2011 08:41:00 +0800 Message-ID: From: Adrian Chadd To: =?ISO-8859-1?Q?Gustau_P=E9rez?= Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org Subject: Re: Big delays between an AR5416 AP and its clients 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, 04 Dec 2011 00:41:02 -0000 If you can trigger this with very very minimal packets, what we could do is just enable TX descriptor logging and see what's going on there. Do you have a VGA console or a serial console? adrian From owner-freebsd-wireless@FreeBSD.ORG Sun Dec 4 05:41:47 2011 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 274B91065670 for ; Sun, 4 Dec 2011 05:41:46 +0000 (UTC) (envelope-from hapvbk@yahoo.co.uk) Received: from nm9-vm0.bullet.mail.ukl.yahoo.com (nm9-vm0.bullet.mail.ukl.yahoo.com [217.146.183.240]) by mx1.freebsd.org (Postfix) with SMTP id 274978FC0A for ; Sun, 4 Dec 2011 05:41:45 +0000 (UTC) Received: from [217.146.183.213] by nm9.bullet.mail.ukl.yahoo.com with NNFMP; 04 Dec 2011 05:41:45 -0000 Received: from [77.238.184.79] by tm6.bullet.mail.ukl.yahoo.com with NNFMP; 04 Dec 2011 05:41:45 -0000 Received: from [127.0.0.1] by smtp148.mail.ukl.yahoo.com with NNFMP; 04 Dec 2011 05:41:45 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s1024; t=1322977305; bh=02kaXOfrPF13jw9DkVbjWcJVJvmJ0aYuR4EURvRndHE=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:From:To:References:In-Reply-To:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:X-MSMail-Priority:Importance:X-Mailer:X-MimeOLE; b=vHB8ryZrf0su9Ch//WL2DsHD9rMoiPg6n7tPhyoYDcxnM+1uqpmBvn1Qr7akA1vzYCbY1tbR1uRFrt7oOE547qRI/cgEUBidHyFDwzcnCUWF4LZO8xuIwcWgwj2N9UFqHWikGPhkEPrHWOMNbp+1POSC6MqIauv3fhU2QwBeWog= X-Yahoo-Newman-Id: 73310.30176.bm@smtp148.mail.ukl.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: LSPoNK8VM1m9UVhTnjXFA8onrTgZc56xjsnv9aZsJEW2Bgy nJuvdzxAxPLTxFq5hPZLfk8v.BCc2vQmbz1.cb62mDgrrYptBl.zofme14Ll Z6dCcpt1QNfZgeeCTjJbhVSBhSYL7zzmWeu7Q5DaIXXGJ2BdWOUeVLacTY5e 6i4E8Tt_8WTZkoEzvzTnnBirPCpaZN5dhd7UrTzAVKTNv83jjxrzVUrTEKMf aS4LodycVDSiUbfILBSht.YRletUT9790Hkr9hN29ozmmZbNaVmbacvE53Os M51dcykY5ylgrLj1w2CCDzongTSGmIEa0uQUGVZFTqKmnr8rbVPWFRmtDyli dZSnht5kfBwphyNb3iYqel9JMRbxceDsemmFPwZR3lqN6 X-Yahoo-SMTP: xBpCc9iswBApASleyiIs9lcZMA-- Received: from PC (hapvbk@129.100.254.158 with login) by smtp148.mail.ukl.yahoo.com with SMTP; 03 Dec 2011 21:41:44 -0800 PST Message-ID: From: "Viet-Ha Pham" To: "Freebsd Wireless" References: <3d4d2d249836fafc6acd885693c02198@webmail.entel.upc.edu><4ECFCDAB.1080407@entel.upc.edu><4ED3B4D1.3020701@entel.upc.edu><4EDA4BBA.6010203@entel.upc.edu><4EDA609F.2080401@entel.upc.edu> In-Reply-To: Date: Sun, 4 Dec 2011 00:36:19 -0500 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 15.4.3538.513 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3538.513 Subject: Rate index for 11 Mbps 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, 04 Dec 2011 05:41:47 -0000 Hi there, I am working with the rate adaptation algorithm and at the very beginning point of testing/programing. I have a concern with the rate index used in the HAL. I wonder if the rate order in the rate table for 802.11g is 1 - 2 - 5.5 - 6 - 9 - 11 - 12 .... or 1 - 2 - 5.5 - 11 - 6 -9 - 12 ... ? This order will change the value of rate index for 11 Mbps from 5 to 3. I read the source code (ar5212_phy.c) but I am still confused. Also there is a comment with the rate table for 802.11g: /* Venice TODO: roundUpRate() is broken when the rate table does not represent rates * in increasing order e.g. 5.5, 11, 6, 9. * An average rate of 6 Mbps will currently map to 11 Mbps. */ I am using FreeBSD 8.2, AR5212 chipset. Any help to clarify this will be appreciated. HAPV From owner-freebsd-wireless@FreeBSD.ORG Sun Dec 4 05:56:06 2011 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 765681065670 for ; Sun, 4 Dec 2011 05:56:06 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 217108FC08 for ; Sun, 4 Dec 2011 05:56:05 +0000 (UTC) Received: by vbbfr13 with SMTP id fr13so5165910vbb.13 for ; Sat, 03 Dec 2011 21:56:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; 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=s2YLOuHUDtmG9VF8FeT+2ohosz5ciEJkvjgrErsAy9E=; b=vkdpN3gbZAD+9ahFpdHuTeQBHHsAvAJEGqFwWMd/kZf+XTCEL0N6SOmw+D0j6HRavt ht4FX3mq0DVsskZhTZLrMeAvgoEdg1zUi9+RUlp8qXQkAg5ycSaek5D/ag4/G9v2uhlN 1de0xeCHw8jh1BxNsfvVrQzA/FdJjgHP5PwsM= MIME-Version: 1.0 Received: by 10.52.94.227 with SMTP id df3mr2573439vdb.51.1322978165275; Sat, 03 Dec 2011 21:56:05 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.52.109.10 with HTTP; Sat, 3 Dec 2011 21:56:05 -0800 (PST) In-Reply-To: References: <3d4d2d249836fafc6acd885693c02198@webmail.entel.upc.edu> <4ECFCDAB.1080407@entel.upc.edu> <4ED3B4D1.3020701@entel.upc.edu> <4EDA4BBA.6010203@entel.upc.edu> <4EDA609F.2080401@entel.upc.edu> Date: Sun, 4 Dec 2011 13:56:05 +0800 X-Google-Sender-Auth: M7J6SSAF61uP7njiLv3MWq-TgG0 Message-ID: From: Adrian Chadd To: Viet-Ha Pham Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Freebsd Wireless Subject: Re: Rate index for 11 Mbps 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, 04 Dec 2011 05:56:06 -0000 On 4 December 2011 13:36, Viet-Ha Pham wrote: > Hi there, > > I am working with the rate adaptation algorithm and at the very beginning > point of testing/programing. I have a concern with the rate index used in > the HAL. > > I wonder if the rate order in the rate table for 802.11g is 1 - 2 - 5.5 -= 6 > - 9 - 11 - 12 .... or 1 - 2 - 5.5 - 11 - 6 -9 - 12 ... ? The order of rate table entries is what you see: [for 11g]: /* short ctrl *= / /* valid rateCode Preamble dot11Rate Rate */ /* 1 Mb */ { AH_TRUE, CCK, 1000, 0x1b, 0x00, (0x80| 2), 0 }, /* 2 Mb */ { AH_TRUE, CCK, 2000, 0x1a, 0x04, (0x80| 4), 1 }, /* 5.5 Mb */ { AH_TRUE, CCK, 5500, 0x19, 0x04, (0x80|11), 2 }, /* 11 Mb */ { AH_TRUE, CCK, 11000, 0x18, 0x04, (0x80|22), 3 }, /* remove rates 6, 9 from rate ctrl */ /* 6 Mb */ { AH_FALSE, OFDM, 6000, 0x0b, 0x00, 12, 4 }, /* 9 Mb */ { AH_FALSE, OFDM, 9000, 0x0f, 0x00, 18, 4 }, /* 12 Mb */ { AH_TRUE, OFDM, 12000, 0x0a, 0x00, 24, 6 }, .. so it's cck 1, cck 2, cck 5.5, cck 11, ofdm 6, ofdm 9, ofdm 12, ofdm 18 .. ofdm 54. > I read the source code (ar5212_phy.c) but I am still confused. Also there= is > a comment with the rate table for 802.11g: > > /* Venice TODO: roundUpRate() is broken when the rate table does not > represent rates > * in increasing order =A0e.g. =A05.5, 11, 6, 9. > * An average rate of 6 Mbps will currently map to 11 Mbps. > */ I don't know where roundUpRate() is - but yes, if your function tries to map a throughput to a rate table index, it'll have problems if it simply finds the first rate greater than your specified bit rate. HTH, Adrian From owner-freebsd-wireless@FreeBSD.ORG Sun Dec 4 09:15:29 2011 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 E4640106564A for ; Sun, 4 Dec 2011 09:15:29 +0000 (UTC) (envelope-from gperez@entel.upc.edu) Received: from violet.upc.es (violet.upc.es [147.83.2.51]) by mx1.freebsd.org (Postfix) with ESMTP id 5AB0F8FC19 for ; Sun, 4 Dec 2011 09:15:28 +0000 (UTC) Received: from ackerman2.upc.es (ackerman2.upc.es [147.83.2.244]) by violet.upc.es (8.14.1/8.13.1) with ESMTP id pB49FQvv017106 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sun, 4 Dec 2011 10:15:27 +0100 Received: from portgus.lan (141.Red-81-39-182.dynamicIP.rima-tde.net [81.39.182.141]) (authenticated bits=0) by ackerman2.upc.es (8.14.4/8.14.4) with ESMTP id pB49FOPV025017 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 4 Dec 2011 10:15:26 +0100 Message-ID: <4EDB3A2B.4050503@entel.upc.edu> Date: Sun, 04 Dec 2011 10:15:23 +0100 From: =?ISO-8859-1?Q?Gustau_P=E9rez?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:8.0) Gecko/20111111 Thunderbird/8.0 MIME-Version: 1.0 To: Adrian Chadd References: <3d4d2d249836fafc6acd885693c02198@webmail.entel.upc.edu> <4ECFCDAB.1080407@entel.upc.edu> <4ED3B4D1.3020701@entel.upc.edu> <4EDA4BBA.6010203@entel.upc.edu> <4EDA609F.2080401@entel.upc.edu> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.70 on 147.83.2.244 X-Mail-Scanned: Criba 2.0 + Clamd X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (violet.upc.es [147.83.2.51]); Sun, 04 Dec 2011 10:15:27 +0100 (CET) Cc: freebsd-wireless@freebsd.org Subject: Re: Big delays between an AR5416 AP and its clients 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, 04 Dec 2011 09:15:30 -0000 On 04/12/2011 01:41, Adrian Chadd wrote: > If you can trigger this with very very minimal packets, what we could > do is just enable TX descriptor logging and see what's going on there. > > Do you have a VGA console or a serial console? Yes there are, both vga and serial console available. How do I proceed? ATH_DEBUG and frineds are in the kernel, how do I enable tx desc logging? With sysctl dev.ath.0.hal.debug=1? > > adrian About the diff, I'll try. But I fear some parts of the are interrelated so I guess I won't as simple as getting each part of the diff and apply it. Gus From owner-freebsd-wireless@FreeBSD.ORG Sun Dec 4 10:19:30 2011 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 27D83106566C for ; Sun, 4 Dec 2011 10:19:30 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id D17118FC12 for ; Sun, 4 Dec 2011 10:19:29 +0000 (UTC) Received: by vcbfk1 with SMTP id fk1so5256038vcb.13 for ; Sun, 04 Dec 2011 02:19:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=3srQF3BHf1gwUfhYI6X4rGgYnF/xlrQ1PIHhQ1Lp6sg=; b=RjUcLB+0JSMUU5oTqocaWIJy4iVasXQ/zYk1d8QlxjcaN5RyY5N6cla+1bphdQwf1r CFsAB/5ttKeWajqlXjbOEHkdljArIs+dQhwsGCLHRdBBfIMwa88hBQGxwn+NteLRahlH GUMyXywXcXyktb82IwU0sQC1OW4jwZudSKOeA= MIME-Version: 1.0 Received: by 10.220.228.200 with SMTP id jf8mr557981vcb.105.1322993969116; Sun, 04 Dec 2011 02:19:29 -0800 (PST) Received: by 10.52.109.10 with HTTP; Sun, 4 Dec 2011 02:19:29 -0800 (PST) In-Reply-To: <4EDB3A2B.4050503@entel.upc.edu> References: <3d4d2d249836fafc6acd885693c02198@webmail.entel.upc.edu> <4ECFCDAB.1080407@entel.upc.edu> <4ED3B4D1.3020701@entel.upc.edu> <4EDA4BBA.6010203@entel.upc.edu> <4EDA609F.2080401@entel.upc.edu> <4EDB3A2B.4050503@entel.upc.edu> Date: Sun, 4 Dec 2011 18:19:29 +0800 Message-ID: From: Adrian Chadd To: =?ISO-8859-1?Q?Gustau_P=E9rez?= Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org Subject: Re: Big delays between an AR5416 AP and its clients 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, 04 Dec 2011 10:19:30 -0000 I'll take care of pulling it apart for you. Just give me a week and a half to move, ok? :) Adrian From owner-freebsd-wireless@FreeBSD.ORG Sun Dec 4 10:22:05 2011 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 D705E106566B for ; Sun, 4 Dec 2011 10:22:05 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 88B438FC0C for ; Sun, 4 Dec 2011 10:22:05 +0000 (UTC) Received: by vcbfk1 with SMTP id fk1so5256864vcb.13 for ; Sun, 04 Dec 2011 02:22:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=M0DgjXK+XsR7Ei/8f/S80FF0w4LQ0QmGHOqWVmYMSxw=; b=Lsn2UEmf3C3GjTYrx2G7fOWQfXPF6/+Xa39KRVU+hx2t6WOhfkTGydXZZ5XFbPqY5q zZWCp2n1sKZCnHX5MFGK2HxsYt+Cjv3TMkAVVHd18SU/zrdDAaCNI1gihn1wwS59LOze C75fvy/AD3g6N5R8FcHy2itEYnIq8n8BqYeIo= MIME-Version: 1.0 Received: by 10.52.20.35 with SMTP id k3mr2861303vde.34.1322994125051; Sun, 04 Dec 2011 02:22:05 -0800 (PST) Received: by 10.52.109.10 with HTTP; Sun, 4 Dec 2011 02:22:05 -0800 (PST) In-Reply-To: References: <3d4d2d249836fafc6acd885693c02198@webmail.entel.upc.edu> <4ECFCDAB.1080407@entel.upc.edu> <4ED3B4D1.3020701@entel.upc.edu> <4EDA4BBA.6010203@entel.upc.edu> <4EDA609F.2080401@entel.upc.edu> <4EDB3A2B.4050503@entel.upc.edu> Date: Sun, 4 Dec 2011 18:22:05 +0800 Message-ID: From: Adrian Chadd To: =?ISO-8859-1?Q?Gustau_P=E9rez?= Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org Subject: Re: Big delays between an AR5416 AP and its clients 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, 04 Dec 2011 10:22:05 -0000 Ok, to enable logging: Firstly, let's just debug the non-beacon TX : sysctl dev.ath.0.debug=0x3c000000 wlandebug -i wlan0 +rate Then send some pings. You'll get a _lot_ of debugging. Please capture some debugging. :) Point out which log entries correspond to increased latency. (This is assuming it's a TX issue; it's possibly an RX issue too..) Thanks, Adrian From owner-freebsd-wireless@FreeBSD.ORG Mon Dec 5 11:07:11 2011 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 E2F961065672 for ; Mon, 5 Dec 2011 11:07:11 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C81808FC08 for ; Mon, 5 Dec 2011 11:07:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pB5B7BxB081361 for ; Mon, 5 Dec 2011 11:07:11 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pB5B7BcH081359 for freebsd-wireless@FreeBSD.org; Mon, 5 Dec 2011 11:07:11 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 5 Dec 2011 11:07:11 GMT Message-Id: <201112051107.pB5B7BcH081359@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-wireless@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-wireless@FreeBSD.org 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: Mon, 05 Dec 2011 11:07:12 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/162648 wireless [ath] AR9227 ADC DC calibration failure o kern/162647 wireless [ath] 11n TX aggregation session / TX hang o kern/162475 wireless [ath] functions with return type HAL_BOOL (might) retu o kern/161293 wireless [iwn] hang at startup when starting network o kern/161035 wireless [ieee80211] Incorrect number describing 11ng MCS rate o kern/160391 wireless [ieee80211] [patch] Panic in mesh mode o kern/160296 wireless [zyd] [panic] 802.11 usb device reboots system on 'ifc o misc/160176 wireless [mips] [panic] Kernel panic on AR7161 platform with AR o kern/157449 wireless [ath] MAC address conflict causes system to freeze o kern/157243 wireless [ath] investigate beacon TX (AP) / RX (STA) when under o kern/156904 wireless [ath] AR9285 antenna diversity algorithm is buggy and o kern/156884 wireless [ath] ath instablity o kern/156327 wireless [bwn] bwn driver causes 20%-50% packet loss o kern/156322 wireless [wpi] no ahdemo support for if_wpi o kern/156321 wireless [ath] ahdemo doesn't work with if_ath o kern/155498 wireless [ral] ral(4) needs to be resynced with OpenBSD's to ga o kern/155100 wireless [ath] ath driver on busy channel: "stuck beacon" p kern/154598 wireless [ath] Atheros 5424/2424 can't connect to WPA network o kern/154567 wireless [ath] ath(4) lot of bad series(0) o kern/154327 wireless [ath] AR5416 in station mode hangs when transmitting f o kern/154284 wireless [ath] Modern ath wifi cards (such as AR9285) have miss o kern/154153 wireless [ath] AR5213 + MIPS + WPA group key packet corruption o kern/153448 wireless [ath] ath networking device loses association after a o kern/152750 wireless [ath] ath0 lot of bad series hwrate o kern/151198 wireless [ath] ath/5416 fails bgscan with "ath0: ath_chan_set: o kern/149786 wireless [bwn] bwn on Dell Inspiron 1150: connections stall o kern/149516 wireless [ath] ath(4) hostap with fake MAC/BSSID results in sta o kern/149373 wireless [realtek/atheros]: None of my network card working o kern/148322 wireless [ath] Triggering atheros wifi beacon misses in hostap o kern/148317 wireless [ath] FreeBSD 7.x hostap memory leak in net80211 or At o kern/148078 wireless [ath] wireless networking stops functioning o kern/145826 wireless [panic] [ath] Unable to configure adhoc mode on ath0/w o kern/144987 wireless [wpi] [panic] injecting packets with wlaninject using o bin/144109 wireless hostapd(8) uses the MAC of the wireless interface, but o kern/143868 wireless [ath] [patch] [request] allow Atheros watchdog timeout o conf/143079 wireless hostapd(8) startup missing multi wlan functionality p kern/140567 wireless [ath] [patch] ath is not worked on my notebook PC o kern/140245 wireless [ath] [panic] Kernel panic during network activity on o kern/137592 wireless [ath] panic - 7-STABLE (Aug 7, 2009 UTC) crashes on ne p bin/137484 wireless [patch] Integer overflow in wpa_supplicant(8) base64 e o kern/136943 wireless [wpi] [lor] wpi0_com_lock / wpi0 o kern/136836 wireless [ath] atheros card stops functioning after about 12 ho o kern/132722 wireless [ath] Wifi ath0 associates fine with AP, but DHCP or I o bin/131549 wireless ifconfig(8) can't clear 'monitor' mode on the wireless o kern/126475 wireless [ath] [panic] ath pcmcia card inevitably panics under o kern/125721 wireless [ath] Terrible throughput/high ping latency with Ubiqu o kern/125617 wireless [ath] [panic] ath(4) related panic o kern/125501 wireless [ath] atheros cardbus driver hangs o kern/125332 wireless [ath] [panic] crash under any non-tiny networking unde o kern/124767 wireless [iwi] Wireless connection using iwi0 driver (Intel 220 o kern/124753 wireless [ieee80211] net80211 discards power-save queue packets o docs/120456 wireless ath(4) needs to specify requirement on wlan_scan_sta o kern/119513 wireless [ath] [irq] inserting dlink dwl-g630 wireless card res o kern/116747 wireless [ndis] FreeBSD 7.0-CURRENT crash with Dell TrueMobile f kern/105348 wireless [ath] ath device stopps TX 55 problems total. From owner-freebsd-wireless@FreeBSD.ORG Mon Dec 5 16:56:06 2011 Return-Path: Delivered-To: freebsd-wireless@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56C191065673; Mon, 5 Dec 2011 16:56:06 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E9A068FC0A; Mon, 5 Dec 2011 16:56:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pB5Gu5HJ011310; Mon, 5 Dec 2011 16:56:05 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pB5Gu5br011306; Mon, 5 Dec 2011 16:56:05 GMT (envelope-from linimon) Date: Mon, 5 Dec 2011 16:56:05 GMT Message-Id: <201112051656.pB5Gu5br011306@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-wireless@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/163082: [ath] ar9285 diversity fixes 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: Mon, 05 Dec 2011 16:56:06 -0000 Synopsis: [ath] ar9285 diversity fixes Responsible-Changed-From-To: freebsd-bugs->freebsd-wireless Responsible-Changed-By: linimon Responsible-Changed-When: Mon Dec 5 16:55:49 UTC 2011 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=163082 From owner-freebsd-wireless@FreeBSD.ORG Wed Dec 7 05:51:31 2011 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 9F431106564A for ; Wed, 7 Dec 2011 05:51:31 +0000 (UTC) (envelope-from ammar83_h@yahoo.com) Received: from nm16-vm0.bullet.mail.ac4.yahoo.com (nm16-vm0.bullet.mail.ac4.yahoo.com [98.139.52.238]) by mx1.freebsd.org (Postfix) with SMTP id 3F63B8FC08 for ; Wed, 7 Dec 2011 05:51:30 +0000 (UTC) Received: from [98.139.52.188] by nm16.bullet.mail.ac4.yahoo.com with NNFMP; 07 Dec 2011 05:38:39 -0000 Received: from [98.139.52.161] by tm1.bullet.mail.ac4.yahoo.com with NNFMP; 07 Dec 2011 05:38:39 -0000 Received: from [127.0.0.1] by omp1044.mail.ac4.yahoo.com with NNFMP; 07 Dec 2011 05:38:39 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 698593.74372.bm@omp1044.mail.ac4.yahoo.com Received: (qmail 10307 invoked by uid 60001); 7 Dec 2011 05:38:39 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1323236319; bh=h/1Y4eYir4hgtttrtcztm3KTfnCYgRGUM6UHuIxuC1w=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=fYCvws90Xpm2WhYM2iQDgGt7vIhyryJh228DuEYjiLaeW/4b9n0mjiQPvwU8v5IJm48DZeIBLCkbcHJdeE2FoojHXTy73a1gBrBo2eAErM8b1A4RmqOZ21T12efYbTFEIX2pvIJsrSO3fh7cdK3ZR4QvhiE+bPFcplejncSNdSM= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=A8Q+6y3BQx0OlaBS3OZGJCunaSj6s710uZG8sU00TyMzjdrpQA8qyLQ2anG5AFSDewEvmQy3K1yoFjJW9m5U5Fw+pV4k2eYxll78Z4BMnl2AqSX1cv5UAMk5Lu5FUGFithccbd+3OgNW+IFH9EVs4f+4jCVfTLU4gKpvv3zjJ28=; X-YMail-OSG: ywuDSiQVM1lneRG1Q5RY97X9nXNGfuAPKKSP_g_ZnZyTFfm 5YuViFOtNaijyAh4uvoK_dBdNTSE.tcnV_TuvqzCbHP7_3zdQzb6DoQR9Ctq lVZGUnkZEHlKTu6kVW7IweFSxjXplBAvwTrTAb6J.vx132x17AvKNe6Z4p4V q6_bZ6WjTOl5GYymVqjZ9z_Y9ymoM5MVT.1slHazMIvqtz5i6AIeiYNKSXpT b7pnVUNz3BPPf3KnwzXxPjTOMCJ1pkljcslHqXyFan3.jxetKeZFxJnk84o0 .LRdTmc_JwgHguZ2J1ZSOXkSnpppldRTD_re4Y8E35kmWTp1FdJV_98Xa1MP E34HlYklydn4klJjBJXr5jMDp8At0.vy0rlwnuxOdxDyJERIVE2m8EoyyqQG nSVLo_A4vgx8buGpHet2.dGtS5jWjmrKXUCBoFBolcs_Zl4X3VUZIs1qZ0Zs Fjoqj Received: from [99.6.109.35] by web130206.mail.mud.yahoo.com via HTTP; Tue, 06 Dec 2011 21:38:39 PST X-Mailer: YahooMailWebService/0.8.115.331698 Message-ID: <1323236319.91659.YahooMailNeo@web130206.mail.mud.yahoo.com> Date: Tue, 6 Dec 2011 21:38:39 -0800 (PST) From: Ammar To: "freebsd-wireless@freebsd.org" MIME-Version: 1.0 X-Mailman-Approved-At: Wed, 07 Dec 2011 12:14:04 +0000 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Question about hardware support X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ammar 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: Wed, 07 Dec 2011 05:51:31 -0000 Hello, Are there any FreeBSD drivers for Acer Aspire 3610, especially for the wireless driver? Thank you and best regards, Ammar From owner-freebsd-wireless@FreeBSD.ORG Wed Dec 7 12:15:37 2011 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 299951065670 for ; Wed, 7 Dec 2011 12:15:37 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id DB8D48FC14 for ; Wed, 7 Dec 2011 12:15:36 +0000 (UTC) Received: by vcbfk1 with SMTP id fk1so627666vcb.13 for ; Wed, 07 Dec 2011 04:15:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=pOauqof6FJNcwmoGS8J+ZXMY/QBuitQ1dMoygO8TMqY=; b=Sy0HQqQJsArRPIrpmxp/bilORVnBL0n4JOXUaWuf6BxTGWV5/3uPHyFB6k9AQyp9/X 5uHssokEqK6e7re8TkusG1mYivxbInMfm6OhWTKp61kYO7Gs5pdg7e/ReGyqWWTkHIkh shdyQk07E9m6yRcgqtaJ5Sw8jw/toizp4whhU= MIME-Version: 1.0 Received: by 10.220.39.10 with SMTP id d10mr2159899vce.0.1323260136207; Wed, 07 Dec 2011 04:15:36 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.52.109.10 with HTTP; Wed, 7 Dec 2011 04:15:36 -0800 (PST) In-Reply-To: <1323236319.91659.YahooMailNeo@web130206.mail.mud.yahoo.com> References: <1323236319.91659.YahooMailNeo@web130206.mail.mud.yahoo.com> Date: Wed, 7 Dec 2011 20:15:36 +0800 X-Google-Sender-Auth: uqZqL-bJY-MR2T6P6tSkmnwL-AU Message-ID: From: Adrian Chadd To: Ammar Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-wireless@freebsd.org" Subject: Re: Question about hardware support 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: Wed, 07 Dec 2011 12:15:37 -0000 Hi, Which Wireless NICs do they use? Adrian From owner-freebsd-wireless@FreeBSD.ORG Sat Dec 10 13:47:22 2011 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 78CD6106564A for ; Sat, 10 Dec 2011 13:47:22 +0000 (UTC) (envelope-from gperez@entel.upc.edu) Received: from dash.upc.es (dash.upc.es [147.83.2.50]) by mx1.freebsd.org (Postfix) with ESMTP id E18568FC16 for ; Sat, 10 Dec 2011 13:47:21 +0000 (UTC) Received: from ackerman2.upc.es (ackerman2.upc.es [147.83.2.244]) by dash.upc.es (8.14.1/8.13.1) with ESMTP id pBADlIfQ010061 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sat, 10 Dec 2011 14:47:19 +0100 Received: from [10.161.255.238] ([80.27.101.81]) (authenticated bits=0) by ackerman2.upc.es (8.14.4/8.14.4) with ESMTP id pBADlGov029191 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sat, 10 Dec 2011 14:47:18 +0100 References: <3d4d2d249836fafc6acd885693c02198@webmail.entel.upc.edu> <4ECFCDAB.1080407@entel.upc.edu> <4ED3B4D1.3020701@entel.upc.edu> <4EDA4BBA.6010203@entel.upc.edu> <4EDA609F.2080401@entel.upc.edu> <4EDB3A2B.4050503@entel.upc.edu> From: Gustau Perez Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii In-Reply-To: Message-Id: <47C81390-0D1A-4B05-83CF-106A2AB8D1E3@entel.upc.edu> Date: Sat, 10 Dec 2011 14:46:28 +0100 To: Adrian Chadd Mime-Version: 1.0 (1.0) X-Mailer: iPhone Mail (9A405) X-Scanned-By: MIMEDefang 2.70 on 147.83.2.244 X-Mail-Scanned: Criba 2.0 + Clamd X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (dash.upc.es [147.83.2.50]); Sat, 10 Dec 2011 14:47:19 +0100 (CET) Cc: "freebsd-wireless@freebsd.org" Subject: Re: Big delays between an AR5416 AP and its clients 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, 10 Dec 2011 13:47:22 -0000 Enviat des del meu iBrick El 04/12/2011, a les 11:22, Adrian Chadd va escriur= e: > Ok, to enable logging: >=20 > Firstly, let's just debug the non-beacon TX : >=20 > sysctl dev.ath.0.debug=3D0x3c000000 > wlandebug -i wlan0 +rate >=20 > Then send some pings. You'll get a _lot_ of debugging. Please capture > some debugging. :) > Point out which log entries correspond to increased latency. >=20 > (This is assuming it's a TX issue; it's possibly an RX issue too..) >=20 > Thanks, >=20 >=20 > Adrian Sorry for my lack of response, I've been away from a decent keyboard for a= while.=20 I'll test what you suggest and report back soon. Thanks, =20 Gus=