aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-4965-rs.h
diff options
context:
space:
mode:
authorReinette Chatre <reinette.chatre@intel.com>2008-01-14 20:46:25 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:10:03 -0500
commit8a1b02452862dd30980ad0ef493eed687bc81474 (patch)
treee4be8fd1dc67b6af1370c0a8dc9e640d0d72a7ae /drivers/net/wireless/iwlwifi/iwl-4965-rs.h
parente7a2827cbbdb11717877c44cbbdf0fb1d14e890c (diff)
iwlwifi: style fixes to usage of << and >> operators
The << and >> operators need space on each side. Cc: Stefano Brivio <stefano.brivio@polimi.it> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Acked-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-4965-rs.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-4965-rs.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965-rs.h b/drivers/net/wireless/iwlwifi/iwl-4965-rs.h
index 31e21e29bba..55f70738278 100644
--- a/drivers/net/wireless/iwlwifi/iwl-4965-rs.h
+++ b/drivers/net/wireless/iwlwifi/iwl-4965-rs.h
@@ -73,19 +73,19 @@ enum {
73}; 73};
74 74
75/* #define vs. enum to keep from defaulting to 'large integer' */ 75/* #define vs. enum to keep from defaulting to 'large integer' */
76#define IWL_RATE_6M_MASK (1<<IWL_RATE_6M_INDEX) 76#define IWL_RATE_6M_MASK (1 << IWL_RATE_6M_INDEX)
77#define IWL_RATE_9M_MASK (1<<IWL_RATE_9M_INDEX) 77#define IWL_RATE_9M_MASK (1 << IWL_RATE_9M_INDEX)
78#define IWL_RATE_12M_MASK (1<<IWL_RATE_12M_INDEX) 78#define IWL_RATE_12M_MASK (1 << IWL_RATE_12M_INDEX)
79#define IWL_RATE_18M_MASK (1<<IWL_RATE_18M_INDEX) 79#define IWL_RATE_18M_MASK (1 << IWL_RATE_18M_INDEX)
80#define IWL_RATE_24M_MASK (1<<IWL_RATE_24M_INDEX) 80#define IWL_RATE_24M_MASK (1 << IWL_RATE_24M_INDEX)
81#define IWL_RATE_36M_MASK (1<<IWL_RATE_36M_INDEX) 81#define IWL_RATE_36M_MASK (1 << IWL_RATE_36M_INDEX)
82#define IWL_RATE_48M_MASK (1<<IWL_RATE_48M_INDEX) 82#define IWL_RATE_48M_MASK (1 << IWL_RATE_48M_INDEX)
83#define IWL_RATE_54M_MASK (1<<IWL_RATE_54M_INDEX) 83#define IWL_RATE_54M_MASK (1 << IWL_RATE_54M_INDEX)
84#define IWL_RATE_60M_MASK (1<<IWL_RATE_60M_INDEX) 84#define IWL_RATE_60M_MASK (1 << IWL_RATE_60M_INDEX)
85#define IWL_RATE_1M_MASK (1<<IWL_RATE_1M_INDEX) 85#define IWL_RATE_1M_MASK (1 << IWL_RATE_1M_INDEX)
86#define IWL_RATE_2M_MASK (1<<IWL_RATE_2M_INDEX) 86#define IWL_RATE_2M_MASK (1 << IWL_RATE_2M_INDEX)
87#define IWL_RATE_5M_MASK (1<<IWL_RATE_5M_INDEX) 87#define IWL_RATE_5M_MASK (1 << IWL_RATE_5M_INDEX)
88#define IWL_RATE_11M_MASK (1<<IWL_RATE_11M_INDEX) 88#define IWL_RATE_11M_MASK (1 << IWL_RATE_11M_INDEX)
89 89
90/* 4965 uCode API values for legacy bit rates, both OFDM and CCK */ 90/* 4965 uCode API values for legacy bit rates, both OFDM and CCK */
91enum { 91enum {
@@ -169,7 +169,7 @@ enum {
169 (IWL_OFDM_BASIC_RATES_MASK | \ 169 (IWL_OFDM_BASIC_RATES_MASK | \
170 IWL_CCK_BASIC_RATES_MASK) 170 IWL_CCK_BASIC_RATES_MASK)
171 171
172#define IWL_RATES_MASK ((1<<IWL_RATE_COUNT)-1) 172#define IWL_RATES_MASK ((1 << IWL_RATE_COUNT) - 1)
173 173
174#define IWL_INVALID_VALUE -1 174#define IWL_INVALID_VALUE -1
175 175