From owner-freebsd-mobile@FreeBSD.ORG Sat Mar 7 18:41:40 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7072510656BB for ; Sat, 7 Mar 2009 18:41:40 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 23C488FC0A for ; Sat, 7 Mar 2009 18:41:39 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n27IfdfE006864 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 7 Mar 2009 10:41:39 -0800 (PST) (envelope-from sam@freebsd.org) Message-ID: <49B2BFE3.7070709@freebsd.org> Date: Sat, 07 Mar 2009 10:41:39 -0800 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.18 (X11/20081209) MIME-Version: 1.0 To: ivakras1@gmail.com References: <20090305120022.GA8012@rebelion.Sisis.de> <49B1BB71.6060000@freebsd.org> <20090307133805.GA11596@rebelion.Sisis.de> <200903072133.35488.ivakras1@gmail.com> In-Reply-To: <200903072133.35488.ivakras1@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-DCC--Metrics: ebb.errno.com; whitelist Cc: freebsd-mobile@freebsd.org Subject: Re: associated to AP (WEP mode) && no IP addr via DHCP X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Mar 2009 18:41:41 -0000 Дмитрий Колосов wrote: > On Суббота 07 марта 2009 16:38:05 Matthias Apitz wrote: > >> El día Friday, March 06, 2009 a las 04:10:25PM -0800, Sam Leffler escribió: >> >> >>> What does athstats show for crypto errors? If the WEP-encrypted packet >>> is dropped by the h/w then you will see the counter bump. >>> >>> Based on the above you are not running HEAD; if you can try that I can >>> help more. >>> >> Sam, when I've built the HEAD kernel last year in August for my EeePC, >> my hints file says about: >> >> ... >> Sam's patch for HAL: >> >> # cd /usr/src/sys/contrib/dev >> # mv ath ath.RELENG_7 >> # tar xzf ath_hal-20080528.tgz >> # mv ath_hal-20080528 ath >> >> Is this patch still required for RELENG_7, or already in the sourcen whe >> I now do 'cvs update -rRELENG_7 src/sys'? It seems so from the age of >> the files below /usr/src/sys/contrib/dev/ath after cvs update... >> >> Thx >> >> matthias >> >> > > Just use mad-wifi hal to replace a system one. It worked fine to me. > After replacing /usr/src/sys/contrib/dev/ath/ with content of madwifi-hal-0.10.5.6-current.tar.gz/hal (and building a new kernel) my ath0 > { > ath_hal: 0.10.5.6 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425, RF2417) > ath0: mem 0xf4000000-0xf400ffff irq 16 at device 0.0 on pci2 > > ath0@pci0:2:0:0: class=0x020000 card=0x04281468 chip=0x001c168c rev=0x01 hdr=0x00 > vendor = 'Atheros Communications Inc.' > device = 'AR5006 family 802.11abg Wireless NIC' > class = network > subclass = ethernet > > } > working very fast - burst, dturbo, Atheros Fast Frames modes, and other atheros modes supported wery well! But hardware led not blinking (under u-know-what OS it is blinking when tx or rx is active). > The source code hal has many bug fixes relative to the binary madwifi hal. Getting it into RELENG_7 is prerequisite for any changes moving from HEAD to RELENG_7. LED blinking is likely just a matter of enabling softled and programming the gpio pin and polarity. Sam