PERFORCE change 114013 for review
Sam Leffler
sam at FreeBSD.org
Sun Feb 4 21:52:28 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=114013
Change 114013 by sam at sam_ebb on 2007/02/04 21:51:37
nuke some dead variables; probably can remove the 11g rateset
too but leave it for now
Affected files ...
.. //depot/projects/wifi/sys/dev/ral/rt2661.c#7 edit
Differences ...
==== //depot/projects/wifi/sys/dev/ral/rt2661.c#7 (text) ====
@@ -163,18 +163,6 @@
static void rt2661_enable_tsf_sync(struct rt2661_softc *);
static int rt2661_get_rssi(struct rt2661_softc *, uint8_t);
-/*
- * Supported rates for 802.11a/b/g modes (in 500Kbps unit).
- */
-static const struct ieee80211_rateset rt2661_rateset_11a =
- { 8, { 12, 18, 24, 36, 48, 72, 96, 108 } };
-
-static const struct ieee80211_rateset rt2661_rateset_11b =
- { 4, { 2, 4, 11, 22 } };
-
-static const struct ieee80211_rateset rt2661_rateset_11g =
- { 12, { 2, 4, 11, 22, 12, 18, 24, 36, 48, 72, 96, 108 } };
-
static const struct {
uint32_t reg;
uint32_t val;
@@ -2034,6 +2022,12 @@
RAL_WRITE(sc, RT2661_TXRX_CSR4, tmp);
}
+/*
+ * Supported rates for 802.11g. XXX should use ic_sup_rates.
+ */
+static const struct ieee80211_rateset rt2661_rateset_11g =
+ { 12, { 2, 4, 11, 22, 12, 18, 24, 36, 48, 72, 96, 108 } };
+
static void
rt2661_set_basicrates(struct rt2661_softc *sc,
const struct ieee80211_rateset *rs)
More information about the p4-projects
mailing list