aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-4965-hw.h
diff options
context:
space:
mode:
authorBen Cahill <ben.m.cahill@intel.com>2007-11-28 22:09:59 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:05:26 -0500
commit14519a0b46085db68e610147098d03386c34801f (patch)
tree3e44b32572ff57ef60ff2c49b7655fc59957f669 /drivers/net/wireless/iwlwifi/iwl-4965-hw.h
parent2248d8d8bc9799baf7f0a08afee7cb3afcc20ed3 (diff)
iwlwifi: move uCode API definitions to iwl-4965-commands.h
Move uCode API definitions to iwl-4965-commands.h Signed-off-by: Ben Cahill <ben.m.cahill@intel.com> Signed-off-by: Zhu Yi <yi.zhu@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.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965-hw.h b/drivers/net/wireless/iwlwifi/iwl-4965-hw.h
index 02ea71ec1d3e..962aef2f1ef2 100644
--- a/drivers/net/wireless/iwlwifi/iwl-4965-hw.h
+++ b/drivers/net/wireless/iwlwifi/iwl-4965-hw.h
@@ -698,45 +698,8 @@ enum {
698#define CALIB_IWL_TX_ATTEN_GR5_FCH 1 698#define CALIB_IWL_TX_ATTEN_GR5_FCH 1
699#define CALIB_IWL_TX_ATTEN_GR5_LCH 20 699#define CALIB_IWL_TX_ATTEN_GR5_LCH 20
700 700
701union iwl4965_tx_power_dual_stream {
702 struct {
703 u8 radio_tx_gain[2];
704 u8 dsp_predis_atten[2];
705 } s;
706 u32 dw;
707};
708
709/********************* END TXPOWER *****************************************/ 701/********************* END TXPOWER *****************************************/
710 702
711/* HT flags */
712#define RXON_FLG_CTRL_CHANNEL_LOC_POS (22)
713#define RXON_FLG_CTRL_CHANNEL_LOC_HI_MSK __constant_cpu_to_le32(0x1<<22)
714
715#define RXON_FLG_HT_OPERATING_MODE_POS (23)
716
717#define RXON_FLG_HT_PROT_MSK __constant_cpu_to_le32(0x1<<23)
718#define RXON_FLG_FAT_PROT_MSK __constant_cpu_to_le32(0x2<<23)
719
720#define RXON_FLG_CHANNEL_MODE_POS (25)
721#define RXON_FLG_CHANNEL_MODE_MSK __constant_cpu_to_le32(0x3<<25)
722#define RXON_FLG_CHANNEL_MODE_PURE_40_MSK __constant_cpu_to_le32(0x1<<25)
723#define RXON_FLG_CHANNEL_MODE_MIXED_MSK __constant_cpu_to_le32(0x2<<25)
724
725#define RXON_RX_CHAIN_DRIVER_FORCE_MSK __constant_cpu_to_le16(0x1<<0)
726#define RXON_RX_CHAIN_VALID_MSK __constant_cpu_to_le16(0x7<<1)
727#define RXON_RX_CHAIN_VALID_POS (1)
728#define RXON_RX_CHAIN_FORCE_SEL_MSK __constant_cpu_to_le16(0x7<<4)
729#define RXON_RX_CHAIN_FORCE_SEL_POS (4)
730#define RXON_RX_CHAIN_FORCE_MIMO_SEL_MSK __constant_cpu_to_le16(0x7<<7)
731#define RXON_RX_CHAIN_FORCE_MIMO_SEL_POS (7)
732#define RXON_RX_CHAIN_CNT_MSK __constant_cpu_to_le16(0x3<<10)
733#define RXON_RX_CHAIN_CNT_POS (10)
734#define RXON_RX_CHAIN_MIMO_CNT_MSK __constant_cpu_to_le16(0x3<<12)
735#define RXON_RX_CHAIN_MIMO_CNT_POS (12)
736#define RXON_RX_CHAIN_MIMO_FORCE_MSK __constant_cpu_to_le16(0x1<<14)
737#define RXON_RX_CHAIN_MIMO_FORCE_POS (14)
738
739
740/* Flow Handler Definitions */ 703/* Flow Handler Definitions */
741 704
742/**********************/ 705/**********************/