summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/rt2x00/rt2x00.h
diff options
context:
space:
mode:
authorIvo van Doorn <ivdoorn@gmail.com>2008-02-03 15:51:13 +0100
committerJohn W. Linville <linville@tuxdriver.com>2008-02-29 15:19:38 -0500
commitf5507ce90be4e00a84b5bb4c7b4324455aa6ee21 (patch)
tree5a68598ccffb2c0226994237a46edd81909699f5 /drivers/net/wireless/rt2x00/rt2x00.h
parent70e2fed4ec14df84ed72554d573794714b15a078 (diff)
downloadlwn-f5507ce90be4e00a84b5bb4c7b4324455aa6ee21.tar.gz
lwn-f5507ce90be4e00a84b5bb4c7b4324455aa6ee21.zip
rt2x00: Remove HWMODE_{A,B,G}
rt2500usb initialized the SIFS and EIFS without using the values coming from rt2x000lib. After this is fixed HWMODE_{A,B,G} is now unused and can be removed in favour of the ieee80211_band enumeration which could still be usefull later. Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00.h')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00.h b/drivers/net/wireless/rt2x00/rt2x00.h
index 4fa762bdb734..93dbe2b286d5 100644
--- a/drivers/net/wireless/rt2x00/rt2x00.h
+++ b/drivers/net/wireless/rt2x00/rt2x00.h
@@ -390,10 +390,6 @@ static inline struct rt2x00_intf* vif_to_intf(struct ieee80211_vif *vif)
return (struct rt2x00_intf *)vif->drv_priv;
}
-#define HWMODE_B 0
-#define HWMODE_G 1
-#define HWMODE_A 2
-
/*
* Details about the supported modes, rates and channels
* of a particular chipset. This is used by rt2x00lib
@@ -433,7 +429,7 @@ struct rt2x00lib_conf {
struct antenna_setup ant;
- int phymode;
+ enum ieee80211_band band;
int basic_rates;
int slot_time;