aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-5000-hw.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-5000-hw.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-5000-hw.h37
1 files changed, 1 insertions, 36 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-5000-hw.h b/drivers/net/wireless/iwlwifi/iwl-5000-hw.h
index 12c74048a396..c6595e8b4405 100644
--- a/drivers/net/wireless/iwlwifi/iwl-5000-hw.h
+++ b/drivers/net/wireless/iwlwifi/iwl-5000-hw.h
@@ -90,45 +90,10 @@
90 * @tfd_offset 0-12 - tx command byte count 90 * @tfd_offset 0-12 - tx command byte count
91 * 12-16 - station index 91 * 12-16 - station index
92 */ 92 */
93struct iwl5000_schedq_bc_tbl { 93struct iwl5000_scd_bc_tbl {
94 __le16 tfd_offset[TFD_QUEUE_BC_SIZE]; 94 __le16 tfd_offset[TFD_QUEUE_BC_SIZE];
95} __attribute__ ((packed)); 95} __attribute__ ((packed));
96 96
97/**
98 * struct iwl5000_shared
99 * @rb_closed
100 * address is provided to FH_RSCSR_CHNL0_STTS_WPTR_REG
101 */
102struct iwl5000_shared {
103 struct iwl5000_schedq_bc_tbl queues_bc_tbls[IWL50_NUM_QUEUES];
104 __le32 rb_closed;
105
106 /* __le32 rb_closed_stts_rb_num:12; */
107#define IWL_rb_closed_stts_rb_num_POS 0
108#define IWL_rb_closed_stts_rb_num_LEN 12
109#define IWL_rb_closed_stts_rb_num_SYM rb_closed
110 /* __le32 rsrv1:4; */
111 /* __le32 rb_closed_stts_rx_frame_num:12; */
112#define IWL_rb_closed_stts_rx_frame_num_POS 16
113#define IWL_rb_closed_stts_rx_frame_num_LEN 12
114#define IWL_rb_closed_stts_rx_frame_num_SYM rb_closed
115 /* __le32 rsrv2:4; */
116
117 __le32 frm_finished;
118 /* __le32 frame_finished_stts_rb_num:12; */
119#define IWL_frame_finished_stts_rb_num_POS 0
120#define IWL_frame_finished_stts_rb_num_LEN 12
121#define IWL_frame_finished_stts_rb_num_SYM frm_finished
122 /* __le32 rsrv3:4; */
123 /* __le32 frame_finished_stts_rx_frame_num:12; */
124#define IWL_frame_finished_stts_rx_frame_num_POS 16
125#define IWL_frame_finished_stts_rx_frame_num_LEN 12
126#define IWL_frame_finished_stts_rx_frame_num_SYM frm_finished
127 /* __le32 rsrv4:4; */
128
129 __le32 padding1; /* so that allocation will be aligned to 16B */
130 __le32 padding2;
131} __attribute__ ((packed));
132 97
133#endif /* __iwl_5000_hw_h__ */ 98#endif /* __iwl_5000_hw_h__ */
134 99