From owner-freebsd-wireless@FreeBSD.ORG Sun Sep 29 08:34:08 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9F5BE98 for ; Sun, 29 Sep 2013 08:34:08 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-we0-x22d.google.com (mail-we0-x22d.google.com [IPv6:2a00:1450:400c:c03::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3BB8C2C1C for ; Sun, 29 Sep 2013 08:34:08 +0000 (UTC) Received: by mail-we0-f173.google.com with SMTP id w62so4361884wes.32 for ; Sun, 29 Sep 2013 01:34:06 -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:message-id:subject :from:to:cc:content-type; bh=++h57qvt+6AQfpOUBXevMHzKMnpiXijMryXvRcwBWH0=; b=FvHxNM61L4CqBAxjZaViKfZyFSHwnJ4iuSePTkqtK8JVfwzb7LI9VEa/DkCmQHIYFE bLYXT0FPrt1wu0ssB6mKosxYZZL8/KyMCmewirXQz5ZL9pXQZDTkLca4w1lH5SXKnSIA 94cB00SV4oTYqKHFtuYDF/L3YTsDMfEwCEVzVoJXXMksfMeUoC6h8+TK4h69QqX2jFuk og9WMW6JR6TLRPaUizlsmWasEaj/Bj1Ny/H20Ub97Dl/d/GpIG5syFs1GI0i60LRDcgE 4QwiVlwFBCQD6omClI2GaYIiSRPzBFPY0pKz3tF28DUiv16N327rfkPKyeDl+eFa0QfV bZnQ== MIME-Version: 1.0 X-Received: by 10.194.23.73 with SMTP id k9mr13229548wjf.24.1380443646735; Sun, 29 Sep 2013 01:34:06 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.216.73.133 with HTTP; Sun, 29 Sep 2013 01:34:06 -0700 (PDT) In-Reply-To: <002701cebc6f$634c0040$29e400c0$@info> References: <002701cebc6f$634c0040$29e400c0$@info> Date: Sun, 29 Sep 2013 01:34:06 -0700 X-Google-Sender-Auth: 1Bs2w5Nt3zrJyY_2nJuruhlFdio Message-ID: Subject: Re: [IWN] Review From: Adrian Chadd To: Cedric GROSS Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 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, 29 Sep 2013 08:34:08 -0000 Cool, I'll review it now! -a On 28 September 2013 10:23, Cedric GROSS wrote: > Hello, > > > > I'm get some free time. So I setted up my github for split work. > > > > So on https://github.com/KreizIT/FreeBSD-IWN/ > > > > You will find 2 new branch : split_6 and split_7. > > > > Split_6 is iwn -HEAD with split 6 applied. Patch for that is also available > in this branch. > > Split_7 is iwn -HEAD with split 6 and new split 7 applied. > > > > Split_7 start "parameters task". So no massive change except that it's > manage NIC without BT. > > > > Regards > > Cedric > > _______________________________________________ > 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 > " > From owner-freebsd-wireless@FreeBSD.ORG Sun Sep 29 08:35:40 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 94C57182 for ; Sun, 29 Sep 2013 08:35:40 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3278F2C21 for ; Sun, 29 Sep 2013 08:35:40 +0000 (UTC) Received: by mail-wi0-f174.google.com with SMTP id hj3so2500301wib.1 for ; Sun, 29 Sep 2013 01:35:38 -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:message-id:subject :from:to:cc:content-type; bh=oDy91uNpKAvIHjsD/YxqP56MNM+PEOoA5P5lPiA54xQ=; b=yD0X/+cOPE3Ty+hl65vhppIkIMg5/krNjTfHTPSaB5NQuEk+pXWaCGZkMVKfbohylr ox8T4FJwMLcljTy5GCHEh7mJq9+yxG3XII1BlYdnmIUiBaY2JtxneTo84c1OjsqooVZ4 7FMWLkQgUckfIiocErvlsmGEuVrisKoKwOXnXVg+uScEsyUT8j8CSvFe5LQx94NnouE/ 4SKEe1kLE7eV77Oxoo3tB21F7FVYynj7pZllmxxcbwYEyT41Gl0vh2G/GptN9s4iSjWr Bfi6TIy1KYk8sQXFLIoO/2rBZCnct7t8UNem68iENK2JlxpW52fbeaB1XD7w8UyvqKye DHvQ== MIME-Version: 1.0 X-Received: by 10.180.9.45 with SMTP id w13mr9340385wia.0.1380443738461; Sun, 29 Sep 2013 01:35:38 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.216.73.133 with HTTP; Sun, 29 Sep 2013 01:35:38 -0700 (PDT) In-Reply-To: References: <002701cebc6f$634c0040$29e400c0$@info> Date: Sun, 29 Sep 2013 01:35:38 -0700 X-Google-Sender-Auth: fuaD32KGCIcc0XuvPpGKcz_8TOQ Message-ID: Subject: Re: [IWN] Review From: Adrian Chadd To: Cedric GROSS Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 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, 29 Sep 2013 08:35:40 -0000 .. is this diff (split_6) against the most recent -HEAD? There looks like there's some extra stuff in there that I committed recently (ie, the rate control change and deref/free) I'll go check it out in more depth soon. Thanks, -a On 29 September 2013 01:34, Adrian Chadd wrote: > Cool, I'll review it now! > > > -a > > > On 28 September 2013 10:23, Cedric GROSS wrote: > >> Hello, >> >> >> >> I'm get some free time. So I setted up my github for split work. >> >> >> >> So on https://github.com/KreizIT/FreeBSD-IWN/ >> >> >> >> You will find 2 new branch : split_6 and split_7. >> >> >> >> Split_6 is iwn -HEAD with split 6 applied. Patch for that is also >> available >> in this branch. >> >> Split_7 is iwn -HEAD with split 6 and new split 7 applied. >> >> >> >> Split_7 start "parameters task". So no massive change except that it's >> manage NIC without BT. >> >> >> >> Regards >> >> Cedric >> >> _______________________________________________ >> 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" >> > > From owner-freebsd-wireless@FreeBSD.ORG Sun Sep 29 11:38:57 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id BF0B919E for ; Sun, 29 Sep 2013 11:38:57 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wi0-x22c.google.com (mail-wi0-x22c.google.com [IPv6:2a00:1450:400c:c05::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5DD992307 for ; Sun, 29 Sep 2013 11:38:57 +0000 (UTC) Received: by mail-wi0-f172.google.com with SMTP id hn9so2593261wib.17 for ; Sun, 29 Sep 2013 04:38:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=3W1reGL1w+0iKWmM4HT3hYHFAMt5F8LpXCjiju4sl4I=; b=x1N/u424iNMCnf0OZhYD701OENuEdXsU7QyaqziQgCp4q4350fU43G24GfoSe0qsvk pTKLRr1PhzJgFw6ByUGipfva8+zXN/BxJi1nAUozjkWPSLXY6OYyWbdSMsL9J3O6Deyr UHM9NJhIos8hGkWUHKkewllXARESlN3/O9XOFLVWiKm8kdecqlrnCa6Boqu9j4ZtKBEC FHaDZk/hgHnPiRkBlaCT5ftHkjRtH/queFzwRaDVN7TnXmt8hosxYA4ffiZsIMQy9czP 4TkTzdDmleIYg0MHn2FnLv+KyoDABtvo1OiXsKja5C6VZLa5QPOBkXkhtMbUuZVv1qUm nTlg== MIME-Version: 1.0 X-Received: by 10.194.104.71 with SMTP id gc7mr96630wjb.45.1380454734632; Sun, 29 Sep 2013 04:38:54 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.216.73.133 with HTTP; Sun, 29 Sep 2013 04:38:54 -0700 (PDT) Date: Sun, 29 Sep 2013 04:38:54 -0700 X-Google-Sender-Auth: DhlMi5EBF173jPRCZ4mStRCBC5M Message-ID: Subject: [rfc] mips74k/ar9344 support From: Adrian Chadd To: "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 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, 29 Sep 2013 11:38:57 -0000 Hi! Here's an initial hacked up patch to get the AR9344 to mountroot> . (Which isn't true - it panics due to missing PHY setup on if_arge; I'll fix that up soon.) http://people.freebsd.org/~adrian/mips/20130929-mips74k-1.diff The specific changes: * add CPU_MIPS24KC and CPU_MIPS74KC * mips32r2 CPUs require an EHB as a hazard for things, rather than NOPs * mips74k cores have a different CCA (cache coherency attributes) than the default - I lifted this from the netbsd mips support. now, the ar71xx CPUs are all currently marked as CPU_MIPS4KC. I'll follow this up with a commit to change that. There may be things we can optimise in the CPU_MIPS24KC case. Warner and I have started talking about how to properly fix all of the hazard handling. We'll discuss that later. I'd like to commit this to -HEAD so people wishing to hack on mips74k platforms can do stuff. Does anyone have any issues with the above? Thanks, -adrian From owner-freebsd-wireless@FreeBSD.ORG Sun Sep 29 14:22:23 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 426EA2F1 for ; Sun, 29 Sep 2013 14:22:23 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wg0-x22c.google.com (mail-wg0-x22c.google.com [IPv6:2a00:1450:400c:c00::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D3725290A for ; Sun, 29 Sep 2013 14:22:22 +0000 (UTC) Received: by mail-wg0-f44.google.com with SMTP id b13so4434761wgh.11 for ; Sun, 29 Sep 2013 07:22:21 -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:message-id:subject :from:to:content-type; bh=XWZxYGekAAcO9t+qR3VV3M81XJ3/4+zz7a9TG8f2HCk=; b=tFlLntBChL/OVuwc4dRhawwWOlK6dKwD4wk4BVYc1GFVz3zUUWJKVyDZuYdsRuSXsB Qo47CpVmEBJhgxGZ3sqsv8AQX8k0PJjE62gzSaMDExvPieJPfgBUMPeFxlydxGp3EhMD IPQ+7G95XXsk+IKgwqELNLt9ZLYkHft8yriXaBzjzSVvc2V41N22h1UW1q4fot457RGG ctfgwln2w1Y2QvGo5ZWPFo/LHWVVDxsfyjuSfETncVWT0p28lXxfXJnLcwHJ7Zyntq++ JamNlOtKaQB/Ap10w+WFk21yNYGy/AlzDWeBUrTjBeXgWWr3ytQdIPwPFr9OXCnAD0Vi 2UBA== MIME-Version: 1.0 X-Received: by 10.194.10.193 with SMTP id k1mr49843wjb.50.1380464541068; Sun, 29 Sep 2013 07:22:21 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.216.73.133 with HTTP; Sun, 29 Sep 2013 07:22:21 -0700 (PDT) In-Reply-To: References: Date: Sun, 29 Sep 2013 07:22:21 -0700 X-Google-Sender-Auth: NiwvX_4HI5m0nrFWE_4Ov31kiqM Message-ID: Subject: Re: [rfc] mips74k/ar9344 support From: Adrian Chadd To: "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 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, 29 Sep 2013 14:22:23 -0000 .. and an update: http://people.freebsd.org/~adrian/mips/20130929-mips74k-2.diff -adrian On 29 September 2013 04:38, Adrian Chadd wrote: > Hi! > > Here's an initial hacked up patch to get the AR9344 to mountroot> . > > (Which isn't true - it panics due to missing PHY setup on if_arge; I'll > fix that up soon.) > > http://people.freebsd.org/~adrian/mips/20130929-mips74k-1.diff > > The specific changes: > > * add CPU_MIPS24KC and CPU_MIPS74KC > * mips32r2 CPUs require an EHB as a hazard for things, rather than NOPs > * mips74k cores have a different CCA (cache coherency attributes) than the > default - I lifted this from the netbsd mips support. > > now, the ar71xx CPUs are all currently marked as CPU_MIPS4KC. I'll follow > this up with a commit to change that. There may be things we can optimise > in the CPU_MIPS24KC case. > > Warner and I have started talking about how to properly fix all of the > hazard handling. We'll discuss that later. > > I'd like to commit this to -HEAD so people wishing to hack on mips74k > platforms can do stuff. Does anyone have any issues with the above? > > Thanks, > > > > -adrian > > From owner-freebsd-wireless@FreeBSD.ORG Mon Sep 30 02:35:09 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A283715D for ; Mon, 30 Sep 2013 02:35:09 +0000 (UTC) (envelope-from tx2023@gmail.com) Received: from mail-pa0-x231.google.com (mail-pa0-x231.google.com [IPv6:2607:f8b0:400e:c03::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 808A424A6 for ; Mon, 30 Sep 2013 02:35:09 +0000 (UTC) Received: by mail-pa0-f49.google.com with SMTP id ld10so5207652pab.36 for ; Sun, 29 Sep 2013 19:35:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=6BWRzsxSGDHANs/lst6T91F5klm2Re7Dky4syhqhzmA=; b=uXIoEc2PrfTxarKplcW1hiE6IzA1wXobZo8sgQN2pYmOJZEHPVvdaEko1tUeJFfjtR HpuICtw8jaJj1kjf76U09+B0giPuZ7Wh3IHzOYdNXppz8Tl23Van5FwLxYGUd1JoOP5v cs1BaiRTjKnAtKmajsyIkIVCLaSniJ9F+bdgXchuPDPGRxRGHR5zss2G4ujdCRZ/O9om Yo2TByJKXMDX6pq9RNgWLdqk5P1ySV22X4LT0KdBWzjJY1W3ve186MaEvpfKAmVMwbF2 yfQ1H7XtXVfWJrz82Q0S3mnQ6JW/4X3p8q3uMEIOWVEYiKcQeZhp0+CGdqOrafW2hdin 1IJg== MIME-Version: 1.0 X-Received: by 10.66.141.199 with SMTP id rq7mr25713582pab.9.1380508509159; Sun, 29 Sep 2013 19:35:09 -0700 (PDT) Sender: tx2023@gmail.com Received: by 10.68.13.226 with HTTP; Sun, 29 Sep 2013 19:35:09 -0700 (PDT) Date: Mon, 30 Sep 2013 10:35:09 +0800 X-Google-Sender-Auth: Rz6Kqw7-mufqV0I3Kos0eZAfQC4 Message-ID: Subject: Suggest improvement to ar5416_ani.c on adaptive noise immunity From: Winston h01i To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 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, 30 Sep 2013 02:35:09 -0000 I was reading the source code in the ar5416_ani.c file and I would like to suggest an improvement. http://svnweb.freebsd.org/base/projects/bmake/sys/dev/ath/ath_hal/ar5416/ar5416_ani.c?view=markup Code: --------- 966 params = aniState->params; 967 if (aniState->listenTime > 5*params->period) { 968 /* 969 * Check to see if need to lower immunity if 970 * 5 aniPeriods have passed 971 */ 972 updateMIBStats(ah, aniState); 973 if (aniState->ofdmPhyErrCount <= aniState->listenTime * 974 params->ofdmTrigLow/1000 && 975 aniState->cckPhyErrCount <= aniState->listenTime * 976 params->cckTrigLow/1000) 977 ar5416AniLowerImmunity(ah); 978 HALDEBUG(ah, HAL_DEBUG_ANI, "%s: lower immunity\n", 979 __func__); 980 ar5416AniRestart(ah, aniState); 981 } else if (aniState->listenTime > params->period) { --------- I think lines 977 to 979 should be grouped together by curly braces. The reason is that currently line 978 is outside of the "if" block starting in line 973. Link to Atheros HAL: Ambient Noise Immunity (ANI): https://wiki.freebsd.org/dev/ath_hal%284%29/AutomaticNoiseImmunity ************ http://forums.FreeBSD.org/showthread.php?t=42136 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From owner-freebsd-wireless@FreeBSD.ORG Mon Sep 30 05:32:28 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id EBEDA8F5 for ; Mon, 30 Sep 2013 05:32:28 +0000 (UTC) (envelope-from tx2023@gmail.com) Received: from mail-pb0-x236.google.com (mail-pb0-x236.google.com [IPv6:2607:f8b0:400e:c01::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C88712B35 for ; Mon, 30 Sep 2013 05:32:28 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id ro12so5082900pbb.41 for ; Sun, 29 Sep 2013 22:32:28 -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 :content-type; bh=vfPjsFrQthGGnzXu9PdlE9NGegsd1LQqwBarY7RCGp4=; b=K0J5HsxVRzpyumjxnV/sdpNqSgevzvb/ekI4FVfpsMpqdwaK9BpJ8R7siTgZclru03 6Pc/mRHUw6knxM1GS0pdVrDJwScs/HXt6BRyrKS05FrXk/HRuQ6COPQ4OUkgS1mfNwAO 2AV+iTBReKR5l2pEaCAMzI1jRKkgHpG6f3hV9dTY1PypjSbNihgwV07n+uTUGOv2FpU7 jlF6NUntDio1iQVYdJH9SilGuLmfHdWxrEapgUi0F9WYDzAN5gCmJDIhDjAdnM/gjAt1 sPPlzQXikB9egncOIqZ5ZQRJTf40sveyyfNgBrq/5Lm2y+B1gtBr7JEVo86knBdbRsKj LrFw== MIME-Version: 1.0 X-Received: by 10.68.33.34 with SMTP id o2mr21633455pbi.128.1380519148326; Sun, 29 Sep 2013 22:32:28 -0700 (PDT) Received: by 10.68.13.226 with HTTP; Sun, 29 Sep 2013 22:32:28 -0700 (PDT) In-Reply-To: References: Date: Mon, 30 Sep 2013 13:32:28 +0800 Message-ID: Subject: Fwd: Suggest improvement to ar5416_ani.c on adaptive noise immunity From: Winston To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 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, 30 Sep 2013 05:32:29 -0000 I was reading the source code in the ar5416_ani.c file and I would like to suggest an improvement. http://svnweb.freebsd.org/base/projects/bmake/sys/dev/ath/ath_hal/ar5416/ar5416_ani.c?view=markup Code: --------- 966 params = aniState->params; 967 if (aniState->listenTime > 5*params->period) { 968 /* 969 * Check to see if need to lower immunity if 970 * 5 aniPeriods have passed 971 */ 972 updateMIBStats(ah, aniState); 973 if (aniState->ofdmPhyErrCount <= aniState->listenTime * 974 params->ofdmTrigLow/1000 && 975 aniState->cckPhyErrCount <= aniState->listenTime * 976 params->cckTrigLow/1000) 977 ar5416AniLowerImmunity(ah); 978 HALDEBUG(ah, HAL_DEBUG_ANI, "%s: lower immunity\n", 979 __func__); 980 ar5416AniRestart(ah, aniState); 981 } else if (aniState->listenTime > params->period) { --------- I think lines 977 to 979 should be grouped together by curly braces. The reason is that currently line 978 is outside of the "if" block starting in line 973. Link to Atheros HAL: Ambient Noise Immunity (ANI): https://wiki.freebsd.org/dev/ath_hal%284%29/AutomaticNoiseImmunity ************ http://forums.FreeBSD.org/showthread.php?t=42136 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ w From owner-freebsd-wireless@FreeBSD.ORG Mon Sep 30 06:45:35 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id DB470EF1 for ; Mon, 30 Sep 2013 06:45:34 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wi0-x22a.google.com (mail-wi0-x22a.google.com [IPv6:2a00:1450:400c:c05::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 67EF12DCB for ; Mon, 30 Sep 2013 06:45:34 +0000 (UTC) Received: by mail-wi0-f170.google.com with SMTP id cb5so3199271wib.5 for ; Sun, 29 Sep 2013 23:45:32 -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:message-id:subject :from:to:cc:content-type; bh=YAkpIinuTxEtghlr6A1F8Ssf+yXXxuY/sZpUHqDdmSA=; b=rgGC+6FOuOIDTNR154JMHbxNK8GhUFnedqv0SguQXFxn88YHdkOxHG9w/yvd4gWNey p2lDMpT0AcOd37YsowIvAoBwE3J/U6CUkvwoCAmEwkzK7wJu2IyH1bL7ZBRPtjWsTd/g 5uNRBLb6n1yE9e6EYhU9PNjju0G+j4Gc9pURuQ6TeA6gh3ByBORVai14+Lz0pEapkPpx clrAs2nyc61YXCujjTFV5vgQsGiqlHQ6IwYw7yi42qLPanw8R4F9TQEXXte0XMSqRJ3D hPQFe6OPSeTI6U7pgpkqnOg0zxH2LKgqkUbJQPd4hrNwFF4vihMw4pLXB4KeqtuEDflZ f6Nw== MIME-Version: 1.0 X-Received: by 10.180.37.164 with SMTP id z4mr12539089wij.30.1380523532699; Sun, 29 Sep 2013 23:45:32 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.216.73.133 with HTTP; Sun, 29 Sep 2013 23:45:32 -0700 (PDT) In-Reply-To: References: Date: Sun, 29 Sep 2013 23:45:32 -0700 X-Google-Sender-Auth: mY08diP6bc1iJvMuCAaWtRZC_9Q Message-ID: Subject: Re: Suggest improvement to ar5416_ani.c on adaptive noise immunity From: Adrian Chadd To: Winston Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 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, 30 Sep 2013 06:45:35 -0000 good catch! -adrian On 29 September 2013 22:32, Winston wrote: > I was reading the source code in the ar5416_ani.c file and I would > like to suggest an improvement. > > > http://svnweb.freebsd.org/base/projects/bmake/sys/dev/ath/ath_hal/ar5416/ar5416_ani.c?view=markup > > > Code: > --------- > 966 params = aniState->params; > 967 if (aniState->listenTime > 5*params->period) { > 968 /* > 969 * Check to see if need to lower immunity if > 970 * 5 aniPeriods have passed > 971 */ > 972 updateMIBStats(ah, aniState); > 973 if (aniState->ofdmPhyErrCount <= aniState->listenTime * > 974 params->ofdmTrigLow/1000 && > 975 aniState->cckPhyErrCount <= aniState->listenTime * > 976 params->cckTrigLow/1000) > 977 ar5416AniLowerImmunity(ah); > 978 HALDEBUG(ah, HAL_DEBUG_ANI, "%s: lower immunity\n", > 979 __func__); > 980 ar5416AniRestart(ah, aniState); > 981 } else if (aniState->listenTime > params->period) { > --------- > I think lines 977 to 979 should be grouped together by curly braces. > > The reason is that currently line 978 is outside of the "if" block > starting in line 973. > > Link to Atheros HAL: Ambient Noise Immunity (ANI): > https://wiki.freebsd.org/dev/ath_hal%284%29/AutomaticNoiseImmunity > ************ > > http://forums.FreeBSD.org/showthread.php?t=42136 > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > w > _______________________________________________ > 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 > " > From owner-freebsd-wireless@FreeBSD.ORG Mon Sep 30 11:06:54 2013 Return-Path: Delivered-To: freebsd-wireless@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B40A1EF6 for ; Mon, 30 Sep 2013 11:06:54 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 937892C0B for ; Mon, 30 Sep 2013 11:06:54 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r8UB6sKa053661 for ; Mon, 30 Sep 2013 11:06:54 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r8UB6ssC053659 for freebsd-wireless@FreeBSD.org; Mon, 30 Sep 2013 11:06:54 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 30 Sep 2013 11:06:54 GMT Message-Id: <201309301106.r8UB6ssC053659@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 Subject: Current problem reports assigned to freebsd-wireless@FreeBSD.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 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, 30 Sep 2013 11:06:54 -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/181898 wireless [iwn] [patch] Centrino Advanced-N 6235 with latest iwn o kern/181694 wireless [iwn] [patch] Initialize hardware in iwn(4) resume cod o kern/181161 wireless [wl] config a old compaq wl-110 wireless card make ker o kern/181132 wireless [iwn] stream calculation is wrong for the Intel 4965 o kern/181100 wireless [bwi] Turning up bwi0 crashes / deadlocks the kernel o kern/180816 wireless [iwl] Intel Centrino Wireless-N 2200 not supported o kern/179847 wireless [ath] [patch] Update regdomain in ath drivers includin o kern/179709 wireless [ath] Atheros 5212 does not work: stuck beacon; resett o kern/179547 wireless [ath] Add AR9485 custom board fixes (CUS198) o kern/179482 wireless [ath] [patch] Fix AR9462 external LNA configuration o kern/179269 wireless [ath] [AR9285] RX antenna diversity is not functioning o kern/179232 wireless [ath] panic in ath o kern/178986 wireless [ath] Change mac address of ath(4) is not reflected wh o kern/178492 wireless [ath] ath0 (AR9287) panic o kern/178491 wireless [ath] ath0 (AR9287) stuck beacon o kern/178477 wireless [ath] missed beacon / soft reset in STA mode results i o kern/178470 wireless [panic][ath] bss vap can and does change o kern/178411 wireless [ral] [panic] FreeBSD kernel crash in rt2860 o kern/178379 wireless [net80211] [ath] WPA rekey on the STA side fails when o kern/178378 wireless [net80211] crypto state isn't reset during a reassocia o kern/178263 wireless [ath] review the use of ic_freq / ic_ieee / ic_flags / o kern/177847 wireless [ath] With TPC enabled, TX power values aren't clamped o kern/177846 wireless [ath] [net80211] net80211 TX power limit isn't correct o conf/177688 wireless WiFi regodmains information is inconsistent between "e o kern/177530 wireless [ath] ath driver isn't 32 bit int clean o kern/177465 wireless [iwn] 20%-100% packet loss with iwn driver o kern/177451 wireless [ieee80211] page fault in ieee80211_tx_mgt_timeout o kern/176238 wireless [ath] [patch] Correct buffer size calculation and simp o kern/176201 wireless [net80211] [patch] 11n station includes unrelated ht p o kern/176104 wireless [iwn] iwn0: iwn_intr: fatal firmware error o kern/175722 wireless [ath]lot of bad seriesx hwrate in kernel messages o kern/175446 wireless [ath] high volumes of PHY errors lead to BB/MAC hangs o kern/175227 wireless [ath] beacon timers aren't necessarily reprogrammed af o kern/175183 wireless [iwn] iwn(4) becomes unresponsive during initial confi o kern/175053 wireless [iwn] iwn firmware error on 9-stable with Ultimate-N 6 o kern/174891 wireless [ieee80211] struct ieee80211_node is freed during acti o kern/174722 wireless [wlan] can't use channel 12 and 13 (14) with my wifi i o kern/174661 wireless [wlan] lost alias on wlan interface o kern/174283 wireless [net80211] panics in ieee80211_ff_age() and ieee80211_ o kern/174276 wireless [ath] if_ath memory modified after free o kern/174273 wireless [net80211] taking down a net80211 node with active fas o kern/173917 wireless [iwn] wpa-supplicant issues on iwn o kern/173898 wireless [iwn] [patch] iwn(4) DOES support 6235 chip. o kern/173883 wireless [ath] ath0: unable to attach - pci issue? o kern/173711 wireless [ath] powerd kills ath on the Asus EeePC 1005HA o kern/173342 wireless PS-Poll isn't working o kern/173336 wireless [ath] Atheros card improper device poweroff handling o o kern/172955 wireless [ath] 11n does not work in adhoc mode o kern/172706 wireless [wpi] wpi0 fails to load firmware when using country o kern/172672 wireless [ubt] Bluetooth device recognised but not working o kern/172661 wireless hostapd(8) securing wireless adapter in HostAP mode is o kern/172338 wireless [ath] [net80211] CCMP IV transmit counters are not cor o kern/171598 wireless [ath] TP-Link TL-WN951N W-LAN PCI Adapter 300 MBit stu o kern/171235 wireless [ath] ath loses connection, system freezes on netif re o kern/170889 wireless [ath] ath driver uses some uninitilized memory o kern/170620 wireless [ath] LOR and deadlock when multiple vaps are used o kern/170573 wireless [iwi] Intel 2200BG iwi NIC hangs with need multicast c o kern/170513 wireless [ath] ath logs: ath_tx_aggr_comp_aggr: AR5416 bug: o kern/170433 wireless [ath] TX hang after a stuck beacon message with active o kern/170411 wireless [ath] Uninitialized variables in if_ath.c o kern/170397 wireless [ath] [patch] Uninitialized variables in ah_eeprom_928 o kern/170302 wireless [ath] 802.11n frames are not being transmitted with mu o kern/170281 wireless [ath] 802.11n locks up on aggregation setup (ampdutx) o kern/170098 wireless [ath] [net80211] VAPs (Virtual access points) with Ath o kern/170066 wireless [ral] ral(4) rt61pci Linksys freezes the machine as so o kern/169432 wireless [ath] BAR TX hang when aggregation session is reset du p kern/169362 wireless [ath] AR5416: radar pulse PHY errors sometimes include o kern/169336 wireless [ath] ANI isn't triggering in a busy/noisy environment o kern/169199 wireless [ath] Cannot set up static ip addresses for wireless w o kern/169084 wireless [ath] suspend/resume doesn't cause a rescan; the assoc o kern/168530 wireless [ath] Broken WEP probably o kern/168393 wireless AR9285: suspend/resume sometimes fails o kern/168170 wireless [net80211] ieee80211_send_bar() doesn't complete corre o kern/167870 wireless [ath] adhoc wifi client does not join an existing IBSS o kern/167834 wireless [ath] kickpcu; 'handled 0 packets' o kern/167828 wireless [iwn] iwn(4) doesn't recover automatically after firmw o kern/167798 wireless ifconfig(8): problem with "ifconfig list scan" command o kern/167491 wireless [ath] TID != hardware queue TID in ath_tx_aggr_comp_ag o kern/167113 wireless [ath] AR5210: "stuck" TX seems to be occuring, without o kern/167080 wireless [ath] channel switch on another VAP break channel setu o kern/166684 wireless [ath] [net80211] mgmtrate/mcastrate isn't updated base p kern/166642 wireless [ieee80211] [patch] in 802.11n mode for FreeBSD AP, ha o kern/166641 wireless [ieee80211] [patch] mbuf/cluster leak in AP mode in 80 p kern/166357 wireless [ath] 802.11n TX stall when the first frame in the BAW o kern/166286 wireless [net80211] [ath] initial switch to HT40 isn't causing p kern/166190 wireless [ath] TX hangs and frames stuck in TX queue o kern/166086 wireless [Patch][ath] Reflect state of rfkill switch in a sysct o kern/165969 wireless [ath] Slower performance in adhoc mode vs Client/AP mo o kern/165966 wireless [ath] ath0: device timeout on SMP machines due to race o kern/165895 wireless [ath] overly busy cabq can tie up all tx buffers o kern/165870 wireless [bwn] bwn driver does not attach on HP Pavilion dv9420 o kern/165866 wireless [ath] TX hangs, requiring a "scan" to properly reset t o kern/165849 wireless [ath] [hang] network ath driver freeze o kern/165595 wireless [ipw] ipw(4): Can't load firmare for ipw2200bg o kern/165543 wireless [ath] ath0 endless scanning of channels without connec o kern/165517 wireless [net80211] bgscan isn't triggered when invalid beacons o kern/165475 wireless [ath] operational mode change doesn't poke the underly o kern/165382 wireless [kernel] taskqueue_unblock doesn't unblock currently q o kern/165306 wireless [ath] race conditions between scanning and beacon time o kern/165220 wireless [ath] "ath_rx_tasklet: sc_inreset_cnt > 0; skipping" m o kern/165214 wireless [ieee80211] Kernel panic in ieee80211_output.c:2505 o kern/165212 wireless [ath] No WiFi on Acer Aspire One 751h (Atheros AR5BHB6 o kern/165149 wireless [ath] [net80211] Ping with data length more than iv_fr o kern/165146 wireless [net80211] Net802.11 Fragment number is assigned 1 (sh o kern/165060 wireless [ath] vap->iv_bss race conditions causing crashes insi o kern/165021 wireless [ath] ath device timeout during scan/attach, if wlan_c o kern/164721 wireless [ath] ath device timeouts o kern/164382 wireless [ath] crash when down/deleting a vap - inside ieee8021 o kern/164365 wireless [iwi] iwi0: UP/DOWN in o bin/164102 wireless hostapd not configured for 802.11n o kern/163759 wireless [ath] ath(4) "stops working" in hostap mode o kern/163724 wireless [mwl] [patch] NULL check before dereference o kern/163719 wireless [ath] ath interface do not receive multicast o kern/163689 wireless [ath] TX timeouts when sending probe/mgmt frames durin o kern/163574 wireless [net80211] overly-frequent HT occupancy changes o kern/163573 wireless [ath] hostap mode TX buffer hang o kern/163559 wireless [ath] kernel panic AH_DEBUG o kern/163318 wireless [ath] ath(4) stops working p kern/163312 wireless [panic] [ath driver] kernel panic: page fault with ath o kern/163237 wireless [ath] AR5416 as HostAP. Delays among clients when a cl o kern/163082 wireless [ath] ar9285 diversity fixes o kern/162648 wireless [ath] AR9227 ADC DC calibration failure o kern/162647 wireless [ath] 11n TX aggregation session / TX hang 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/153594 wireless [wlan] netif/devd race 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/146426 wireless [mwl] 802.11n rates not possible on mwl o kern/146425 wireless [mwl] mwl dropping all packets during and after high u 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 kern/144755 wireless [wlan] netif/devd race o bin/144109 wireless hostapd(8) uses the MAC of the wireless interface, but 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 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 kern/121061 wireless [ath] [panic] panic while ejecting ath(4)-adapter duri 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 178 problems total. From owner-freebsd-wireless@FreeBSD.ORG Mon Sep 30 13:10:24 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4031137C for ; Mon, 30 Sep 2013 13:10:24 +0000 (UTC) (envelope-from sbremal@hotmail.com) Received: from dub0-omc1-s32.dub0.hotmail.com (dub0-omc1-s32.dub0.hotmail.com [157.55.0.231]) by mx1.freebsd.org (Postfix) with ESMTP id DCC2E2498 for ; Mon, 30 Sep 2013 13:10:23 +0000 (UTC) Received: from DUB104-W39 ([157.55.0.237]) by dub0-omc1-s32.dub0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 30 Sep 2013 06:10:17 -0700 X-TMN: [Kx4hRlR8tKy9wbrrSyQSN5NfPaOfSk/R] X-Originating-Email: [sbremal@hotmail.com] Message-ID: From: To: "freebsd-wireless@freebsd.org" Subject: WLAN PCIe HW recommendation for 8.1 Date: Mon, 30 Sep 2013 13:10:17 +0000 Importance: Normal Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 30 Sep 2013 13:10:17.0674 (UTC) FILETIME=[68AADAA0:01CEBDDE] X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 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, 30 Sep 2013 13:10:24 -0000 Hello=0A= =0A= Would anyone recommend a PCIe WLAN card for 8.1? It is for a production mac= hine so stability is of prime importance.=0A= =0A= Honestly=2C a bit confused what HW to pick after going through 'Hardware Ma= trix' at 'https://wiki.freebsd.org/dev/ath_hal%284%29/HardwareSupport'.=0A= =0A= I do not want to upgrade to release 9 ... unless it is really necessary.=0A= =0A= =0A= Thanks=0A= Balazs = From owner-freebsd-wireless@FreeBSD.ORG Mon Sep 30 13:13:56 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C57943C8 for ; Mon, 30 Sep 2013 13:13:56 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-we0-x22a.google.com (mail-we0-x22a.google.com [IPv6:2a00:1450:400c:c03::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 626FD24D3 for ; Mon, 30 Sep 2013 13:13:56 +0000 (UTC) Received: by mail-we0-f170.google.com with SMTP id w62so5671658wes.29 for ; Mon, 30 Sep 2013 06:13:54 -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:message-id:subject :from:to:cc:content-type; bh=27MAoVaybfbGTWYBX4tzB+crmsBNwH20i0qNcwIQS5I=; b=zFh8jYGMX46jRshFlIM1WEPJXr9AyShFV7XeUYduuycJgDLZtQoXS91OekyRAR/s8N F/GB2pGfni7z4iI2nVYNVRxbSfgHY91vN/9AB6wPXq7+xhsEdZmIv3bhBXCxL/GW1Zrf SuyUYr4LqL7OFsej6g7Iy3eJOwexTiCh6xU0osVBJBfiYOjrs1wkJq2hAuy+0uIY7/zO RM2igoLur9Q5uoViC+ntRdvNEkq7VVg/LRL3rCI8d1uJ72xvyyFXzGCGZx3gTs65ixP5 yEur+TvVW28K9IXxNAfVsP0NvIqqW/VFsP2jWjzNPrk2yyL5mtL5c5ix+BDBpbvQoZ06 Q/og== MIME-Version: 1.0 X-Received: by 10.180.109.132 with SMTP id hs4mr13803350wib.46.1380546834770; Mon, 30 Sep 2013 06:13:54 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.216.73.133 with HTTP; Mon, 30 Sep 2013 06:13:54 -0700 (PDT) In-Reply-To: References: Date: Mon, 30 Sep 2013 06:13:54 -0700 X-Google-Sender-Auth: A4pPOGo7IoL8NhtUV2cxpN2T8sM Message-ID: Subject: Re: WLAN PCIe HW recommendation for 8.1 From: Adrian Chadd To: Abcd Efgh Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 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, 30 Sep 2013 13:13:56 -0000 Hi! The most stable PCIe WLAN NICs by far will be the 802.11abg Atheros devices. The 11n stuff became stable in 10.0. -adrian On 30 September 2013 06:10, wrote: > Hello > > Would anyone recommend a PCIe WLAN card for 8.1? It is for a production > machine so stability is of prime importance. > > Honestly, a bit confused what HW to pick after going through 'Hardware > Matrix' at 'https://wiki.freebsd.org/dev/ath_hal%284%29/HardwareSupport'. > > I do not want to upgrade to release 9 ... unless it is really necessary. > > > Thanks > Balazs > _______________________________________________ > 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 > " > From owner-freebsd-wireless@FreeBSD.ORG Mon Sep 30 13:30:17 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 918A77DB for ; Mon, 30 Sep 2013 13:30:17 +0000 (UTC) (envelope-from sbremal@hotmail.com) Received: from dub0-omc1-s9.dub0.hotmail.com (dub0-omc1-s9.dub0.hotmail.com [157.55.0.208]) by mx1.freebsd.org (Postfix) with ESMTP id 3986425F5 for ; Mon, 30 Sep 2013 13:30:16 +0000 (UTC) Received: from DUB104-W51 ([157.55.0.237]) by dub0-omc1-s9.dub0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 30 Sep 2013 06:29:08 -0700 X-TMN: [C5yBGa/6dKm+A1S11CElOpn4qTY5P0MD] X-Originating-Email: [sbremal@hotmail.com] Message-ID: From: To: "freebsd-wireless@freebsd.org" Subject: RE: WLAN PCIe HW recommendation for 8.1 Date: Mon, 30 Sep 2013 13:29:08 +0000 Importance: Normal In-Reply-To: References: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 30 Sep 2013 13:29:08.0072 (UTC) FILETIME=[0A6FE680:01CEBDE1] X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 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, 30 Sep 2013 13:30:17 -0000 Thanks=2C any particular HW that you would recommend? Do not mind if it is = not the fastest with the latest features though want 'zero' network outage.= =0A= =0A= I believe there were cards you plugged in and you were happy with. Which ca= rd has which chipset is not always obvious on the major shopping sites.=0A= =0A= =0A= Thanks=0A= Balazs=0A= =0A= ________________________________=0A= > Date: Mon=2C 30 Sep 2013 06:13:54 -0700 =0A= > Subject: Re: WLAN PCIe HW recommendation for 8.1 =0A= > From: adrian@freebsd.org =0A= > To: sbremal@hotmail.com =0A= > CC: freebsd-wireless@freebsd.org =0A= > =0A= > Hi! =0A= > =0A= > The most stable PCIe WLAN NICs by far will be the 802.11abg Atheros =0A= > devices. The 11n stuff became stable in 10.0. =0A= > =0A= > =0A= > -adrian =0A= > =0A= > =0A= > On 30 September 2013 06:10=2C =0A= > > wrote: =0A= > Hello =0A= > =0A= > Would anyone recommend a PCIe WLAN card for 8.1? It is for a production = =0A= > machine so stability is of prime importance. =0A= > =0A= > Honestly=2C a bit confused what HW to pick after going through 'Hardware = =0A= > Matrix' at =0A= > 'https://wiki.freebsd.org/dev/ath_hal%284%29/HardwareSupport'. =0A= > =0A= > I do not want to upgrade to release 9 ... unless it is really necessary. = =0A= > =0A= > =0A= > Thanks =0A= > Balazs =0A= > _______________________________________________ =0A= > freebsd-wireless@freebsd.org =0A= > mailing list =0A= > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless =0A= > To unsubscribe=2C send any mail to =0A= > "freebsd-wireless-unsubscribe@freebsd.org" =0A= > = From owner-freebsd-wireless@FreeBSD.ORG Mon Sep 30 13:40:12 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 19D219B6 for ; Mon, 30 Sep 2013 13:40:12 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 99A442701 for ; Mon, 30 Sep 2013 13:40:11 +0000 (UTC) Received: by mail-wi0-f174.google.com with SMTP id hj3so3852414wib.7 for ; Mon, 30 Sep 2013 06:40:09 -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:message-id:subject :from:to:cc:content-type; bh=ax8dikM5YoTNUhIQNmbnMuolJ49OY7OfHmvsd3311+w=; b=BFr+r4hkTYhkqCXqpWF1vrTHKeD9KVUgLq2u5cQQwjqyvfqD9UHg5KgdJgFvb+IKKT komLv60x00KpKXZbh/+WLi8aCkbKuvPc/IrW3Ww5MlcgfHjq9wsfUdDkn7KM05WAdcA9 h6CXUyjIki1tab6sjCm337P9G1iJ0LJ767ITpcihDQWiwRT7KchZeFq4Bm1shg3A1T6T Yb7fzS5+ZZBpEgud1x6YXY1K4EG4Fyw0yBqcYYICXVTPtGgciyUhRMbqdp95n0mzkUIs mAIDxPBGab4Jcnd+T0G3IfRbXpY+gV8TW11LD8dUsO1WqtdYTJDe0hS4Z2ny4TdrfXX1 Uj7g== MIME-Version: 1.0 X-Received: by 10.194.176.163 with SMTP id cj3mr17662062wjc.8.1380548409920; Mon, 30 Sep 2013 06:40:09 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.216.73.133 with HTTP; Mon, 30 Sep 2013 06:40:09 -0700 (PDT) In-Reply-To: References: Date: Mon, 30 Sep 2013 06:40:09 -0700 X-Google-Sender-Auth: hbr6HxlOOGXBiJfzwY7PaWZIPOY Message-ID: Subject: Re: WLAN PCIe HW recommendation for 8.1 From: Adrian Chadd To: Abcd Efgh Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 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, 30 Sep 2013 13:40:12 -0000 Hi, Anything that has an Atheros chip on it, is pcie and does 11abg is fine. 2315/2417/5414 should all be fine. -adrian On 30 September 2013 06:29, wrote: > Thanks, any particular HW that you would recommend? Do not mind if it is > not the fastest with the latest features though want 'zero' network outage. > > I believe there were cards you plugged in and you were happy with. Which > card has which chipset is not always obvious on the major shopping sites. > > > Thanks > Balazs > > ________________________________ > > Date: Mon, 30 Sep 2013 06:13:54 -0700 > > Subject: Re: WLAN PCIe HW recommendation for 8.1 > > From: adrian@freebsd.org > > To: sbremal@hotmail.com > > CC: freebsd-wireless@freebsd.org > > > > Hi! > > > > The most stable PCIe WLAN NICs by far will be the 802.11abg Atheros > > devices. The 11n stuff became stable in 10.0. > > > > > > -adrian > > > > > > On 30 September 2013 06:10, > > > wrote: > > Hello > > > > Would anyone recommend a PCIe WLAN card for 8.1? It is for a production > > machine so stability is of prime importance. > > > > Honestly, a bit confused what HW to pick after going through 'Hardware > > Matrix' at > > 'https://wiki.freebsd.org/dev/ath_hal%284%29/HardwareSupport'. > > > > I do not want to upgrade to release 9 ... unless it is really necessary. > > > > > > Thanks > > Balazs > > _______________________________________________ > > 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 freebsd-wireless-unsubscribe@freebsd.org>" > > > _______________________________________________ > 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 > " > From owner-freebsd-wireless@FreeBSD.ORG Mon Sep 30 14:47:37 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C1CAFB85; Mon, 30 Sep 2013 14:47:37 +0000 (UTC) (envelope-from cg@cgross.info) Received: from alpha.kreiz-it.fr (alpha.kreiz-it.fr [IPv6:2001:41d0:8:dda6::1]) by mx1.freebsd.org (Postfix) with ESMTP id 30DF82D01; Mon, 30 Sep 2013 14:47:37 +0000 (UTC) Received: from DirTech (lnr56-1-82-246-51-185.fbx.proxad.net [82.246.51.185]) by alpha.kreiz-it.fr (Postfix) with ESMTPSA id 4CC89FEE; Mon, 30 Sep 2013 16:47:28 +0200 (CEST) From: "Cedric GROSS" To: "'Adrian Chadd'" References: <002701cebc6f$634c0040$29e400c0$@info> In-Reply-To: Subject: RE: [IWN] Review Date: Mon, 30 Sep 2013 16:47:26 +0200 Message-ID: <003301cebdeb$fc941350$f5bc39f0$@info> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac687uT3I5+EBs2gRkWKf9q83SmjVgA/O/ag Content-Language: fr Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 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, 30 Sep 2013 14:47:37 -0000 Hello, =20 I forgot your lastest commit but it=92s done now. =20 So split_6 and split_7 are sync with most recent =96HEAD. =20 Cedric =20 De : adrian.chadd@gmail.com [mailto:adrian.chadd@gmail.com] De la part = de Adrian Chadd Envoy=E9 : dimanche 29 septembre 2013 10:36 =C0 : Cedric GROSS Cc : freebsd-wireless@freebsd.org Objet : Re: [IWN] Review =20 .. is this diff (split_6) against the most recent -HEAD? There looks = like there's some extra stuff in there that I committed recently (ie, the = rate control change and deref/free) =20 I'll go check it out in more depth soon. Thanks, =20 =20 -a =20 On 29 September 2013 01:34, Adrian Chadd wrote: Cool, I'll review it now! =20 =20 -a =20 On 28 September 2013 10:23, Cedric GROSS wrote: Hello, I'm get some free time. So I setted up my github for split work. So on https://github.com/KreizIT/FreeBSD-IWN/ You will find 2 new branch : split_6 and split_7. Split_6 is iwn -HEAD with split 6 applied. Patch for that is also = available in this branch. Split_7 is iwn -HEAD with split 6 and new split 7 applied. Split_7 start "parameters task". So no massive change except that it's manage NIC without BT. Regards Cedric _______________________________________________ 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" =20 =20