aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-3945-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-3945-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-3945-rs.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-3945-rs.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945-rs.h b/drivers/net/wireless/iwlwifi/iwl-3945-rs.h
index e21a5bae687f..d5e9220f871d 100644
--- a/drivers/net/wireless/iwlwifi/iwl-3945-rs.h
+++ b/drivers/net/wireless/iwlwifi/iwl-3945-rs.h
@@ -86,18 +86,18 @@ enum {
86}; 86};
87 87
88/* #define vs. enum to keep from defaulting to 'large integer' */ 88/* #define vs. enum to keep from defaulting to 'large integer' */
89#define IWL_RATE_6M_MASK (1<<IWL_RATE_6M_INDEX) 89#define IWL_RATE_6M_MASK (1 << IWL_RATE_6M_INDEX)
90#define IWL_RATE_9M_MASK (1<<IWL_RATE_9M_INDEX) 90#define IWL_RATE_9M_MASK (1 << IWL_RATE_9M_INDEX)
91#define IWL_RATE_12M_MASK (1<<IWL_RATE_12M_INDEX) 91#define IWL_RATE_12M_MASK (1 << IWL_RATE_12M_INDEX)
92#define IWL_RATE_18M_MASK (1<<IWL_RATE_18M_INDEX) 92#define IWL_RATE_18M_MASK (1 << IWL_RATE_18M_INDEX)
93#define IWL_RATE_24M_MASK (1<<IWL_RATE_24M_INDEX) 93#define IWL_RATE_24M_MASK (1 << IWL_RATE_24M_INDEX)
94#define IWL_RATE_36M_MASK (1<<IWL_RATE_36M_INDEX) 94#define IWL_RATE_36M_MASK (1 << IWL_RATE_36M_INDEX)
95#define IWL_RATE_48M_MASK (1<<IWL_RATE_48M_INDEX) 95#define IWL_RATE_48M_MASK (1 << IWL_RATE_48M_INDEX)
96#define IWL_RATE_54M_MASK (1<<IWL_RATE_54M_INDEX) 96#define IWL_RATE_54M_MASK (1 << IWL_RATE_54M_INDEX)
97#define IWL_RATE_1M_MASK (1<<IWL_RATE_1M_INDEX) 97#define IWL_RATE_1M_MASK (1 << IWL_RATE_1M_INDEX)
98#define IWL_RATE_2M_MASK (1<<IWL_RATE_2M_INDEX) 98#define IWL_RATE_2M_MASK (1 << IWL_RATE_2M_INDEX)
99#define IWL_RATE_5M_MASK (1<<IWL_RATE_5M_INDEX) 99#define IWL_RATE_5M_MASK (1 << IWL_RATE_5M_INDEX)
100#define IWL_RATE_11M_MASK (1<<IWL_RATE_11M_INDEX) 100#define IWL_RATE_11M_MASK (1 << IWL_RATE_11M_INDEX)
101 101
102/* 3945 uCode API values for (legacy) bit rates, both OFDM and CCK */ 102/* 3945 uCode API values for (legacy) bit rates, both OFDM and CCK */
103enum { 103enum {
@@ -157,7 +157,7 @@ enum {
157 (IWL_OFDM_BASIC_RATES_MASK | \ 157 (IWL_OFDM_BASIC_RATES_MASK | \
158 IWL_CCK_BASIC_RATES_MASK) 158 IWL_CCK_BASIC_RATES_MASK)
159 159
160#define IWL_RATES_MASK ((1<<IWL_RATE_COUNT)-1) 160#define IWL_RATES_MASK ((1 << IWL_RATE_COUNT) - 1)
161 161
162#define IWL_INVALID_VALUE -1 162#define IWL_INVALID_VALUE -1
163 163