aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ipw2100.h
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2005-06-20 07:33:07 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-06-27 23:24:18 -0400
commit070d01651296d3c87bca94f3b1313447e9e06c2f (patch)
tree0e6982c0973311e831c980a7a9c2d92e421313da /drivers/net/wireless/ipw2100.h
parentaaa4d308a8cbc4ccfd870ee556def2e481557274 (diff)
[PATCH] ipw2100: remove commented-out code
This removes up various code/defines that was just commented out instead of being deleted.
Diffstat (limited to 'drivers/net/wireless/ipw2100.h')
-rw-r--r--drivers/net/wireless/ipw2100.h18
1 files changed, 4 insertions, 14 deletions
diff --git a/drivers/net/wireless/ipw2100.h b/drivers/net/wireless/ipw2100.h
index bb31fa03f69f..40a1373defa9 100644
--- a/drivers/net/wireless/ipw2100.h
+++ b/drivers/net/wireless/ipw2100.h
@@ -355,7 +355,7 @@ struct ipw2100_data_header {
355 u16 fragment_size; 355 u16 fragment_size;
356} __attribute__ ((packed)); 356} __attribute__ ((packed));
357 357
358// Host command data structure 358/* Host command data structure */
359struct host_command { 359struct host_command {
360 u32 host_command; // COMMAND ID 360 u32 host_command; // COMMAND ID
361 u32 host_command1; // COMMAND ID 361 u32 host_command1; // COMMAND ID
@@ -701,7 +701,7 @@ struct ipw2100_priv {
701#define MSDU_TX_RATES 62 701#define MSDU_TX_RATES 62
702 702
703 703
704// Rogue AP Detection 704/* Rogue AP Detection */
705#define SET_STATION_STAT_BITS 64 705#define SET_STATION_STAT_BITS 64
706#define CLEAR_STATIONS_STAT_BITS 65 706#define CLEAR_STATIONS_STAT_BITS 65
707#define LEAP_ROGUE_MODE 66 //TODO tbw replaced by CFG_LEAP_ROGUE_AP 707#define LEAP_ROGUE_MODE 66 //TODO tbw replaced by CFG_LEAP_ROGUE_AP
@@ -711,25 +711,16 @@ struct ipw2100_priv {
711 711
712 712
713 713
714// system configuration bit mask: 714/* system configuration bit mask: */
715//#define IPW_CFG_ANTENNA_SETTING 0x03
716//#define IPW_CFG_ANTENNA_A 0x01
717//#define IPW_CFG_ANTENNA_B 0x02
718#define IPW_CFG_MONITOR 0x00004 715#define IPW_CFG_MONITOR 0x00004
719//#define IPW_CFG_TX_STATUS_ENABLE 0x00008
720#define IPW_CFG_PREAMBLE_AUTO 0x00010 716#define IPW_CFG_PREAMBLE_AUTO 0x00010
721#define IPW_CFG_IBSS_AUTO_START 0x00020 717#define IPW_CFG_IBSS_AUTO_START 0x00020
722//#define IPW_CFG_KERBEROS_ENABLE 0x00040
723#define IPW_CFG_LOOPBACK 0x00100 718#define IPW_CFG_LOOPBACK 0x00100
724//#define IPW_CFG_WNMP_PING_PASS 0x00200
725//#define IPW_CFG_DEBUG_ENABLE 0x00400
726#define IPW_CFG_ANSWER_BCSSID_PROBE 0x00800 719#define IPW_CFG_ANSWER_BCSSID_PROBE 0x00800
727//#define IPW_CFG_BT_PRIORITY 0x01000
728#define IPW_CFG_BT_SIDEBAND_SIGNAL 0x02000 720#define IPW_CFG_BT_SIDEBAND_SIGNAL 0x02000
729#define IPW_CFG_802_1x_ENABLE 0x04000 721#define IPW_CFG_802_1x_ENABLE 0x04000
730#define IPW_CFG_BSS_MASK 0x08000 722#define IPW_CFG_BSS_MASK 0x08000
731#define IPW_CFG_IBSS_MASK 0x10000 723#define IPW_CFG_IBSS_MASK 0x10000
732//#define IPW_CFG_DYNAMIC_CW 0x10000
733 724
734#define IPW_SCAN_NOASSOCIATE (1<<0) 725#define IPW_SCAN_NOASSOCIATE (1<<0)
735#define IPW_SCAN_MIXED_CELL (1<<1) 726#define IPW_SCAN_MIXED_CELL (1<<1)
@@ -913,7 +904,7 @@ struct ipw2100_rx {
913 } rx_data; 904 } rx_data;
914} __attribute__ ((packed)); 905} __attribute__ ((packed));
915 906
916// Bit 0-7 are for 802.11b tx rates - . Bit 5-7 are reserved 907/* Bit 0-7 are for 802.11b tx rates - . Bit 5-7 are reserved */
917#define TX_RATE_1_MBIT 0x0001 908#define TX_RATE_1_MBIT 0x0001
918#define TX_RATE_2_MBIT 0x0002 909#define TX_RATE_2_MBIT 0x0002
919#define TX_RATE_5_5_MBIT 0x0004 910#define TX_RATE_5_5_MBIT 0x0004
@@ -1193,7 +1184,6 @@ typedef enum _ORDINAL_TABLE_1 { // NS - means Not Supported by FW
1193 IPW_ORD_UCODE_VERSION, // Ucode Version 1184 IPW_ORD_UCODE_VERSION, // Ucode Version
1194 IPW_ORD_HW_RF_SWITCH_STATE = 214, // HW RF Kill Switch State 1185 IPW_ORD_HW_RF_SWITCH_STATE = 214, // HW RF Kill Switch State
1195} ORDINALTABLE1; 1186} ORDINALTABLE1;
1196//ENDOF TABLE1
1197 1187
1198// ordinal table 2 1188// ordinal table 2
1199// Variable length data: 1189// Variable length data: