From owner-freebsd-wireless@FreeBSD.ORG Tue Sep 3 01:29:07 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 37A6EE9C; Tue, 3 Sep 2013 01:29:07 +0000 (UTC) (envelope-from qinchenchong@gmail.com) Received: from mail-vc0-x22b.google.com (mail-vc0-x22b.google.com [IPv6:2607:f8b0:400c:c03::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CEC1729D6; Tue, 3 Sep 2013 01:29:06 +0000 (UTC) Received: by mail-vc0-f171.google.com with SMTP id ij15so3389222vcb.2 for ; Mon, 02 Sep 2013 18:29:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=J8ujkAoUkbOTxcw2symK/MX0vDj8HHDRmb37YQNGbCg=; b=yX8EcwH7IGwzpcfCvrBtEDe59XZfSwvfoCPBXQsBRxPOA6Ntqxvkd4yVdE3gGwIOlA ef1HEY9/TjPwFU4/gqomFja6aVMFGr5XN8PVXWBRYBc+eysCcdYNqvU+T4pYaYxLNewc dl5BXqPpA3TEfA/TBJoy69yVgUez3m/yscocJBgfZiHMSciL2fRyDeUCqsFZ3+g92y/B kRee+qH6aKfGT/HmlnrfU14xNKiL/CAokrSq0kfRVKTd09BVYl/acfYaD9hMpBSVzvdm CPhqeE8/V+k4Ly6tKpd9RMVUWEYFPaXYazfNFNTfvOZTop1W9Z5v7vAHF24iI1tVvhge 6kMQ== MIME-Version: 1.0 X-Received: by 10.52.180.229 with SMTP id dr5mr20945770vdc.20.1378171745925; Mon, 02 Sep 2013 18:29:05 -0700 (PDT) Received: by 10.220.182.68 with HTTP; Mon, 2 Sep 2013 18:29:05 -0700 (PDT) In-Reply-To: References: Date: Tue, 3 Sep 2013 09:29:05 +0800 Message-ID: Subject: Re: Chenchong's work on net80211_ratectl From: Chenchong Qin To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 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: Tue, 03 Sep 2013 01:29:07 -0000 OK! Thanks! :-) Chenchong On Tue, Sep 3, 2013 at 1:56 AM, Adrian Chadd wrote: > Hi! > > You can declare an mbuf tag and use that. Look at M_TXCB in net80211 and > how mbuf tags are added. > > I've long thought about adding a net80211 mbuf tag to represent -all- of > the tx related state - TX callback, rate control, rate completion, > aggregation state, retry count, etc. That way all the drivers can use it. > > > > -adrian > >