summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-fh.h
diff options
context:
space:
mode:
authorZhu, Yi <yi.zhu@intel.com>2008-11-07 09:58:46 -0800
committerJohn W. Linville <linville@tuxdriver.com>2008-11-21 11:08:15 -0500
commite4e58cf8cc646d93de852f32f972448a95387c60 (patch)
tree45c3a4102b8eb9248db0863898757ec74095398a /drivers/net/wireless/iwlwifi/iwl-fh.h
parent01ef932341de1fb69848ee0b9206e11baac9c340 (diff)
downloadtalos-op-linux-e4e58cf8cc646d93de852f32f972448a95387c60.tar.gz
talos-op-linux-e4e58cf8cc646d93de852f32f972448a95387c60.zip
iwlwifi: use Rx single frame mode (one Rx frame per RB)
The RCSR default value for single frame mode is off (a RB contains more than one frames). But the driver assumes single frame mode apparently. This patch enables single frame mode for the hardware. It also adds a BUG_ON to make sure the allocated skb satisfies the hardware alignment requirement and removes a useless check. Signed-off-by: Zhu Yi <yi.zhu@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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-fh.h b/drivers/net/wireless/iwlwifi/iwl-fh.h
index 2c5f919dd847..e46300c28a8f 100644
--- a/drivers/net/wireless/iwlwifi/iwl-fh.h
+++ b/drivers/net/wireless/iwlwifi/iwl-fh.h
@@ -266,6 +266,8 @@
#define FH_RCSR_CHNL0_RX_CONFIG_IRQ_DEST_NO_INT_VAL (0x00000000)
#define FH_RCSR_CHNL0_RX_CONFIG_IRQ_DEST_INT_HOST_VAL (0x00001000)
+#define FH_RCSR_CHNL0_RX_CONFIG_SINGLE_FRAME (0x00008000)
+
/**
* Rx Shared Status Registers (RSSR)
OpenPOWER on IntegriCloud