iwlagn: add IQ inversion support for 2000 series devices
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Tue, 18 Jan 2011 16:58:48 +0000 (08:58 -0800)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Mon, 31 Jan 2011 21:17:53 +0000 (13:17 -0800)
commit52e6b85fe07ed1d2b5c76fd42ce1d77f1a190c72
treead1ff1b452637c8fa8db2fad0070b2b045d076e8
parent7fc11e9bbe3436e8110febf0da5c58bcb4342ede
iwlagn: add IQ inversion support for 2000 series devices

The I/Q swapping is extremely important and should be dealt with extra care.
It will affects OFDM and CCK differently.

For 6000/6005/6030 series devices, the I/Q were swapped, and for 2000 series
devices, it is in non-swapped status (but its swapped with respected to 6000/6005/6030).
so the CSR_GP_DRIVER_REG_BIT_RADIO_IQ_INVER register need to be set to support
the correct behavior.

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-2000.c
drivers/net/wireless/iwlwifi/iwl-core.h
drivers/net/wireless/iwlwifi/iwl-csr.h