From owner-freebsd-wireless@FreeBSD.ORG Sun Apr 17 06:09:06 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4814106564A for ; Sun, 17 Apr 2011 06:09:06 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4CCEA8FC0A for ; Sun, 17 Apr 2011 06:09:05 +0000 (UTC) Received: by wyf23 with SMTP id 23so3874540wyf.13 for ; Sat, 16 Apr 2011 23:09:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=IRP+Yl1Gl3AgTLweXuQtQSn8lr+hKKFQzvMVxu71BW0=; b=kWkI3JZqjZRkOtOgEKEnB4x4NSZmQVbDMvubzrvTLCIWIELCFiNnqoLsas+N2S82vM soMDr7rwi8Kg90d/Rh84BAKbE7kqyz7stFm/S5uYtM5vcrW7wSUH39UxBEL/UjYnLDzC E4yvDltyh3Lc257hNiawJoMaEh+EZMdPuWHgc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=mEpLZnpZY/6GbnBVSSwI/fN6eEIwK0iAl3lpnUB1ywSgmH8lyM46j1Mxi3qKwplROS wuwv7FR/leaApqSHbzNffO+8O9W3YIBXa2xKrn5H6QdDAtc3UUp+nFRj3pLB1Va5vgmf CB6QCR9mIKWPsWva8Ey6aS07366/edY6B7rBI= MIME-Version: 1.0 Received: by 10.227.37.220 with SMTP id y28mr3692437wbd.82.1303020545164; Sat, 16 Apr 2011 23:09:05 -0700 (PDT) Received: by 10.227.174.13 with HTTP; Sat, 16 Apr 2011 23:09:05 -0700 (PDT) Date: Sun, 17 Apr 2011 14:09:05 +0800 Message-ID: From: Adrian Chadd To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: RFC: supporting multiple hostap instances in /etc/rc.conf 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, 17 Apr 2011 06:09:06 -0000 Hi all, I'd like to try and sneak in something to support multiple hostapd instances before 9.0-REL is branched. The problem at the moment is that there is only one hostapd instance inside the rc script(s). I'm not yet sure of the "right" way to do it. I was thinking of two ways: * add a HOSTAP option (like WPA/DHCP) to ifconfig, which spawns hostapd with the relevant flags * modify the rc setup to take a list of named hostapd instances, complete with differing config files, interfaces and flags. What do people think? I'm happy to script it up and get it committed to -HEAD, but I'd rather sort out the 'what' first before I spend time doing rc script hackery. Thanks, adrian From owner-freebsd-wireless@FreeBSD.ORG Sun Apr 17 07:09:44 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2063A106566C for ; Sun, 17 Apr 2011 07:09:44 +0000 (UTC) (envelope-from bschmidt@techwires.net) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id AC4768FC08 for ; Sun, 17 Apr 2011 07:09:43 +0000 (UTC) Received: by bwz12 with SMTP id 12so4230859bwz.13 for ; Sun, 17 Apr 2011 00:09:42 -0700 (PDT) Received: by 10.204.230.194 with SMTP id jn2mr1950897bkb.133.1303024181644; Sun, 17 Apr 2011 00:09:41 -0700 (PDT) Received: from amy.lab.techwires.net (dslb-088-065-057-126.pools.arcor-ip.net [88.65.57.126]) by mx.google.com with ESMTPS id q24sm2455550bks.9.2011.04.17.00.09.39 (version=SSLv3 cipher=OTHER); Sun, 17 Apr 2011 00:09:40 -0700 (PDT) Sender: Bernhard Schmidt From: Bernhard Schmidt To: Adrian Chadd Date: Sun, 17 Apr 2011 09:09:44 +0200 User-Agent: KMail/1.13.6 (FreeBSD/8.2-STABLE; KDE/4.6.2; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201104170909.44508.bschmidt@freebsd.org> Cc: freebsd-wireless@freebsd.org Subject: Re: RFC: supporting multiple hostap instances in /etc/rc.conf 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, 17 Apr 2011 07:09:44 -0000 On Sunday 17 April 2011 08:09:05 Adrian Chadd wrote: > Hi all, > > I'd like to try and sneak in something to support multiple hostapd instances > before 9.0-REL is branched. > > The problem at the moment is that there is only one hostapd instance inside > the rc script(s). > > I'm not yet sure of the "right" way to do it. I was thinking of two ways: > > * add a HOSTAP option (like WPA/DHCP) to ifconfig, which spawns hostapd with > the relevant flags > * modify the rc setup to take a list of named hostapd instances, complete > with differing config files, interfaces and flags. Given that hostapd needs to be started with a configuration file as an argument and not an interface like wpa_supplicant you need to add a way to add multiple configuration files. The conf_file variable is currently hard-coded to /etc/hostapd.conf, if you add another one like hostapd_conf_files="" and iterate over it, that should do the trick. But I'm not sure how to handle the pidfile, or how to name it.. > What do people think? I'm happy to script it up and get it committed to > -HEAD, but I'd rather sort out the 'what' first before I spend time doing rc > script hackery. > > Thanks, > > > 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" > -- Bernhard From owner-freebsd-wireless@FreeBSD.ORG Sun Apr 17 13:25:57 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D166106564A; Sun, 17 Apr 2011 13:25:57 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id CCA498FC15; Sun, 17 Apr 2011 13:25:56 +0000 (UTC) Received: by wyf23 with SMTP id 23so4017944wyf.13 for ; Sun, 17 Apr 2011 06:25:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=mbMs0xz8rahQKTZSZA8T+gPk27rp7ptOF/F+a/UtZKE=; b=N6Mvgwfh66k8s3at6/PHv2WMb4Tk9x1xulhMDGbj4hHReFvbpqM3XsEgBJCx4Z3wrL z8elSOw/kQKk+0l7qtaasyTVxrX/z2awO9E+NF3m9S0/c+cWOgGgkPJLr9ABKdgIRAUg jSnUO51XAf/tjmlroxaPq45toH1sXpiIbPmYE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=mSNjaCFQE1suAFn/S9+8bwaVGb2BuAZs+LI3AVfvxxT9SA/O30JbZHUJOImIkYe1Bj VTIMCj5oh4k67co/bPqgpBosn/lyOitMPaTLEmecoPRUq6sPhquvDe8FIWfudCDQEHcD 4LTFWensEKPW/lStbkg49CnHDnpJdupQpBndo= MIME-Version: 1.0 Received: by 10.227.37.220 with SMTP id y28mr3965944wbd.82.1303046755539; Sun, 17 Apr 2011 06:25:55 -0700 (PDT) Received: by 10.227.174.13 with HTTP; Sun, 17 Apr 2011 06:25:55 -0700 (PDT) In-Reply-To: <201104170909.44508.bschmidt@freebsd.org> References: <201104170909.44508.bschmidt@freebsd.org> Date: Sun, 17 Apr 2011 21:25:55 +0800 Message-ID: From: Adrian Chadd To: Bernhard Schmidt Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-wireless@freebsd.org Subject: Re: RFC: supporting multiple hostap instances in /etc/rc.conf 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, 17 Apr 2011 13:25:57 -0000 On 17 April 2011 15:09, Bernhard Schmidt wrote: > Given that hostapd needs to be started with a configuration file as an > argument and not an interface like wpa_supplicant you need to add a way > to add multiple configuration files. The conf_file variable is > currently hard-coded to /etc/hostapd.conf, if you add another one like > hostapd_conf_files="" and iterate over it, that should do the trick. > > But I'm not sure how to handle the pidfile, or how to name it.. > > I was thinking of say: hostapd_instances="a b c" hostapd_a_conf="/etc/hostapd.wlan0.conf" hostapd_a_flags="-B -p /var/run/hostapd.wlan0.pid" hostapd_a_cmd="/usr/sbin/hostapd" hostapd_b_conf="/etc/hostapd.wlan1.conf" hostapd_b_flags="-B -p /var/run/hostapd.wlan1.pid" hostapd_b_cmd="/usr/sbin/hostapd" It's not terribly automagic, but it'll work well enough to run multiple hostapds. How's that sound? Adrian > What do people think? I'm happy to script it up and get it committed to > > -HEAD, but I'd rather sort out the 'what' first before I spend time doing > rc > > script hackery. > > > > Thanks, > > > > > > 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" > > > > -- > Bernhard > From owner-freebsd-wireless@FreeBSD.ORG Sun Apr 17 13:52:58 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9E4C106564A for ; Sun, 17 Apr 2011 13:52:58 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 4FFA88FC17 for ; Sun, 17 Apr 2011 13:52:57 +0000 (UTC) Received: by wwc33 with SMTP id 33so4665774wwc.31 for ; Sun, 17 Apr 2011 06:52:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=SmEDFZ5CddZFFt2ZEfvOcKjdfqB3b9UoJDeUy9fBsCg=; b=iGEl19VkYeJdKFUvvtTdWYXAq3qeoDIz+LBdyfjKmKPdd1eMKoM64TWTPkb9X7NKX0 iARq4I/9uRakrxlDXeAw9fw+AccdOegIHOHchFMBia7eXSSXAi2rgOXB0ohv9NayvV1y plLvAwf8pP0vObhfqQ3KMX5jc04nwXRMjJ1GQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=VpRONimBz9Ah4SU/AWoMhCi9cqB7XkwF3DzXrRViZKUg7JhIsJ2Bsfsr6BKY/vPqgF k8XQ9JfVttu0isDpmaBr9vwA81/nuk9XTDO0xnZk0rsQuz17shM6FYwJohULgjsTZEPs UdU85vt9d53SZkLsD++be2Qn7tKCtcdvrPP58= MIME-Version: 1.0 Received: by 10.227.202.139 with SMTP id fe11mr3894472wbb.169.1303048304864; Sun, 17 Apr 2011 06:51:44 -0700 (PDT) Received: by 10.227.174.13 with HTTP; Sun, 17 Apr 2011 06:51:44 -0700 (PDT) Date: Sun, 17 Apr 2011 21:51:44 +0800 Message-ID: From: Adrian Chadd To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Please test - AR2427 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, 17 Apr 2011 13:52:58 -0000 Hi, I've been testing out the AR2427 support in -HEAD and it seems positively happy. I've had no speed drops, no TX rate error issues and no baseband lockups. The 11g throughput using iperf is ~28mbit both TX and RX using tcp iperf. I'd appreciate it if others would also test it and give me some feedback. Thanks, Adrian From owner-freebsd-wireless@FreeBSD.ORG Sun Apr 17 14:05:58 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1B91106564A for ; Sun, 17 Apr 2011 14:05:58 +0000 (UTC) (envelope-from bschmidt@techwires.net) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 533AD8FC18 for ; Sun, 17 Apr 2011 14:05:57 +0000 (UTC) Received: by bwz12 with SMTP id 12so4397881bwz.13 for ; Sun, 17 Apr 2011 07:05:57 -0700 (PDT) Received: by 10.204.19.74 with SMTP id z10mr3386815bka.183.1303049156954; Sun, 17 Apr 2011 07:05:56 -0700 (PDT) Received: from amy.lab.techwires.net (dslb-088-065-057-126.pools.arcor-ip.net [88.65.57.126]) by mx.google.com with ESMTPS id w3sm2609631bkt.17.2011.04.17.07.05.54 (version=SSLv3 cipher=OTHER); Sun, 17 Apr 2011 07:05:55 -0700 (PDT) Sender: Bernhard Schmidt From: Bernhard Schmidt To: Adrian Chadd Date: Sun, 17 Apr 2011 16:05:58 +0200 User-Agent: KMail/1.13.6 (FreeBSD/8.2-STABLE; KDE/4.6.2; amd64; ; ) References: <201104170909.44508.bschmidt@freebsd.org> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201104171605.59340.bschmidt@freebsd.org> Cc: freebsd-wireless@freebsd.org Subject: Re: RFC: supporting multiple hostap instances in /etc/rc.conf 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, 17 Apr 2011 14:05:58 -0000 On Sunday 17 April 2011 15:25:55 Adrian Chadd wrote: > On 17 April 2011 15:09, Bernhard Schmidt wrote: > > > > Given that hostapd needs to be started with a configuration file as an > > argument and not an interface like wpa_supplicant you need to add a way > > to add multiple configuration files. The conf_file variable is > > currently hard-coded to /etc/hostapd.conf, if you add another one like > > hostapd_conf_files="" and iterate over it, that should do the trick. > > > > But I'm not sure how to handle the pidfile, or how to name it.. > > > > I was thinking of say: > > hostapd_instances="a b c" > hostapd_a_conf="/etc/hostapd.wlan0.conf" > hostapd_a_flags="-B -p /var/run/hostapd.wlan0.pid" > hostapd_a_cmd="/usr/sbin/hostapd" > > hostapd_b_conf="/etc/hostapd.wlan1.conf" > hostapd_b_flags="-B -p /var/run/hostapd.wlan1.pid" > hostapd_b_cmd="/usr/sbin/hostapd" > > It's not terribly automagic, but it'll work well enough to run multiple > hostapds. > > How's that sound? Way to complex for my taste :) How about hostapd_enable="YES" hostapd_interfaces="wlan0 wlan1 .." # defaults to empty and then if [ -n $hostapd_interfaces ]; then for interface in $interface; do pidfile=/var/run/hostapd/$interface.pid conffile=/etc/hostapd-$interface.conf .. done else pidfile=/var/run/hostapd.pid conffile=/etc/hostapd.conf fi -- Bernhard From owner-freebsd-wireless@FreeBSD.ORG Sun Apr 17 14:19:23 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24383106566C; Sun, 17 Apr 2011 14:19:23 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 839168FC14; Sun, 17 Apr 2011 14:19:22 +0000 (UTC) Received: by wyf23 with SMTP id 23so4039153wyf.13 for ; Sun, 17 Apr 2011 07:19:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=LpyPL+UaB6LXjDE/DhQTRNWKZkCgkfWcc6LE29Qpvcs=; b=edvYq49ChfkDMVYsAtjDbbjKFF6M1dAmuMX2ko/+L4CZmRx48mhVJhGqfmHcsq9Siz CJMPXtYak84v+F+rSPgyx3BBACuzMxhhReBWKLTYZyGt7KQnpU4apEs9ABE6EIebkluM WIJSYKd9lmC1l9Sfkeq+Eo4tzDjF3hv/zmPUQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=OdD2JZSBqY7qUADMTroKgaZew3NIGBwAZF4/lixIbof2e5XP2ELcPWABeLEUZ/Py0v zWfXb/D15PlmaAwhtIZxZ4bZTK0VzGTLaGfSXk3snVyYQpKlA0J/4VX87uvaq+hvru3A 8buyhSj0G33M9eZWsLgfaeRWgViIy9uwLnVns= MIME-Version: 1.0 Received: by 10.227.202.139 with SMTP id fe11mr3911483wbb.169.1303049961303; Sun, 17 Apr 2011 07:19:21 -0700 (PDT) Received: by 10.227.174.13 with HTTP; Sun, 17 Apr 2011 07:19:21 -0700 (PDT) In-Reply-To: <201104171605.59340.bschmidt@freebsd.org> References: <201104170909.44508.bschmidt@freebsd.org> <201104171605.59340.bschmidt@freebsd.org> Date: Sun, 17 Apr 2011 22:19:21 +0800 Message-ID: From: Adrian Chadd To: Bernhard Schmidt Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-wireless@freebsd.org Subject: Re: RFC: supporting multiple hostap instances in /etc/rc.conf 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, 17 Apr 2011 14:19:23 -0000 On 17 April 2011 22:05, Bernhard Schmidt wrote: > Way to complex for my taste :) > > How about > > hostapd_enable="YES" > hostapd_interfaces="wlan0 wlan1 .." # defaults to empty > > and then > > if [ -n $hostapd_interfaces ]; then > for interface in $interface; do > pidfile=/var/run/hostapd/$interface.pid > conffile=/etc/hostapd-$interface.conf > .. > done > else > pidfile=/var/run/hostapd.pid > conffile=/etc/hostapd.conf > fi > > That sounds fine. Shall we submit a patch to the hostapd rc.d script to implement that functionality? Adrian From owner-freebsd-wireless@FreeBSD.ORG Mon Apr 18 11:07:13 2011 Return-Path: Delivered-To: freebsd-wireless@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBFC91065695 for ; Mon, 18 Apr 2011 11:07:13 +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 B8F4B8FC17 for ; Mon, 18 Apr 2011 11:07:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3IB7DHX019670 for ; Mon, 18 Apr 2011 11:07:13 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3IB7DSV019668 for freebsd-wireless@FreeBSD.org; Mon, 18 Apr 2011 11:07:13 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 18 Apr 2011 11:07:13 GMT Message-Id: <201104181107.p3IB7DSV019668@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, 18 Apr 2011 11:07:14 -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/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/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/154327 wireless [ath] AR5416 in station mode hangs when transmitting f o kern/154153 wireless [ath] AR5213 + MIPS + WPA group key packet corruption o kern/154007 wireless [ath] Atheros ar9287 card does not get recognized. 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/149539 wireless [ath] atheros ar9287 is not supported by ath_hal 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/149307 wireless [ath] Doesn't work Atheros 9285 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/148112 wireless [ath] Atheros 9285 cannot register with wifi AP (timeo o kern/148078 wireless [ath] wireless networking stops functioning o kern/144987 wireless [wpi] [panic] injecting packets with wlaninject using o bin/144109 wireless hostapd(8) uses the MAC of the wireless interface, but o kern/143868 wireless [ath] [patch] [request] allow Atheros watchdog timeout o conf/143079 wireless hostapd(8) startup missing multi wlan functionality p kern/140567 wireless [ath] [patch] ath is not worked on my notebook PC o kern/140245 wireless [ath] [panic] Kernel panic during network activity on o kern/137592 wireless [ath] panic - 7-STABLE (Aug 7, 2009 UTC) crashes on ne 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/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 40 problems total. From owner-freebsd-wireless@FreeBSD.ORG Mon Apr 18 11:37:40 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0134610656EF for ; Mon, 18 Apr 2011 11:37:40 +0000 (UTC) (envelope-from freebsd@psconsult.nl) Received: from mx1.psconsult.nl (unknown [IPv6:2001:7b8:30f:e0::5059:ee8a]) by mx1.freebsd.org (Postfix) with ESMTP id 533A48FC1A for ; Mon, 18 Apr 2011 11:37:36 +0000 (UTC) Received: from mx1.psconsult.nl (psc11.adsl.iaf.nl [80.89.238.138]) by mx1.psconsult.nl (8.14.4/8.14.4) with ESMTP id p3IBbT79077933 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 18 Apr 2011 13:37:34 +0200 (CEST) (envelope-from freebsd@psconsult.nl) Received: (from paul@localhost) by mx1.psconsult.nl (8.14.4/8.14.4/Submit) id p3IBbTPm077932 for freebsd-wireless@freebsd.org; Mon, 18 Apr 2011 13:37:29 +0200 (CEST) (envelope-from freebsd@psconsult.nl) X-Authentication-Warning: mx1.psconsult.nl: paul set sender to freebsd@psconsult.nl using -f Date: Mon, 18 Apr 2011 13:37:29 +0200 From: Paul Schenkeveld To: freebsd-wireless@freebsd.org Message-ID: <20110418113729.GA77340@psconsult.nl> References: <201104170909.44508.bschmidt@freebsd.org> <201104171605.59340.bschmidt@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: RFC: supporting multiple hostap instances in /etc/rc.conf 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, 18 Apr 2011 11:37:40 -0000 On Sun, Apr 17, 2011 at 10:19:21PM +0800, Adrian Chadd wrote: > On 17 April 2011 22:05, Bernhard Schmidt wrote: > > > > Way to complex for my taste :) > > > > How about > > > > hostapd_enable="YES" > > hostapd_interfaces="wlan0 wlan1 .." # defaults to empty > > > > and then > > > > if [ -n $hostapd_interfaces ]; then > > for interface in $interface; do > > pidfile=/var/run/hostapd/$interface.pid > > conffile=/etc/hostapd-$interface.conf > > .. > > done > > else > > pidfile=/var/run/hostapd.pid > > conffile=/etc/hostapd.conf > > fi > > > > > That sounds fine. Shall we submit a patch to the hostapd rc.d script to > implement that functionality? Please go for it! I had something cooked up here locally but not nearly as nice :( I like the idea of just specifying the interface and let the script derive hostapd__pidfile and hostapd__conffile from the interface but perhaps you could create these intermediate variables and allow them to be overruled in /etc/rc.conf{,.local}. Paul Schenkeveld From owner-freebsd-wireless@FreeBSD.ORG Tue Apr 19 10:44:33 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 631CA106564A for ; Tue, 19 Apr 2011 10:44:33 +0000 (UTC) (envelope-from milu@dat.pl) Received: from jab.dat.pl (dat.pl [80.51.155.34]) by mx1.freebsd.org (Postfix) with ESMTP id DD82B8FC15 for ; Tue, 19 Apr 2011 10:44:32 +0000 (UTC) Received: from jab.dat.pl (jsrv.dat.pl [127.0.0.1]) by jab.dat.pl (Postfix) with ESMTP id 381195B for ; Tue, 19 Apr 2011 12:29:09 +0200 (CEST) X-Virus-Scanned: amavisd-new at dat.pl Received: from jab.dat.pl ([127.0.0.1]) by jab.dat.pl (jab.dat.pl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id QqzQYKfkksID for ; Tue, 19 Apr 2011 12:29:04 +0200 (CEST) Received: from snifi.localnet (unknown [212.69.68.42]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by jab.dat.pl (Postfix) with ESMTPSA id 8CC8F49 for ; Tue, 19 Apr 2011 12:29:04 +0200 (CEST) From: Maciej Milewski To: freebsd-wireless@freebsd.org Date: Tue, 19 Apr 2011 12:29:26 +0200 User-Agent: KMail/1.13.6 (Linux/2.6.38-ARCH; KDE/4.6.2; x86_64; ; ) References: <201104171605.59340.bschmidt@freebsd.org> In-Reply-To: <201104171605.59340.bschmidt@freebsd.org> MIME-Version: 1.0 X-UID: 9 Content-Type: Multipart/Mixed; boundary="Boundary-00=_GQWrNmDoafgnJKc" Message-Id: <201104191229.26974.milu@dat.pl> Subject: Re: RFC: supporting multiple hostap instances in /etc/rc.conf 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, 19 Apr 2011 10:44:33 -0000 --Boundary-00=_GQWrNmDoafgnJKc Content-Type: Text/Plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Dnia niedziela, 17 kwietnia 2011 o 16:05:58 Bernhard Schmidt napisa=B3(a): > On Sunday 17 April 2011 15:25:55 Adrian Chadd wrote: > > On 17 April 2011 15:09, Bernhard Schmidt wrote: > > > Given that hostapd needs to be started with a configuration file as an > > > argument and not an interface like wpa_supplicant you need to add a w= ay > > > to add multiple configuration files. The conf_file variable is > > > currently hard-coded to /etc/hostapd.conf, if you add another one like > > > hostapd_conf_files=3D"" and iterate over it, that should do the trick. > > >=20 > > > But I'm not sure how to handle the pidfile, or how to name it.. > >=20 > > > I was thinking of say: > > hostapd_instances=3D"a b c" > > hostapd_a_conf=3D"/etc/hostapd.wlan0.conf" > > hostapd_a_flags=3D"-B -p /var/run/hostapd.wlan0.pid" > > hostapd_a_cmd=3D"/usr/sbin/hostapd" > >=20 > > hostapd_b_conf=3D"/etc/hostapd.wlan1.conf" > > hostapd_b_flags=3D"-B -p /var/run/hostapd.wlan1.pid" > > hostapd_b_cmd=3D"/usr/sbin/hostapd" > >=20 > > It's not terribly automagic, but it'll work well enough to run multiple > > hostapds. > >=20 > > How's that sound? >=20 > Way to complex for my taste :) >=20 > How about >=20 > hostapd_enable=3D"YES" > hostapd_interfaces=3D"wlan0 wlan1 .." # defaults to empty >=20 > and then >=20 > if [ -n $hostapd_interfaces ]; then > for interface in $interface; do > pidfile=3D/var/run/hostapd/$interface.pid > conffile=3D/etc/hostapd-$interface.conf > .. > done > else > pidfile=3D/var/run/hostapd.pid > conffile=3D/etc/hostapd.conf > fi One simpler thing for quick running multiple instaces is giving multiple=20 configs to the hostapd. Hostapd supports it from around 2005. This would ru= n=20 one instance of hostapd listening on all interfaces given in config files. Manual way: /usr/sbin/hostapd -P /var/run/hostapd.pid -B /etc/hostapd.conf=20 /etc/hostapd2.conf /etc/hostapd3.conf Attached patch doesn't change default behaviour and adding multiple configs= =20 into rc.conf: hostapd_conf=3D"/etc/hostapd.conf /etc/hostapd2.conf /etc/hostapd3.conf" makes it work with more interfaces. More elegant would be one instance for every interface but restarting only = one=20 interface would be done by hand or by additional logic in the rc-script. Maciej Milewski --Boundary-00=_GQWrNmDoafgnJKc Content-Type: text/x-patch; charset="UTF-8"; name="hostapd-one-instance-multi-config.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="hostapd-one-instance-multi-config.patch" --- /etc/rc.d/hostapd.org 2011-04-18 23:50:08.000000000 +0000 +++ /etc/rc.d/hostapd 2011-04-18 23:46:16.000000000 +0000 @@ -16,11 +16,21 @@ conf_file="/etc/${name}.conf" pidfile="/var/run/${name}.pid" -command_args="-P ${pidfile} -B ${conf_file}" -required_files="${conf_file}" +hostapd_conf=${hostapd_conf:-"/etc/${name}.conf"} + required_modules="wlan_xauth wlan_wep wlan_tkip wlan_ccmp" extra_commands="reload" +hostapd_prestart() +{ + rc_flags="-P ${pidfile} -B ${rc_flags} ${hostapd_conf}" + return 0 +} + load_rc_config ${name} + +start_precmd=hostapd_prestart +required_files="${hostapd_conf}" + run_rc_command "$1" --Boundary-00=_GQWrNmDoafgnJKc-- From owner-freebsd-wireless@FreeBSD.ORG Tue Apr 19 10:47:25 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 188441065673 for ; Tue, 19 Apr 2011 10:47:25 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 9D4738FC16 for ; Tue, 19 Apr 2011 10:47:23 +0000 (UTC) Received: by wwc33 with SMTP id 33so6655920wwc.31 for ; Tue, 19 Apr 2011 03:47:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=Khsixi9H8xcx9wTTZS2MXOr9p8JQsAHi5xey+PxB6oA=; b=ET2HT+44QQjNRtITYDiL8Hw4Qh0ubS7V5F0KFMIHgYJNSInSAfOQdG6BAlLPSzSE4g bx4FN77hhIxoxCjPP22Cek2pc0Y+cIlGZIwhE+wOtFRyHekelp2czxuCzhmj6fVEAI/G Istayie03h97oTfe/3wm/EQf9LFKskJ3nfz0g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=tiK5fakVBRbwjztnK7Q6CCjpeNcmUJmW7jX28i0Z7sF+nPReHswbjbsCf9ngm6hpZv RwVEraew4dHQlNeImBjftfmlMfBg/DkKr7xK3xNX1fLjZAps3nYjgIvUZIo65P9pOL8V vXhiZyYeGHC/pS6f0GFBUe9MCNOjjyQLdEt4M= MIME-Version: 1.0 Received: by 10.227.210.131 with SMTP id gk3mr6206082wbb.140.1303210042577; Tue, 19 Apr 2011 03:47:22 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.227.174.13 with HTTP; Tue, 19 Apr 2011 03:47:22 -0700 (PDT) In-Reply-To: <201104191229.26974.milu@dat.pl> References: <201104171605.59340.bschmidt@freebsd.org> <201104191229.26974.milu@dat.pl> Date: Tue, 19 Apr 2011 18:47:22 +0800 X-Google-Sender-Auth: cgolPZOCapyxThsNxSZTEv1NRWU Message-ID: From: Adrian Chadd To: Maciej Milewski Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-wireless@freebsd.org Subject: Re: RFC: supporting multiple hostap instances in /etc/rc.conf 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, 19 Apr 2011 10:47:25 -0000 Why'd you remove the flags parameter and hard-code them? 2011/4/19 Maciej Milewski > One simpler thing for quick running multiple instaces is giving multiple > configs to the hostapd. Hostapd supports it from around 2005. This would > run > one instance of hostapd listening on all interfaces given in config files. > > Manual way: > /usr/sbin/hostapd -P /var/run/hostapd.pid -B /etc/hostapd.conf > /etc/hostapd2.conf /etc/hostapd3.conf > > Attached patch doesn't change default behaviour and adding multiple configs > into rc.conf: > hostapd_conf="/etc/hostapd.conf /etc/hostapd2.conf /etc/hostapd3.conf" > makes it work with more interfaces. > Other than that, I think that's ok, but it just feels dirty for some reason. Perhaps instead, allow the whole command line to be overridden, pid file, -B and all? Adrian From owner-freebsd-wireless@FreeBSD.ORG Wed Apr 20 00:26:25 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B2B6106564A for ; Wed, 20 Apr 2011 00:26:25 +0000 (UTC) (envelope-from freebsd@snap.net.nz) Received: from snapmx1.ironport.snap.net.nz (snapmx1.ironport.snap.net.nz [202.37.100.100]) by mx1.freebsd.org (Postfix) with ESMTP id 0A84D8FC17 for ; Wed, 20 Apr 2011 00:26:24 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgIIAPAgrk3KfG1Y/2dsb2JhbACXb41LxjyFcQSOEA X-IronPort-AV: E=Sophos;i="4.64,242,1301832000"; d="scan'208";a="48864463" Received: from rupert.snap.net.nz ([202.37.100.140]) by smtp1.ironport.snap.net.nz with ESMTP; 20 Apr 2011 11:56:53 +1200 X-Sender-IP: 202.124.109.88 Received: from voyager.local (88.109.124.202.static.snap.net.nz [202.124.109.88]) by rupert.snap.net.nz (Postfix) with ESMTP id BD48B201B8 for ; Wed, 20 Apr 2011 11:56:52 +1200 (NZST) Message-ID: <4DAE2133.20108@snap.net.nz> Date: Wed, 20 Apr 2011 11:56:35 +1200 From: Peter Toth User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.11) Gecko/20100805 Thunderbird/3.0.6 MIME-Version: 1.0 To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Intel(R) PRO/Wireless 6205a 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, 20 Apr 2011 00:26:25 -0000 Hi there, I have a company laptop which comes with the advanced centrino intel chipset see bellow. The iwn driver requested the iwn6005fw firmware module which is not available in stock FreeBSD 8.2. I've grabbed the firmware out of OpenBSD repository and converted it to a proper loadable module. The interface is working OK for about 2 minutes (with WPA2) and then it bounces UP and DOWN - if I reload wpasupplicant it will associate again and works for 2 minutes then it will drop again. Anyone got this chipset working somehow? - seems like it is supported in OpenBSD. Details here: iwn0: mem 0xd4000000-0xd4001fff irq 19 at device 0.0 on pci37 iwn0: MIMO 2T2R, MoW, address a0:88:b4:14:77:20 iwn0: [ITHREAD] iwn0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps iwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps iwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps Thanks, Peter From owner-freebsd-wireless@FreeBSD.ORG Wed Apr 20 06:16:55 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9A7D106564A for ; Wed, 20 Apr 2011 06:16:55 +0000 (UTC) (envelope-from bschmidt@techwires.net) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 860228FC08 for ; Wed, 20 Apr 2011 06:16:55 +0000 (UTC) Received: by fxm11 with SMTP id 11so362428fxm.13 for ; Tue, 19 Apr 2011 23:16:54 -0700 (PDT) Received: by 10.223.17.140 with SMTP id s12mr1691249faa.49.1303280214605; Tue, 19 Apr 2011 23:16:54 -0700 (PDT) Received: from jessie.localnet (p5B2ECD24.dip0.t-ipconnect.de [91.46.205.36]) by mx.google.com with ESMTPS id 21sm171653fav.41.2011.04.19.23.16.52 (version=SSLv3 cipher=OTHER); Tue, 19 Apr 2011 23:16:53 -0700 (PDT) Sender: Bernhard Schmidt From: Bernhard Schmidt To: Peter Toth Date: Wed, 20 Apr 2011 08:15:33 +0200 User-Agent: KMail/1.13.5 (Linux/2.6.32-30-generic; KDE/4.4.5; i686; ; ) References: <4DAE2133.20108@snap.net.nz> In-Reply-To: <4DAE2133.20108@snap.net.nz> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201104200815.58433.bschmidt@freebsd.org> Cc: freebsd-wireless@freebsd.org Subject: Re: Intel(R) PRO/Wireless 6205a X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bschmidt@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: Wed, 20 Apr 2011 06:16:56 -0000 On Wednesday, April 20, 2011 01:56:35 Peter Toth wrote: > Hi there, > > I have a company laptop which comes with the advanced centrino intel > chipset see bellow. > > The iwn driver requested the iwn6005fw firmware module which is not > available in stock FreeBSD 8.2. I've grabbed the firmware out of OpenBSD > repository and converted it to a proper loadable module. > > The interface is working OK for about 2 minutes (with WPA2) and then it > bounces UP and DOWN - if I reload wpasupplicant it will associate again > and works for 2 minutes then it will drop again. > > Anyone got this chipset working somehow? - seems like it is supported in > OpenBSD. > > Details here: > iwn0: mem 0xd4000000-0xd4001fff irq 19 at > device 0.0 on pci37 > iwn0: MIMO 2T2R, MoW, address a0:88:b4:14:77:20 > iwn0: [ITHREAD] > iwn0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps > iwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps > iwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps > 24Mbps 36Mbps 48Mbps 54Mbps Can you pull the driver files from HEAD[1] rebuild the module and try again? I've committed a few changes lately which fixes the calibration on at least the 6230(6005b). [1] http://svn.freebsd.org/viewvc/base/head/sys/dev/iwn/ -- Bernhard From owner-freebsd-wireless@FreeBSD.ORG Thu Apr 21 02:29:46 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB8DB106566B for ; Thu, 21 Apr 2011 02:29:46 +0000 (UTC) (envelope-from freebsd@snap.net.nz) Received: from snapmx1.ironport.snap.net.nz (snapmx1.ironport.snap.net.nz [202.37.100.100]) by mx1.freebsd.org (Postfix) with ESMTP id 4874D8FC0A for ; Thu, 21 Apr 2011 02:29:45 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0BAJ+Vr03KfG1Y/2dsb2JhbACXPz+NS8dyhXYEjiQ X-IronPort-AV: E=Sophos;i="4.64,249,1301832000"; d="scan'208";a="49070248" Received: from rupert.snap.net.nz ([202.37.100.140]) by smtp1.ironport.snap.net.nz with ESMTP; 21 Apr 2011 14:29:43 +1200 X-Sender-IP: 202.124.109.88 X-Sender-IP: 202.124.109.88 Received: from akllappt.local (88.109.124.202.static.snap.net.nz [202.124.109.88]) by rupert.snap.net.nz (Postfix) with ESMTP id 372C7201AD; Thu, 21 Apr 2011 14:29:44 +1200 (NZST) Message-ID: <4DAF9698.7000407@snap.net.nz> Date: Thu, 21 Apr 2011 14:29:44 +1200 From: Peter Toth User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110421 Thunderbird/3.1.9 MIME-Version: 1.0 To: bschmidt@freebsd.org References: <4DAE2133.20108@snap.net.nz> <201104200815.58433.bschmidt@freebsd.org> In-Reply-To: <201104200815.58433.bschmidt@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-wireless@freebsd.org Subject: Re: Intel(R) PRO/Wireless 6205a 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, 21 Apr 2011 02:29:46 -0000 On 04/20/11 18:15, Bernhard Schmidt wrote: > On Wednesday, April 20, 2011 01:56:35 Peter Toth wrote: >> Hi there, >> >> I have a company laptop which comes with the advanced centrino intel >> chipset see bellow. >> >> The iwn driver requested the iwn6005fw firmware module which is not >> available in stock FreeBSD 8.2. I've grabbed the firmware out of OpenBSD >> repository and converted it to a proper loadable module. >> >> The interface is working OK for about 2 minutes (with WPA2) and then it >> bounces UP and DOWN - if I reload wpasupplicant it will associate again >> and works for 2 minutes then it will drop again. >> >> Anyone got this chipset working somehow? - seems like it is supported in >> OpenBSD. >> >> Details here: >> iwn0: mem 0xd4000000-0xd4001fff irq 19 at >> device 0.0 on pci37 >> iwn0: MIMO 2T2R, MoW, address a0:88:b4:14:77:20 >> iwn0: [ITHREAD] >> iwn0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps >> iwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps >> iwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps >> 24Mbps 36Mbps 48Mbps 54Mbps > Can you pull the driver files from HEAD[1] rebuild the module and > try again? I've committed a few changes lately which fixes the > calibration on at least the 6230(6005b). > > [1] http://svn.freebsd.org/viewvc/base/head/sys/dev/iwn/ > Just tried it, gives me this error: /usr/src/sys/modules/iwn/../../dev/iwn/if_iwn.c: In function 'iwn_attach': /usr/src/sys/modules/iwn/../../dev/iwn/if_iwn.c:439: warning: implicit declaration of function 'pci_find_cap' /usr/src/sys/modules/iwn/../../dev/iwn/if_iwn.c:439: warning: nested extern declaration of 'pci_find_cap' From owner-freebsd-wireless@FreeBSD.ORG Thu Apr 21 06:12:39 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E31E106564A for ; Thu, 21 Apr 2011 06:12:39 +0000 (UTC) (envelope-from bschmidt@techwires.net) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1B11A8FC17 for ; Thu, 21 Apr 2011 06:12:38 +0000 (UTC) Received: by fxm11 with SMTP id 11so1212577fxm.13 for ; Wed, 20 Apr 2011 23:12:38 -0700 (PDT) Received: by 10.223.54.213 with SMTP id r21mr1501023fag.54.1303366287628; Wed, 20 Apr 2011 23:11:27 -0700 (PDT) Received: from jessie.localnet (p5B2ECEBE.dip0.t-ipconnect.de [91.46.206.190]) by mx.google.com with ESMTPS id f15sm491906fax.10.2011.04.20.23.11.24 (version=SSLv3 cipher=OTHER); Wed, 20 Apr 2011 23:11:26 -0700 (PDT) Sender: Bernhard Schmidt From: Bernhard Schmidt To: freebsd-wireless@freebsd.org Date: Thu, 21 Apr 2011 08:10:28 +0200 User-Agent: KMail/1.13.5 (Linux/2.6.32-30-generic; KDE/4.4.5; i686; ; ) References: <4DAE2133.20108@snap.net.nz> <201104200815.58433.bschmidt@freebsd.org> <4DAF9698.7000407@snap.net.nz> In-Reply-To: <4DAF9698.7000407@snap.net.nz> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201104210810.28622.bschmidt@freebsd.org> Cc: Peter Toth Subject: Re: Intel(R) PRO/Wireless 6205a X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bschmidt@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: Thu, 21 Apr 2011 06:12:39 -0000 On Thursday, April 21, 2011 04:29:44 Peter Toth wrote: > On 04/20/11 18:15, Bernhard Schmidt wrote: > > On Wednesday, April 20, 2011 01:56:35 Peter Toth wrote: > >> Hi there, > >> > >> I have a company laptop which comes with the advanced centrino intel > >> chipset see bellow. > >> > >> The iwn driver requested the iwn6005fw firmware module which is not > >> available in stock FreeBSD 8.2. I've grabbed the firmware out of OpenBSD > >> repository and converted it to a proper loadable module. > >> > >> The interface is working OK for about 2 minutes (with WPA2) and then it > >> bounces UP and DOWN - if I reload wpasupplicant it will associate again > >> and works for 2 minutes then it will drop again. > >> > >> Anyone got this chipset working somehow? - seems like it is supported in > >> OpenBSD. > >> > >> Details here: > >> iwn0: mem 0xd4000000-0xd4001fff irq 19 at > >> device 0.0 on pci37 > >> iwn0: MIMO 2T2R, MoW, address a0:88:b4:14:77:20 > >> iwn0: [ITHREAD] > >> iwn0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps > >> iwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps > >> iwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps > >> 24Mbps 36Mbps 48Mbps 54Mbps > > Can you pull the driver files from HEAD[1] rebuild the module and > > try again? I've committed a few changes lately which fixes the > > calibration on at least the 6230(6005b). > > > > [1] http://svn.freebsd.org/viewvc/base/head/sys/dev/iwn/ > > > Just tried it, gives me this error: > > /usr/src/sys/modules/iwn/../../dev/iwn/if_iwn.c: In function 'iwn_attach': > /usr/src/sys/modules/iwn/../../dev/iwn/if_iwn.c:439: warning: implicit > declaration of function 'pci_find_cap' > /usr/src/sys/modules/iwn/../../dev/iwn/if_iwn.c:439: warning: nested > extern declaration of 'pci_find_cap' Yeah, sorry, there have been some changes to PCI BUS handling lately. Fetch again and replace pci_find_cap() with pci_find_extcap(). You might also want to fetch sys/contrib/iwn and sys/modules/iwnfw from HEAD, it includes the firmware for your card now. Thanks -- Bernhard From owner-freebsd-wireless@FreeBSD.ORG Thu Apr 21 08:21:43 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C3F3106566B; Thu, 21 Apr 2011 08:21:43 +0000 (UTC) (envelope-from freebsd@snap.net.nz) Received: from unit0.ironport.snap.net.nz (unit0.ironport.snap.net.nz [202.37.100.104]) by mx1.freebsd.org (Postfix) with ESMTP id 77A998FC0A; Thu, 21 Apr 2011 08:21:42 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Au0BAKbnr03KfG1m/2dsb2JhbACWbFU/jUiCBMN6hXYEjis X-IronPort-AV: E=Sophos;i="4.64,250,1301832000"; d="scan'208";a="52898321" Received: from rupert.snap.net.nz ([202.37.100.140]) by smtp0.ironport.snap.net.nz with ESMTP; 21 Apr 2011 20:21:41 +1200 X-Sender-IP: 202.124.109.102 X-Sender-IP: 202.124.109.102 Received: from voyager.local (102.109.124.202.static.snap.net.nz [202.124.109.102]) by rupert.snap.net.nz (Postfix) with SMTP id AC3AF201AD; Thu, 21 Apr 2011 20:21:40 +1200 (NZST) Message-ID: <4DAFE914.9060703@snap.net.nz> Date: Thu, 21 Apr 2011 20:21:40 +1200 From: Peter Toth User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.11) Gecko/20100805 Thunderbird/3.0.6 MIME-Version: 1.0 To: bschmidt@freebsd.org References: <4DAE2133.20108@snap.net.nz> <201104200815.58433.bschmidt@freebsd.org> <4DAF9698.7000407@snap.net.nz> <201104210810.28622.bschmidt@freebsd.org> In-Reply-To: <201104210810.28622.bschmidt@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-wireless@freebsd.org Subject: Re: Intel(R) PRO/Wireless 6205a 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, 21 Apr 2011 08:21:43 -0000 On 04/21/11 18:10, Bernhard Schmidt wrote: > On Thursday, April 21, 2011 04:29:44 Peter Toth wrote: > >> On 04/20/11 18:15, Bernhard Schmidt wrote: >> >>> On Wednesday, April 20, 2011 01:56:35 Peter Toth wrote: >>> >>>> Hi there, >>>> >>>> I have a company laptop which comes with the advanced centrino intel >>>> chipset see bellow. >>>> >>>> The iwn driver requested the iwn6005fw firmware module which is not >>>> available in stock FreeBSD 8.2. I've grabbed the firmware out of OpenBSD >>>> repository and converted it to a proper loadable module. >>>> >>>> The interface is working OK for about 2 minutes (with WPA2) and then it >>>> bounces UP and DOWN - if I reload wpasupplicant it will associate again >>>> and works for 2 minutes then it will drop again. >>>> >>>> Anyone got this chipset working somehow? - seems like it is supported in >>>> OpenBSD. >>>> >>>> Details here: >>>> iwn0: mem 0xd4000000-0xd4001fff irq 19 at >>>> device 0.0 on pci37 >>>> iwn0: MIMO 2T2R, MoW, address a0:88:b4:14:77:20 >>>> iwn0: [ITHREAD] >>>> iwn0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps >>>> iwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps >>>> iwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps >>>> 24Mbps 36Mbps 48Mbps 54Mbps >>>> >>> Can you pull the driver files from HEAD[1] rebuild the module and >>> try again? I've committed a few changes lately which fixes the >>> calibration on at least the 6230(6005b). >>> >>> [1] http://svn.freebsd.org/viewvc/base/head/sys/dev/iwn/ >>> >>> >> Just tried it, gives me this error: >> >> /usr/src/sys/modules/iwn/../../dev/iwn/if_iwn.c: In function 'iwn_attach': >> /usr/src/sys/modules/iwn/../../dev/iwn/if_iwn.c:439: warning: implicit >> declaration of function 'pci_find_cap' >> /usr/src/sys/modules/iwn/../../dev/iwn/if_iwn.c:439: warning: nested >> extern declaration of 'pci_find_cap' >> > Yeah, sorry, there have been some changes to PCI BUS handling lately. > Fetch again and replace pci_find_cap() with pci_find_extcap(). You > might also want to fetch sys/contrib/iwn and sys/modules/iwnfw from > HEAD, it includes the firmware for your card now. > > Thanks > > Flawless so far! The interface is not dropping connection now and no errors in dmesg either. Going to test further and will report back in a couple of days. Many thanks for getting this nailed! From owner-freebsd-wireless@FreeBSD.ORG Thu Apr 21 22:40:29 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 738F51065679 for ; Thu, 21 Apr 2011 22:40:29 +0000 (UTC) (envelope-from petar@smokva.net) Received: from morrison.andev.ch (morrison.andev.ch [78.47.142.202]) by mx1.freebsd.org (Postfix) with ESMTP id EC1568FC20 for ; Thu, 21 Apr 2011 22:40:28 +0000 (UTC) Received: from pintail.smokva.net (84-73-24-182.dclient.hispeed.ch [84.73.24.182]) by morrison.andev.ch (Postfix) with ESMTP id 87DFD5DA91 for ; Fri, 22 Apr 2011 00:25:26 +0200 (CEST) Date: Fri, 22 Apr 2011 00:25:25 +0200 From: Petar Bogdanovic To: freebsd-wireless@freebsd.org Message-ID: <20110421222524.GA5730@pintail.smokva.net> Mail-Followup-To: freebsd-wireless@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21+23 (f7160c94ff70) (2010-12-30) Subject: ath: tx-rate stops adapting after a while 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, 21 Apr 2011 22:40:29 -0000 Hi, I'm running FreeBSD 8.1-RC2 on an ALIX board equipped with a Wistron CM9 minipci card. The box works pretty well but has some troubles with the only NetBSD 5.1 station in this network: After a while, it simply stops adapting the tx-rate to the particular station and locks it at 11M/DS11. After that it doesn't move, even though the rssi value would suggest something else than just DS11. The other stations do not experience anything similar: $ ifconfig wlan0 list sta ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG 00:0b:.....NETBSD 1 10 11M 26.0 0 12211 4288 EPS AE RSN 58:b0:.......OSX1 2 10 54M 38.5 0 27905 63648 EPS AQE RSN WME 00:1e:.......OSX2 3 10 48M 18.0 0 44010 39184 EPS AQE RSN WME The following is an `athstats 1' while a non-wireless host (directly connected to the FreeBSD AP) sends some large file to the NetBSD station. The other stations are pretty much idle: $ athstats 1 input output altrate short long xretry crcerr crypt phyerr rssi rate 16349756 10789585 3491 0 498955 1365 102311 1 711 54 11M 459 634 0 0 30 0 2 0 0 53 11M 452 662 0 0 30 0 1 0 0 59 11M 448 646 1 0 34 0 4 0 0 53 11M 448 631 0 0 33 0 4 0 0 53 11M 459 671 0 0 18 0 3 0 0 49 11M 452 659 0 0 27 0 2 0 0 52 11M 451 660 0 0 22 0 2 0 0 50 11M 451 660 0 0 29 0 0 0 0 50 11M 451 658 0 0 35 0 0 0 0 51 11M 449 646 0 0 28 0 0 0 0 50 11M 458 661 0 0 27 0 0 0 0 52 11M 462 671 0 0 18 0 1 0 0 52 11M 456 640 0 0 29 0 0 0 0 52 11M 457 666 0 0 22 0 3 0 0 54 11M 468 654 0 0 28 0 1 0 0 53 11M 444 649 0 0 28 0 1 0 0 55 11M 458 647 0 0 25 0 3 0 0 54 11M 450 659 0 0 29 0 4 0 0 55 11M 456 646 0 0 27 0 9 0 0 57 11M 456 649 0 0 32 0 5 0 0 49 11M The only way to revive the old behaviour is through restarting hostapd (which probably re-initializes the card). As soon as I do this, I get OFDM54 and about 3.2MB/s for another hour or two.. Also interesting is, that this only affects the throughput [FreeBSD] -> [NetBSD]---the other way around is normal, the tx-rate of the NetBSD ath driver switches happily between OFDM48 and OFDM54. Any ideas, hints or help are highly appreciated.. Thanks, Petar Bogdanovic P.S. athstats: 16671439 data frames received 11252111 data frames transmit 3526 tx frames with an alternate rate 519412 long on-chip tx retries 1374 tx failed 'cuz too many retries 24M current transmit rate 98635 tx stopped 'cuz no xmit buffer 3 tx failed 'cuz dma buffer allocation failed 1646 tx frames with no ack marked 11249490 tx frames with short preamble 103832 rx failed 'cuz of bad CRC 1 rx failed 'cuz decryption 730 rx failed 'cuz of PHY err 29 OFDM restart 701 CCK restart 125105 beacons transmitted 2041 periodic calibrations 3 rfgain value change -0/+0 TDMA slot adjust (usecs, smoothed) 54 rssi of last ack 55 avg recv rssi -96 rx noise floor 976 tx frames through raw api 3 raw tx failed 'cuz interface/hw down 195 cabq frames transmitted 37 cabq xmit overflowed beacon interval 46875 switched default/rx antenna Antenna profile: [1] tx 3138866 rx 4553641 [2] tx 8111869 rx 12117798 From owner-freebsd-wireless@FreeBSD.ORG Fri Apr 22 00:28:34 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3B4E1065670 for ; Fri, 22 Apr 2011 00:28:34 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 768A68FC08 for ; Fri, 22 Apr 2011 00:28:34 +0000 (UTC) Received: by wwc33 with SMTP id 33so222679wwc.31 for ; Thu, 21 Apr 2011 17:28:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=TWZNqo61k60c7OUbPp8ImEzX+azkYHNeM6VaCknhnhQ=; b=jxQ92ulyVsbtmbq6G0XJd6wtggxrGOQVoucEX6atuc/MTN8NYx9MUk16MpwyBYAnKo vCd7tve3aDDDV2Oq5UrSAlD6OJqudQv33pkFy5EMN8C9AJmVNpXhAGgdwKl2M0GoUjCM gWPQk5ZyjVDptEhQZaTGIM1GHCDX2sglndpxE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=mIV7v7HmUMhE38SIfoIKxGpuqMzOK1wqIdzNDQxraQKqn2UwDy0yxorTfFemnfXNaU UlxDUnICc0eYL0olxmexTTzDSri1rzxnlzcjQKTEAoDb4V45DwL7eGCM6a0v4JHgU8v+ 8crmVlNusXUpcrkaWLzvtgfEVU7s7lCu7E69k= MIME-Version: 1.0 Received: by 10.227.157.68 with SMTP id a4mr477585wbx.198.1303432113295; Thu, 21 Apr 2011 17:28:33 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.227.174.13 with HTTP; Thu, 21 Apr 2011 17:28:33 -0700 (PDT) In-Reply-To: <20110421222524.GA5730@pintail.smokva.net> References: <20110421222524.GA5730@pintail.smokva.net> Date: Fri, 22 Apr 2011 08:28:33 +0800 X-Google-Sender-Auth: end5VCu6DyDLJW_TNJqL4fuJGp8 Message-ID: From: Adrian Chadd To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: ath: tx-rate stops adapting after a while 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, 22 Apr 2011 00:28:35 -0000 On 22 April 2011 06:25, Petar Bogdanovic wrote: > Hi, > > I'm running FreeBSD 8.1-RC2 on an ALIX board equipped with a Wistron CM9 > minipci card. The box works pretty well but has some troubles with the > only NetBSD 5.1 station in this network: After a while, it simply stops > adapting the tx-rate to the particular station and locks it at 11M/DS11. > > Do you have two antennas attached to the CM9 card? Adrian From owner-freebsd-wireless@FreeBSD.ORG Fri Apr 22 03:27:50 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 527AE10656D3 for ; Fri, 22 Apr 2011 03:27:50 +0000 (UTC) (envelope-from radmanly@comcast.net) Received: from qmta11.emeryville.ca.mail.comcast.net (qmta11.emeryville.ca.mail.comcast.net [76.96.27.211]) by mx1.freebsd.org (Postfix) with ESMTP id 3B4D58FC08 for ; Fri, 22 Apr 2011 03:27:50 +0000 (UTC) Received: from omta18.emeryville.ca.mail.comcast.net ([76.96.30.74]) by qmta11.emeryville.ca.mail.comcast.net with comcast id aT5K1g0021bwxycABTEgRN; Fri, 22 Apr 2011 03:14:40 +0000 Received: from sz0005.ev.mail.comcast.net ([76.96.26.51]) by omta18.emeryville.ca.mail.comcast.net with comcast id aTEf1g00f169HPQ8eTEfwS; Fri, 22 Apr 2011 03:14:39 +0000 Date: Fri, 22 Apr 2011 03:14:39 +0000 (UTC) From: radmanly@comcast.net To: freebsd-wireless@freebsd.org Message-ID: <604029735.3207053.1303442079526.JavaMail.root@sz0005a.emeryville.ca.mail.comcast.net> MIME-Version: 1.0 X-Originating-IP: [24.245.56.44] X-Mailer: Zimbra 6.0.5_GA_2431.RHEL5_64 (ZimbraWebClient - FF3.0 ([unknown])/6.0.5_GA_2427.RHEL4) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: "Hardware error, resetting" on Atheros AR9285 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, 22 Apr 2011 03:27:50 -0000 Hello, Several of us on the FreeBSD forum are having the same problem with the ath driver on the AR9285 chip. The driver loads fine but whenever I bring up an interface, I get "Hardware error, resetting" messages on the screen over and over again, roughly one a second. One user, Claude, reports he upgraded to -STABLE to no avail. I describe the problem in more detail in this thread: http://forums.freebsd.org/showthread.php?t=23297 Is there anything else I should try before I open a bug report? Thanks, Rad From owner-freebsd-wireless@FreeBSD.ORG Fri Apr 22 04:12:49 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51733106564A for ; Fri, 22 Apr 2011 04:12:49 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id D9E0C8FC18 for ; Fri, 22 Apr 2011 04:12:48 +0000 (UTC) Received: by wyf23 with SMTP id 23so311348wyf.13 for ; Thu, 21 Apr 2011 21:12:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=J6sRgR/86X2u1q9PSrV9QIDBmRIf11Er1i+UeQZpeqs=; b=srwvph6MgukNk0f/0uwvy40OIzdh3yJeZNTVXX6qBQSebp2xoVtKUf7pkva/8QxIMd tagacvwWE7pR7cCu5H0T+mD1pygftZ1mqXO+Ug23dJK026uURkXv+MBaNm3vMc+RAZhq Ejoj00zWukGn9sPAKEgI/OC2tyT0w88ouepmc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=IyvljmyBn43612KrdtzB2lteHrYwdNaX73wGCAfSjhf6qDNioUN+pp85d2SlOAK4K8 eCjw3TWg3GzPej6a3wNYs1mEACgCfVBgU691M7HK6nsd+DhBSA0Hr1Kjklm4gqU/sDpx 5Zdt87bnUovt//Zz9ciSQKEOHKLbiOfzktRdw= MIME-Version: 1.0 Received: by 10.227.198.143 with SMTP id eo15mr659514wbb.53.1303445567877; Thu, 21 Apr 2011 21:12:47 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.227.174.13 with HTTP; Thu, 21 Apr 2011 21:12:47 -0700 (PDT) In-Reply-To: <604029735.3207053.1303442079526.JavaMail.root@sz0005a.emeryville.ca.mail.comcast.net> References: <604029735.3207053.1303442079526.JavaMail.root@sz0005a.emeryville.ca.mail.comcast.net> Date: Fri, 22 Apr 2011 12:12:47 +0800 X-Google-Sender-Auth: pj3q6J0y9en3G_iYKvlPoIen-ok Message-ID: From: Adrian Chadd To: radmanly@comcast.net Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-wireless@freebsd.org Subject: Re: "Hardware error, resetting" on Atheros AR9285 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, 22 Apr 2011 04:12:49 -0000 Try -HEAD. I've fixed a lot of AR9285 related issues in HEAD. Adrian On 22 April 2011 11:14, wrote: > Hello, > > Several of us on the FreeBSD forum are having the same problem with the ath > driver on the AR9285 chip. The driver loads fine but whenever I bring up an > interface, I get "Hardware error, resetting" messages on the screen over and > over again, roughly one a second. One user, Claude, reports he upgraded to > -STABLE to no avail. I describe the problem in more detail in this thread: > http://forums.freebsd.org/showthread.php?t=23297 > > Is there anything else I should try before I open a bug report? > > Thanks, > Rad > _______________________________________________ > 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 Fri Apr 22 09:07:08 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B81AA106566C for ; Fri, 22 Apr 2011 09:07:08 +0000 (UTC) (envelope-from petar@smokva.net) Received: from morrison.andev.ch (morrison.andev.ch [78.47.142.202]) by mx1.freebsd.org (Postfix) with ESMTP id 7C81A8FC14 for ; Fri, 22 Apr 2011 09:07:08 +0000 (UTC) Received: from pintail.smokva.net (84-73-24-182.dclient.hispeed.ch [84.73.24.182]) by morrison.andev.ch (Postfix) with ESMTP id 0A7B45DA93 for ; Fri, 22 Apr 2011 11:07:07 +0200 (CEST) Date: Fri, 22 Apr 2011 11:07:05 +0200 From: Petar Bogdanovic To: freebsd-wireless@freebsd.org Message-ID: <20110422090705.GA1183@pintail.smokva.net> Mail-Followup-To: freebsd-wireless@freebsd.org References: <20110421222524.GA5730@pintail.smokva.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21+23 (f7160c94ff70) (2010-12-30) Subject: Re: ath: tx-rate stops adapting after a while 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, 22 Apr 2011 09:07:08 -0000 On Fri, Apr 22, 2011 at 08:28:33AM +0800, Adrian Chadd wrote: > On 22 April 2011 06:25, Petar Bogdanovic wrote: > > > > I'm running FreeBSD 8.1-RC2 on an ALIX board equipped with a Wistron CM9 > > minipci card. The box works pretty well but has some troubles with the > > only NetBSD 5.1 station in this network: After a while, it simply stops > > adapting the tx-rate to the particular station and locks it at 11M/DS11. > > > > > Do you have two antennas attached to the CM9 card? Yes, both connectors (main/aux) are connected to a separate antenna while diversity is on (dev.ath.0.diversity=1). From owner-freebsd-wireless@FreeBSD.ORG Fri Apr 22 09:25:16 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABE5F106566B for ; Fri, 22 Apr 2011 09:25:16 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3FA778FC1A for ; Fri, 22 Apr 2011 09:25:15 +0000 (UTC) Received: by wyf23 with SMTP id 23so436247wyf.13 for ; Fri, 22 Apr 2011 02:25:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=YSOS6UeJGPq7CGuuw9JapsBlcB8DWqQo/tXmQOgG3Jo=; b=Qx4xPD/oKjmqPY7gzsf9nQiP/oyHD/QRV9AZIPtMMF66pth90I7OLeoonvp/GikCEq HZumw/bCUHakSgLET3o0eLKdullK2cnmRTuBpMAFUpWxTUBB6Rax1O2CIN3f7KDGgt0a Gon3IBTA3TvqGagt72HOiJpLwau/nCvYN6nHQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=HHpi04vdhrrtJg2z3rduszY91vcifMfUE4A9LQMa/9gDxmo8B6CLN2hkazEFjcUi3k a11n2wq/JNvgRb9w3Str6gp7WXkA3OnPJ7Ue6jn+LJKOGRIdHW6bUTyC3CQsMmEU40X8 La7mR+XwVD8Pdj9EXaPKu5XLW6EIc9oHanZ8A= MIME-Version: 1.0 Received: by 10.227.210.131 with SMTP id gk3mr960127wbb.140.1303464315097; Fri, 22 Apr 2011 02:25:15 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.227.174.13 with HTTP; Fri, 22 Apr 2011 02:25:15 -0700 (PDT) In-Reply-To: <20110422090705.GA1183@pintail.smokva.net> References: <20110421222524.GA5730@pintail.smokva.net> <20110422090705.GA1183@pintail.smokva.net> Date: Fri, 22 Apr 2011 17:25:15 +0800 X-Google-Sender-Auth: 1Wi5ow-TgcH0M1j9wRrfUGx5Xbk Message-ID: From: Adrian Chadd To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: ath: tx-rate stops adapting after a while 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, 22 Apr 2011 09:25:16 -0000 Well, since you're having problems with the netbsd box but not other stuff, TX is 'working'; the question is whether: * somehow the card is incorrectly transmitting OFDM rates (11g) that some things can pick up and some can't, or * the netbsd device can't handle OFDM that you're transmitting and only handles CCK rates correctly. Have you tried this netbsd station against some other AP? What hardware is in the netbsd box? Adrian On 22 April 2011 17:07, Petar Bogdanovic wrote: > On Fri, Apr 22, 2011 at 08:28:33AM +0800, Adrian Chadd wrote: >> On 22 April 2011 06:25, Petar Bogdanovic wrote: >> > >> > I'm running FreeBSD 8.1-RC2 on an ALIX board equipped with a Wistron C= M9 >> > minipci card. =A0The box works pretty well but has some troubles with = the >> > only NetBSD 5.1 station in this network: =A0After a while, it simply s= tops >> > adapting the tx-rate to the particular station and locks it at 11M/DS1= 1. >> > >> > >> Do you have two antennas attached to the CM9 card? > > Yes, both connectors (main/aux) are connected to a separate antenna > while diversity is on (dev.ath.0.diversity=3D1). > _______________________________________________ > 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 Apr 22 15:38:30 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C2AA106564A for ; Fri, 22 Apr 2011 15:38:30 +0000 (UTC) (envelope-from petar@smokva.net) Received: from morrison.andev.ch (morrison.andev.ch [78.47.142.202]) by mx1.freebsd.org (Postfix) with ESMTP id 2F31B8FC16 for ; Fri, 22 Apr 2011 15:38:29 +0000 (UTC) Received: from pintail.smokva.net (84-73-24-182.dclient.hispeed.ch [84.73.24.182]) by morrison.andev.ch (Postfix) with ESMTP id ABF0C5DA91 for ; Fri, 22 Apr 2011 17:38:28 +0200 (CEST) Date: Fri, 22 Apr 2011 17:38:27 +0200 From: Petar Bogdanovic To: freebsd-wireless@freebsd.org Message-ID: <20110422153827.GA26063@pintail.smokva.net> Mail-Followup-To: freebsd-wireless@freebsd.org References: <20110421222524.GA5730@pintail.smokva.net> <20110422090705.GA1183@pintail.smokva.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21+23 (f7160c94ff70) (2010-12-30) Subject: Re: ath: tx-rate stops adapting after a while 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, 22 Apr 2011 15:38:30 -0000 On Fri, Apr 22, 2011 at 05:25:15PM +0800, Adrian Chadd wrote: > > Have you tried this netbsd station against some other AP? It wasn't really some other AP but the software has changed on both sides during the past couple of years.. first it was netbsd-4 with freebsd-6-3, then netbsd-4 with freebsd-7 and finally netbsd-5-1 with freebsd-8-1. I remember that freebsd-7 had issues with stations that support some sort of power management but that went away with freebsd-8.. other than that, nothing comes to my mind. Although it's probably important to mention that the bump from netbsd-4 to netbsd-5-1 replaced the old binary-hal with the new/open ath-hal. > What hardware is in the netbsd box? It's a HP dc7100 with a AR5212 PCI device. > * somehow the card is incorrectly transmitting OFDM rates (11g) that > some things can pick up and some can't, or > * the netbsd device can't handle OFDM that you're transmitting and > only handles CCK rates correctly. The part that seems a bit weird to me is when [NetBSD] -> [FreeBSD] uses OFDM but [NetBSD] <- [FreeBSD] stubbornly keeps CCK. Is there any way to make this particular layer more verbose, so that one can see why the driver makes this decision and sticks with it forever? Right now, I get 3.4MB/s from the FreeBSD AP to the NetBSD station, which, as far as I remember, is pretty much the upper limit for OFDM54: $ ifconfig wlan0 list sta ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG 00:0b:.....NETBSD 2 10 54M 26.0 0 57455 44432 EPS AE RSN 58:b0:.......OSX1 1 10 48M 38.0 30 44418 36896 EPS AQEP RSN WME $ athstats 1 input output altrate short long xretry crcerr crypt phyerr rssi rate 44862732 28007738 5193 0 730634 2253 360540 0 2948 47 54M 1663 2481 0 0 71 0 0 0 0 49 54M 1666 2481 0 0 43 0 1 0 0 48 54M 1662 2511 0 0 58 0 3 0 0 49 54M 1691 2526 0 0 42 0 7 0 0 49 54M 1658 2487 0 0 67 0 0 0 0 47 54M 1664 2488 0 0 76 0 0 0 0 47 54M 1668 2508 0 0 54 0 4 0 0 48 54M 1708 2556 0 0 48 0 0 0 0 47 54M 1686 2508 0 0 56 0 0 0 0 47 54M 1653 2462 0 0 88 0 1 0 0 47 54M 1635 2478 0 0 44 0 1 0 0 46 48M 1592 2360 0 0 56 0 0 0 0 47 48M 1621 2404 0 0 32 0 0 0 0 46 54M 1662 2517 0 0 65 0 0 0 0 46 54M 1650 2466 0 0 60 0 3 0 0 48 54M 1653 2480 0 0 90 0 2 0 0 46 54M 1685 2520 0 0 47 0 0 0 0 48 54M 1684 2533 0 0 43 0 0 0 0 46 54M 1682 2513 0 0 66 0 1 0 0 47 54M 1618 2400 0 0 98 0 0 0 0 48 48M If it only could stay that way.. :) Petar Bogdanovic From owner-freebsd-wireless@FreeBSD.ORG Fri Apr 22 17:14:45 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94964106564A for ; Fri, 22 Apr 2011 17:14:45 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 27D948FC14 for ; Fri, 22 Apr 2011 17:14:44 +0000 (UTC) Received: by wwc33 with SMTP id 33so738173wwc.31 for ; Fri, 22 Apr 2011 10:14:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=IvFn1K+kSaksvpGusv8e9abad9L1PtoXbqWvNssVbGg=; b=gkyjrnem0UdCUAgKggCnzLqgNNiAduIF2PIkwbUvci65vPSDSYimsYp8NoWT8SuAzY DTi+tS3t/RWbNGUxeIHXjEEqSqGIyryC4Hn7Je71B8bXX8p3TNAnSqoH11keLB4i/uxD CXRPd7FNQ32CTk8CDA3/jtt57bAgbIUyZXPtQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=ZYFq8N64+5XcIoC77AmvzdKWYJQv8ns0dO55U8OvR0rLJNYJ6W/YOPwSUm9/rhsfc0 60e8bCycMRUf4M4Bq+8il9cNjYE5wBIpyeOhapLcAx1qCE/UgYUrpZ4lRJMGQd7NKrbc aWS8GLL+L6lhSJmV/vDbw14Y/ABqPWPgpzaaI= MIME-Version: 1.0 Received: by 10.227.13.135 with SMTP id c7mr1313525wba.111.1303492483944; Fri, 22 Apr 2011 10:14:43 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.227.174.13 with HTTP; Fri, 22 Apr 2011 10:14:43 -0700 (PDT) In-Reply-To: <20110422153827.GA26063@pintail.smokva.net> References: <20110421222524.GA5730@pintail.smokva.net> <20110422090705.GA1183@pintail.smokva.net> <20110422153827.GA26063@pintail.smokva.net> Date: Sat, 23 Apr 2011 01:14:43 +0800 X-Google-Sender-Auth: MqbWxFphJN1akhJLfGoip1dtP5I Message-ID: From: Adrian Chadd To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: ath: tx-rate stops adapting after a while 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, 22 Apr 2011 17:14:45 -0000 When doing AP mode, the output of the 'athstats' rate is unreliable as it will report the last TX'ed rate which obviously changes per node you're talking to. You need to investigate the output of the rate control module that you're using. Try this: sysctl dev.ath.0.sample_stats=1 then check dmesg Do that when it's happy @ 54mbit, then when it isn't. Let's compare. :) adrian From owner-freebsd-wireless@FreeBSD.ORG Sat Apr 23 00:39:56 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 515EA1065675 for ; Sat, 23 Apr 2011 00:39:56 +0000 (UTC) (envelope-from radmanly@comcast.net) Received: from qmta05.emeryville.ca.mail.comcast.net (qmta05.emeryville.ca.mail.comcast.net [76.96.30.48]) by mx1.freebsd.org (Postfix) with ESMTP id 1B0278FC15 for ; Sat, 23 Apr 2011 00:39:55 +0000 (UTC) Received: from omta19.emeryville.ca.mail.comcast.net ([76.96.30.76]) by qmta05.emeryville.ca.mail.comcast.net with comcast id aoEt1g00C1eYJf8A5ofv35; Sat, 23 Apr 2011 00:39:55 +0000 Received: from [192.168.1.108] ([24.245.56.44]) by omta19.emeryville.ca.mail.comcast.net with comcast id aoft1g00A0xErkQ01ofuun; Sat, 23 Apr 2011 00:39:55 +0000 Message-ID: <4DB21FD9.4050503@comcast.net> Date: Fri, 22 Apr 2011 19:39:53 -0500 From: Rad Manly User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110313 Lightning/1.0b3pre Thunderbird/3.1.9 MIME-Version: 1.0 To: Adrian Chadd References: <604029735.3207053.1303442079526.JavaMail.root@sz0005a.emeryville.ca.mail.comcast.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-wireless@freebsd.org Subject: Re: "Hardware error, resetting" on Atheros AR9285 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, 23 Apr 2011 00:39:56 -0000 I checked out and built the latest ath driver from -HEAD. Unfortunately, the problem persists. I turned on all of the debugging flags and saved the log file. Here's what I see when I load the driver: Apr 22 18:03:34 ceres kernel: ath0: mem 0xf0100000-0xf010ffff irq 17 at device 0.0 on pci2 Apr 22 18:03:34 ceres kernel: ath0: [ITHREAD] Apr 22 18:03:34 ceres kernel: [ath] AR9285E_20 detected; using XE TX gain tables Apr 22 18:03:34 ceres kernel: [ath] Enabling diversity for Kite Apr 22 18:03:34 ceres kernel: ath0: AR9285 mac 192.2 RF5133 phy 14.0 Here's an example of the error: Apr 22 18:04:24 ceres kernel: ar5416SetInterrupts: 0x800965 => 0xe0001071 Apr 22 18:04:24 ceres kernel: ar5416SetInterrupts: new IMR 0x8014b7 Apr 22 18:04:24 ceres kernel: ar5416SetInterrupts: enable IER Apr 22 18:04:24 ceres kernel: ar5212StartTxDma: queue 1 Apr 22 18:04:24 ceres kernel: ar5212StartTxDma: queue 1 Apr 22 18:04:24 ceres kernel: ar5416GetPendingInterrupts: fatal error, ISR_RAC 0x0 SYNC_CAUSE 0x2000 Apr 22 18:04:24 ceres kernel: ar5416SetInterrupts: 0xe0001071 => 0x0 Apr 22 18:04:24 ceres kernel: ar5416SetInterrupts: disable IER Apr 22 18:04:24 ceres kernel: ar5416SetInterrupts: new IMR 0x0 Apr 22 18:04:24 ceres kernel: ath0: hardware error; resetting Apr 22 18:04:24 ceres kernel: ath0: 0x00000000 0x00002000 0x00000000, 0x00000000 0x00000000 0x00000000 Apr 22 18:04:24 ceres kernel: ar5416SetInterrupts: 0x0 => 0x0 Apr 22 18:04:24 ceres kernel: ar5416SetInterrupts: new IMR 0x0 To get this, I executed: ifconfig wlan0 create wlanmode sta wlandev ath0 ifconfig wlan0 up scan Do you know what could cause this error? I think the 0x00002000 means it's a timeout error of some kind but I don't know what's timing out or why. What can I do to help swat this bug? Thanks, Rad On 04/21/11 23:12, Adrian Chadd wrote: > Try -HEAD. I've fixed a lot of AR9285 related issues in HEAD. > > > > Adrian > > On 22 April 2011 11:14, > wrote: > > Hello, > > Several of us on the FreeBSD forum are having the same problem > with the ath driver on the AR9285 chip. The driver loads fine but > whenever I bring up an interface, I get "Hardware error, > resetting" messages on the screen over and over again, roughly one > a second. One user, Claude, reports he upgraded to -STABLE to no > avail. I describe the problem in more detail in this thread: > http://forums.freebsd.org/showthread.php?t=23297 > > Is there anything else I should try before I open a bug report? > > Thanks, > Rad > _______________________________________________ > 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 Sat Apr 23 04:51:04 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1DF11065672 for ; Sat, 23 Apr 2011 04:51:04 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 708098FC1B for ; Sat, 23 Apr 2011 04:51:03 +0000 (UTC) Received: by wwc33 with SMTP id 33so1003894wwc.31 for ; Fri, 22 Apr 2011 21:51:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=YGue0bcN3KDnrxb37sKM7JW8MjE/Dms3eCfou2fe8NE=; b=AkP3P8GfrKLeZ8A8YIP081Ns9LGp7P0fHQgOWeB+dBDEXE85ewp4cLByW9SHR34U8b Q5WIOrEv1JKnmaI6qr0DIrB+hyAiIJKTj3Py7IMWCXP8d3NBU/LUca1HJbRnxfsDQgv8 6NROt25aV4J9ot+/KiewYCLIjsR7IXlpl/iSs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=Hsh4TVxCxIAEv8USe+pXovGbtD6TloCgYx3kcqKLndSfbSOM1dNFSA8T8QldZhNVU7 BcGj+dtcqMC4GSczJAdK+oAPef0gw6Cj2ox/WSp67PuLhJzRwEf4O65eFMqP321vOnzi jwFma5YTpSQn/1z091sxXVKrVuC512SNCXPmg= MIME-Version: 1.0 Received: by 10.227.202.139 with SMTP id fe11mr1671233wbb.169.1303534261606; Fri, 22 Apr 2011 21:51:01 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.227.174.13 with HTTP; Fri, 22 Apr 2011 21:51:01 -0700 (PDT) In-Reply-To: References: <604029735.3207053.1303442079526.JavaMail.root@sz0005a.emeryville.ca.mail.comcast.net> <4DB21FD9.4050503@comcast.net> <4DB24BA8.2040900@comcast.net> Date: Sat, 23 Apr 2011 12:51:01 +0800 X-Google-Sender-Auth: vGgPSP-Bx07hWTAEgXU06LATamE Message-ID: From: Adrian Chadd To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Fwd: "Hardware error, resetting" on Atheros AR9285 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, 23 Apr 2011 04:51:05 -0000 FYI, since this discussion disappeared off the list.. Adrian ---------- Forwarded message ---------- From: Adrian Chadd Date: 23 April 2011 12:44 Subject: Re: "Hardware error, resetting" on Atheros AR9285 To: Rad Manly Nope, unfortunately. That sync register value is AR_INTR_SYNC_LOCAL_TIMEOUT, which shouldn't be triggering a fatal error. I think there may be some bugs in the interrupt handling code. I'll do some further digging for you. In the meantime, please apply this to sys/dev/ath: Index: if_ath.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- if_ath.c =A0 =A0(revision 220950) +++ if_ath.c =A0 =A0(working copy) @@ -1265,7 +1265,7 @@ =A0 =A0 =A0 =A0struct ath_softc *sc =3D arg; =A0 =A0 =A0 =A0struct ifnet *ifp =3D sc->sc_ifp; =A0 =A0 =A0 =A0struct ath_hal *ah =3D sc->sc_ah; - =A0 =A0 =A0 HAL_INT status; + =A0 =A0 =A0 HAL_INT status =3D 0; =A0 =A0 =A0 =A0if (sc->sc_invalid) { =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0/* And see if it has any effect. Thanks, Adrian On 23 April 2011 11:46, Rad Manly wrote: > OK, I'll do that. =A0Is there anything that immediately comes to mind as = a > possibility? =A0Anything I could test or check? > > Thanks, > Rad > > On 04/22/11 21:43, Adrian Chadd wrote: >> Please place all of this in a PR. :) >> >> >> Adrian >> >> On 23 April 2011 08:39, Rad Manly wrote: >>> I checked out and built the latest ath driver from -HEAD. >>> Unfortunately, the problem persists. =A0I turned on all of the debuggin= g >>> flags and saved the log file. =A0Here's what I see when I load the driv= er: >>> >>> Apr 22 18:03:34 ceres kernel: ath0: mem >>> 0xf0100000-0xf010ffff irq 17 at device 0.0 on pci2 >>> Apr 22 18:03:34 ceres kernel: ath0: [ITHREAD] >>> Apr 22 18:03:34 ceres kernel: [ath] AR9285E_20 detected; using XE TX >>> gain tables >>> Apr 22 18:03:34 ceres kernel: [ath] Enabling diversity for Kite >>> Apr 22 18:03:34 ceres kernel: ath0: AR9285 mac 192.2 RF5133 phy 14.0 >>> >>> Here's an example of the error: >>> >>> Apr 22 18:04:24 ceres kernel: ar5416SetInterrupts: 0x800965 =3D> 0xe000= 1071 >>> Apr 22 18:04:24 ceres kernel: ar5416SetInterrupts: new IMR 0x8014b7 >>> Apr 22 18:04:24 ceres kernel: ar5416SetInterrupts: enable IER >>> Apr 22 18:04:24 ceres kernel: ar5212StartTxDma: queue 1 >>> Apr 22 18:04:24 ceres kernel: ar5212StartTxDma: queue 1 >>> Apr 22 18:04:24 ceres kernel: ar5416GetPendingInterrupts: fatal error, >>> ISR_RAC 0x0 SYNC_CAUSE 0x2000 >>> Apr 22 18:04:24 ceres kernel: ar5416SetInterrupts: 0xe0001071 =3D> 0x0 >>> Apr 22 18:04:24 ceres kernel: ar5416SetInterrupts: disable IER >>> Apr 22 18:04:24 ceres kernel: ar5416SetInterrupts: new IMR 0x0 >>> Apr 22 18:04:24 ceres kernel: ath0: hardware error; resetting >>> Apr 22 18:04:24 ceres kernel: ath0: 0x00000000 0x00002000 0x00000000, >>> 0x00000000 0x00000000 0x00000000 >>> Apr 22 18:04:24 ceres kernel: ar5416SetInterrupts: 0x0 =3D> 0x0 >>> Apr 22 18:04:24 ceres kernel: ar5416SetInterrupts: new IMR 0x0 >>> >>> >>> To get this, I executed: >>> >>> ifconfig wlan0 create wlanmode sta wlandev ath0 >>> ifconfig wlan0 up scan >>> >>> Do you know what could cause this error? =A0I think the 0x00002000 mean= s >>> it's a timeout error of some kind but I don't know what's timing out or= why. >>> >>> What can I do to help swat this bug? >>> >>> Thanks, >>> Rad >>> >>> >>> On 04/21/11 23:12, Adrian Chadd wrote: >>>> Try -HEAD. I've fixed a lot of AR9285 related issues in HEAD. >>>> >>>> >>>> >>>> Adrian >>>> >>>> On 22 April 2011 11:14, >>> > wrote: >>>> >>>> =A0 =A0 Hello, >>>> >>>> =A0 =A0 Several of us on the FreeBSD forum are having the same problem >>>> =A0 =A0 with the ath driver on the AR9285 chip. The driver loads fine = but >>>> =A0 =A0 whenever I bring up an interface, I get "Hardware error, >>>> =A0 =A0 resetting" messages on the screen over and over again, roughly= one >>>> =A0 =A0 a second. One user, Claude, reports he upgraded to -STABLE to = no >>>> =A0 =A0 avail. I describe the problem in more detail in this thread: >>>> =A0 =A0 http://forums.freebsd.org/showthread.php?t=3D23297 >>>> >>>> =A0 =A0 Is there anything else I should try before I open a bug report= ? >>>> >>>> =A0 =A0 Thanks, >>>> =A0 =A0 Rad >>>> =A0 =A0 _______________________________________________ >>>> =A0 =A0 freebsd-wireless@freebsd.org >>>> =A0 =A0 mailing list >>>> =A0 =A0 http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>>> =A0 =A0 To unsubscribe, send any mail to >>>> =A0 =A0 "freebsd-wireless-unsubscribe@freebsd.org >>>> =A0 =A0 " >>>> >>>> >>> _______________________________________________ >>> 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 Sat Apr 23 06:59:01 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A1A5106566C for ; Sat, 23 Apr 2011 06:59:01 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 8D57D8FC15 for ; Sat, 23 Apr 2011 06:59:00 +0000 (UTC) Received: by wwc33 with SMTP id 33so1038698wwc.31 for ; Fri, 22 Apr 2011 23:58:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=4pnASiMKq674aBAxOVhlr9AWuaz0c23QPkO/0YmAT+g=; b=EzeDXCME19j3I/j4Vc9i5l69/PucTSiI+4GnzNeeQtuvfnew7dOfn02fRuob7RuXLv /+eICM28GDaj55zE3g4INEOBfUAkPkyS0vcFmhYhNGinwSDnDEYxuosCyJYU1z4W5t0U g7ATVWYnwLV76XS0afj0qt+7hTr0BFoDnhTsU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=k/W/ewOqo6QbnH7zgadmi1dez8WizG+fDwfnBQG4K1kDRFaCtG+DoKvMP2lwe7egIQ 1U4juBdyVPmdCk9jwZIPLRKNNxlAC7ty2ndvgWA6tgH0MdHJt3v0XW9A1WojMJCizQmu porMBSfAvOZtjG3dugN8kUOysao2JZu4nRdtw= MIME-Version: 1.0 Received: by 10.227.63.6 with SMTP id z6mr316636wbh.53.1303541939454; Fri, 22 Apr 2011 23:58:59 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.227.174.13 with HTTP; Fri, 22 Apr 2011 23:58:59 -0700 (PDT) In-Reply-To: <604029735.3207053.1303442079526.JavaMail.root@sz0005a.emeryville.ca.mail.comcast.net> References: <604029735.3207053.1303442079526.JavaMail.root@sz0005a.emeryville.ca.mail.comcast.net> Date: Sat, 23 Apr 2011 14:58:59 +0800 X-Google-Sender-Auth: wNgxusUrkYSryfNQKO2g2n9-fhQ Message-ID: From: Adrian Chadd To: radmanly@comcast.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-wireless@freebsd.org Subject: Re: "Hardware error, resetting" on Atheros AR9285 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, 23 Apr 2011 06:59:01 -0000 On 22 April 2011 11:14, wrote: > Several of us on the FreeBSD forum are having the same problem with the a= th driver on the AR9285 chip. The driver loads fine but whenever I bring up= an interface, I get "Hardware error, resetting" messages on the screen ove= r and over again, roughly one a second. One user, Claude, reports he upgrad= ed to -STABLE to no avail. I describe the problem in more detail in this th= read: http://forums.freebsd.org/showthread.php?t=3D23297 > > Is there anything else I should try before I open a bug report? Hi, I've committed a fix to -HEAD which should fix the spurious bad interrupt handling you were seeing. I'd suggest updating to the latest -HEAD and trying it out. Please note that power saving stuff in -HEAD for at least the AR5416 and later chips (AR9160, AR9220, AR9280, AR9285, AR2427) is known to be busted. Please retry without powerd enabled to see if it's actually a power saving related issue. Adrian From owner-freebsd-wireless@FreeBSD.ORG Sat Apr 23 17:23:48 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48B7D1065674 for ; Sat, 23 Apr 2011 17:23:48 +0000 (UTC) (envelope-from radmanly@comcast.net) Received: from qmta10.emeryville.ca.mail.comcast.net (qmta10.emeryville.ca.mail.comcast.net [76.96.30.17]) by mx1.freebsd.org (Postfix) with ESMTP id 36B828FC20 for ; Sat, 23 Apr 2011 17:23:47 +0000 (UTC) Received: from omta05.emeryville.ca.mail.comcast.net ([76.96.30.43]) by qmta10.emeryville.ca.mail.comcast.net with comcast id b5KY1g0020vp7WLAA5PnuE; Sat, 23 Apr 2011 17:23:47 +0000 Received: from [192.168.1.108] ([24.245.56.44]) by omta05.emeryville.ca.mail.comcast.net with comcast id b5Pl1g00Y0xErkQ8R5PmR7; Sat, 23 Apr 2011 17:23:47 +0000 Message-ID: <4DB30B21.2040100@comcast.net> Date: Sat, 23 Apr 2011 12:23:45 -0500 From: Rad Manly User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110313 Lightning/1.0b3pre Thunderbird/3.1.9 MIME-Version: 1.0 To: Adrian Chadd References: <604029735.3207053.1303442079526.JavaMail.root@sz0005a.emeryville.ca.mail.comcast.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-wireless@freebsd.org Subject: Re: "Hardware error, resetting" on Atheros AR9285 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, 23 Apr 2011 17:23:48 -0000 I updated from -HEAD and rebuilt the driver. It looks good! No errors! I never had powerd enabled. I won't even try until you say it's ready. What was the problem? Do you still need me to open a bug report? Thanks! Rad On 04/23/11 01:58, Adrian Chadd wrote: > On 22 April 2011 11:14, wrote: > >> Several of us on the FreeBSD forum are having the same problem with the ath driver on the AR9285 chip. The driver loads fine but whenever I bring up an interface, I get "Hardware error, resetting" messages on the screen over and over again, roughly one a second. One user, Claude, reports he upgraded to -STABLE to no avail. I describe the problem in more detail in this thread: http://forums.freebsd.org/showthread.php?t=23297 >> >> Is there anything else I should try before I open a bug report? > Hi, > > I've committed a fix to -HEAD which should fix the spurious bad > interrupt handling you were seeing. > > I'd suggest updating to the latest -HEAD and trying it out. > > Please note that power saving stuff in -HEAD for at least the AR5416 > and later chips (AR9160, AR9220, AR9280, AR9285, AR2427) is known to > be busted. Please retry without powerd enabled to see if it's actually > a power saving related issue. > > > > Adrian > From owner-freebsd-wireless@FreeBSD.ORG Sat Apr 23 18:30:28 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E7B61065676 for ; Sat, 23 Apr 2011 18:30:28 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 015F28FC1D for ; Sat, 23 Apr 2011 18:30:27 +0000 (UTC) Received: by wwc33 with SMTP id 33so1280289wwc.31 for ; Sat, 23 Apr 2011 11:30:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=E7fJtipRBsme1YuzvdCt06c8FFEpPizLS7Kzr9vKmoY=; b=iN4GpAjNtjw42eCpdv6OQPRilOlIz884riX66AX847vQkW9XxdsYfVUj08DUj1oBLK 4NpDmHLYliMhlBRxID4jGrTZ0hebkoty+dctY2JwnpzhVFzUd7qNQdsTSm+pcxJOV/jl 48eqsKQsSeLl9UVNfuhUdpIksb3H74rBMBjKI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=gyEwFC7QkqyAI4ilQ+HGSrRU5ymQCR4FLkAC9R/gz5QJbJRsUqEIWPe016juz6nerM Fn9++qHfoMAs950bMi6flbjSXD7OJYhm20qFudKtqP+Bc5kBr53KM2AN5f5avxA9/NO+ H1TjhwTvYLzK3DzVVk4HCwyEJJ4ArTCjkUB/s= MIME-Version: 1.0 Received: by 10.227.210.131 with SMTP id gk3mr2347334wbb.140.1303583426849; Sat, 23 Apr 2011 11:30:26 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.227.174.13 with HTTP; Sat, 23 Apr 2011 11:30:26 -0700 (PDT) In-Reply-To: <4DB30B21.2040100@comcast.net> References: <604029735.3207053.1303442079526.JavaMail.root@sz0005a.emeryville.ca.mail.comcast.net> <4DB30B21.2040100@comcast.net> Date: Sun, 24 Apr 2011 02:30:26 +0800 X-Google-Sender-Auth: R_diTX-1kynkNjDyaoxAy4Bonf0 Message-ID: From: Adrian Chadd To: Rad Manly Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-wireless@freebsd.org Subject: Re: "Hardware error, resetting" on Atheros AR9285 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, 23 Apr 2011 18:30:28 -0000 On 24 April 2011 01:23, Rad Manly wrote: > I updated from -HEAD and rebuilt the driver. =A0It looks good! =A0No erro= rs! That's good news. :) > I never had powerd enabled. =A0I won't even try until you say it's ready. > > What was the problem? =A0Do you still need me to open a bug report? Heh. Check the commit message, it's pretty clear. :) Adrian