aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ipw2200.h
diff options
context:
space:
mode:
authorJames Ketrenos <jketreno@linux.intel.com>2005-08-24 22:25:16 -0400
committerJames Ketrenos <jketreno@linux.intel.com>2005-11-07 18:49:50 -0500
commitea2b26e0a0264650e13acac8e66d315bb818897c (patch)
treea2045d043ca6e09722d23518170900c1cc4dcc6d /drivers/net/wireless/ipw2200.h
parenta1e695adca76f5729224242e4f2f9f6ceb6863d1 (diff)
Catch ipw2200 up to equivelancy with v1.0.1
This commit contains the following fixes: Fixed #559: iwconfig rate support (thanks to Florian Hackenberger) Improved link signal quality calculation (thanks to Bill Moss) Fixed a problem with sensitivity threshold during association Added iwpriv for turning forcing long preamble support: % iwpriv eth1 set_preamble 1|0 Fixed #542 and #377 support for short preamble Fixed locked BSSID reporting channel number (thanks to Pedro Ramalhais) Fixed type-o with scan watchdog timeout message (thanks to Pedro Ramalhais) Changed logic for displaying get_mode output so the code is easier to follow (thanks to Pedro Ramalhais) Added initial support for WPA (thanks to Yi Zhu) -- tested with wpa_supplicant (either tip w/ ipw driver, or with -Dipw2100) with both CCMP and TKIP Fixed problem with CCMP not working due to uninitialized 802.11 header fields (thanks to Pedro Ramalhais) Bug references are to defects stored on http://bughost.org Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
Diffstat (limited to 'drivers/net/wireless/ipw2200.h')
-rw-r--r--drivers/net/wireless/ipw2200.h23
1 files changed, 15 insertions, 8 deletions
diff --git a/drivers/net/wireless/ipw2200.h b/drivers/net/wireless/ipw2200.h
index e9cf32bf3e31..068027963181 100644
--- a/drivers/net/wireless/ipw2200.h
+++ b/drivers/net/wireless/ipw2200.h
@@ -168,7 +168,8 @@ enum connection_manager_assoc_states {
168#define DCT_FLAG_CTS_REQUIRED 0x02 168#define DCT_FLAG_CTS_REQUIRED 0x02
169 169
170/* use short preamble */ 170/* use short preamble */
171#define DCT_FLAG_SHORT_PREMBL 0x04 171#define DCT_FLAG_LONG_PREAMBLE 0x00
172#define DCT_FLAG_SHORT_PREAMBLE 0x04
172 173
173/* RTS/CTS first */ 174/* RTS/CTS first */
174#define DCT_FLAG_RTS_REQD 0x08 175#define DCT_FLAG_RTS_REQD 0x08
@@ -899,7 +900,7 @@ struct ipw_cmd {
899#define CFG_STATIC_ESSID (1<<1) /* Restrict assoc. to single SSID */ 900#define CFG_STATIC_ESSID (1<<1) /* Restrict assoc. to single SSID */
900#define CFG_STATIC_BSSID (1<<2) /* Restrict assoc. to single BSSID */ 901#define CFG_STATIC_BSSID (1<<2) /* Restrict assoc. to single BSSID */
901#define CFG_CUSTOM_MAC (1<<3) 902#define CFG_CUSTOM_MAC (1<<3)
902#define CFG_PREAMBLE (1<<4) 903#define CFG_PREAMBLE_LONG (1<<4)
903#define CFG_ADHOC_PERSIST (1<<5) 904#define CFG_ADHOC_PERSIST (1<<5)
904#define CFG_ASSOCIATE (1<<6) 905#define CFG_ASSOCIATE (1<<6)
905#define CFG_FIXED_RATE (1<<7) 906#define CFG_FIXED_RATE (1<<7)
@@ -1206,12 +1207,18 @@ do { if (ipw_debug_level & (level)) \
1206/* 1207/*
1207 * RESET Register Bit Indexes 1208 * RESET Register Bit Indexes
1208 */ 1209 */
1209#define CBD_RESET_REG_PRINCETON_RESET 0x00000001 /* Bit 0 (LSB) */ 1210#define CBD_RESET_REG_PRINCETON_RESET (1<<0)
1210#define CX2_RESET_REG_SW_RESET 0x00000080 /* Bit 7 */ 1211#define CX2_START_STANDBY (1<<2)
1211#define CX2_RESET_REG_MASTER_DISABLED 0x00000100 /* Bit 8 */ 1212#define CX2_ACTIVITY_LED (1<<4)
1212#define CX2_RESET_REG_STOP_MASTER 0x00000200 /* Bit 9 */ 1213#define CX2_ASSOCIATED_LED (1<<5)
1213#define CX2_ARC_KESHET_CONFIG 0x08000000 /* Bit 27 */ 1214#define CX2_OFDM_LED (1<<6)
1214#define CX2_START_STANDBY 0x00000004 /* Bit 2 */ 1215#define CX2_RESET_REG_SW_RESET (1<<7)
1216#define CX2_RESET_REG_MASTER_DISABLED (1<<8)
1217#define CX2_RESET_REG_STOP_MASTER (1<<9)
1218#define CX2_GATE_ODMA (1<<25)
1219#define CX2_GATE_IDMA (1<<26)
1220#define CX2_ARC_KESHET_CONFIG (1<<27)
1221#define CX2_GATE_ADMA (1<<29)
1215 1222
1216#define CX2_CSR_CIS_UPPER_BOUND 0x00000200 1223#define CX2_CSR_CIS_UPPER_BOUND 0x00000200
1217#define CX2_DOMAIN_0_END 0x1000 1224#define CX2_DOMAIN_0_END 0x1000