Commit 0df408ad authored by John Whitmore's avatar John Whitmore Committed by Greg Kroah-Hartman

staging:rtl8192u: Add required spaces - Style

Add spaces required by coding style to clear checkpatch issues.

This is a coding style change which should have no impact on runtime
code execution.
Signed-off-by: default avatarJohn Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 50a37490
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#define HT_SUPPORTED_MCS_1SS_BITMAP 0x000000ff #define HT_SUPPORTED_MCS_1SS_BITMAP 0x000000ff
#define HT_SUPPORTED_MCS_2SS_BITMAP 0x0000ff00 #define HT_SUPPORTED_MCS_2SS_BITMAP 0x0000ff00
#define HT_SUPPORTED_MCS_1SS_2SS_BITMAP HT_MCS_1SS_BITMAP|HT_MCS_1SS_2SS_BITMAP #define HT_SUPPORTED_MCS_1SS_2SS_BITMAP HT_MCS_1SS_BITMAP | HT_MCS_1SS_2SS_BITMAP
// //
// Represent Channel Width in HT Capabilities // Represent Channel Width in HT Capabilities
...@@ -300,13 +300,13 @@ extern u8 MCS_FILTER_1SS[16]; ...@@ -300,13 +300,13 @@ extern u8 MCS_FILTER_1SS[16];
STA in A/B/G mode and AP is still in N mode. The macro will be wrong. We have STA in A/B/G mode and AP is still in N mode. The macro will be wrong. We have
to add a macro to judge wireless mode. */ to add a macro to judge wireless mode. */
#define PICK_RATE(_nLegacyRate, _nMcsRate) \ #define PICK_RATE(_nLegacyRate, _nMcsRate) \
(_nMcsRate==0)?(_nLegacyRate&0x7f):(_nMcsRate) (_nMcsRate == 0) ? (_nLegacyRate & 0x7f) : (_nMcsRate)
/* 2007/07/12 MH We only define legacy and HT wireless mode now. */ /* 2007/07/12 MH We only define legacy and HT wireless mode now. */
#define LEGACY_WIRELESS_MODE IEEE_MODE_MASK #define LEGACY_WIRELESS_MODE IEEE_MODE_MASK
#define CURRENT_RATE(WirelessMode, LegacyRate, HTRate) \ #define CURRENT_RATE(WirelessMode, LegacyRate, HTRate) \
((WirelessMode & (LEGACY_WIRELESS_MODE))!=0)?\ ((WirelessMode & (LEGACY_WIRELESS_MODE)) != 0) ?\
(LegacyRate):\ (LegacyRate) :\
(PICK_RATE(LegacyRate, HTRate)) (PICK_RATE(LegacyRate, HTRate))
// MCS Bw 40 {1~7, 12~15,32} // MCS Bw 40 {1~7, 12~15,32}
...@@ -314,7 +314,7 @@ extern u8 MCS_FILTER_1SS[16]; ...@@ -314,7 +314,7 @@ extern u8 MCS_FILTER_1SS[16];
#define RATE_ADPT_2SS_MASK 0xF0 //Skip MCS8~11 because mcs7 > mcs6, 9, 10, 11. 2007.01.16 by Emily #define RATE_ADPT_2SS_MASK 0xF0 //Skip MCS8~11 because mcs7 > mcs6, 9, 10, 11. 2007.01.16 by Emily
#define RATE_ADPT_MCS32_MASK 0x01 #define RATE_ADPT_MCS32_MASK 0x01
#define IS_11N_MCS_RATE(rate) (rate&0x80) #define IS_11N_MCS_RATE(rate) (rate & 0x80)
typedef enum _HT_AGGRE_SIZE { typedef enum _HT_AGGRE_SIZE {
HT_AGG_SIZE_8K = 0, HT_AGG_SIZE_8K = 0,
...@@ -331,7 +331,7 @@ typedef enum _HT_IOT_PEER ...@@ -331,7 +331,7 @@ typedef enum _HT_IOT_PEER
HT_IOT_PEER_BROADCOM = 2, HT_IOT_PEER_BROADCOM = 2,
HT_IOT_PEER_RALINK = 3, HT_IOT_PEER_RALINK = 3,
HT_IOT_PEER_ATHEROS = 4, HT_IOT_PEER_ATHEROS = 4,
HT_IOT_PEER_CISCO= 5, HT_IOT_PEER_CISCO = 5,
HT_IOT_PEER_MAX = 6 HT_IOT_PEER_MAX = 6
}HT_IOT_PEER_E, *PHTIOT_PEER_E; }HT_IOT_PEER_E, *PHTIOT_PEER_E;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment