aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-3945-commands.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-commands.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-commands.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-3945-commands.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945-commands.h b/drivers/net/wireless/iwlwifi/iwl-3945-commands.h
index 0c80ed5d7ea6..46bb2c7d11dd 100644
--- a/drivers/net/wireless/iwlwifi/iwl-3945-commands.h
+++ b/drivers/net/wireless/iwlwifi/iwl-3945-commands.h
@@ -508,8 +508,8 @@ struct iwl3945_qosparam_cmd {
508#define IWL_STATION_COUNT 32 /* MAX(3945,4965)*/ 508#define IWL_STATION_COUNT 32 /* MAX(3945,4965)*/
509#define IWL_INVALID_STATION 255 509#define IWL_INVALID_STATION 255
510 510
511#define STA_FLG_TX_RATE_MSK __constant_cpu_to_le32(1<<2); 511#define STA_FLG_TX_RATE_MSK __constant_cpu_to_le32(1 << 2);
512#define STA_FLG_PWR_SAVE_MSK __constant_cpu_to_le32(1<<8); 512#define STA_FLG_PWR_SAVE_MSK __constant_cpu_to_le32(1 << 8);
513 513
514/* Use in mode field. 1: modify existing entry, 0: add new station entry */ 514/* Use in mode field. 1: modify existing entry, 0: add new station entry */
515#define STA_CONTROL_MODIFY_MSK 0x01 515#define STA_CONTROL_MODIFY_MSK 0x01
@@ -1010,7 +1010,7 @@ struct iwl3945_rate_scaling_info {
1010 * For example, if you set 9MB (PLCP 0x0f) as the first 1010 * For example, if you set 9MB (PLCP 0x0f) as the first
1011 * rate in the rate table, the bit mask for that rate 1011 * rate in the rate table, the bit mask for that rate
1012 * when passed through ofdm_basic_rates on the REPLY_RXON 1012 * when passed through ofdm_basic_rates on the REPLY_RXON
1013 * command would be bit 0 (1<<0) 1013 * command would be bit 0 (1 << 0)
1014 */ 1014 */
1015struct iwl3945_rate_scaling_cmd { 1015struct iwl3945_rate_scaling_cmd {
1016 u8 table_id; 1016 u8 table_id;
@@ -1190,9 +1190,9 @@ struct iwl3945_spectrum_notification {
1190 */ 1190 */
1191#define IWL_POWER_VEC_SIZE 5 1191#define IWL_POWER_VEC_SIZE 5
1192 1192
1193#define IWL_POWER_DRIVER_ALLOW_SLEEP_MSK __constant_cpu_to_le32(1<<0) 1193#define IWL_POWER_DRIVER_ALLOW_SLEEP_MSK __constant_cpu_to_le32(1 << 0)
1194#define IWL_POWER_SLEEP_OVER_DTIM_MSK __constant_cpu_to_le32(1<<2) 1194#define IWL_POWER_SLEEP_OVER_DTIM_MSK __constant_cpu_to_le32(1 << 2)
1195#define IWL_POWER_PCI_PM_MSK __constant_cpu_to_le32(1<<3) 1195#define IWL_POWER_PCI_PM_MSK __constant_cpu_to_le32(1 << 3)
1196struct iwl3945_powertable_cmd { 1196struct iwl3945_powertable_cmd {
1197 __le32 flags; 1197 __le32 flags;
1198 __le32 rx_data_timeout; 1198 __le32 rx_data_timeout;