diff options
author | Winkler, Tomas <tomas.winkler@intel.com> | 2008-11-07 12:58:39 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-11-21 11:07:22 -0500 |
commit | 8d86422a83d79e3d3241cf0f269fca0c2640bcee (patch) | |
tree | b9791deaa104a7254891d962dceb551864235ee0 /drivers/net/wireless/iwlwifi/iwl-5000-hw.h | |
parent | 5c5aa3f13a50881b8f6e529e321bbefb5faec37b (diff) |
iwlwifi: move rx queue read pointer into rxq
This patch moves rx status/read registers into
iwl_rx_queue structures. This solution is more memory
hungry but is more structured and provides needed RX/TX
separation
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-5000-hw.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-5000-hw.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-5000-hw.h b/drivers/net/wireless/iwlwifi/iwl-5000-hw.h index 12c74048a396..8f9edc79e254 100644 --- a/drivers/net/wireless/iwlwifi/iwl-5000-hw.h +++ b/drivers/net/wireless/iwlwifi/iwl-5000-hw.h | |||
@@ -96,38 +96,9 @@ struct iwl5000_schedq_bc_tbl { | |||
96 | 96 | ||
97 | /** | 97 | /** |
98 | * struct iwl5000_shared | 98 | * struct iwl5000_shared |
99 | * @rb_closed | ||
100 | * address is provided to FH_RSCSR_CHNL0_STTS_WPTR_REG | ||
101 | */ | 99 | */ |
102 | struct iwl5000_shared { | 100 | struct iwl5000_shared { |
103 | struct iwl5000_schedq_bc_tbl queues_bc_tbls[IWL50_NUM_QUEUES]; | 101 | 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)); | 102 | } __attribute__ ((packed)); |
132 | 103 | ||
133 | #endif /* __iwl_5000_hw_h__ */ | 104 | #endif /* __iwl_5000_hw_h__ */ |