From owner-freebsd-wireless@FreeBSD.ORG Sun Sep 23 06:43:36 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EC3721065675 for ; Sun, 23 Sep 2012 06:43:35 +0000 (UTC) (envelope-from sven@hazejager.nl) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9F57F8FC0A for ; Sun, 23 Sep 2012 06:43:35 +0000 (UTC) Received: by vcbfw7 with SMTP id fw7so6757098vcb.13 for ; Sat, 22 Sep 2012 23:43:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=b6Bz2PbDNDFgfjVIbGjXxc+5tVbfzGciCk6siFJK3bg=; b=k5lg20yZKwjLwXDYxaDprJtEeoULwuO8NtAPb70RVfCTRxjCQ1epKfeqQWNufCdL9K gqiy2pa2/SLLUdf98ZqVlMJU4xqevja8yYzaZl9+xglAANetPC4ue47uRV36h1amvioQ u6bK/4FutbqSk7+iW6wGf5urUqtPcv+CinlNZILlX44uQa4/SyVfhfsoqwTGCVGqfjkO 6BUS/Wtt0cZfVgRTKbI4uoMwDtbT03bUbEndzxMSJbzEZoCU234NF/9bVIBj1PU7n2ek uhiXesEEoLXc19I3kQEX5q4/VyFO96PsVjviQT3I2wZ1QjMQDeCAbMgFfX2NWa1Lep8k Cl4w== MIME-Version: 1.0 Received: by 10.58.86.36 with SMTP id m4mr398575vez.14.1348382608856; Sat, 22 Sep 2012 23:43:28 -0700 (PDT) Received: by 10.220.141.82 with HTTP; Sat, 22 Sep 2012 23:43:28 -0700 (PDT) X-Originating-IP: [212.123.177.47] Date: Sun, 23 Sep 2012 08:43:28 +0200 Message-ID: From: Sven Hazejager To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQnv+wzNJqjxE0QJdHOdpBtmhvFDCRjRvIfv3OuB63Dr5UxMDrxJZtpyfP4oOaTmj5EuV2p7 Subject: Regression AR2413 from 9.1 to 10 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, 23 Sep 2012 06:43:36 -0000 All, I am in the process of upgrading my NanoBSD-ALIX kit from 802.11g to 802.11n. First step is to move from 9.1-PRERELEASE (100% stable) to 10-CURRENT with current hardware (AR2413). And alas, I am experiencing stalling wifi on all my clients: after about 30-60 seconds of being online, the client loses all connectivity (my Mac thinks it's still connected but nothing gets through anymore). *sigh*. I did not change my kernel config. MALLOC_PRODUCTION=Y etc. Where shall I start to debug this? All the ath* tools are already on my image so let's hack :-) Sven From owner-freebsd-wireless@FreeBSD.ORG Sun Sep 23 08:14:16 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 DA1C61065677 for ; Sun, 23 Sep 2012 08:14:15 +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 991448FC08 for ; Sun, 23 Sep 2012 08:14:15 +0000 (UTC) Received: by pbbrp8 with SMTP id rp8so1204698pbb.13 for ; Sun, 23 Sep 2012 01:14:14 -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=wUwyejyOdj0puna+8BjVyn8LpE8dD9U6LFiie2KD/bY=; b=B1lcY8mHD8548IN3b2PUQDCjMOZzmVRd6v1Bm+n2P68PEbNLet9BvCauc49RuN1RID Z6PGyu/YC+DKfMx5pbk079sOqMsLZeG28ZNwU+xwjDmxPC2mjaGf7ZgSUF2vrbX1QHeb 1xZDITGMtf3FKZOFRi1Tb7pc6JUYqfCj3vqknlXiqxaUROF1HwT/weQ/x1msogBpDA1V mqUGQBxqLgYizF/TySPDQv2G53BClZjqx6h+C2BzJ1kOhmk53Sw7+KhpXw5Is+a4wQOH Mi9I2poVAXUXVmuoG5zEc21ZxJp+bpWqSm5ec3Hw4RYokS09QnS1oNc6T8iMATh7WjM4 yJCg== MIME-Version: 1.0 Received: by 10.68.189.164 with SMTP id gj4mr28102717pbc.48.1348388054837; Sun, 23 Sep 2012 01:14:14 -0700 (PDT) Received: by 10.68.36.106 with HTTP; Sun, 23 Sep 2012 01:14:14 -0700 (PDT) Received: by 10.68.36.106 with HTTP; Sun, 23 Sep 2012 01:14:14 -0700 (PDT) In-Reply-To: References: Date: Sun, 23 Sep 2012 01:14:14 -0700 Message-ID: From: Adrian Chadd To: Sven Hazejager Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-wireless@freebsd.org Subject: Re: Regression AR2413 from 9.1 to 10 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, 23 Sep 2012 08:14:16 -0000 Thats an old pre 11n nic. That said, nothing should have broken. Are you able to try 10.0 from say, 6 months back and see if it works? Adrian On Sep 22, 2012 11:43 PM, "Sven Hazejager" wrote: > All, > > I am in the process of upgrading my NanoBSD-ALIX kit from 802.11g to > 802.11n. First step is to move from 9.1-PRERELEASE (100% stable) to > 10-CURRENT with current hardware (AR2413). And alas, I am experiencing > stalling wifi on all my clients: after about 30-60 seconds of being > online, the client loses all connectivity (my Mac thinks it's still > connected but nothing gets through anymore). *sigh*. I did not change > my kernel config. MALLOC_PRODUCTION=Y etc. Where shall I start to > debug this? All the ath* tools are already on my image so let's hack > :-) > > Sven > _______________________________________________ > 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 23 17:06:02 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7947F106566B for ; Sun, 23 Sep 2012 17:06:02 +0000 (UTC) (envelope-from sven@hazejager.nl) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 27D228FC16 for ; Sun, 23 Sep 2012 17:06:01 +0000 (UTC) Received: by vcbfw7 with SMTP id fw7so7059736vcb.13 for ; Sun, 23 Sep 2012 10:06:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=//K5IeRLPTTIG+OIVa84vuGFuIrqTB0GbvpW16nldVY=; b=ISictdT8iyytr9MQpDPj8oSMbZd3l5qwktXVeKR+bpnhb8yNoidhO2HoRcGwZtO12f BgPeZFSSktGeT4Yi1xisv0DNZvzemxMSxu/WLId+TlsZ0pC0WykJAO8yjitzmieMimqd vxh13tPds/7EPSCE0604POqh890I40nLGB+gKausnQSZMlQ+WhU18uFzkkB668ZuOf6d rcpWeBOvbl9Rup9+qZAxDuhjixCrWnW7adi4ojjl5aIXBgQGK+2lZLJ1u0ykUIOFpk6G Ex+9JtlAytIy6b2pdLrV0p7fx0hbLtEVa4Eu0kYqlOdpaqQrq2Uisn8cBZpg7beFHA7r cZpw== MIME-Version: 1.0 Received: by 10.52.24.103 with SMTP id t7mr5010633vdf.84.1348419961121; Sun, 23 Sep 2012 10:06:01 -0700 (PDT) Received: by 10.220.141.82 with HTTP; Sun, 23 Sep 2012 10:06:01 -0700 (PDT) X-Originating-IP: [212.123.177.47] In-Reply-To: References: Date: Sun, 23 Sep 2012 19:06:01 +0200 Message-ID: From: Sven Hazejager To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQkv5WYY7rkAuNacktAP5uwSPWFP2xowSyzbnb9yuTT1cBrVbUqpMIpWCVqrwzZJefezz8O1 Cc: freebsd-wireless@freebsd.org Subject: Re: Regression AR2413 from 9.1 to 10 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, 23 Sep 2012 17:06:02 -0000 Hi Adrian, I am unable to build any svn sources from around March and April due to some yacc/parse.y failure that I cannot fix within the time I have. Can I simply restore an older version of sys/modules/ath and sys/dev/ath into an up-to-date /usr/src? Thanks Sven On Sun, Sep 23, 2012 at 10:14 AM, Adrian Chadd wrote: > Are you able to try 10.0 from say, 6 months back and see if it works? From owner-freebsd-wireless@FreeBSD.ORG Sun Sep 23 17:11:50 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EDB2D106564A for ; Sun, 23 Sep 2012 17:11:49 +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 C18108FC14 for ; Sun, 23 Sep 2012 17:11:49 +0000 (UTC) Received: by pbbrp8 with SMTP id rp8so1649480pbb.13 for ; Sun, 23 Sep 2012 10:11:48 -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=9wqoriiStZmN+glVVoalXF2H/fk2lTWjhEZIq94O9Fs=; b=gxa/XQy2R8qj5IijzcwnJkLtBcUsNxQrxR/vMSmac4H47kSC+8fSPTqF+9GvkKJBv5 wluaXL2LmwMISUqtQpWzPeIzGNeE9CTe8K7f2H5JnKzOgvQJ/vL4GYwZM8PgueYiBZh5 m7ZVlilCRPsqpmZ60ReiyOJWSVo3Sf/h5sqnPh0vr64K4FV1eeK1qfpyWphVDEyoha3O /b7c9p0X4KoFHGjRaOVxwXVzJDWDUqFlvl8LNaD+yq20DmPAReNgdQdzEMIfnRQEAwAy 1lOb9tKqLAoRsQhQgDyYgCDGVzv/kdW3zJVxb2i52my7NIfVVCIt2RjqaSpG1uG4ibXz nnug== MIME-Version: 1.0 Received: by 10.68.189.164 with SMTP id gj4mr30648453pbc.48.1348420308109; Sun, 23 Sep 2012 10:11:48 -0700 (PDT) Received: by 10.68.36.106 with HTTP; Sun, 23 Sep 2012 10:11:48 -0700 (PDT) In-Reply-To: References: Date: Sun, 23 Sep 2012 10:11:48 -0700 Message-ID: From: Adrian Chadd To: Sven Hazejager Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org Subject: Re: Regression AR2413 from 9.1 to 10 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, 23 Sep 2012 17:11:50 -0000 On 23 September 2012 10:06, Sven Hazejager wrote: > Hi Adrian, > > I am unable to build any svn sources from around March and April due > to some yacc/parse.y failure that I cannot fix within the time I have. > > Can I simply restore an older version of sys/modules/ath and > sys/dev/ath into an up-to-date /usr/src? Well you can, but you have to likely hack on sys/conf/files to remove the source files I've added since then. Adrian From owner-freebsd-wireless@FreeBSD.ORG Sun Sep 23 17:39:08 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 D426E106566B for ; Sun, 23 Sep 2012 17:39:08 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [46.4.40.135]) by mx1.freebsd.org (Postfix) with ESMTP id 94A498FC16 for ; Sun, 23 Sep 2012 17:39:08 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:c56d:b4e7:bb34:8fd2]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id 80AA34AC2D for ; Sun, 23 Sep 2012 21:39:00 +0400 (MSK) Date: Sun, 23 Sep 2012 21:38:59 +0400 From: Lev Serebryakov X-Priority: 3 (Normal) Message-ID: <1139079498.20120923213859@serebryakov.spb.ru> To: freebsd-wireless@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: athratestats doesn't support `-a' option :) 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, 23 Sep 2012 17:39:08 -0000 Hello, Freebsd-wireless. root@gateway:/usr/home/lev # ~lev/athtools/athratestats -a athratestats: /usr/home/lev/athtools/athratestats: macaddress wasn't supplied and no -a given root@gateway:/usr/home/lev # -- // Black Lion AKA Lev Serebryakov From owner-freebsd-wireless@FreeBSD.ORG Sun Sep 23 18:02:29 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 CB60410656E4 for ; Sun, 23 Sep 2012 18:02:29 +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 9D06A8FC17 for ; Sun, 23 Sep 2012 18:02:29 +0000 (UTC) Received: by pbbrp8 with SMTP id rp8so1689233pbb.13 for ; Sun, 23 Sep 2012 11:02:29 -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=k0iqd4hCk2Xv95y+53YjRGkCGWqx4QWbuvABa8Fx3os=; b=UwWtuUyihjH6s+aygekurQMlyOmGb7wsy5P3TOlUTBpBmp6tXRAmzoGRQGPtaIR+61 JQfUKog05WRWqUVd4RZljFKZlu1+xkyRXD4qno1iwjik5KhMIakMGAzyRlHxlwWewp6s Ze+JTrubf/u2EzuN5fqN96C65nKZ7gjZVOptNFkozgUY4Sx+F/clnUF/vQoAd2+B2n4H 90mO0ZB0dCEr98ewUVCXQQR3cm1ePmOK6m9wcZqYDpL3WzoecyD6Pjgha87zcLIL8jtB arqZrQMb/pJMitibwx3ueYI9q0mAOqdzSdnJCTR75caxjFIag6tzCmlFuhAcTKWNP9rH uBAA== MIME-Version: 1.0 Received: by 10.66.88.197 with SMTP id bi5mr14819377pab.58.1348423349443; Sun, 23 Sep 2012 11:02:29 -0700 (PDT) Received: by 10.68.36.106 with HTTP; Sun, 23 Sep 2012 11:02:29 -0700 (PDT) In-Reply-To: References: Date: Sun, 23 Sep 2012 11:02:29 -0700 Message-ID: From: Adrian Chadd To: Sven Hazejager Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org Subject: Re: Regression AR2413 from 9.1 to 10 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, 23 Sep 2012 18:02:29 -0000 Looks like someone else is reporting a problem. I wonder if I broke beacon handling somehow.. Adrian From owner-freebsd-wireless@FreeBSD.ORG Sun Sep 23 18:17:02 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 BF556106564A for ; Sun, 23 Sep 2012 18:17:02 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id 5BF388FC12 for ; Sun, 23 Sep 2012 18:17:02 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:c56d:b4e7:bb34:8fd2]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id 3BE004AC2D for ; Sun, 23 Sep 2012 22:17:01 +0400 (MSK) Date: Sun, 23 Sep 2012 22:16:59 +0400 From: Lev Serebryakov X-Priority: 3 (Normal) Message-ID: <374430363.20120923221659@serebryakov.spb.ru> To: freebsd-wireless@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: New ath code on AP: strange client behavioir 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, 23 Sep 2012 18:17:02 -0000 Hello, Freebsd-wireless. I've build new image for my router (r240742), and now traffic stuc shortly after client association. After manual re-assotiation (diconnect/connect cycle) traffic stuck after several packets (2-3MiB of traffic) again. According to tcpdump on AP, it sees some traffic from client, and send something back, but client could not resolve any name, etc... Even more, it looks like, tcpdump sees last fiew packets from client multiple times, because at moment when client could not do anything, tcpdump SOMETIMES shows latest MCAST UDP traffic from client (Microsoft network) over and over again! AP is AR9220, 802.11gn mode. Client is Intel Advanced-N, but in 802.11g only mode. -- // Black Lion AKA Lev Serebryakov From owner-freebsd-wireless@FreeBSD.ORG Sun Sep 23 18:17:17 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 31A06106564A for ; Sun, 23 Sep 2012 18:17:17 +0000 (UTC) (envelope-from bpurgar@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id F01388FC15 for ; Sun, 23 Sep 2012 18:17:16 +0000 (UTC) Received: by ieak10 with SMTP id k10so8685272iea.13 for ; Sun, 23 Sep 2012 11:17:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=6gTfsqMygrrhOmj9eQsyJPCljXRUF3ySuDFnhfhwXEY=; b=cr65sRlrZ6AqJKIQmMHwEUeiBX5sj0CopzNuPgCu5iubRaTTaacGpjo5h924m8ka/9 Y8DO/ZU7Y+p0E0gBb+vMBGAA3VpFI3LbXg9wdovbBAtz6vEUdmRhwJTsvBpuQuxXbpQU qnzd1hPpfr7GT9uCVJV4Ru8i0TEHFAEjX5uH7emF5wnLpyeH7RvAEx5GkOdmItMfd7J4 XxBfHHFfhAgolyDPJRhwE3WboOyQiZeWDkTyYDfCtHPYvwzlal48GnecsV7cO736z0Xk b+9UiuU1Yy0WsnZHpq6buqI493Wb2JmPYNOja76RvY2JdLJaev8iTM3eA/0iHlIR2zu/ oSsQ== MIME-Version: 1.0 Received: by 10.50.158.201 with SMTP id ww9mr3503562igb.22.1348424236359; Sun, 23 Sep 2012 11:17:16 -0700 (PDT) Received: by 10.64.70.39 with HTTP; Sun, 23 Sep 2012 11:17:16 -0700 (PDT) Date: Sun, 23 Sep 2012 20:17:16 +0200 Message-ID: From: Berislav Purgar To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: broken TX in HEAD (AR5212) 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, 23 Sep 2012 18:17:17 -0000 Hi .. i have updated to latest -HEAD and found that afters some time or under havy traffic load card stop to trasmit frames... i roll back to ath rev r240677 which works OK .. Beri From owner-freebsd-wireless@FreeBSD.ORG Sun Sep 23 18:21:22 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 2A2E8106564A; Sun, 23 Sep 2012 18:21:22 +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 ED54E8FC08; Sun, 23 Sep 2012 18:21:21 +0000 (UTC) Received: by pbbrp8 with SMTP id rp8so1704216pbb.13 for ; Sun, 23 Sep 2012 11:21: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 :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=/45TMVxPoYpqUiA1E3bMHAVCEvrgtlgr5/JFWV2v15s=; b=PbeV0EgIGEQCHtixv1IvPpWvyAYRuZjZEKAztUDHbedi+YjzUeEFocFniZ0ul3r46d vgEEpzv11RyJgEhAcl/BrRSZ6Wn9q2FNZuNj8mwO8BkMEzGA5xDpCN6UB0cqx3aFHl+5 ENwv7aH4+0hVP2OfNjvBhtLPgUqZNQLARBhz+UNdy99059jQtg0FVTlIwJKaOMbUznwD hTITV3UIxSRcEKTftvzT9a8s284OZbgcIlmYUa9F6GUSW5RP+8s0oG25E3IsvwP24p7O LMZg044i2NXYiUZ8z5m73iyUoeDAvrLI60bL9871zp6/mDKWqx/2ytnFlGWtI4i8Py4o f1SQ== MIME-Version: 1.0 Received: by 10.68.129.131 with SMTP id nw3mr31075355pbb.43.1348424481310; Sun, 23 Sep 2012 11:21:21 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.36.106 with HTTP; Sun, 23 Sep 2012 11:21:21 -0700 (PDT) In-Reply-To: <374430363.20120923221659@serebryakov.spb.ru> References: <374430363.20120923221659@serebryakov.spb.ru> Date: Sun, 23 Sep 2012 11:21:21 -0700 X-Google-Sender-Auth: DoJVY7xSYQNBOARam90FGRv64Pc 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 on AP: strange client behavioir 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, 23 Sep 2012 18:21:22 -0000 On 23 September 2012 11:16, Lev Serebryakov wrote: > Hello, Freebsd-wireless. > > I've build new image for my router (r240742), and now traffic stuc > shortly after client association. > > After manual re-assotiation (diconnect/connect cycle) traffic stuck > after several packets (2-3MiB of traffic) again. > > According to tcpdump on AP, it sees some traffic from client, and > send something back, but client could not resolve any name, etc... Ok ok I've broken something. I'm currently tracking down one bug (which may just turn out to be a hardware quirk..) so I'd really appreciate it if you all could work together to isolate which commit(s) broke things. Thanks so very much and I'm sorry I've broken things! Adrian From owner-freebsd-wireless@FreeBSD.ORG Sun Sep 23 18:22:11 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 B9748106564A; Sun, 23 Sep 2012 18:22:11 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id 87AA78FC0C; Sun, 23 Sep 2012 18:22:11 +0000 (UTC) Received: by padbi1 with SMTP id bi1so1076491pad.13 for ; Sun, 23 Sep 2012 11:22:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=7p/LMnxOPswhTTyJene7NdXnS8XdzqCJJLVzEe+S6dU=; b=sFmh47/IEWKjrHeBts2ZNxPdLcnzjonOl1Eaz/f9WoqulLbSlbOqyR1WYVcUx6YnuS fFgovJH88e8WNHCe27aqMyLqoLH9wGSQQwv61NaHdRR4velmPypn4jX6KGZduDdWVBJ3 GQXvPnizL23XQKMiu6wTggqFTXPW4nb4E8fvpfDqD7nagwnvUE7qGezwuN3XJn13gGbS 8yCoPJ5NBqY/JS/yp4Ap0o0I/O3PkOZaWQE2XAWQPGuZTP4xYAfATh5Xg2RHdowQ5Ksh 1g0z895RTDUcycpWHYIMyMLMBwyhFKl2g99nr3LQRDXbeoJ/WwJTlOkguNyYXyRTLA8s jW/w== MIME-Version: 1.0 Received: by 10.66.75.232 with SMTP id f8mr27261943paw.59.1348424531268; Sun, 23 Sep 2012 11:22:11 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.36.106 with HTTP; Sun, 23 Sep 2012 11:22:11 -0700 (PDT) In-Reply-To: References: Date: Sun, 23 Sep 2012 11:22:11 -0700 X-Google-Sender-Auth: Zy7hZRIHaTzWRqCQJrQQOzitthM Message-ID: From: Adrian Chadd To: Berislav Purgar , Lev Serebryakov Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org Subject: Re: broken TX in HEAD (AR5212) 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, 23 Sep 2012 18:22:11 -0000 On 23 September 2012 11:17, Berislav Purgar wrote: > Hi .. > > i have updated to latest -HEAD and found that afters some time or under > havy traffic load card stop to trasmit frames... i roll back to ath > rev r240677 which works OK .. Lev, can you try r240677 and test? I'd like to establish whether that commit is stable for you (and others.) Thanks, Adrian From owner-freebsd-wireless@FreeBSD.ORG Sun Sep 23 18:27:44 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 98F04106564A; Sun, 23 Sep 2012 18:27:44 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [46.4.40.135]) by mx1.freebsd.org (Postfix) with ESMTP id 53C348FC0C; Sun, 23 Sep 2012 18:27:43 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:c56d:b4e7:bb34:8fd2]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id 01EF24AC31; Sun, 23 Sep 2012 22:27:42 +0400 (MSK) Date: Sun, 23 Sep 2012 22:27:41 +0400 From: Lev Serebryakov X-Priority: 3 (Normal) Message-ID: <552119450.20120923222741@serebryakov.spb.ru> To: Adrian Chadd In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Cc: freebsd-wireless@freebsd.org Subject: Re: broken TX in HEAD (AR5212) 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, 23 Sep 2012 18:27:44 -0000 Hello, Adrian. You wrote 23 =F1=E5=ED=F2=FF=E1=F0=FF 2012 =E3., 22:22:11: AC> Lev, can you try r240677 and test? I've rolled back to my previous build, 240324, but I'm building 240677 right now (it takes about hour :( ) --=20 // Black Lion AKA Lev Serebryakov From owner-freebsd-wireless@FreeBSD.ORG Sun Sep 23 19:52:15 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A716E106566C; Sun, 23 Sep 2012 19:52:15 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [46.4.40.135]) by mx1.freebsd.org (Postfix) with ESMTP id 6467B8FC15; Sun, 23 Sep 2012 19:52:15 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:c56d:b4e7:bb34:8fd2]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id ADCB34AC2D; Sun, 23 Sep 2012 23:52:13 +0400 (MSK) Date: Sun, 23 Sep 2012 23:52:12 +0400 From: Lev Serebryakov X-Priority: 3 (Normal) Message-ID: <1772837970.20120923235212@serebryakov.spb.ru> To: Adrian Chadd In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Cc: freebsd-wireless@freebsd.org Subject: Re: broken TX in HEAD (AR5212) 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, 23 Sep 2012 19:52:15 -0000 Hello, Adrian. You wrote 23 =F1=E5=ED=F2=FF=E1=F0=FF 2012 =E3., 22:22:11: AC> Lev, can you try r240677 and test? AC> I'd like to establish whether that commit is stable for you (and others= .) Yep, it passes smoke test -- copying of 1GiB over WiFi. --=20 // Black Lion AKA Lev Serebryakov From owner-freebsd-wireless@FreeBSD.ORG Sun Sep 23 19:54:20 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1071D106568A; Sun, 23 Sep 2012 19:54:20 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id D201F8FC19; Sun, 23 Sep 2012 19:54:19 +0000 (UTC) Received: by pbbrp8 with SMTP id rp8so1774258pbb.13 for ; Sun, 23 Sep 2012 12:54:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=B/U5+qk6DM97bdt5J9bq7xTMXWDF6D1HJG1GXAZeolA=; b=eUmuvzh2cquL/AAdeDzeMmXyz2swvhrAhQ7KuOD+3XSHkpYu7Y6W80p+wUgV4vCJh6 HsToyC1R3Ou03cy4zvoqmr4G6Br2+Rm4NxqP27EVhRabzj33Beyd32sgKtx75/sQv5+W 7F6k8lKiIa4d4/M/GG+0jS4OQQctrLvQHPOyrzX9TmkGo5YBdzZNSaZ1mJnjqDkngHjh 1Ea3uLOPCF+joZPvUaZ0JZLySW5VJI1PQkI/wtJ8Y8mfWk7glhjIkK3GP4zNmBXC+wLE 4we/Em7OorAHXHBQ1m15n4Jc3+ovDUEMPmOSLmsooD9LoeerKb+iuxv7DCL1R3PrFpd5 27nA== MIME-Version: 1.0 Received: by 10.66.74.196 with SMTP id w4mr27604373pav.32.1348430059341; Sun, 23 Sep 2012 12:54:19 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.36.106 with HTTP; Sun, 23 Sep 2012 12:54:19 -0700 (PDT) In-Reply-To: <1772837970.20120923235212@serebryakov.spb.ru> References: <1772837970.20120923235212@serebryakov.spb.ru> Date: Sun, 23 Sep 2012 12:54:19 -0700 X-Google-Sender-Auth: TGREnrja-g9S_wM1tMyjFhJlwFc Message-ID: From: Adrian Chadd To: Lev Serebryakov Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org Subject: Re: broken TX in HEAD (AR5212) 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, 23 Sep 2012 19:54:20 -0000 On 23 September 2012 12:52, Lev Serebryakov wrote: > AC> Lev, can you try r240677 and test? > AC> I'd like to establish whether that commit is stable for you (and others.) > Yep, it passes smoke test -- copying of 1GiB over WiFi. Ok, can you work with Berislav to figure out where I broke things? :) Adrian From owner-freebsd-wireless@FreeBSD.ORG Sun Sep 23 20:02:36 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EE559106566B; Sun, 23 Sep 2012 20:02:35 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id 866DB8FC0C; Sun, 23 Sep 2012 20:02:35 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:c56d:b4e7:bb34:8fd2]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id 2A4764AC2D; Mon, 24 Sep 2012 00:02:34 +0400 (MSK) Date: Mon, 24 Sep 2012 00:02:32 +0400 From: Lev Serebryakov X-Priority: 3 (Normal) Message-ID: <1316862759.20120924000232@serebryakov.spb.ru> To: Adrian Chadd In-Reply-To: References: <1772837970.20120923235212@serebryakov.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Cc: freebsd-wireless@freebsd.org Subject: Re: broken TX in HEAD (AR5212) 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, 23 Sep 2012 20:02:36 -0000 Hello, Adrian. You wrote 23 =F1=E5=ED=F2=FF=E1=F0=FF 2012 =E3., 23:54:19: >> AC> Lev, can you try r240677 and test? >> AC> I'd like to establish whether that commit is stable for you (and oth= ers.) >> Yep, it passes smoke test -- copying of 1GiB over WiFi. AC> Ok, can you work with Berislav to figure out where I broke things? :) It looks like here are four commits from you in this time period: # svn log -r 240677:HEAD sys | grep "| adrian |" r240677 | adrian | 2012-09-19 00:33:04 +0400 (Wed, 19 Sep 2012) | 14 lines r240721 | adrian | 2012-09-20 07:03:01 +0400 (Thu, 20 Sep 2012) | 8 lines r240722 | adrian | 2012-09-20 07:04:19 +0400 (Thu, 20 Sep 2012) | 2 lines r240724 | adrian | 2012-09-20 07:13:20 +0400 (Thu, 20 Sep 2012) | 32 lines # It is not too hard to try all of them, as 240677 is known to work. --=20 // Black Lion AKA Lev Serebryakov From owner-freebsd-wireless@FreeBSD.ORG Sun Sep 23 20:15:57 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 39CC71065676; Sun, 23 Sep 2012 20:15:57 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0532D8FC0A; Sun, 23 Sep 2012 20:15:56 +0000 (UTC) Received: by padbi1 with SMTP id bi1so1099118pad.13 for ; Sun, 23 Sep 2012 13:15:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=T0HcWI9i0Looc7KaE56ilUFUlvRiPm+P+o1NyMoxmmA=; b=fZ7SseVmrHYPAaHB5WoPrb855mN8aDEzkD7rSgtOkOo0hjtfhExa69WdVHOnH0tkY6 zkQxFYVRP88TKYRS8z1ZqT+jHM52Zt9SRNWlEnV7Aw+uMaIK+B3kI9htVgWMWJ397EfX 3w6NcucOx9cJy4GdVRlxCcAussgZKLsqSAN4qlxNH/SwAlAvl9MJmZlDppJqpdaXht99 JM+L6ZMGgnmzwAEnA1oWxhV6kd+onNC/zO46CAzm1iYYyeVuWx0rOqSnW4T4VRglX/BK Zkery9Pndzp56CpqFU6vutYyuHy7v0ABXKWBaNY1o5+hxAlsMCrsywuUCVvC2cC4lGcu s6Pg== MIME-Version: 1.0 Received: by 10.68.204.169 with SMTP id kz9mr31448831pbc.39.1348431356397; Sun, 23 Sep 2012 13:15:56 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.36.106 with HTTP; Sun, 23 Sep 2012 13:15:56 -0700 (PDT) In-Reply-To: <1316862759.20120924000232@serebryakov.spb.ru> References: <1772837970.20120923235212@serebryakov.spb.ru> <1316862759.20120924000232@serebryakov.spb.ru> Date: Sun, 23 Sep 2012 13:15:56 -0700 X-Google-Sender-Auth: Ppgaal_L-UFnBchmsCyUjtzUyMc Message-ID: From: Adrian Chadd To: Lev Serebryakov Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org Subject: Re: broken TX in HEAD (AR5212) 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, 23 Sep 2012 20:15:57 -0000 On 23 September 2012 13:02, Lev Serebryakov wrote: > # svn log -r 240677:HEAD sys | grep "| adrian |" > r240677 | adrian | 2012-09-19 00:33:04 +0400 (Wed, 19 Sep 2012) | 14 lines > r240721 | adrian | 2012-09-20 07:03:01 +0400 (Thu, 20 Sep 2012) | 8 lines > r240722 | adrian | 2012-09-20 07:04:19 +0400 (Thu, 20 Sep 2012) | 2 lines > r240724 | adrian | 2012-09-20 07:13:20 +0400 (Thu, 20 Sep 2012) | 32 lines > # > > It is not too hard to try all of them, as 240677 is known to work. Sweet, thanks! Adrian From owner-freebsd-wireless@FreeBSD.ORG Sun Sep 23 22:32:47 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D11A0106566B for ; Sun, 23 Sep 2012 22:32:47 +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 A44E38FC0C for ; Sun, 23 Sep 2012 22:32:47 +0000 (UTC) Received: by pbbrp8 with SMTP id rp8so1891102pbb.13 for ; Sun, 23 Sep 2012 15:32:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=fWHRiEO+9w3no8tYmGJaQDirYadXHMh5uMPKn0u3vkg=; b=mk3MuA6a4xmjxyuVxdJWDi1TIYvlujsgt2tXOuIKSDvA8WiNgCN8MrrhYKbAR9eZci VKxK/+3MzdjCHZcs7MuzJuYQpVpBNOPmi/rBsFFgPwSXqI3S7mSr/sIjMI2YNFGKwKyi b7J7Pas6Fk+tFvqcUiibZpQk0icIMibViR39LwfDzsbpEOeJBXx9jmMCjNbp2FMljp0f vJSF6PQXgOPaXy1bDUnOacyAhgWYxzyObeohwMxnmCAIAfHtfU3Reg8Lhb1FdSaey8+a ohjntlX202kjQKM2LVEKd+8XV48+udxumVZbun/wbY3sdQPJg43vCV7JLqxmPYTn4KUJ D8PQ== MIME-Version: 1.0 Received: by 10.68.204.169 with SMTP id kz9mr31938973pbc.39.1348439566794; Sun, 23 Sep 2012 15:32:46 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.36.106 with HTTP; Sun, 23 Sep 2012 15:32:46 -0700 (PDT) In-Reply-To: References: Date: Sun, 23 Sep 2012 15:32:46 -0700 X-Google-Sender-Auth: mEjNYzpvipsTt6sG5x9wHIUFt9k Message-ID: From: Adrian Chadd To: Berislav Purgar Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org Subject: Re: broken TX in HEAD (AR5212) 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, 23 Sep 2012 22:32:47 -0000 Hiya, Ok. Please keep me posted. I've found some annoying behaviours this weekend. * The rx proc tasklet gets called slightly too often- if an RX interrupt comes in whilst ath_rx_proc is running, the kernel will preempt that thread, run ath_intr(), which will reschedule ath_rx_proc to run. The next time it runs (which will be immediatley after the previous one finishes), it'll discover there's nothing left in the RX queue. That's not too scary; just slightly wasteful. But the annoying one: * I'm getting TXEOL interrupts appearing (which is by design, so that's OK) - but then when the descriptor is checked, the first descriptor in the list shows up as HAL_EINPROGRESS - and sure enough, the contents of that descriptor are not yet initialised. Now on my MIPS boards the descriptors are in KSEG1 - which is supposed to be unmapped, uncached memory. A subsequent TXEOL (from another descriptor being pushed into the queue) or TXOK (from that descriptor completing TX successfully) will kick the queue along. Now I don't _think_ this is the core problem. I thought it was a problem before but it's very likely just something that I've noticed going slightly "odd" when I began digging into it. (Yes, I may have spent a chunk of yesterday chasing a red herring. Sigh.) What actually does happen is that hostapd actually boots my station off because it fails to re-synchronise the group key. When hostapd decides its time, it regenerates a group key and pushes it out to each STA. It's done STA-at-a-time - ie, the STA has to ACK the new group key. I'm seeing hostapd not "see" an ACK and it's thus getting angry and leaving. I'm just adding some debugging code to my tree now to see if I can pinpoint what's going on - whether the frame is going out, whether it's being successfully transmitted, whether the other end hears it, whether the receive path is working .. heck, since it's all done via raw BPF sockets, it may be some BPF related hilarity. :( Adrian From owner-freebsd-wireless@FreeBSD.ORG Mon Sep 24 00:06:06 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C1633106566B; Mon, 24 Sep 2012 00:06:06 +0000 (UTC) (envelope-from bpurgar@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id 68C2E8FC0C; Mon, 24 Sep 2012 00:06:06 +0000 (UTC) Received: by ieak10 with SMTP id k10so9185714iea.13 for ; Sun, 23 Sep 2012 17:06: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=5/isJHHdj5Nt/P9EGd99ZRN2jY20L0GswEvllus3fd8=; b=eR1QFBZvM2R/9lUcgFbqYEe6Po7som/D/6GymGPXCQ/6hVOMZ6TBc/8DKwoG+y19FW 32QvjpDvkJfF80EwbJWCXfpJhPNR/D/LVpELu/SXlLtht6GBwr/TCdes0LGOmgo88gk+ uoTtTmZ+NPWevjCVUakKhiIS7Ms+P+LeAfBhbKffgUTgoQ++HJX4Fw+xvn4VFJ33WMJ5 z4ehsbU+oUFS3LMMjkZi16TL3zZ8Gjk90wUYikYyubd/B1yOgpqcI5+YGxRESQ0OPBCO ihoLTw06IRpXoCF/goJ0Lqj7zaRnkMzqyUOR4ljxkTIxb9Stxic8JzYTivsyI1RCdNrs kFRQ== MIME-Version: 1.0 Received: by 10.50.180.225 with SMTP id dr1mr3902251igc.6.1348445165608; Sun, 23 Sep 2012 17:06:05 -0700 (PDT) Received: by 10.64.70.39 with HTTP; Sun, 23 Sep 2012 17:06:05 -0700 (PDT) In-Reply-To: <1316862759.20120924000232@serebryakov.spb.ru> References: <1772837970.20120923235212@serebryakov.spb.ru> <1316862759.20120924000232@serebryakov.spb.ru> Date: Mon, 24 Sep 2012 02:06:05 +0200 Message-ID: From: Berislav Purgar To: Lev Serebryakov Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-wireless@freebsd.org Subject: Re: broken TX in HEAD (AR5212) 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, 24 Sep 2012 00:06:06 -0000 Hi i have tested r240722 which is OK .. so problem is in r240724. (for me only with AR5212 card .. 11N cards 9220 and 9280 work without problem on r240724) Beri On Sun, Sep 23, 2012 at 10:02 PM, Lev Serebryakov wrote: > Hello, Adrian. > You wrote 23 =D3=C5=CE=D4=D1=C2=D2=D1 2012 =C7., 23:54:19: > > >> AC> Lev, can you try r240677 and test? > >> AC> I'd like to establish whether that commit is stable for you (and > others.) > >> Yep, it passes smoke test -- copying of 1GiB over WiFi. > AC> Ok, can you work with Berislav to figure out where I broke things? :) > It looks like here are four commits from you in this time period: > > # svn log -r 240677:HEAD sys | grep "| adrian |" > r240677 | adrian | 2012-09-19 00:33:04 +0400 (Wed, 19 Sep 2012) | 14 line= s > r240721 | adrian | 2012-09-20 07:03:01 +0400 (Thu, 20 Sep 2012) | 8 lines > r240722 | adrian | 2012-09-20 07:04:19 +0400 (Thu, 20 Sep 2012) | 2 lines > r240724 | adrian | 2012-09-20 07:13:20 +0400 (Thu, 20 Sep 2012) | 32 line= s > # > > It is not too hard to try all of them, as 240677 is known to work. > > -- > // 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.or= g > " > From owner-freebsd-wireless@FreeBSD.ORG Mon Sep 24 02:56:07 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6DB29106566C; Mon, 24 Sep 2012 02:56:07 +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 3712C8FC0C; Mon, 24 Sep 2012 02:56:06 +0000 (UTC) Received: by pbbrp8 with SMTP id rp8so2138742pbb.13 for ; Sun, 23 Sep 2012 19:56: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 :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=HM3uYKiKtNMrJ4fhtSjFmCRRBgrpV/U3v7tyzZpbR6k=; b=OBs5D+MAqWqjhipGkJhp4oYYSmAQfrmMeGPzgJC298amrqqpfiWVFm0I0TAedAATZB ISiJJeviguDZoZkqUH7wn5jfugKWrZlW2P+KBZbxBHYrSlskkBNqapAzD8wOg0MEvLFH 68xT9wEaFBjFNp8iS6ipY3gruDdLs/LQewDf/BLr+lQ5dPjVsclOm3RTJIxvykMFekIB oB33RWyQ1JxlQrllqA5tnbPfpYqo77niczkKPi3DuX7PGPuM5qcbwm83MTLIUMNMJ790 0eCQXvvXBQZjmpn6Pc6mcD+HMyNLLaTQOVYSEFgv6Xaw++ZWzmFCM3JCdD7hZmV/Hy+Q j5xA== MIME-Version: 1.0 Received: by 10.66.78.73 with SMTP id z9mr29469160paw.9.1348455366573; Sun, 23 Sep 2012 19:56:06 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.36.106 with HTTP; Sun, 23 Sep 2012 19:56:06 -0700 (PDT) In-Reply-To: References: <1772837970.20120923235212@serebryakov.spb.ru> <1316862759.20120924000232@serebryakov.spb.ru> Date: Sun, 23 Sep 2012 19:56:06 -0700 X-Google-Sender-Auth: B5LGGv_eti8shA5PWL0XRht9SZw Message-ID: From: Adrian Chadd To: Berislav Purgar Content-Type: text/plain; charset=ISO-8859-1 Cc: Lev Serebryakov , freebsd-wireless@freebsd.org Subject: Re: broken TX in HEAD (AR5212) 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, 24 Sep 2012 02:56:07 -0000 Hm, ok. Change this bit in if_ath_tx.c: - flags = HAL_TXDESC_CLRDMASK; /* XXX needed for crypto errs */ + //flags = HAL_TXDESC_CLRDMASK; /* XXX needed for crypto errs */ + flags = 0; to just flags = HAL_TXDESC_CLRDMASK; See if that works. Hmph. I thought I caught all the filtered frames weirdness. Obviously I didn't.. Oh for gods sake. I know what I did wrong. Yes, do the above for now. I totally screwed up; I thought I had set CLRDMASK correctly for non-aggregate traffic. Ok, here's what I did wrong - I didn't set the CLRDMASK unconditionally for non-aggregate traffic. So the non-11n (non-aggregate path) has it selectively set - but there's no completion handler which is putting the traffic on the filtered frames list and setting the CLRDMASK bit again. So do the above and please, please file a bug with what you've gathered. I'll add this to the email and I'll fix it in -HEAD. Thanks for pointing this out! Adrian From owner-freebsd-wireless@FreeBSD.ORG Mon Sep 24 06:43:12 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 21782106566C; Mon, 24 Sep 2012 06:43:12 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id DD3E98FC08; Mon, 24 Sep 2012 06:43:11 +0000 (UTC) Received: by padbi1 with SMTP id bi1so1283612pad.13 for ; Sun, 23 Sep 2012 23:43:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=R+yN/cNcbCM7gx2fvKkvpFdU47oBlKF+6BxUY589YjE=; b=UKvRkgQCKkTnYfRjzeTx3H7HtEvxtQe3YtQCLYc13wwLmMZrYndyk9ow9xoFKcH7WR Bc2nVsHMk430XClxqZbSGPVMPfN02gHItCrlghPALp9iXGBRsViQOFeGKtZdd/ggYGgA 7vKEFUQTqoJTKYbKrQ2QhFhV8NpOb5YyRZtUteNkyGahvL+wIT7Go8sHOBLH6kdBf7MW ntiPU4zDP1r/JsR40qX/x6bXFMvMdPw6kV+MfrfobOipu9xTO61IFpRsPc3BYDiFyFcj lSOnYj9eVUY5RYKKWEjuDbMSYaKhCdO7/dALcSOds8rhy9jry7NW/60bxSv9qyc2arO9 BQcw== MIME-Version: 1.0 Received: by 10.66.90.38 with SMTP id bt6mr30046705pab.53.1348468991278; Sun, 23 Sep 2012 23:43:11 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.36.106 with HTTP; Sun, 23 Sep 2012 23:43:11 -0700 (PDT) In-Reply-To: References: <1772837970.20120923235212@serebryakov.spb.ru> <1316862759.20120924000232@serebryakov.spb.ru> Date: Sun, 23 Sep 2012 23:43:11 -0700 X-Google-Sender-Auth: sa1akU-3VefEa0y9PCZno8N7a18 Message-ID: From: Adrian Chadd To: Berislav Purgar Content-Type: text/plain; charset=ISO-8859-1 Cc: Lev Serebryakov , freebsd-wireless@freebsd.org Subject: Re: broken TX in HEAD (AR5212) 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, 24 Sep 2012 06:43:12 -0000 hi, I've committed some code to -HEAD that should do the trick. Or, it could set everything on fire. I'm not sure yet. :-) Please try it out and let me know how it goes. Adrian From owner-freebsd-wireless@FreeBSD.ORG Mon Sep 24 10:00:35 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 5DA76106567A; Mon, 24 Sep 2012 10:00:35 +0000 (UTC) (envelope-from bpurgar@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id 04FF88FC1B; Mon, 24 Sep 2012 10:00:34 +0000 (UTC) Received: by ieak10 with SMTP id k10so10271089iea.13 for ; Mon, 24 Sep 2012 03:00:34 -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=2dXb2NXBnRrJgpHH+T+yIEOHI7UDj7tLGpkMgiHIdj8=; b=h1tL5CgyDA3SOC+iaTvcRR7Rc9vmMbDlxo/+Qivtgve1l2CF7J1Oshm9unVq95iCRe 9JBvd7aeNNKfqIBxAbu7zfvBr1Vo/NCRYUn/3Nvoc6Uq0M0lzIitE3v/66lBmDh4uwsF hMGzy7XXKXjB4jvjriwU0mOpXa4BoWKWzSQJwKIKXElUBDE9oXXA5h5oOScG4HL3dRtP wtdN/Ws6wZwwxzAkoxuVrWgtR0q0WOpNvhtMH4Vj9Gn6cdzCyYUZz/B3wr2CpK6Rbg4Y qnxer880Mejdw47WlQY1fyDK/vLj0nEAM1xSXzB/5ykCgXDix5O8EKv4poC1Lyt/vX1K IYhw== MIME-Version: 1.0 Received: by 10.50.77.227 with SMTP id v3mr4726194igw.64.1348480834092; Mon, 24 Sep 2012 03:00:34 -0700 (PDT) Received: by 10.64.70.39 with HTTP; Mon, 24 Sep 2012 03:00:33 -0700 (PDT) In-Reply-To: References: <1772837970.20120923235212@serebryakov.spb.ru> <1316862759.20120924000232@serebryakov.spb.ru> Date: Mon, 24 Sep 2012 12:00:33 +0200 Message-ID: From: Berislav Purgar To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Lev Serebryakov , freebsd-wireless@freebsd.org Subject: Re: broken TX in HEAD (AR5212) 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, 24 Sep 2012 10:00:35 -0000 Hi just tested it .. it's ok ! On Mon, Sep 24, 2012 at 8:43 AM, Adrian Chadd wrote: > hi, > > I've committed some code to -HEAD that should do the trick. Or, it > could set everything on fire. I'm not sure yet. :-) > > Please try it out and let me know how it goes. > > > > Adrian > From owner-freebsd-wireless@FreeBSD.ORG Mon Sep 24 11:07:36 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 88B91106564A for ; Mon, 24 Sep 2012 11:07:36 +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 7246E8FC0A for ; Mon, 24 Sep 2012 11:07:36 +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 q8OB7ac0086132 for ; Mon, 24 Sep 2012 11:07:36 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q8OB7ZfC086130 for freebsd-wireless@FreeBSD.org; Mon, 24 Sep 2012 11:07:35 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 24 Sep 2012 11:07:35 GMT Message-Id: <201209241107.q8OB7ZfC086130@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, 24 Sep 2012 11:07:36 -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/171598 wireless [ath] TP-Link TL-WN951N W-LAN PCI Adapter 300 MBit stu o kern/171394 wireless [ath] ath0: ath_tx_aggr_comp_aggr: num frames seen=1; o kern/171235 wireless [ath] ath loses connection, system freezes on netif re o kern/170904 wireless [ath] ath driver: configure related parameters when ra 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/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/164499 wireless [wi] [patch] if_wi needs fix for big endian architectu 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 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 128 problems total. From owner-freebsd-wireless@FreeBSD.ORG Mon Sep 24 08:43:31 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D0416106564A; Mon, 24 Sep 2012 08:43:31 +0000 (UTC) (envelope-from shuriku@shurik.kiev.ua) Received: from it-profi.org.ua (graal.shurik.kiev.ua [193.239.74.7]) by mx1.freebsd.org (Postfix) with ESMTP id 88A0E8FC14; Mon, 24 Sep 2012 08:43:31 +0000 (UTC) Received: from [217.76.201.82] (helo=lenovo-b570.it-profi.org.ua) by it-profi.org.ua with esmtpsa (TLSv1:DHE-RSA-CAMELLIA256-SHA:256) (Exim 4.80 (FreeBSD)) (envelope-from ) id 1TG3gs-0002HZ-GM; Mon, 24 Sep 2012 11:06:54 +0300 Message-ID: <5060149A.1070805@shurik.kiev.ua> Date: Mon, 24 Sep 2012 11:06:50 +0300 From: Alexandr User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:15.0) Gecko/20120920 Thunderbird/15.0.1 MIME-Version: 1.0 To: freebsd-wireless@freebsd.org, freebsd-current@freebsd.org, freebsd-drivers@freebsd.org X-Enigmail-Version: 1.4.3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-SA-Exim-Connect-IP: 217.76.201.82 X-SA-Exim-Mail-From: shuriku@shurik.kiev.ua X-SA-Exim-Scanned: No (on it-profi.org.ua); SAEximRunCond expanded to false X-Mailman-Approved-At: Mon, 24 Sep 2012 11:40:23 +0000 Cc: Subject: Intel Wireless-N 2230 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: Mon, 24 Sep 2012 08:43:31 -0000 Hello! Can anyone tell me about work on supporting this card by iwn(4)? From owner-freebsd-wireless@FreeBSD.ORG Mon Sep 24 16:13:04 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1EFAE106564A; Mon, 24 Sep 2012 16:13:04 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id D880F8FC0A; Mon, 24 Sep 2012 16:13:03 +0000 (UTC) Received: by padbi1 with SMTP id bi1so1632609pad.13 for ; Mon, 24 Sep 2012 09:13:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=T57KU7eAbvjBzQaeLCRpTbknxTYPGov+BinD0TvYstk=; b=Oh4VjKy7SqLEuAAr+AqWuVr0Ozcb1pc12KLuFCcClPgCoEOA+Nx01g2IIHFR8PLYmu RDre5jynu8pCR/4ESgdJ21iNI4iiwr2cmpIexKuFfSlgXLTyvZ3vJPB89cixeMqZVINU yt2+YZ5qqxDCgwBEl3j4dz8hHRPosufuSVN68sIFiAQ+MNzaeZUuTFgDhovPtHxTkuY2 7TivH3CV0e57r5jgM/YOFokv/EbquB6xK9SZ5ke7/kWwSP+BxswGDuxKloG33+gYFH+Q HzoF2E2y+MpQMJA1lgSRA41hCSMaHvT7NISM/XQzr1Wpi6HfYu5ypb35w+lk0XsB5765 /SIg== MIME-Version: 1.0 Received: by 10.68.129.131 with SMTP id nw3mr38197020pbb.43.1348503183509; Mon, 24 Sep 2012 09:13:03 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.36.106 with HTTP; Mon, 24 Sep 2012 09:13:03 -0700 (PDT) In-Reply-To: References: <1772837970.20120923235212@serebryakov.spb.ru> <1316862759.20120924000232@serebryakov.spb.ru> Date: Mon, 24 Sep 2012 09:13:03 -0700 X-Google-Sender-Auth: Kr23kd0pMccCzODYsqUFRQWKlUM Message-ID: From: Adrian Chadd To: Berislav Purgar Content-Type: text/plain; charset=ISO-8859-1 Cc: Lev Serebryakov , freebsd-wireless@freebsd.org Subject: Re: broken TX in HEAD (AR5212) 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, 24 Sep 2012 16:13:04 -0000 On 24 September 2012 03:00, Berislav Purgar wrote: > Hi > > just tested it .. it's ok ! Sweet. I thought it would be, the patch was just me preparing for the next phase of software retransmit handling. :-) Lev, can you try -HEAD and let me know? Thanks, Adrian From owner-freebsd-wireless@FreeBSD.ORG Mon Sep 24 21:19:32 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 EA5BA106564A; Mon, 24 Sep 2012 21:19:32 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [46.4.40.135]) by mx1.freebsd.org (Postfix) with ESMTP id 9DA2E8FC0C; Mon, 24 Sep 2012 21:19:32 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:c56d:b4e7:bb34:8fd2]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id 896994AC2D; Tue, 25 Sep 2012 01:19:30 +0400 (MSK) Date: Tue, 25 Sep 2012 01:19:28 +0400 From: Lev Serebryakov Organization: FreeBSD Project X-Priority: 3 (Normal) Message-ID: <82289384.20120925011928@serebryakov.spb.ru> To: Adrian Chadd In-Reply-To: References: <1772837970.20120923235212@serebryakov.spb.ru> <1316862759.20120924000232@serebryakov.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Cc: freebsd-wireless@freebsd.org Subject: Re: broken TX in HEAD (AR5212) X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lev@FreeBSD.org 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, 24 Sep 2012 21:19:33 -0000 Hello, Adrian. You wrote 24 =F1=E5=ED=F2=FF=E1=F0=FF 2012 =E3., 20:13:03: AC> Sweet. I thought it would be, the patch was just me preparing for the AC> next phase of software retransmit handling. :-) AC> Lev, can you try -HEAD and let me know? r240893 seems to work. --=20 // Black Lion AKA Lev Serebryakov From owner-freebsd-wireless@FreeBSD.ORG Tue Sep 25 03:37:16 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5E1711065670 for ; Tue, 25 Sep 2012 03:37:16 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-da0-f54.google.com (mail-da0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 306F68FC14 for ; Tue, 25 Sep 2012 03:37:15 +0000 (UTC) Received: by dadz9 with SMTP id z9so278330dad.13 for ; Mon, 24 Sep 2012 20:37:09 -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=9xBQNLIBbIBZFRRzsi4p+lAB1I34PONHRmJoDPXqk7s=; b=w+uxBXAyAZWL1tXu0wnjBBCb9DFxC0TnWpmD6p7p1407Tlwi5a5KXjR30pDCYg9unC FD7hptF0Kh18vWWB6yJxqtPWnRLs1moa2g8JpV6hzQqAi4Y8Vm483yC8fzbHpysw+E5e bhyIMdDfJni2qU9CGm2VzJYEPLLpyqgXvd40Et1Nan55HOHrjVi97f8xJ7sFwyhu2MrN hYQbd++Lox1RrsxutBqNMJ1p9ZusKSx9twIA9mIGTc51a/gfPvqwgi4TtPktuckVMjCd qTR8d2wIEx0ZNu9gEjnrYDW8DtSyqA+islsJ3lpVJvOwZo7m7y7SLnmYwtGeM0nOKPhO bEGA== MIME-Version: 1.0 Received: by 10.66.90.38 with SMTP id bt6mr37183162pab.53.1348544228966; Mon, 24 Sep 2012 20:37:08 -0700 (PDT) Received: by 10.68.36.106 with HTTP; Mon, 24 Sep 2012 20:37:08 -0700 (PDT) In-Reply-To: References: Date: Mon, 24 Sep 2012 20:37:08 -0700 Message-ID: From: Adrian Chadd To: Sven Hazejager Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org Subject: Re: Regression AR2413 from 9.1 to 10 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Sep 2012 03:37:16 -0000 Hi Sven, Please try the latest -HEAD and report back. Thanks! Adrian On 23 September 2012 10:06, Sven Hazejager wrote: > Hi Adrian, > > I am unable to build any svn sources from around March and April due > to some yacc/parse.y failure that I cannot fix within the time I have. > > Can I simply restore an older version of sys/modules/ath and > sys/dev/ath into an up-to-date /usr/src? > > Thanks > Sven > > On Sun, Sep 23, 2012 at 10:14 AM, Adrian Chadd wrote: >> Are you able to try 10.0 from say, 6 months back and see if it works? From owner-freebsd-wireless@FreeBSD.ORG Tue Sep 25 03:39:02 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 E74D51065673 for ; Tue, 25 Sep 2012 03:39:02 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id BD4E48FC16 for ; Tue, 25 Sep 2012 03:39:02 +0000 (UTC) Received: by padbi1 with SMTP id bi1so2011818pad.13 for ; Mon, 24 Sep 2012 20:39:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=GfJUx8maIOrI/RCVDLaJENbLXj6mybi1jRlHujwi4X4=; b=IT9i+5qh+TzlFd1Z5fJKBDq7aRZW5EGyHnoGtPoBaLGvpwgMyhnbILjIxdlN4TSINg Xmu96NruO0KhbB3JsyL4FZocL90hgRVdRnlRDJYtklem+lu1MtMX83InCyD1qDI1hIN9 cbMZ4R/iy5MNeEqTpNfE/SCs7jv5uf51OoR/OSH+ZPITny2qBGP1pGj4vpA6LI8wRjGG b8z3PIZQ9T0YZ20zozknOyHgEi551SfDla7XbZ+3PlcS6sfZDy8//QdCznp+d7Eopslo 1bF2P3W1UDbNY6jS33Du6HWBbfj0kRx+zuBsuUR49qjFv1xzewQV5hr2MatyIOboU7vO JKTg== MIME-Version: 1.0 Received: by 10.68.136.40 with SMTP id px8mr42042519pbb.153.1348544342339; Mon, 24 Sep 2012 20:39:02 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.36.106 with HTTP; Mon, 24 Sep 2012 20:39:02 -0700 (PDT) Date: Mon, 24 Sep 2012 20:39:02 -0700 X-Google-Sender-Auth: KHZbOSp3he3jq2ct4AdZVzEsLcU Message-ID: From: Adrian Chadd To: Berislav Purgar Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org Subject: TXEOL semantics (was Re: broken TX in HEAD (AR5212)) X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Sep 2012 03:39:03 -0000 Grr. On 23 September 2012 15:32, Adrian Chadd wrote: > That's not too scary; just slightly wasteful. > > But the annoying one: > > * I'm getting TXEOL interrupts appearing (which is by design, so > that's OK) - but then when the descriptor is checked, the first > descriptor in the list shows up as HAL_EINPROGRESS - and sure enough, > the contents of that descriptor are not yet initialised. Now on my > MIPS boards the descriptors are in KSEG1 - which is supposed to be > unmapped, uncached memory. A subsequent TXEOL (from another descriptor > being pushed into the queue) or TXOK (from that descriptor completing > TX successfully) will kick the queue along. ... aaand yes, I've just discovered that TXEOL indeed can occur before the descriptor(s) in the queue have been TXed and the TX status has been written back. It just signals the MAC has hit the end of the TX list for that hardware queue. Grr. That software driven TX interrupt coalescing hack.. subtly wrong. :( Adrian From owner-freebsd-wireless@FreeBSD.ORG Tue Sep 25 13:00:15 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 4C660106566B for ; Tue, 25 Sep 2012 13:00:15 +0000 (UTC) (envelope-from sven@hazejager.nl) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id DB16E8FC14 for ; Tue, 25 Sep 2012 13:00:14 +0000 (UTC) Received: by vcbfw7 with SMTP id fw7so9722509vcb.13 for ; Tue, 25 Sep 2012 06:00:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=7YmCSB3vhBZQV32dFCSLNN1Ehxf9PxJiLNyWCHP+LS0=; b=cgHjN5dUWmn/O58NfCZAXY8hC3QxD7Eak4hUNM6TPGfLnHWegNGhGjXV/G0XTeUr2u mxCWG36QyGMxLZjGq2a8ntUx8VOFs8a/Qzmgaou18J6NEwvCn8WxPqQvrlen/P/ZptP+ p32azCvz64TEVEmGvP0+gsTHyKEnL6oKT1SzzuDDHsK76pcnXR4HTAIy1AYrWpP9Eo8y 2m2l6X0yJcXQvSHe9JFmcKCVR/ZrNaQG2PDSYD4h3cVmd9nrwqFs6EQWbEaeRXw8c7KG Gad4AeGTblgxhJ9PjAfkPD4i0uuqfmhXODgABiyru4VU3ONOwOz1A5ILrtYKLx8sTnWC hvhQ== MIME-Version: 1.0 Received: by 10.52.180.134 with SMTP id do6mr7560515vdc.30.1348578013984; Tue, 25 Sep 2012 06:00:13 -0700 (PDT) Received: by 10.220.141.82 with HTTP; Tue, 25 Sep 2012 06:00:13 -0700 (PDT) X-Originating-IP: [212.123.177.47] In-Reply-To: References: Date: Tue, 25 Sep 2012 15:00:13 +0200 Message-ID: From: Sven Hazejager To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQmTMgag/GxJWV04RvooVUbvHwpJmsHNN5Umm0PgjvuOymm6+6tm5LJUJP+KcbthvEmFflZ4 Cc: freebsd-wireless@freebsd.org Subject: Re: Regression AR2413 from 9.1 to 10 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Sep 2012 13:00:15 -0000 So far, so good! FreeBSD 10.0-CURRENT #0 r240893 running since this morning without glitches on my trusty AR2413. Great work! On Tue, Sep 25, 2012 at 5:37 AM, Adrian Chadd wrote: > Please try the latest -HEAD and report back. From owner-freebsd-wireless@FreeBSD.ORG Tue Sep 25 20:27:45 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5D3171065675 for ; Tue, 25 Sep 2012 20:27:45 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: from mail-qa0-f54.google.com (mail-qa0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 141D08FC19 for ; Tue, 25 Sep 2012 20:27:44 +0000 (UTC) Received: by qady23 with SMTP id y23so549634qad.13 for ; Tue, 25 Sep 2012 13:27:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=X9D+ph+nFGhec6uKAEFFJco4XR8V3cAlyKzt5vLKpkw=; b=uY6+h7AMhcjfZ8ClPOd6tDveM5gdrk9NXg6QZWDoS5de7fXLapF/PTzoAZ4olw+Nbn H7msbcUM86Ej9KxNwsX+sRDlmtjWNsdqyp6aCn7VcP8iDLfzxTob48QvngXBgM3qs8HO JqY1gZK9C0b/HncV0+IvBolE50+/CQ4D85eyj06t/e0EaVC+JQUOuwowVFjb4acZC+po QnBvRjO7UVhREzonTO1DEMqZSkJOXNfXYvK0T+B1O4JWAaGkxEpAk6sFlGv9R0ogL2zv XQnIE/Sj92Ve0nG+ddC4q7/535yk28+a3zncd3e9Acau1i0r3aB51YFlyoIQWNmkYKYj /xmw== MIME-Version: 1.0 Received: by 10.224.174.75 with SMTP id s11mr42210978qaz.88.1348604863847; Tue, 25 Sep 2012 13:27:43 -0700 (PDT) Received: by 10.49.5.1 with HTTP; Tue, 25 Sep 2012 13:27:43 -0700 (PDT) Date: Tue, 25 Sep 2012 16:27:43 -0400 Message-ID: From: Kim Culhan To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: ath related panic X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Sep 2012 20:27:45 -0000 Now seeing: panic: mutex ath0_txq1 not owned at /usr/src/sys/dev/ath/if_ath_tx.c:1320 cpuid = 1 KDB: enter: panic [ thread pid 0 tid 100045 ] Stopped at kdb_enter+0x3e: movq $0,kdb_why db> db> bt Tracing pid 0 tid 100045 td 0xfffffe000500d480 kdb_enter() at kdb_enter+0x3e panic() at panic+0x21f _mtx_assert() at _mtx_assert+0xc5 ath_tx_xmit_normal() at ath_tx_xmit_normal+0x76 ath_tx_start() at ath_tx_start+0xa4e ath_start() at ath_start+0x2e4 if_transmit() at if_transmit+0x103 ieee80211_start() at ieee80211_start+0x5bd if_transmit() at if_transmit+0x103 bridge_enqueue() at bridge_enqueue+0x8e bridge_broadcast() at bridge_broadcast+0x24b bridge_forward() at bridge_forward+0x1ea bridge_input() at bridge_input+0x276 ether_nh_input() at ether_nh_input+0x27b netisr_dispatch_src() at netisr_dispatch_src+0x7b lem_rxeof() at lem_rxeof+0x429 lem_handle_rxtx() at lem_handle_rxtx+0x29 taskqueue_run_locked() at taskqueue_run_locked+0xf0 taskqueue_thread_loop() at taskqueue_thread_loop+0x6c fork_exit() at fork_exit+0x80 fork_trampoline() at fork_trampoline+0xe --- trap 0, rip = 0, rsp = 0xffffff8117ae8cb0, rbp = 0 --- -- -kim From owner-freebsd-wireless@FreeBSD.ORG Tue Sep 25 20:32:12 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 729501065693 for ; Tue, 25 Sep 2012 20:32:12 +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 466DD8FC12 for ; Tue, 25 Sep 2012 20:32:11 +0000 (UTC) Received: by pbbrp8 with SMTP id rp8so934006pbb.13 for ; Tue, 25 Sep 2012 13:32:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=n2b8j9hsw898B+C7qSiyk9+JISeQ93zbekpFvSLRG3M=; b=XT+d3uF7B6QtzozUR/SD0X7i2ddBGHbQavuGLzj/04nkW8OS7eXHtyq3kZgd/OuK8T DGp4dk1/E58bHWsX5mSZop5Os+mc67yhyThMrr+Hoq+kBTKL/aioH5VcaxCvYOEClUbs ao7I6BnY7bE1T/uULn/ZOIp5MNjJvwZ5czbHbkn3T7pq479r+TkHWkOv70qizRB7NjAf szcYb327CDB5GVWgyp04Zm8uj3um9Ba89YyughsmFpijsD7gZVzVcfw3t28UkP6jneS4 vD3gaKEJl1AbW4Bxz/phsMG56du+puHHnpfBOVu5kZ1JBa0Wp/TRAZVY4GqX30BL6j6p CjPg== MIME-Version: 1.0 Received: by 10.68.225.3 with SMTP id rg3mr45319994pbc.27.1348605130842; Tue, 25 Sep 2012 13:32:10 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.36.106 with HTTP; Tue, 25 Sep 2012 13:32:10 -0700 (PDT) In-Reply-To: References: Date: Tue, 25 Sep 2012 13:32:10 -0700 X-Google-Sender-Auth: IeDKdLxClyw_8KY0PIy66-m-MkE Message-ID: From: Adrian Chadd To: Kim Culhan Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org Subject: Re: ath related panic X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Sep 2012 20:32:12 -0000 That's on -head ? Adrian On 25 September 2012 13:27, Kim Culhan wrote: > Now seeing: > > panic: mutex ath0_txq1 not owned at /usr/src/sys/dev/ath/if_ath_tx.c:1320 > cpuid = 1 > KDB: enter: panic > [ thread pid 0 tid 100045 ] > Stopped at kdb_enter+0x3e: movq $0,kdb_why > db> > db> bt > Tracing pid 0 tid 100045 td 0xfffffe000500d480 > kdb_enter() at kdb_enter+0x3e > panic() at panic+0x21f > _mtx_assert() at _mtx_assert+0xc5 > ath_tx_xmit_normal() at ath_tx_xmit_normal+0x76 > ath_tx_start() at ath_tx_start+0xa4e > ath_start() at ath_start+0x2e4 > if_transmit() at if_transmit+0x103 > ieee80211_start() at ieee80211_start+0x5bd > if_transmit() at if_transmit+0x103 > bridge_enqueue() at bridge_enqueue+0x8e > bridge_broadcast() at bridge_broadcast+0x24b > bridge_forward() at bridge_forward+0x1ea > bridge_input() at bridge_input+0x276 > ether_nh_input() at ether_nh_input+0x27b > netisr_dispatch_src() at netisr_dispatch_src+0x7b > lem_rxeof() at lem_rxeof+0x429 > lem_handle_rxtx() at lem_handle_rxtx+0x29 > taskqueue_run_locked() at taskqueue_run_locked+0xf0 > taskqueue_thread_loop() at taskqueue_thread_loop+0x6c > fork_exit() at fork_exit+0x80 > fork_trampoline() at fork_trampoline+0xe > --- trap 0, rip = 0, rsp = 0xffffff8117ae8cb0, rbp = 0 --- > > > -- > -kim > _______________________________________________ > 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 Tue Sep 25 20:33:50 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 DFD24106566C; Tue, 25 Sep 2012 20:33:50 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: from mail-qc0-f182.google.com (mail-qc0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7DA128FC08; Tue, 25 Sep 2012 20:33:50 +0000 (UTC) Received: by qcsl39 with SMTP id l39so1905051qcs.13 for ; Tue, 25 Sep 2012 13:33:44 -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=JkJjYpJ0ID/ti14mXkrt9B9IsPRihlieewdsX+jzjr4=; b=peuCxGvh/y7NjDRTahv7XKwXa56qkR5I8Ru7YljVaVv8tkAd2gtcY5/FBCjGlOr6s0 ukaNPgBIqT6zocgyj6/PZQl4+u1QRfCjqGnfccApCIrnYVI3xe/Gk8IxUEQIpXLxzD/Y 0kbjfLwVOnOp8bGStf7MV2wjXg0pQHe9mcdmMm/OlDxaEd8tpdz2b97A7K4qqfup9Hfj uJ0qToRyxDPnLe+3tG5TokTe2ZzfdvdYcDjscKXlwzP6btBuYdSKCbHVqKbfgiqwEN+V 0YFxjOFZqZ38fnKCBf1Hy27hjYmZtLxRC73h/znvFptIf3MQqAlMwxJTjG5Gd4Wfc4np N/vg== MIME-Version: 1.0 Received: by 10.229.135.67 with SMTP id m3mr11930659qct.26.1348605224035; Tue, 25 Sep 2012 13:33:44 -0700 (PDT) Received: by 10.49.5.1 with HTTP; Tue, 25 Sep 2012 13:33:43 -0700 (PDT) In-Reply-To: References: Date: Tue, 25 Sep 2012 16:33:43 -0400 Message-ID: From: Kim Culhan To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org Subject: Re: ath related panic X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Sep 2012 20:33:51 -0000 On Tue, Sep 25, 2012 at 4:32 PM, Adrian Chadd wrote: > That's on -head ? Yes on 240921 From owner-freebsd-wireless@FreeBSD.ORG Tue Sep 25 20:42:54 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 30B84106564A for ; Tue, 25 Sep 2012 20:42:54 +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 0299F8FC0A for ; Tue, 25 Sep 2012 20:42:53 +0000 (UTC) Received: by pbbrp8 with SMTP id rp8so952242pbb.13 for ; Tue, 25 Sep 2012 13:42:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=teNzby4H7xk86o8Tak+xeM6gGlK5oiyS2mNWORk8v3Y=; b=Gnx08ixHA++v/vrGscESRKViu+upkBXYTtYKfhjQyAG4NveNEfRpxyt336/tuqhQIp TVa8o4w2+LET2Xso+kDUj2fpk5fTcS8+uvRLBTUPQtmoNmjldA+WIrIVxoEw4L5x3yC+ UlVOnDu2OVvhuiteFt2QoC/9MJAB+PUCNzKF18SOgjNUvDBni+4h9QGW1HtXGV99JIxd GaG9cYyjoIhV4HrhRYUM2wX1z1tmAUoF7eJin0G5ZfzXz9IgOFQmLhHfRWThb0gP4tpL BN+CEXwSzUhFpkh+QwFeIb36QBdmSA1KWGtFIQw3wQQvWjZEP8f1MDBNzCb/YURE4pXQ GPEg== MIME-Version: 1.0 Received: by 10.66.75.232 with SMTP id f8mr43628694paw.59.1348605773636; Tue, 25 Sep 2012 13:42:53 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.36.106 with HTTP; Tue, 25 Sep 2012 13:42:53 -0700 (PDT) In-Reply-To: References: Date: Tue, 25 Sep 2012 13:42:53 -0700 X-Google-Sender-Auth: PnaSUecGG03rvMYGNzne_hLSLss Message-ID: From: Adrian Chadd To: Kim Culhan Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org Subject: Re: ath related panic X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Sep 2012 20:42:54 -0000 On 25 September 2012 13:33, Kim Culhan wrote: > On Tue, Sep 25, 2012 at 4:32 PM, Adrian Chadd wrote: >> That's on -head ? > > Yes on 240921 Grr. I think I found out why. Update. :) Adrian From owner-freebsd-wireless@FreeBSD.ORG Tue Sep 25 20:46:49 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 021C9106564A; Tue, 25 Sep 2012 20:46:49 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: from mail-qa0-f54.google.com (mail-qa0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 95AF38FC0C; Tue, 25 Sep 2012 20:46:48 +0000 (UTC) Received: by qady23 with SMTP id y23so578007qad.13 for ; Tue, 25 Sep 2012 13:46:48 -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=RIKcU6LyLbfsgDSzhyrr7dKPmHWYGtW7RHYWzmWBmWc=; b=tOw5wmPxiU20u2WQIGvkrxc0NWsiWCalFTCVZ6IN96xd8xdIhsShdN0V4rFtuYNCTU OX8anq3b/e/bG8WueZKojdKE8WRLlB/dphYfkw5e0ofafMF1ai+OoPfdsKWuivY7A6VF 3LbSkmPHufomKeWvQL457jivYejOjv9jO4gBBiTs3BSGBFXjWsqt16/F07yLN/Zo8q5N /ywufBjYBHg2iWw7vE7O4RLUOvmeGYeJbhjbXc8uhdb9ZDu9/wejBZ4wmPGT+186NGq9 royz1qUkSY1T1PAxe3uoyyte/CXQvhHRUDF7h+KAOEkx057sj2zDWJwonjf+9484SaAK 9wmw== MIME-Version: 1.0 Received: by 10.224.187.208 with SMTP id cx16mr42720666qab.31.1348606008064; Tue, 25 Sep 2012 13:46:48 -0700 (PDT) Received: by 10.49.5.1 with HTTP; Tue, 25 Sep 2012 13:46:47 -0700 (PDT) In-Reply-To: References: Date: Tue, 25 Sep 2012 16:46:47 -0400 Message-ID: From: Kim Culhan To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org Subject: Re: ath related panic X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Sep 2012 20:46:49 -0000 On Tue, Sep 25, 2012 at 4:42 PM, Adrian Chadd wrote: > On 25 September 2012 13:33, Kim Culhan wrote: >> On Tue, Sep 25, 2012 at 4:32 PM, Adrian Chadd wrote: >>> That's on -head ? >> >> Yes on 240921 > > Grr. I think I found out why. Update. :) Excellent, building 240926 From owner-freebsd-wireless@FreeBSD.ORG Wed Sep 26 17:35:25 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 61D90106566B for ; Wed, 26 Sep 2012 17:35:25 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id 22A3F8FC0A for ; Wed, 26 Sep 2012 17:35:24 +0000 (UTC) Received: by oagm1 with SMTP id m1so1127453oag.13 for ; Wed, 26 Sep 2012 10:35:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=4h0u8Nhg7sKUa/aUaeagP4sXqYmW4NZcn8IB0GbTvRY=; b=KV4e5V8ZQs+RbXEpKuzSQU2cDJwP8DvBVa6E8rNDo0lohkY9UqiQfmd3BER98nUu/E IzjBtqcycgvbk8b8O1jr6iIBaASbkrBF6hELlzcNqXjHTtqS4A0Ln/Z0ID3J4TCNhgGI c+FdYp8NPWpu5jY2EtDPjeLuNfzNMaNg+3YIduo3udV1TtIv/P/K93aZkRXOMr5S7aQs tYQ2Pmrj1q2r4I5F4QBJLNsiA68FLgmCx09Kzn2hcwPk0Ffkny0dtkK+xfsuPvLVsC1m EH6rue+qRWgE+m0DNiz6AYr+xG49lpiDZzifyEBa6lY67UlbuQv8pVq/71AYKXYjq4Uf Iv+A== MIME-Version: 1.0 Received: by 10.182.43.40 with SMTP id t8mr985884obl.93.1348680924156; Wed, 26 Sep 2012 10:35:24 -0700 (PDT) Received: by 10.76.8.98 with HTTP; Wed, 26 Sep 2012 10:35:24 -0700 (PDT) Date: Wed, 26 Sep 2012 10:35:24 -0700 Message-ID: From: Adrian Chadd To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: The recent journey - filtered frames, power save and multicast/cabq traffic 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, 26 Sep 2012 17:35:25 -0000 I figured I should summarise/brain dump the last weeks worth of discoveries into an email whilst it's fresh - partly so I don't forget, partly so an interested party could pick it up and run with it. So, in no particular order: * There's extra work being done processing empty RX lists. This happens because the interrupt handler merely schedules ath_rx_proc() to occur. So if an interrupt comes in whilst ath_rx_proc() is running, it'll get re-scheduled - and when the second copy runs, the RX queue has very likely just been cleaned out. * The TX completion path occasionally (more than I'd like, unfortunately) returns HAL_EINPROGRESS on the first descriptor in the list, upon receiving a TXEOL interrupt. TXEOL is "the DMA engine hit the end of that HWQ descriptor list" - but this doesn't mean the last descriptor had been handled and completed. It just means the DMA engine hit a NULL link pointer. So, when a TXEOL comes in, ath_tx_processq() gets called - but since the hardware is still processing that descriptor, it comes back as incomplete. * .. this wouldn't be a problem EXCEPT that the current driver does some TX interrupt mitigation for legacy chips by only registering for TXDESC, TXERR and TXEOL interrupts. Not TXOK. The driver then sets every 5th non-aggregate descriptor to return a TXDESC interrupt. So if you queue one frame and there's no TXDESC bit set, the above may happen and you don't get any further interrupts for that queue. .. which means that TX will stall until the next frame is queued. .. which for the land of software queues doesn't necessarily happen, because the driver now limits the number of frames going to the hardware (and software queues the rest), so if the last descriptor(s) in the list have this issue and you get a TXEOL only w/ no TXDESC set in those descriptors, your TX queue will stall. => I need to file a couple of PRs on this one and make sure I tidy all of this logic up. It's a mess/nightmare. * There's still issues with how the TX watchdog is implemented - thanks to preemption, reentrant and concurrent code. The summary - since the watchdog is kicked by just setting a value to 5 (seconds), it's possible that two concurrent TX paths (say two ath_start()s or an ath_start() and an ath_raw_xmit()) will overlap with a completion handler, which will cause the watchdog to be set but not correctly cleared in time. Specifically: + a frame can be TXed; + before the watchdog is set, the frame completes, ath_tx_processq() gets called, clearing the watchdog; + then ath_start() or ath_raw_xmit() finishes running, which sets the watchdog to 5. + 5 seconds later, the watchdog timeout hits. => I need to file another PR on this and give this a really good thinking about. * The EAPOL frames are supposed to be treated specially. However, I am not entirely sure that EAPOL is being set "right" - the hostapd process writes frames using BPF, the ethertype isn't raw 802.11, so ieee80211_output() punts it to the ethernet encaps and output code. So what SHOULD happen is: + the ethernet encaps code marks it as ETHERTYPE_PAE; + the mbuf will get SOMEHOW marked as M_EAPOL; + the ath TX path treats this special - EAPOL frames get the maximum number of hardware retries (10) and can do a bunch of other things; + (later on) when I implement basic tail dropping to ensure the driver isn't flooded with frames, we can match on M_EAPOL / ETHERTYPE_PAE and ensure that those don't get tail dropped - only data frames will. The core here (I think) is the hostapd driver sends raw 802.3 frames rather than 802.11 frames and the current raw path doesn't call ieee80211_classify() or anything like that; it assumes the ethernet encaps code will take care of that. => I need to file a PR and try chasing this up. But if someone would like a mini project, I'd really appreciate some help in ensuring that EAPOL frames get marked as ETHERTYPE_PAE on their journey through to ath_start(). Ok, now the big one. The disconnect problem turns out to be due to EAPOL frames being rejected at the receiving STA. The Macbook Pro receives them and sends back an ACK - but the application / tcpdump never sees them. There's only a couple of reasons this could occur (sans bugs :-) - the CCMP IV is out of sequence, and/or the sequence number is out of sequence. Now, this occurs during scanning, when my macbook pro was doing ~100mbit of TCP traffic. Since it's not 100% utilised at that point (i can get up to 170mbit+ TCP iperf right now) it sneaks in background scanning and power-save transitions. Each of those power save transitions forces _all_ multicast traffic to be stuffed into the cabq (content after beacon queue) and will go out just after a beacon. However! The multicast traffic is (almost all?) non-QoS traffic, so it gets stuffed into TID "16". There's a separate sequence number space for each TID (0..15) as well as one for the non-QoS TID (16.) In the atheros driver and net80211 stack, sequence number allocation occurs _early_ during packet encapsulation. Only aggregate frames delay allocating the sequence number (and leave it up to the driver to assign.) EAPOL traffic is also non-QoS for some reason, so it was also being dumped into TID 16. So it shares the sequence number space with multicast traffic. Now, whenever a station went to sleep, the driver would stuff all traffic into the cabq. That's fine. But then subsequent frames in TID 16 that weren't multicast traffic would also get sequence numbers assigned, and they may or may not go out immediately. If they go out immediately then great - when the multicast traffic next went out at next beacon interval, the sequence numbers would be "before" the non-multicast traffic and I guess that multicast traffic would be dropped. (or not, I'd have to double check.) But if the hardware queue servicing TID 16 was busy, the non-multicast frames would be dumped in a per-node software queue, and that queue would be serviced when the hardware queue became free. If the air was busy doing a bunch of traffic, the EAPOL frames would go into the software queue, then sit there until after the aggregate traffic in the queue went out. If we were lucky, this would occur _before_ the cabq traffic went out. If we weren't lucky, it would be delayed until after the cabq traffic went out - which may result in the sequence/IV numbers being out of whack. So to clarify: * multicast frames with seq/IV A, B, C are queued - but a STA is in sleep mode, so it goes into the CABQ; * EAPOL frame with seq/IV D is queued - but the HWQ is busy, so its software queued; * multicast frames with seq/IV E, F is queued, also in CABQ; * beacon interval occurs; * cabq is drained, so A, B, C, E, F make it out; * then EAPOL with D gets out - but since E, F made it out already, the receiver drops D. Now, Fixing this is a pain. I just "fixed" it by now by making TID 16 traffic go to the voice queue. It sucks, but it'll just have to do for now. The real solution is to delay assigning sequence numbers until the frames are going out to the hardware - and for TID 16 frames, that may require some significantly complicated software queue handling to ensure that sequence numbers of frames is "right". (Since there may already be unicast frames in the hardware queue for TID 16, then the CABQ gets busted out - once that's done, the hardware will keep transmitting whatevers in the HWQ servicing TID 16.) So, solving that particular quirk is going to take quite a bit of thought.. Last but not least: * When stuffing TID 16 traffic into the cabq, the wrong lock is held. The CABQ lock is held, rather than the hardware TXQ lock corresponding to the TID. I'll have to hack this to grab both locks at the right times. => I'll file a PR and fix this; shouldn't be too hard. Phew! Adrian From owner-freebsd-wireless@FreeBSD.ORG Wed Sep 26 19:31:17 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B00551065673 for ; Wed, 26 Sep 2012 19:31:17 +0000 (UTC) (envelope-from break19@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id 727598FC19 for ; Wed, 26 Sep 2012 19:31:17 +0000 (UTC) Received: by ieak10 with SMTP id k10so3383336iea.13 for ; Wed, 26 Sep 2012 12:31:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=zygBSetD05m4IoNpRLzmnpToaVCZK15AXTzykeX2fWU=; b=mgWkUpBsW3TRDQIKH+e1KUIZJbvrEpTU0+e8StqH3oZflhDCM10JG1BAe6U4yfNnjt Z6O83kqxQi5XA+KWI3vPavvIdVIaPJ+Vk2CgeulOAG1Or+VsXsvwY3b8n3+hG8JXOts0 +phyCtbWyQOUZ6c3i+wlliuCg30V+XpfblTMKqfapqvRDPqqBFvyknuJCBQO57kett5H ID/7SSmQjJ0PbtdcY6hxZWptexFJZ8CZHJPfbPYqmioXQC8RQN6b/LQiww+IDUbEWC5T QVSrO2seGrF9rRz1ydlukDGWgm03/ZgKy2CCsaWDxdg5NmTs3OBqAqIBCbqOlfYLlNOY sbJQ== Received: by 10.50.5.180 with SMTP id t20mr1517891igt.31.1348687876662; Wed, 26 Sep 2012 12:31:16 -0700 (PDT) Received: from [192.168.0.120] ([173.157.79.63]) by mx.google.com with ESMTPS id t4sm855701igt.1.2012.09.26.12.31.12 (version=SSLv3 cipher=OTHER); Wed, 26 Sep 2012 12:31:16 -0700 (PDT) Message-ID: <506357F9.8000105@gmail.com> Date: Wed, 26 Sep 2012 14:31:05 -0500 From: Chuck Burns User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: freebsd-wireless@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: The recent journey - filtered frames, power save and multicast/cabq traffic 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, 26 Sep 2012 19:31:17 -0000 On 9/26/2012 12:35 PM, Adrian Chadd wrote: > => I'll file a PR and fix this; shouldn't be too hard. > > Phew! > > > > > > Adrian > _______________________________________________ > 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" > Even though most of this stuff does not affect me, or my equipment in any way (I only have 1 atheros.11 device. but it's a ar9170usb usb dongle, not touched by your ath work, and a urtw-based 11g usb dongle that misbehaves under freebsd), I must say thank you. Adrian, you seem to be one of the few device-driver devs that actually keep the MLs informed of your thought processes, and seem to actually be "doing something" wrt to ath 11n support, and I thank you for your hard work. Should you ever be lacking for work to do, I would be happy to send you my ar9170usb stick, or the netgear 11g urtw-based device. (you could either keep them, or mail them back once you no longer need em), but I am only partially joking here. :) Keep up the good work, and thanks for the contributions! -- Chuck Burns From owner-freebsd-wireless@FreeBSD.ORG Wed Sep 26 19:48:22 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 E20C4106564A for ; Wed, 26 Sep 2012 19:48:22 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9F7F28FC08 for ; Wed, 26 Sep 2012 19:48:22 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id m1so1317277oag.13 for ; Wed, 26 Sep 2012 12:48:22 -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=HB5UtbSoU8l17lgY1BqEeMD/umuf6NT7lSgb7uZIH24=; b=FXhLpo5VCAberxG/1Us/zxMVacmt8zOMDGV8xtsb9TtZlEKmPw84e9iTQY5HcQcRSi pHOQ694P+tUyG3AJ+AhuHB8ZAah/HKVYFIwC9/PFC+EL4kj+HUSCXpyfDwxgMIYW693R 1hy6fUKTv2psufZcOX6bdvq7pQi8DnN7MWtS7uvzwZw+b7iOajMsIhbVujsQ7GdzWU2c ecxOTRagOa1/jrb2NaFaRPMAe1RpKadXckKSztv70BWu4pPiI2wlc8abQ7mM2+/MhZm6 UI4Iz7yONi08EAVOkjlHbujXsBz69O5YpbTRVwxTcGAhUxEtTeKGahQvD0BLph0aOzDB f3hg== MIME-Version: 1.0 Received: by 10.60.13.130 with SMTP id h2mr1317419oec.63.1348688902469; Wed, 26 Sep 2012 12:48:22 -0700 (PDT) Received: by 10.76.8.98 with HTTP; Wed, 26 Sep 2012 12:48:22 -0700 (PDT) In-Reply-To: <506357F9.8000105@gmail.com> References: <506357F9.8000105@gmail.com> Date: Wed, 26 Sep 2012 12:48:22 -0700 Message-ID: From: Adrian Chadd To: Chuck Burns Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org Subject: Re: The recent journey - filtered frames, power save and multicast/cabq traffic 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, 26 Sep 2012 19:48:23 -0000 :) Thankyou for your support. I have a big bag of assorted Atheros 11n NICs which include AR9170 NICs. My offer to the community is still the same - port the otus driver from openbsd, get it working, and I'll flesh out 802.11n support for it. Adrian On 26 September 2012 12:31, Chuck Burns wrote: > On 9/26/2012 12:35 PM, Adrian Chadd wrote: >> >> => I'll file a PR and fix this; shouldn't be too hard. >> >> Phew! >> >> >> >> >> >> Adrian >> _______________________________________________ >> 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" >> > > Even though most of this stuff does not affect me, or my equipment in any > way (I only have 1 atheros.11 device. but it's a ar9170usb usb dongle, not > touched by your ath work, and a urtw-based 11g usb dongle that misbehaves > under freebsd), I must say thank you. > > Adrian, you seem to be one of the few device-driver devs that actually keep > the MLs informed of your thought processes, and seem to actually be "doing > something" wrt to ath 11n support, and I thank you for your hard work. > > Should you ever be lacking for work to do, I would be happy to send you my > ar9170usb stick, or the netgear 11g urtw-based device. (you could either > keep them, or mail them back once you no longer need em), but I am only > partially joking here. :) > > Keep up the good work, and thanks for the contributions! > > -- > Chuck Burns > _______________________________________________ > 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 Wed Sep 26 19:49:58 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 BAD42106564A; Wed, 26 Sep 2012 19:49:58 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 624F58FC1A; Wed, 26 Sep 2012 19:49:58 +0000 (UTC) Received: by vbmv11 with SMTP id v11so1428680vbm.13 for ; Wed, 26 Sep 2012 12:49:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=TLkinxYSiMossoLnq390umCTpPtbBm1MDKukAFxU6T0=; b=sSqPMSesevOI/cEPi7vfGJeycPKH5o1G8VL1VLAgkhypC/f6vekJhxLXpBOb+QYhQ2 sZS0WhQnXoeaMdLRqjmaCNENeWusqKvHZsXcrNzefEHFcRHz9OcFXEbE+U+7mtj4hDqj PX1um1AgggHxj/XXm0l7KHfVRTudOcaldK9ZBJhpP3slvaS9BPRXgi4dRx6nE7w/VLuo Lhs0Zsyi/TsmdM1gWs4+WdRdV8cRzkHMVdkSAIYA1qP/ZAEbg+hCDJHOILTXRBdtK7pn USbKSt6VFs8atqIgEf9QlOTH5YulwpCOS/MXBCtEU8haCC3QDzRNZ1bS2jqZCt4PuRUx Vn6g== MIME-Version: 1.0 Received: by 10.52.68.201 with SMTP id y9mr717429vdt.68.1348688997535; Wed, 26 Sep 2012 12:49:57 -0700 (PDT) Received: by 10.58.226.163 with HTTP; Wed, 26 Sep 2012 12:49:57 -0700 (PDT) Date: Wed, 26 Sep 2012 15:49:57 -0400 Message-ID: From: Kim Culhan To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org Subject: ath0_node_lock ath0_com_lock lor 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, 26 Sep 2012 19:49:58 -0000 Have not seen an lor in some time, this noted today fyi lock order reversal: 1st 0xffffff80009267f0 ath0_node_lock (ath0_node_lock) @ /usr/src/sys/net80211/ieee80211_ioctl.c:1341 2nd 0xffffff8000925018 ath0_com_lock (ath0_com_lock) @ /usr/src/sys/net80211/ieee80211_node.c:2619 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b kdb_backtrace() at kdb_backtrace+0x39 witness_checkorder() at witness_checkorder+0xc37 _mtx_lock_flags() at _mtx_lock_flags+0x83 ieee80211_node_leave() at ieee80211_node_leave+0x97 setmlme_common() at setmlme_common+0x3f7 ieee80211_ioctl_setmlme() at ieee80211_ioctl_setmlme+0x87 ieee80211_ioctl_set80211() at ieee80211_ioctl_set80211+0x5a5 in_control() at in_control+0x216 ifioctl() at ifioctl+0x1020 kern_ioctl() at kern_ioctl+0x1b0 sys_ioctl() at sys_ioctl+0x11f amd64_syscall() at amd64_syscall+0x25a Xfast_syscall() at Xfast_syscall+0xfb --- syscall (54, FreeBSD ELF64, sys_ioctl), rip = 0x801203b8a, rsp = 0x7fffffffd9b8, rbp = 0x7fffffffda20 --- -- thanks -kim From owner-freebsd-wireless@FreeBSD.ORG Thu Sep 27 19:44: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 40896106566B for ; Thu, 27 Sep 2012 19:44: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 13A028FC08 for ; Thu, 27 Sep 2012 19:44:05 +0000 (UTC) Received: by pbbrp8 with SMTP id rp8so4757485pbb.13 for ; Thu, 27 Sep 2012 12:44:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=2D9Y6SbfXMoxmzxT0dW/W6eB4MjJdl4Q9v1gYp8vmXs=; b=JWb5ElWUFqUFOLGernXqyWzn2rsa/ahOV4MZ3b2EU5rYEQkZYKZ7CQ89HTk/UF0EXD CuGiHKPMjPoZJZqgh0wGP+l1Q9XWS2RQC53WuW3vg2/fGzIGMYaYGLwmgQeVyp5/AC0i nJ28gH5FndGHny82RN0TU79dEgM61jJVwqXNmM1miOY3bHWsSffi1525sIWj9QACkZpW L5dXIaJe7Y3SFHZ1hcLdbEBh9cKM3vJDDilETeCYeik2bUO90TIl4ZvPrP3iKueo16QY gvqJ++QqZZXF71Is8o8zphmXbfVfp5Ln7qm5iITxpvxPZOo51oZRzijM9nn/cbNyX5Zx /JqQ== MIME-Version: 1.0 Received: by 10.68.189.164 with SMTP id gj4mr14374928pbc.48.1348775044646; Thu, 27 Sep 2012 12:44:04 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.16.40 with HTTP; Thu, 27 Sep 2012 12:44:04 -0700 (PDT) In-Reply-To: References: Date: Thu, 27 Sep 2012 12:44:04 -0700 X-Google-Sender-Auth: PbWgq1r_e9uaHVbXkz2KYrea-uM Message-ID: From: Adrian Chadd To: Kim Culhan Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org Subject: Re: ath0_node_lock ath0_com_lock lor 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: Thu, 27 Sep 2012 19:44:06 -0000 Hm, that's odd. Who wants to go digging to figure out which code paths are causing this? :) I'm knee deep in ANI at the moment. :) Adrian On 26 September 2012 12:49, Kim Culhan wrote: > Have not seen an lor in some time, this noted today fyi > > lock order reversal: > 1st 0xffffff80009267f0 ath0_node_lock (ath0_node_lock) @ > /usr/src/sys/net80211/ieee80211_ioctl.c:1341 > 2nd 0xffffff8000925018 ath0_com_lock (ath0_com_lock) @ > /usr/src/sys/net80211/ieee80211_node.c:2619 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2b > kdb_backtrace() at kdb_backtrace+0x39 > witness_checkorder() at witness_checkorder+0xc37 > _mtx_lock_flags() at _mtx_lock_flags+0x83 > ieee80211_node_leave() at ieee80211_node_leave+0x97 > setmlme_common() at setmlme_common+0x3f7 > ieee80211_ioctl_setmlme() at ieee80211_ioctl_setmlme+0x87 > ieee80211_ioctl_set80211() at ieee80211_ioctl_set80211+0x5a5 > in_control() at in_control+0x216 > ifioctl() at ifioctl+0x1020 > kern_ioctl() at kern_ioctl+0x1b0 > sys_ioctl() at sys_ioctl+0x11f > amd64_syscall() at amd64_syscall+0x25a > Xfast_syscall() at Xfast_syscall+0xfb > --- syscall (54, FreeBSD ELF64, sys_ioctl), rip = 0x801203b8a, rsp = > 0x7fffffffd9b8, rbp = 0x7fffffffda20 --- > > > -- > thanks > -kim From owner-freebsd-wireless@FreeBSD.ORG Fri Sep 28 14:03:55 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 26C7C106564A for ; Fri, 28 Sep 2012 14:03:55 +0000 (UTC) (envelope-from moonlightakkiy@yahoo.ca) Received: from nm16.bullet.mail.bf1.yahoo.com (nm16.bullet.mail.bf1.yahoo.com [98.139.212.175]) by mx1.freebsd.org (Postfix) with SMTP id BB3418FC17 for ; Fri, 28 Sep 2012 14:03:54 +0000 (UTC) Received: from [98.139.212.148] by nm16.bullet.mail.bf1.yahoo.com with NNFMP; 28 Sep 2012 14:03:48 -0000 Received: from [98.139.213.8] by tm5.bullet.mail.bf1.yahoo.com with NNFMP; 28 Sep 2012 14:03:47 -0000 Received: from [127.0.0.1] by smtp108.mail.bf1.yahoo.com with NNFMP; 28 Sep 2012 14:03:47 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s1024; t=1348841027; bh=k8mvg1BjetnLqz51g4MMe6SpLzlShNHb5/V9UlSs240=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Received:MIME-Version:Received:Received:Date:Message-ID:Subject:From:To:Cc:Content-Type; b=YYOTLMKdNt7gOECWUc/Y2jdpXFKovUensEe/8KIb0Xx+RfrtxgiUWJoyaY8uWKILP63voS6sPh3VMVZU+f987WkRwptYKh6D84pBqlf2MbVssnHH/LiCdd2Srl9KVi+AlT6RnPw5Z1G11Vsm55duWNJcia9EDvRUOXvxASkeYZA= X-Yahoo-Newman-Id: 969498.37118.bm@smtp108.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: BILcrH4VM1mxOKzBcAsWjILq2L9d32etftPv.vUH.s1PUYW fRnQ52G4n0s2ypCMrkHl21fI9aRSWHd4PvP1NmZvwqt.9L6oVBxCY2Fh0O7d proztpEm49WNJRg4HPN.09SzI1QnS_LXq4lrLZFKfjZgLsWJ8SkwH06F.WkL MJjZ4VURA9sbembpGtiJBFCIZwOwBtlDP6h5HUHKMVRkcIIcbGdRUbrpWUAD coJ6vbVZJKWyy7EjyrsGW9xMup.QbUgXxBul8CJjUZR1uf1UARPwYbPRZchg T5apcxNe.jQBLpPApTcrngMLGiESG8QlfmZZeM2zNhqQwyH9_eBEhuVOIB2U g1rA7Hx30YBhC2z7N2.Lf_RNvOtpAp4b8m6X3MHF5bKwBMiAAdwy4PxnsxfA 9XsJv4iied76SVuzR66QX1INb3TQgVVgn39djEYNawl7wVS_Jt.IDAtTOd5. iTQcu.iHMMXIdj.EsdbPA2gBpFh47VKNhITnfZuKKhb_61.3KlqZgNwMOJzH dhHHxOkYTlUb9ZUE_juUONsUc5KzwUsSIG7bfThEDDX87pCzQWAkVt0dKJnx 85Fqthg-- X-Yahoo-SMTP: Xr6qjFWswBAEmd20sAvB4Q3keqXvXsIH9TjJ Received: from mail-vb0-f54.google.com (moonlightakkiy@209.85.212.54 with plain) by smtp108.mail.bf1.yahoo.com with SMTP; 28 Sep 2012 07:03:47 -0700 PDT Received: by vbmv11 with SMTP id v11so4088554vbm.13 for ; Fri, 28 Sep 2012 07:03:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.16.12 with SMTP id m12mr4083445vca.14.1348841027369; Fri, 28 Sep 2012 07:03:47 -0700 (PDT) Received: by 10.58.182.72 with HTTP; Fri, 28 Sep 2012 07:03:47 -0700 (PDT) Date: Fri, 28 Sep 2012 08:03:47 -0600 Message-ID: From: PseudoCylon To: Adrian Chadd , Kim Culhan Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org Subject: Re: ath0_node_lock ath0_com_lock lor 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: Fri, 28 Sep 2012 14:03:55 -0000 > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 27 Sep 2012 12:44:04 -0700 > From: Adrian Chadd > Subject: Re: ath0_node_lock ath0_com_lock lor > To: Kim Culhan > Cc: freebsd-wireless@freebsd.org > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > Hm, that's odd. Who wants to go digging to figure out which code paths > are causing this? :) > A suggestion in setmlme_dropsta() http://fxr.watson.org/fxr/source/net80211/ieee80211_ioctl.c#L1331 Just forget about node lock and call ieee80211_find_node() instead of ieee80211_find_node_locked(). (I believe this lor occurs only in AP mode.) AK PS This lor is already documented in wifi debug wiki. > > > On 26 September 2012 12:49, Kim Culhan wrote: >> Have not seen an lor in some time, this noted today fyi >> >> lock order reversal: >> 1st 0xffffff80009267f0 ath0_node_lock (ath0_node_lock) @ >> /usr/src/sys/net80211/ieee80211_ioctl.c:1341 >> 2nd 0xffffff8000925018 ath0_com_lock (ath0_com_lock) @ >> /usr/src/sys/net80211/ieee80211_node.c:2619 >> KDB: stack backtrace: >> db_trace_self_wrapper() at db_trace_self_wrapper+0x2b >> kdb_backtrace() at kdb_backtrace+0x39 >> witness_checkorder() at witness_checkorder+0xc37 >> _mtx_lock_flags() at _mtx_lock_flags+0x83 >> ieee80211_node_leave() at ieee80211_node_leave+0x97 >> setmlme_common() at setmlme_common+0x3f7 >> ieee80211_ioctl_setmlme() at ieee80211_ioctl_setmlme+0x87 >> ieee80211_ioctl_set80211() at ieee80211_ioctl_set80211+0x5a5 >> in_control() at in_control+0x216 >> ifioctl() at ifioctl+0x1020 >> kern_ioctl() at kern_ioctl+0x1b0 >> sys_ioctl() at sys_ioctl+0x11f >> amd64_syscall() at amd64_syscall+0x25a >> Xfast_syscall() at Xfast_syscall+0xfb >> --- syscall (54, FreeBSD ELF64, sys_ioctl), rip = 0x801203b8a, rsp = >> 0x7fffffffd9b8, rbp = 0x7fffffffda20 --- >> >> >> -- >> thanks >> -kim From owner-freebsd-wireless@FreeBSD.ORG Fri Sep 28 13:48:26 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 57040106564A for ; Fri, 28 Sep 2012 13:48:26 +0000 (UTC) (envelope-from pawelgpn@yahoo.ca) Received: from nm35-vm5.bullet.mail.bf1.yahoo.com (nm35-vm5.bullet.mail.bf1.yahoo.com [72.30.238.77]) by mx1.freebsd.org (Postfix) with SMTP id 00F6A8FC15 for ; Fri, 28 Sep 2012 13:48:25 +0000 (UTC) Received: from [98.139.212.149] by nm35.bullet.mail.bf1.yahoo.com with NNFMP; 28 Sep 2012 13:48:19 -0000 Received: from [98.139.215.230] by tm6.bullet.mail.bf1.yahoo.com with NNFMP; 28 Sep 2012 13:48:19 -0000 Received: from [127.0.0.1] by omp1070.mail.bf1.yahoo.com with NNFMP; 28 Sep 2012 13:48:19 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 51573.55289.bm@omp1070.mail.bf1.yahoo.com Received: (qmail 21420 invoked by uid 60001); 28 Sep 2012 13:48:18 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s1024; t=1348840098; bh=1gRLWAIAxRRKkuArlFhMxbc5l/4xUUWvr3bxCC7fVh4=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=XfMCo6ayabPAtMcfDimG3i/QUXFDSRaD0ynGZ5ACcSe2/jsjCpdHQtnMlZgXC42Dh2vk+P3yf/hWCn4pQ7gzd404OXm/LpQm/eLhJVmpt6q4Z98TjzZO1PaWBTeMk2GbgceDV9elCk5sNvJ7j4Q8JeZJUR1Wyz1tcid52iRYM+g= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=Je+Irmtb1m/35ozmClmwiMW+tDE0aGHt57fi6AEIzT+4Sf4BppjunIMfGCG3jG/tHWoHhCVLgEVLcTDzEOd/wZVK3c8I8Q+ABYZ4I2aQiANheb25/6cJzTYJXwsZ8aheBd+4XkypIqxqQ7wLkwjrG+FN0vzx6zxIpa1q23PXCmk=; X-YMail-OSG: LCgJTR8VM1k1fjR983JE1d1xpXEU2Wpx6ukEch79W6YwWhO xI05O1o0nychH0jqU32xquJLD3Aq3mzcOqf2QZ2upzHoahv_bm6JheXmc0K4 .djpDNS0LRsA5x2W92wsKpaX39ToqAf.NBGPPtSYJQJgC0wq6SVHahueZAzU On3VMciuzsYrl8Yi7IRLTVnUyhajPXCti04tsUGXreVv2KE6TQ.n_jEJaCCA 11aN7tCBLX9VUc.oXtJ6PUm722ofEmNKp0zTBjP8Y3Tt_5cmfGF4inoTDDaK gx5gogufN9N2BEVS3H6YQbVhIGaEigo2nJLsgJHNXXVnxDJd2rSKX1_TLDdE mFrfPc8ZDhaS3Z6UDoIKLLJyB43WoReJgWFEjj.4W7daqHYV0m39KHREUoHN ipQ_TmPAhWThsQmkG0Yg5sLLngfCqfN2_.zk- Received: from [77.65.73.134] by web161302.mail.bf1.yahoo.com via HTTP; Fri, 28 Sep 2012 06:48:18 PDT X-Mailer: YahooMailWebService/0.8.121.434 Message-ID: <1348840098.12562.YahooMailNeo@web161302.mail.bf1.yahoo.com> Date: Fri, 28 Sep 2012 06:48:18 -0700 (PDT) From: Pawel Gogolewski To: "freebsd-wireless@freebsd.org" MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 28 Sep 2012 14:43:11 +0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: usb wifi N X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Pawel Gogolewski 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: Fri, 28 Sep 2012 13:48:26 -0000 Dear Sir/Madam=0A=0AIt has been known for some time that bsd-flavours of Un= ix try hard to be capable of=0Arunning as much hardware as it can be.=0AWha= t am I interested in is the development stage of atheros wifi drivers for N= speed =0AUSB devices.=0AI am using tp link Wn 821 N=C2=A0 and it works fla= wlessly under Linux.=0A=0ANow, when it comes top Freebsd, I fire up the sys= tem and under no circumstances =0Acan't the system even recognize the devic= e.=0AWhat really makes me curious is the fact there's no way of loading the= uath driver.=0AKldload responses with information that it is already loade= d in kernel but =0Akldstat -v gives no clue about it. =0AFurthermore, 'kldl= oad if_uath.ko' gives an error, namely that of impossibility of =0Aloading = the given module by hand though 'ls'=C2=A0 recognizes it while listing=0A/b= oot/kernel directory.=0A=0ASo, the point is I cannot load atheros usb wifi = module by myself as it already=0Ahas been done during boot but the system c= annot get the module working as well.=0AI am using regular version 8.3 of F= reebsd at the moment, but the problem was relevant=0Ato the newer one too.= =0AI didn't play with the kernel nor did I recompile it.=0AIn addition, "if= config wlan0 create wlandev uath0" returns always error stating that=0A"can= not create interface wlan0" or sth. similar in meaning.=0A=0ACan anyone be = so kind and explain in detail what should I do ?=0A=0AMy ethernet card ( nf= e0 ) worked always without any flaws but isn't the time=0AFreebsd should mo= ve to wifi usb hardware more consistently ?=0AAs I said Linux has had the d= rivers working for some time now.=0A=0AWhat are you waiting for ??=0A=0A=0A= =0APawe=C5=82 Gogolewski, EU, Poland From owner-freebsd-wireless@FreeBSD.ORG Fri Sep 28 16:14:48 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 335F4106564A for ; Fri, 28 Sep 2012 16:14:48 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-da0-f54.google.com (mail-da0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 065BC8FC0C for ; Fri, 28 Sep 2012 16:14:47 +0000 (UTC) Received: by dadz9 with SMTP id z9so805894dad.13 for ; Fri, 28 Sep 2012 09:14:47 -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:content-transfer-encoding; bh=bteLrp+nRXkBZXfn75gbPFsDmqintDTo4kKy49Ezcyw=; b=yL9MOkTLDBgaM8zuDxQf2rlH4UQ/VbsauSME3leNz9hWH6KFdyp/r12o295xueosvk TVCZeQhhsdTMD9bc/CVN5cJ4Ztm4eXpaLpMI+3nz5y7XQcShOvZlF6ZWTWoMQkfBo9ns dxsGzOLGMlU+8vfOW3e/CFrgq1dxBCNbR77F8nNOm9GJRzmEVDc7PtY3+IYbWm6dIE0s m7/ojeXZNJeeo+oL6YJXYXpyWbQkePd1c/F/qT5k55QKNx+4VASMulgmmQAj+v24O0Q+ IOP/t5rBN9mXmtbj/4fzn80XkUF21FRZWmo++dTEhHQKcbwlAuziVleTjWKwWIE3kmU7 pMHg== MIME-Version: 1.0 Received: by 10.68.225.3 with SMTP id rg3mr21613626pbc.27.1348848887205; Fri, 28 Sep 2012 09:14:47 -0700 (PDT) Received: by 10.68.16.40 with HTTP; Fri, 28 Sep 2012 09:14:47 -0700 (PDT) In-Reply-To: <1348840098.12562.YahooMailNeo@web161302.mail.bf1.yahoo.com> References: <1348840098.12562.YahooMailNeo@web161302.mail.bf1.yahoo.com> Date: Fri, 28 Sep 2012 09:14:47 -0700 Message-ID: From: Adrian Chadd To: Pawel Gogolewski Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-wireless@freebsd.org" Subject: Re: usb wifi N 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: Fri, 28 Sep 2012 16:14:48 -0000 Hi, The Atheros USB 802.11n devices need to use a different driver. As of yet, noone has stepped up to do the relevant porting work. Adrian On 28 September 2012 06:48, Pawel Gogolewski wrote: > Dear Sir/Madam > > It has been known for some time that bsd-flavours of Unix try hard to be = capable of > running as much hardware as it can be. > What am I interested in is the development stage of atheros wifi drivers = for N speed > USB devices. > I am using tp link Wn 821 N and it works flawlessly under Linux. > > Now, when it comes top Freebsd, I fire up the system and under no circums= tances > can't the system even recognize the device. > What really makes me curious is the fact there's no way of loading the ua= th driver. > Kldload responses with information that it is already loaded in kernel bu= t > kldstat -v gives no clue about it. > Furthermore, 'kldload if_uath.ko' gives an error, namely that of impossib= ility of > loading the given module by hand though 'ls' recognizes it while listing > /boot/kernel directory. > > So, the point is I cannot load atheros usb wifi module by myself as it al= ready > has been done during boot but the system cannot get the module working as= well. > I am using regular version 8.3 of Freebsd at the moment, but the problem = was relevant > to the newer one too. > I didn't play with the kernel nor did I recompile it. > In addition, "ifconfig wlan0 create wlandev uath0" returns always error s= tating that > "cannot create interface wlan0" or sth. similar in meaning. > > Can anyone be so kind and explain in detail what should I do ? > > My ethernet card ( nfe0 ) worked always without any flaws but isn't the t= ime > Freebsd should move to wifi usb hardware more consistently ? > As I said Linux has had the drivers working for some time now. > > What are you waiting for ?? > > > > Pawe=C5=82 Gogolewski, EU, Poland > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.or= g" From owner-freebsd-wireless@FreeBSD.ORG Fri Sep 28 16:22:44 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 06A90106564A for ; Fri, 28 Sep 2012 16:22:44 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id CDC978FC08 for ; Fri, 28 Sep 2012 16:22:43 +0000 (UTC) Received: by padbi1 with SMTP id bi1so2728213pad.13 for ; Fri, 28 Sep 2012 09:22:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=mFPWyE/mpNPlcIr9QWhTsl4W5MInzN+YTnNiTnaKyig=; b=ao8ScbNOwr4UM2vFUYA4rORkAPkMJByvLVnzdIbzOOAxSnYFafttW3soK+oHvNc+cW EiVxdYQR6JSdqnqHmkbImLnwY+/l5kKGGBzUrUdhIQIc80ds2zyi/VVBpla2uekunsjj zWeLtPJE51pV6964sbbPwheX5IOTUfpXYbFC/lw2zmPrKEa2NxYm8yqA4a45G2ogFupP TDIl+HO/fMi3sYTaBJkaiwUYElFAzoP1x6vOxY0821Rfz1d+XXpNIbg+CfSi3xEfgkBG zXI1kVrltJvNM2pvT0qzbGuk3TyNkCrJlCUxlPAuyslklxS1FHe7oZekdxnTFttfOgb+ c1DA== MIME-Version: 1.0 Received: by 10.66.87.133 with SMTP id ay5mr18218502pab.59.1348849357621; Fri, 28 Sep 2012 09:22:37 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.16.40 with HTTP; Fri, 28 Sep 2012 09:22:37 -0700 (PDT) In-Reply-To: References: Date: Fri, 28 Sep 2012 09:22:37 -0700 X-Google-Sender-Auth: CiDLjlU--rPSkogeIDiQ6bD66X0 Message-ID: From: Adrian Chadd To: PseudoCylon Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org, Kim Culhan Subject: Re: ath0_node_lock ath0_com_lock lor 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: Fri, 28 Sep 2012 16:22:44 -0000 On 28 September 2012 07:03, PseudoCylon wrote: >> Hm, that's odd. Who wants to go digging to figure out which code paths >> are causing this? :) > A suggestion > > in setmlme_dropsta() > http://fxr.watson.org/fxr/source/net80211/ieee80211_ioctl.c#L1331 > > Just forget about node lock and call ieee80211_find_node() instead of > ieee80211_find_node_locked(). (I believe this lor occurs only in AP > mode.) Right, it's in the wiki, but I don't know what the two code paths are that have inverted locks. So would someone please map out the two code paths and where the locks are grabbed, so I/we can think about how this should be better fixed? Thanks, Adrian From owner-freebsd-wireless@FreeBSD.ORG Sat Sep 29 15:06:22 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 190DE1065672 for ; Sat, 29 Sep 2012 15:06:22 +0000 (UTC) (envelope-from sven@hazejager.nl) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id C4EFA8FC08 for ; Sat, 29 Sep 2012 15:06:21 +0000 (UTC) Received: by vbmv11 with SMTP id v11so5319729vbm.13 for ; Sat, 29 Sep 2012 08:06:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=7HbDUtkqG86h2MizQk9RSo8wwJS/veKS4GAefUv3LB0=; b=JryR1gs7cx77ex8PfL9bEjvl5/fgzoZ7VAb5GLSdeZfpLTg7Y6Sr6m5dTPDEtLmXDc 23MHB2u6xX1KPtj36ebDLWQuq74dFqbKXWXdnOqCWJ4jti78TlsxItUGNyitplLwl6Mg 32P2YuUD8GmTqwmd+24sYid//Yc1LnDzqWRiUoHPuRYo46WYa/Zfy/JLl4Wi2Xg2x+U9 2399aCRLo78W2Osrczl93NxWYva/KE0woDyQMmgpkVky7SUrwUBIvyNUsZs3O1XfiXBP rety5ADgoABz5g85Wl+m8JlR+0EGc4OxFW9IBYW+38mplMzd5SGhnWGqT9SHF6LtS/EM TioA== MIME-Version: 1.0 Received: by 10.221.1.81 with SMTP id np17mr5644729vcb.66.1348931180725; Sat, 29 Sep 2012 08:06:20 -0700 (PDT) Received: by 10.220.141.82 with HTTP; Sat, 29 Sep 2012 08:06:20 -0700 (PDT) X-Originating-IP: [212.123.177.47] Date: Sat, 29 Sep 2012 17:06:20 +0200 Message-ID: From: Sven Hazejager To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQkJQqt/Dqoup76ecUDivGbbZyORSPBKYFl5CfSrPoXerxmA2s66TMcnPEU010lv8h+dojgu Subject: AR9160 3x3 but only getting 2x2? 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, 29 Sep 2012 15:06:22 -0000 Hi there, I'm running FreeBSD 10-CURRENT r240893 on ALIX, just replaced my old 802.11g by a DNMA-83 3x3 802.11 card, works great, but ath only finds 2x2 instead of 3x3? dmesg with 1 antenna (which is what I'm testing now, I already really like MCS 7 over 11g): ath0: mem 0xe0080000-0xe008ffff irq 9 at device 12.0 on pci0 ath0: Setting RX chainmask to 0x1 ath0: Setting TX chainmask to 0x1 ath0: [HT] enabling HT modes ath0: [HT] 1 RX streams; 1 TX streams ath0: AR9160 mac 64.1 RF5133 phy 11.0 ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 Without any hints, I get this: ath0: [HT] enabling HT modes ath0: [HT] 2 RX streams; 2 TX streams But I would have expected 3x3, given the specs (http://unex.com.tw/product/dnma-83) and the 3 antenna connectors :-) Thanks, Sven From owner-freebsd-wireless@FreeBSD.ORG Sat Sep 29 16:57:04 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 31361106564A for ; Sat, 29 Sep 2012 16:57:04 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id 020AB8FC0C for ; Sat, 29 Sep 2012 16:57:03 +0000 (UTC) Received: by padbi1 with SMTP id bi1so3505759pad.13 for ; Sat, 29 Sep 2012 09:57:03 -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=LSuvARTHXVSkX8qjsQITZ9tSaXMhV+Kt5WNl4DBlxno=; b=AbjcFiyvLDzXz8F5Vyf3gmCBR20K0hnVR2o21UGgZadzgcSQau6qUd4HTdgqq53cyF VeuZDLwGbJjLNyDtFtZ74SKEATgySZK7rjOCqp5MBrraft5inYNBcgo6kLfmnjmcIOa8 meh4ox2nbBTQAQV8r27vm5Tu2+lnlpQmVhwCcyO6bPtQ69X306WXWXLzAvXMHgXFk9gU MBFJ60pSf0j1kq7lNNGDL/0qA0J+HcAHeTgDucCU4wQLG3F5zw9taFRvMq9mTLjqUOMr QfNxsmuOPNteAavBu0HldvT9CYEaHC+NR9J4XUzt5elgZhey9toVdS9Z7L/KozpYNZbI zGKA== MIME-Version: 1.0 Received: by 10.68.136.40 with SMTP id px8mr28917797pbb.153.1348937823381; Sat, 29 Sep 2012 09:57:03 -0700 (PDT) Received: by 10.68.16.40 with HTTP; Sat, 29 Sep 2012 09:57:03 -0700 (PDT) Received: by 10.68.16.40 with HTTP; Sat, 29 Sep 2012 09:57:03 -0700 (PDT) In-Reply-To: References: Date: Sat, 29 Sep 2012 09:57:03 -0700 Message-ID: From: Adrian Chadd To: Sven Hazejager Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-wireless@freebsd.org Subject: Re: AR9160 3x3 but only getting 2x2? 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, 29 Sep 2012 16:57:04 -0000 Hi, Nope. Its a two stream device. Ill email the list when the ar9380 3 stream support is in On Sep 29, 2012 11:06 AM, "Sven Hazejager" wrote: > Hi there, > > I'm running FreeBSD 10-CURRENT r240893 on ALIX, just replaced my old > 802.11g by a DNMA-83 3x3 802.11 card, works great, but ath only finds > 2x2 instead of 3x3? > > dmesg with 1 antenna (which is what I'm testing now, I already really > like MCS 7 over 11g): > > ath0: mem 0xe0080000-0xe008ffff irq 9 at device 12.0 on pci0 > ath0: Setting RX chainmask to 0x1 > ath0: Setting TX chainmask to 0x1 > ath0: [HT] enabling HT modes > ath0: [HT] 1 RX streams; 1 TX streams > ath0: AR9160 mac 64.1 RF5133 phy 11.0 > ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 > > Without any hints, I get this: > > ath0: [HT] enabling HT modes > ath0: [HT] 2 RX streams; 2 TX streams > > But I would have expected 3x3, given the specs > (http://unex.com.tw/product/dnma-83) and the 3 antenna connectors :-) > > Thanks, > Sven > _______________________________________________ > 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 > " >