Commit 0da7da72 authored by Johan Meiring's avatar Johan Meiring Committed by Greg Kroah-Hartman

staging: wlags49_h2: wl_if.h: gets rid of C99 // comments

This commit converts all C99 // comments to standard /* */ comments
Signed-off-by: default avatarJohan Meiring <johanmeiring@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5aeb6fcb
...@@ -80,24 +80,17 @@ ...@@ -80,24 +80,17 @@
#define TX_TIMEOUT ((800 * HZ) / 1000) #define TX_TIMEOUT ((800 * HZ) / 1000)
//#define HCF_MIN_COMM_QUALITY 0 /* PE1DNN
//#define HCF_MAX_COMM_QUALITY 92 * Better data from the real world. Not scientific but empirical data gathered
//#define HCF_MIN_SIGNAL_LEVEL 47 * from a Thomson Speedtouch 110 which is identified as:
//#define HCF_MAX_SIGNAL_LEVEL 138 * PCMCIA Info: "Agere Systems" "Wireless PC Card Model 0110"
//#define HCF_MIN_NOISE_LEVEL 47 * Manufacture ID: 0156,0003
//#define HCF_MAX_NOISE_LEVEL 138 * Lowest measurment for noise floor seen is value 54
//#define HCF_0DBM_OFFSET 149 * Highest signal strength in close proximity to the AP seen is value 118
* Very good must be around 100 (otherwise its never "full scale"
// PE1DNN * All other constants are derrived from these. This makes the signal gauge
// Better data from the real world. Not scientific but empirical data gathered * work for me...
// from a Thomson Speedtouch 110 which is identified as: */
// PCMCIA Info: "Agere Systems" "Wireless PC Card Model 0110"
// Manufacture ID: 0156,0003
// Lowest measurment for noise floor seen is value 54
// Highest signal strength in close proximity to the AP seen is value 118
// Very good must be around 100 (otherwise its never "full scale"
// All other constants are derrived from these. This makes the signal gauge
// work for me...
#define HCF_MIN_SIGNAL_LEVEL 54 #define HCF_MIN_SIGNAL_LEVEL 54
#define HCF_MAX_SIGNAL_LEVEL 100 #define HCF_MAX_SIGNAL_LEVEL 100
#define HCF_MIN_NOISE_LEVEL HCF_MIN_SIGNAL_LEVEL #define HCF_MIN_NOISE_LEVEL HCF_MIN_SIGNAL_LEVEL
...@@ -109,8 +102,8 @@ ...@@ -109,8 +102,8 @@
/* For encryption (WEP) */ /* For encryption (WEP) */
#define MIN_KEY_SIZE 5 // 40 bits RC4 - WEP #define MIN_KEY_SIZE 5 /* 40 bits RC4 - WEP */
#define MAX_KEY_SIZE 13 // 104 bits #define MAX_KEY_SIZE 13 /* 104 bits */
#define MAX_KEYS 4 #define MAX_KEYS 4
#define RADIO_CHANNELS 14 #define RADIO_CHANNELS 14
...@@ -126,8 +119,8 @@ ...@@ -126,8 +119,8 @@
#define HCF_FAILURE 0xFF #define HCF_FAILURE 0xFF
#define UIL_FAILURE 0xFF #define UIL_FAILURE 0xFF
#define CFG_UIL_CONNECT 0xA123 // Define differently? #define CFG_UIL_CONNECT 0xA123 /* Define differently? */
#define CFG_UIL_CONNECT_ACK_CODE 0x5653435A // VSCZ #define CFG_UIL_CONNECT_ACK_CODE 0x5653435A /* VSCZ */
#define WVLAN2_UIL_CONNECTED (0x01L << 0) #define WVLAN2_UIL_CONNECTED (0x01L << 0)
#define WVLAN2_UIL_BUSY (0x01L << 1) #define WVLAN2_UIL_BUSY (0x01L << 1)
...@@ -224,5 +217,5 @@ struct rtsreq { ...@@ -224,5 +217,5 @@ struct rtsreq {
}; };
#endif // __WAVELAN2_IF_H__ #endif /* __WAVELAN2_IF_H__ */
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