From owner-freebsd-net@FreeBSD.ORG Wed Mar 31 17:06:49 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 937A21065674; Wed, 31 Mar 2010 17:06:49 +0000 (UTC) (envelope-from bschmidt@mx.techwires.net) Received: from mx.techwires.net (mx.techwires.net [IPv6:2001:4d88:100f:1::3]) by mx1.freebsd.org (Postfix) with ESMTP id 330C08FC1A; Wed, 31 Mar 2010 17:06:49 +0000 (UTC) Received: by mx.techwires.net (Postfix, from userid 1001) id 1A63723EAD; Wed, 31 Mar 2010 19:06:48 +0200 (CEST) Date: Wed, 31 Mar 2010 19:06:48 +0200 From: Bernhard Schmidt To: Rui Paulo Message-ID: <20100331170648.GB6121@mx.techwires.net> References: <63B143BF-20C9-425F-8969-B7452191E84F@freebsd.org> <20100331140415.GB68231@mx.techwires.net> <47F572EE-B5E5-4961-81C5-179AD0F4A90A@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47F572EE-B5E5-4961-81C5-179AD0F4A90A@freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-net , Antoine Brodin Subject: Re: net80211 ratectl proof of concept X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2010 17:06:49 -0000 On Wed, Mar 31, 2010 at 03:05:27PM +0100, Rui Paulo wrote: > On 31 Mar 2010, at 15:04, Bernhard Schmidt wrote: > > > On Wed, Mar 31, 2010 at 02:31:30PM +0100, Rui Paulo wrote: > >> On 31 Mar 2010, at 14:24, Antoine Brodin wrote: > >>> This looks great! > >>> Is there specific reasons to use pointers and not ints for some > >>> arguments of foo_tx_complete() and foo_tx_update()? > >> > >> Not really. I'll probably switch them to ints at some point. > > > > Hmm, I somehow like the idea of not passing integers here. Looking at > > ath_rate/sample it passes a struct. I don't know whether this can be > > rewritten though. > > It can be rewritten to pass ints, from what I understand. Ok great, looks fine to me. Do you intend to commit this in one huge chunk (quite a few drivers affected) or create a branch for that? -- Bernhard