Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 338029
b: refs/heads/master
c: 0da7da7
h: refs/heads/master
i:
  338027: 85e9d8f
v: v3
  • Loading branch information
Johan Meiring authored and Greg Kroah-Hartman committed Nov 21, 2012
1 parent 141929d commit e93dd84
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 24 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5aeb6fcbab02f54e6976acd020999c20e22735bc
refs/heads/master: 0da7da721a80d169e02c5eb730247df6aec56e9b
39 changes: 16 additions & 23 deletions trunk/drivers/staging/wlags49_h2/wl_if.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,24 +80,17 @@
#define TX_TIMEOUT ((800 * HZ) / 1000)


//#define HCF_MIN_COMM_QUALITY 0
//#define HCF_MAX_COMM_QUALITY 92
//#define HCF_MIN_SIGNAL_LEVEL 47
//#define HCF_MAX_SIGNAL_LEVEL 138
//#define HCF_MIN_NOISE_LEVEL 47
//#define HCF_MAX_NOISE_LEVEL 138
//#define HCF_0DBM_OFFSET 149

// PE1DNN
// Better data from the real world. Not scientific but empirical data gathered
// 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...
/* PE1DNN
* Better data from the real world. Not scientific but empirical data gathered
* 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_MAX_SIGNAL_LEVEL 100
#define HCF_MIN_NOISE_LEVEL HCF_MIN_SIGNAL_LEVEL
Expand All @@ -109,8 +102,8 @@


/* For encryption (WEP) */
#define MIN_KEY_SIZE 5 // 40 bits RC4 - WEP
#define MAX_KEY_SIZE 13 // 104 bits
#define MIN_KEY_SIZE 5 /* 40 bits RC4 - WEP */
#define MAX_KEY_SIZE 13 /* 104 bits */
#define MAX_KEYS 4

#define RADIO_CHANNELS 14
Expand All @@ -126,8 +119,8 @@

#define HCF_FAILURE 0xFF
#define UIL_FAILURE 0xFF
#define CFG_UIL_CONNECT 0xA123 // Define differently?
#define CFG_UIL_CONNECT_ACK_CODE 0x5653435A // VSCZ
#define CFG_UIL_CONNECT 0xA123 /* Define differently? */
#define CFG_UIL_CONNECT_ACK_CODE 0x5653435A /* VSCZ */
#define WVLAN2_UIL_CONNECTED (0x01L << 0)
#define WVLAN2_UIL_BUSY (0x01L << 1)

Expand Down Expand Up @@ -224,5 +217,5 @@ struct rtsreq {
};


#endif // __WAVELAN2_IF_H__
#endif /* __WAVELAN2_IF_H__ */

0 comments on commit e93dd84

Please sign in to comment.