aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-fh.h
diff options
context:
space:
mode:
authorWinkler, Tomas <tomas.winkler@intel.com>2008-11-07 12:58:39 -0500
committerJohn W. Linville <linville@tuxdriver.com>2008-11-21 11:07:22 -0500
commit8d86422a83d79e3d3241cf0f269fca0c2640bcee (patch)
treeb9791deaa104a7254891d962dceb551864235ee0 /drivers/net/wireless/iwlwifi/iwl-fh.h
parent5c5aa3f13a50881b8f6e529e321bbefb5faec37b (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-fh.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-fh.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-fh.h b/drivers/net/wireless/iwlwifi/iwl-fh.h
index 97e2cf41258d..153754277e07 100644
--- a/drivers/net/wireless/iwlwifi/iwl-fh.h
+++ b/drivers/net/wireless/iwlwifi/iwl-fh.h
@@ -403,5 +403,21 @@
403#define TFD_QUEUE_SIZE_BC_DUP (64) 403#define TFD_QUEUE_SIZE_BC_DUP (64)
404#define TFD_QUEUE_BC_SIZE (TFD_QUEUE_SIZE_MAX + TFD_QUEUE_SIZE_BC_DUP) 404#define TFD_QUEUE_BC_SIZE (TFD_QUEUE_SIZE_MAX + TFD_QUEUE_SIZE_BC_DUP)
405 405
406/**
407 * struct iwl_rb_status - reseve buffer status
408 * host memory mapped FH registers
409 * @closed_rb_num [0:11] - Indicates the index of the RB which was closed
410 * @closed_fr_num [0:11] - Indicates the index of the RX Frame which was closed
411 * @finished_rb_num [0:11] - Indicates the index of the current RB
412 * in which the last frame was written to
413 * @finished_fr_num [0:11] - Indicates the index of the RX Frame
414 * which was transfered
415 */
416struct iwl_rb_status {
417 __le16 closed_rb_num;
418 __le16 closed_fr_num;
419 __le16 finished_rb_num;
420 __le16 finished_fr_nam;
421} __attribute__ ((packed));
406 422
407#endif /* !__iwl_fh_h__ */ 423#endif /* !__iwl_fh_h__ */