From owner-freebsd-questions@FreeBSD.ORG Thu Dec 9 21:27:48 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 537CA16A4CE for ; Thu, 9 Dec 2004 21:27:48 +0000 (GMT) Received: from top.daemonsecurity.com (FW-182-254.go.retevision.es [62.174.254.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF4D343D68 for ; Thu, 9 Dec 2004 21:27:47 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [192.168.0.32] (charm.daemonsecurity.com [192.168.0.32]) by top.daemonsecurity.com (Postfix) with ESMTP id 0EB3BFD008; Thu, 9 Dec 2004 22:27:46 +0100 (CET) Message-ID: <41B8C34F.5050407@locolomo.org> Date: Thu, 09 Dec 2004 22:27:43 +0100 From: Erik Norgaard User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041114 X-Accept-Language: en, en-us, da, it, es MIME-Version: 1.0 To: Tom Connolly References: <06d401c4de31$123e8ef0$9a11a8c0@d3stomc> In-Reply-To: <06d401c4de31$123e8ef0$9a11a8c0@d3stomc> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: intermittent ath0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Dec 2004 21:27:48 -0000 Tom Connolly wrote: >>6.0-CURRENT as of yesterday, recompiled the kernel with options >> >>device ath >>device ath_hal # Atheros HAL >>device ath_rate_onoe # Onoe rate control for ath driver > I use the ath0 driver also and I lose connection to the wireless router > sometimes. > I'm running FreeBSD 5.3 STABLE and using a D-Ling wireless card. > I have the driver compiled into the kernel but I don't have the > following: > > device ath_rate_onoe # Onoe rate control for ath driver > > Do I need this? What does it do? First, I'm not sure if this has made it into -STABLE yet, looking into the NOTES file on my 5.3p1 these options are not mentioned. I write these because there seems to be two mutually exclusive options: device ath_rate_onoe # Onoe rate control for ath driver #device ath_rate_amrr # AMRR rate control for ath driver mentioned in the NOTES file on 6.0. A look into the source, there is actually a good explanation of what his does: * A rate control module is responsible for choosing the transmit rate * for each data frame. Management+control frames are always sent at * a fixed rate. (see the source for more, /usr/src/sys/dev/ath/if_athrate.h) Getting the transmissionrates right may solve the buffering problem, since if one end is sending too fast the other may run out of buffer. I guess that the previous driver also had such code, but the new code is better? When I recompiled my kernel, I first did not include any of these and the compilation failed. So, I guess it is needed in that case :-) Now, I'm just guessing, and code appears quite new, so try to see if things help or help debug :-) Cheers, Erik -- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2