From patchwork Mon Mar 7 02:14:41 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sujith Manoharan X-Patchwork-Id: 614271 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 p272EqYw018510 for ; Mon, 7 Mar 2011 02:14:53 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755196Ab1CGCOv (ORCPT ); Sun, 6 Mar 2011 21:14:51 -0500 Received: from mail-gx0-f174.google.com ([209.85.161.174]:63297 "EHLO mail-gx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755077Ab1CGCOu (ORCPT ); Sun, 6 Mar 2011 21:14:50 -0500 Received: by gxk8 with SMTP id 8so1465250gxk.19 for ; Sun, 06 Mar 2011 18:14:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:mime-version:content-type :content-transfer-encoding:message-id:date:to:x-mailer:cc:subject; bh=9f3yu+m+Jb2vPZS+8AKeHY3RTquJB51Gqi5E3texuew=; b=lXnQyD6qFzBpftanVlugqTCD3IjYD2buBa79Rexvg01F6VVdTHfsPUX+F0CmXi6n1+ +KPO6Ozp8YRoz38xX7m+SCbA0VhPeQODC+ZmnqKaOVxspzOsKNlUNgoE6EVXZ5UGwKdt uP13NNRqJ1AoB8W6OUhGKCi5mab5O/e4b0Csk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:mime-version:content-type:content-transfer-encoding:message-id :date:to:x-mailer:cc:subject; b=Y+u7XT3rYq2hCQ/yeeQHIuAvegnR5ga9hTvHg5kHWNO58zUBJYAo4Dv7KxHoZcNkN6 OSaxzquPbkBqP5gGw8rc9prUxiXe7AcoFqkOu0VGBFV80qDl/DYUJmKb0WpXICoacnHr ro3bxn/6I85ZoPRnPzGcZmaFMNd6fBWwm3pZw= Received: by 10.236.181.161 with SMTP id l21mr2228266yhm.85.1299464090421; Sun, 06 Mar 2011 18:14:50 -0800 (PST) Received: from bodhi ([117.197.194.30]) by mx.google.com with ESMTPS id x37sm1413809yhn.3.2011.03.06.18.14.47 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 06 Mar 2011 18:14:49 -0800 (PST) From: Sujith MIME-Version: 1.0 Message-ID: <19828.16273.903585.68122@gargle.gargle.HOWL> Date: Mon, 7 Mar 2011 07:44:41 +0530 To: linux-wireless@vger.kernel.org X-Mailer: VM 8.1.1 under 23.2.1 (x86_64-unknown-linux-gnu) CC: ath9k-devel@venema.h4ckr.net Subject: [RFC 19/34] ath9k_htc: Sync MGMT/DATA packet headers with firmware 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]); Mon, 07 Mar 2011 02:14:53 +0000 (UTC) diff --git a/drivers/net/wireless/ath/ath9k/htc.h b/drivers/net/wireless/ath/ath9k/htc.h index 5f30d91..294feb1 100644 --- a/drivers/net/wireless/ath/ath9k/htc.h +++ b/drivers/net/wireless/ath/ath9k/htc.h @@ -85,7 +85,8 @@ struct tx_frame_hdr { __be32 flags; /* ATH9K_HTC_TX_* */ u8 key_type; u8 keyix; - u8 reserved[26]; + u8 cookie; + u8 pad; } __packed; struct tx_mgmt_hdr { @@ -95,7 +96,8 @@ struct tx_mgmt_hdr { u8 flags; u8 key_type; u8 keyix; - u16 reserved; + u8 cookie; + u8 pad; } __packed; struct tx_beacon_header {