From patchwork Thu Mar 3 18:42:58 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivo van Doorn X-Patchwork-Id: 606951 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p23Imj2l021009 for ; Thu, 3 Mar 2011 18:49:19 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758693Ab1CCSsm (ORCPT ); Thu, 3 Mar 2011 13:48:42 -0500 Received: from mail-ww0-f44.google.com ([74.125.82.44]:42982 "EHLO mail-ww0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758687Ab1CCSsl (ORCPT ); Thu, 3 Mar 2011 13:48:41 -0500 Received: by mail-ww0-f44.google.com with SMTP id 22so1737707wwb.1 for ; Thu, 03 Mar 2011 10:48:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-type:content-transfer-encoding :message-id; bh=HprKTqUnsjVaU9ff1iJUE4+bpyKeSlKB4phlOwDHN1Y=; b=Bg5ZrtvU5BOyUSv7EJQ1rZnrcmyVgXd/3y5LWW/07NtzMeKnS3nre0e7yGglbkVX4a op76YUWNPNOS15ZONPN1ETtbth/7DN/b0jlIiVOPlIFiyoKEHwmL6lsyqfN1Y2GW0Qcl WcD7xjOfbVFAc3bRHbuFDv1R2YPlQ6OhlknHc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=LUTxvlfXt/DP/ncsqsCoMulWSOyPEqX0G0lSETlKMtLC76BG1NJpEfiDnF4yPoade6 2DmKv5RzeJt2W1Tc5mbT9/NoJkyDUhVmx+ULsCtClPCBwZJvVEaJfwMvPKQOaKTjwrjx rGhXMsUQ1m8yXDBoz0a1tyNonTFTzdvpE103Q= Received: by 10.216.167.13 with SMTP id h13mr1148391wel.95.1299178115877; Thu, 03 Mar 2011 10:48:35 -0800 (PST) Received: from localhost.localdomain (g121037.upc-g.chello.nl [80.57.121.37]) by mx.google.com with ESMTPS id j49sm738659wer.14.2011.03.03.10.48.33 (version=SSLv3 cipher=OTHER); Thu, 03 Mar 2011 10:48:34 -0800 (PST) From: Ivo van Doorn To: "John W. Linville" Subject: [PATCH 08/19] rt2x00: Optimize TX descriptor memory layout Date: Thu, 3 Mar 2011 19:42:58 +0100 User-Agent: KMail/1.13.5 (Linux/2.6.32.26-175.fc12.x86_64; KDE/4.4.5; x86_64; ; ) Cc: linux-wireless@vger.kernel.org, users@rt2x00.serialmonkey.com References: <201103031938.56423.IvDoorn@gmail.com> <201103031942.02498.IvDoorn@gmail.com> <201103031942.36144.IvDoorn@gmail.com> In-Reply-To: <201103031942.36144.IvDoorn@gmail.com> MIME-Version: 1.0 Message-Id: <201103031942.58935.IvDoorn@gmail.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Thu, 03 Mar 2011 18:49:19 +0000 (UTC) diff --git a/drivers/net/wireless/rt2x00/rt2x00queue.h b/drivers/net/wireless/rt2x00/rt2x00queue.h index 3305520..3fa2406 100644 --- a/drivers/net/wireless/rt2x00/rt2x00queue.h +++ b/drivers/net/wireless/rt2x00/rt2x00queue.h @@ -315,17 +315,17 @@ struct txentry_desc { struct { u16 mcs; - u16 stbc; - u16 ba_size; - u16 mpdu_density; - short txop; + u8 stbc; + u8 ba_size; + u8 mpdu_density; + enum txop txop; } ht; } u; u16 rate_mode; short retry_limit; - short ifs; + enum ifs ifs; enum cipher cipher; u16 key_idx;