aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-3945-hw.h
diff options
context:
space:
mode:
authorWinkler, Tomas <tomas.winkler@intel.com>2008-12-21 22:31:14 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-01-29 15:59:23 -0500
commitdbb6654c411e2030ed969ef0c531eb7fda8b27a3 (patch)
tree7029ed3e6525946f6febce4da976d2b8d164f626 /drivers/net/wireless/iwlwifi/iwl-3945-hw.h
parent8cd812bcda06645160b0b279e1a125271a73411c (diff)
iwl3945: rearrange 3945 tfd
This patch moves 3945 TFD structures to iwl-3945-fh.h. It renames them similarly to AGN naming. This patch also eliminates iwl3945_tx_info and fixes endianity issue in iwl3945_tx_skb and iwl3945_enqueue_hcmd caused by ugly casting. Signed-off-by: Tomas Winkler <tomas.winkler@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-3945-hw.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-3945-hw.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945-hw.h b/drivers/net/wireless/iwlwifi/iwl-3945-hw.h
index fc1b774c806b..1ba59dfacd1b 100644
--- a/drivers/net/wireless/iwlwifi/iwl-3945-hw.h
+++ b/drivers/net/wireless/iwlwifi/iwl-3945-hw.h
@@ -304,17 +304,6 @@ struct iwl3945_shared {
304 __le32 tx_base_ptr[8]; 304 __le32 tx_base_ptr[8];
305} __attribute__ ((packed)); 305} __attribute__ ((packed));
306 306
307struct iwl3945_tfd_frame_data {
308 __le32 addr;
309 __le32 len;
310} __attribute__ ((packed));
311
312struct iwl3945_tfd_frame {
313 __le32 control_flags;
314 struct iwl3945_tfd_frame_data pa[4];
315 u8 reserved[28];
316} __attribute__ ((packed));
317
318static inline u8 iwl3945_hw_get_rate(__le16 rate_n_flags) 307static inline u8 iwl3945_hw_get_rate(__le16 rate_n_flags)
319{ 308{
320 return le16_to_cpu(rate_n_flags) & 0xFF; 309 return le16_to_cpu(rate_n_flags) & 0xFF;