iwlwifi: use Rx single frame mode (one Rx frame per RB)
commite4e58cf8cc646d93de852f32f972448a95387c60
authorZhu, Yi <yi.zhu@intel.com>
Fri, 7 Nov 2008 17:58:46 +0000 (7 09:58 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 21 Nov 2008 16:08:15 +0000 (21 11:08 -0500)
tree45c3a4102b8eb9248db0863898757ec74095398a
parent01ef932341de1fb69848ee0b9206e11baac9c340
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>
drivers/net/wireless/iwlwifi/iwl-fh.h
drivers/net/wireless/iwlwifi/iwl-rx.c