From patchwork Sat Nov 14 00:48:01 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felix Fietkau X-Patchwork-Id: 59991 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nAE0k3wF005625 for ; Sat, 14 Nov 2009 00:48:08 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932578AbZKNAsB (ORCPT ); Fri, 13 Nov 2009 19:48:01 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932547AbZKNAsA (ORCPT ); Fri, 13 Nov 2009 19:48:00 -0500 Received: from nbd.name ([88.198.39.176]:57331 "EHLO ds10.mine.nu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932491AbZKNAsA (ORCPT ); Fri, 13 Nov 2009 19:48:00 -0500 Received: from p5ddc6825.dip.t-dialin.net ([93.220.104.37] helo=pi.local) by ds10.mine.nu with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1N96s0-0008FD-TD; Sat, 14 Nov 2009 01:52:04 +0100 Message-ID: <4AFDFE41.9000003@openwrt.org> Date: Sat, 14 Nov 2009 01:48:01 +0100 From: Felix Fietkau User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: linux-wireless CC: "Luis R. Rodriguez" , Johannes Berg Subject: [RFC 1/2] mac80211: add private driver flags and ampdu length to tx info X-Enigmail-Version: 0.96.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org --- a/include/net/mac80211.h +++ b/include/net/mac80211.h @@ -386,6 +386,7 @@ struct ieee80211_tx_rate { * @flags: transmit info flags, defined above * @band: the band to transmit on (use for checking for races) * @antenna_sel_tx: antenna to use, 0 for automatic diversity + * @driver_flags: flags for internal driver use * @pad: padding, ignore * @control: union for control data * @status: union for status data @@ -404,7 +405,8 @@ struct ieee80211_tx_info { u8 antenna_sel_tx; /* 2 byte hole */ - u8 pad[2]; + u8 driver_flags; + u8 ampdu_len; union { struct {