From owner-freebsd-current@FreeBSD.ORG Wed Sep 14 21:22:06 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 471E716A41F for ; Wed, 14 Sep 2005 21:22:06 +0000 (GMT) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47E8143D53 for ; Wed, 14 Sep 2005 21:22:01 +0000 (GMT) (envelope-from sam@errno.com) Received: from [10.0.0.200] ([10.0.0.200]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.6) with ESMTP id j8ELLw6j047791 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 14 Sep 2005 14:22:00 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <4328961F.3090702@errno.com> Date: Wed, 14 Sep 2005 14:29:03 -0700 From: Sam Leffler User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050327) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dandee@volny.cz References: <20050914113348.006564E704@pipa.profix.cz> In-Reply-To: <20050914113348.006564E704@pipa.profix.cz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: dev.ath.0.slottime changing and why ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2005 21:22:06 -0000 Daniel Dvorak wrote: > On 2 servers, where atheros is installed, there are problem with unexpected > changing "slottime" IFS parametr. > > If I set this parametr manually or by new way with using of athctrl.sh for > our correct destination between them, it changes to slottime=12 for example, > but after undefined period it changes back to slottime=9 which is default. Something is likely changing the slot time at the net80211 layer. Values passed to the hal will be preserved across resets. The ability to override the standard IFS parameters has always been experimental. Feel free to fix issues you find. > > Anothers 2 parametrs ack and cts timeouts is okay. > > habr# ./athctrl.sh -i ath0 -d 681 > Setup IFS parameters on interface ath0 for 681 meter p-2-p link > dev.ath.0.slottime: 9 -> 12 > dev.ath.0.acktimeout: 27 -> 27 > dev.ath.0.ctstimeout: 27 -> 27 > habr# ifconfig ath0 media OFDM/24Mbps mode 11a mediaopt adhoc > habr# ./athctrl.sh -i ath0 -d 681 > Setup IFS parameters on interface ath0 for 681 meter p-2-p link > dev.ath.0.slottime: 9 -> 12 > dev.ath.0.acktimeout: 27 -> 27 > dev.ath.0.ctstimeout: 27 -> 27 > > And another question, could somebody recommend me some ath_rate from 3 > available options and why ? > > I remind that there are available these: > > ath_rate_onoe - which is default for fbsd driver > ath_rate_amrr - http://www.marlow.dk/tech/madwifi/lacage04.pdf > ath_rate_sample - which is default for madwifi (linux driver) > > After reading the pdf file, ath_rate_amrr is seems to be the best one. > > Any comments ? ath_rate_sample is the only one to use. It's still got some issues (John did some fixes that are in the Linux version that I haven't backported yet) but outperfoms the others hands down. Sam