summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-fh.h
diff options
context:
space:
mode:
authorSamuel Ortiz <samuel.ortiz@intel.com>2008-12-22 04:31:16 +0100
committerJohn W. Linville <linville@tuxdriver.com>2009-01-29 21:59:24 +0100
commit188cf6c73a72be1d8c118580a40d70cd76415eec (patch)
treee684a15fb8011a5666075062315790f3cb6d1600 /drivers/net/wireless/iwlwifi/iwl-fh.h
parentiwl3945: adding utils ops (diff)
downloadlinux-188cf6c73a72be1d8c118580a40d70cd76415eec.tar.xz
linux-188cf6c73a72be1d8c118580a40d70cd76415eec.zip
iwl3945: sync tx queue data structure with iwlagn
We are now using the iwl_tx_queue for iwl3945. To reach that goal, we included the 3945 specific tfd frame structure to iwl_tx_queue. This has no effect on the current iwlagn code. Signed-off-by: Samuel Ortiz <samuel.ortiz@intel.com> Signed-off-by: Abhijeet Kolekar <abhijeet.kolekar@intel.com> Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-fh.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-fh.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-fh.h b/drivers/net/wireless/iwlwifi/iwl-fh.h
index 7c19790a3ea7..313b03b5b4cd 100644
--- a/drivers/net/wireless/iwlwifi/iwl-fh.h
+++ b/drivers/net/wireless/iwlwifi/iwl-fh.h
@@ -478,6 +478,17 @@ struct iwl_tfd {
__le32 __pad;
} __attribute__ ((packed));
+struct iwl3945_tfd_frame_data {
+ __le32 addr;
+ __le32 len;
+} __attribute__ ((packed));
+
+struct iwl3945_tfd_frame {
+ __le32 control_flags;
+ struct iwl3945_tfd_frame_data pa[4];
+ u8 reserved[28];
+} __attribute__ ((packed));
+
/* Keep Warm Size */
#define IWL_KW_SIZE 0x1000 /* 4k */