From owner-freebsd-wireless@FreeBSD.ORG Wed May 18 07:23:05 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 B7075106566C for ; Wed, 18 May 2011 07:23:05 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 72C6C8FC0C for ; Wed, 18 May 2011 07:23:05 +0000 (UTC) Received: by ywf7 with SMTP id 7so561715ywf.13 for ; Wed, 18 May 2011 00:23:04 -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=8jivQB6qwUn7P0FezMZVGyFxLRE8Bf+0poryMSjq9O4=; b=eUkCUdGGcZpvHmC3LnZlzYIPFtvxqs5ABGPuJ9Y8oIEHmvnfisi8O7V5tLalOans35 f+gnwgdwZU8h+SeJvc1Vhg3UWKpz1gtsAlLVDoJt+WWakIWHdy4W5HQ6gceTi/W+kkNh Xv2YxIBM1PT2LClruKps6fwodLRh5a9n0Wby0= 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=Obz+VFfkrFtOq+BTeqBXb/xg0xOaMyNFoy9/CtpDnDGhhv3OLmmikM78bCBN49UtDd Yrxp5il3EmbqYfxMmi1+VIXtDSC04+HJFDQFQXKBTlRS/pnc6GwxfFrUZ2Nrp5Zjkq5O dEvCgfjPaY4Hg+RhVn0i0r2bsFMjLclHWp6ik= MIME-Version: 1.0 Received: by 10.150.14.13 with SMTP id 13mr1273041ybn.438.1305703384560; Wed, 18 May 2011 00:23:04 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.150.91.12 with HTTP; Wed, 18 May 2011 00:23:04 -0700 (PDT) In-Reply-To: References: Date: Wed, 18 May 2011 15:23:04 +0800 X-Google-Sender-Auth: cBnfWGUtMqesxP9FqestaRg6GIA Message-ID: From: Adrian Chadd To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: ath_rate_sample: only sample/try HT rates for HT nodes 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, 18 May 2011 07:23:05 -0000 I've committed this to -HEAD. Please let me know if if_ath breaks for you, especially if you're using non-11n stuff. :) Adrian On 18 May 2011 14:02, Adrian Chadd wrote: > Hi, > > The initial sample rate 11n code that I merged in from Rui didn't > properly disable the non-HT rates when sampling and choosing a rate > for a HT node. > > This meant that time was spent trying to sample non-11n rates. > > This patch disables this behaviour whilst leaving the non-11n rates in > the 11na/11ng TX schedules. Since the management rate in an 11na > network is a legacy rate (6mbit, not MCS0) then there will be > instances of legacy TXing occuring. If the legacy rates are simply > removed from the TX schedule, the sample rate module logs a complaint. > I'd rather this not happen. > > This seems to work in legacy and non-legacy modes but I admit I > haven't given it much testing yet in 11bg and 11a modes. I'd > appreciate some testing and feedback. > > Thanks! > > > Adrian >