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-4965-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-4965-hw.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965-hw.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965-hw.h b/drivers/net/wireless/iwlwifi/iwl-4965-hw.h index 9da7c7bea752..94ae1a84f786 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965-hw.h +++ b/drivers/net/wireless/iwlwifi/iwl-4965-hw.h | |||
@@ -927,33 +927,6 @@ struct iwl4965_schedq_bc_tbl { | |||
927 | */ | 927 | */ |
928 | struct iwl4965_shared { | 928 | struct iwl4965_shared { |
929 | struct iwl4965_schedq_bc_tbl queues_bc_tbls[IWL49_NUM_QUEUES]; | 929 | struct iwl4965_schedq_bc_tbl queues_bc_tbls[IWL49_NUM_QUEUES]; |
930 | __le32 rb_closed; | ||
931 | |||
932 | /* __le32 rb_closed_stts_rb_num:12; */ | ||
933 | #define IWL_rb_closed_stts_rb_num_POS 0 | ||
934 | #define IWL_rb_closed_stts_rb_num_LEN 12 | ||
935 | #define IWL_rb_closed_stts_rb_num_SYM rb_closed | ||
936 | /* __le32 rsrv1:4; */ | ||
937 | /* __le32 rb_closed_stts_rx_frame_num:12; */ | ||
938 | #define IWL_rb_closed_stts_rx_frame_num_POS 16 | ||
939 | #define IWL_rb_closed_stts_rx_frame_num_LEN 12 | ||
940 | #define IWL_rb_closed_stts_rx_frame_num_SYM rb_closed | ||
941 | /* __le32 rsrv2:4; */ | ||
942 | |||
943 | __le32 frm_finished; | ||
944 | /* __le32 frame_finished_stts_rb_num:12; */ | ||
945 | #define IWL_frame_finished_stts_rb_num_POS 0 | ||
946 | #define IWL_frame_finished_stts_rb_num_LEN 12 | ||
947 | #define IWL_frame_finished_stts_rb_num_SYM frm_finished | ||
948 | /* __le32 rsrv3:4; */ | ||
949 | /* __le32 frame_finished_stts_rx_frame_num:12; */ | ||
950 | #define IWL_frame_finished_stts_rx_frame_num_POS 16 | ||
951 | #define IWL_frame_finished_stts_rx_frame_num_LEN 12 | ||
952 | #define IWL_frame_finished_stts_rx_frame_num_SYM frm_finished | ||
953 | /* __le32 rsrv4:4; */ | ||
954 | |||
955 | __le32 padding1; /* so that allocation will be aligned to 16B */ | ||
956 | __le32 padding2; | ||
957 | } __attribute__ ((packed)); | 930 | } __attribute__ ((packed)); |
958 | 931 | ||
959 | #endif /* __iwl4965_4965_hw_h__ */ | 932 | #endif /* __iwl4965_4965_hw_h__ */ |