aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-commands.h
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2008-10-14 15:32:45 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-10-31 19:00:29 -0400
commit76eff18bdc5feaa53f1be33709b67df02f1d55e9 (patch)
treeb532664298ca1ecad5bebf2155fe194d2b0c20dd /drivers/net/wireless/iwlwifi/iwl-commands.h
parent961ba60abe02517d0c8252f9befb1478f4e008a4 (diff)
iwlwifi: unify tx antenna toggling
TX antenna toggling is requested for management frames in tx and scanning. I addition toggling in scanning was incorrect; Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Reviewed-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-commands.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-commands.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-commands.h b/drivers/net/wireless/iwlwifi/iwl-commands.h
index ba54613ae63e..67680a74afde 100644
--- a/drivers/net/wireless/iwlwifi/iwl-commands.h
+++ b/drivers/net/wireless/iwlwifi/iwl-commands.h
@@ -283,18 +283,20 @@ struct iwl_cmd_header {
283#define RATE_MCS_SGI_MSK 0x2000 283#define RATE_MCS_SGI_MSK 0x2000
284 284
285/** 285/**
286 * rate_n_flags Tx antenna masks (4965 has 2 transmitters): 286 * rate_n_flags Tx antenna masks
287 * bit14:15 01 B inactive, A active 287 * 4965 has 2 transmitters
288 * 10 B active, A inactive 288 * 5100 has 1 transmitter B
289 * 11 Both active 289 * 5150 has 1 transmitter A
290 * 5300 has 3 transmitters
291 * 5350 has 3 transmitters
292 * bit14:16
290 */ 293 */
291#define RATE_MCS_ANT_POS 14 294#define RATE_MCS_ANT_POS 14
292#define RATE_MCS_ANT_A_MSK 0x04000 295#define RATE_MCS_ANT_A_MSK 0x04000
293#define RATE_MCS_ANT_B_MSK 0x08000 296#define RATE_MCS_ANT_B_MSK 0x08000
294#define RATE_MCS_ANT_C_MSK 0x10000 297#define RATE_MCS_ANT_C_MSK 0x10000
295#define RATE_MCS_ANT_ABC_MSK 0x1C000 298#define RATE_MCS_ANT_ABC_MSK 0x1C000
296 299#define RATE_ANT_NUM 3
297#define RATE_MCS_ANT_INIT_IND 1
298 300
299#define POWER_TABLE_NUM_ENTRIES 33 301#define POWER_TABLE_NUM_ENTRIES 33
300#define POWER_TABLE_NUM_HT_OFDM_ENTRIES 32 302#define POWER_TABLE_NUM_HT_OFDM_ENTRIES 32