summaryrefslogtreecommitdiffstats
path: root/sys/dev/ral/rt2661.c
diff options
context:
space:
mode:
authordamien <damien@FreeBSD.org>2006-03-07 20:48:23 +0000
committerdamien <damien@FreeBSD.org>2006-03-07 20:48:23 +0000
commit017207e77bff4727a3b40f35986aad464283bac8 (patch)
tree6ec9c9e74d13559c7fd548c579de4eff607ddb1e /sys/dev/ral/rt2661.c
parent2647a2ffc5d2d2bfafc747ffbabb5902163b0889 (diff)
downloadFreeBSD-src-017207e77bff4727a3b40f35986aad464283bac8.zip
FreeBSD-src-017207e77bff4727a3b40f35986aad464283bac8.tar.gz
Disable 802.11e support for now. Did some cleanup while I'm here.
Diffstat (limited to 'sys/dev/ral/rt2661.c')
-rw-r--r--sys/dev/ral/rt2661.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/ral/rt2661.c b/sys/dev/ral/rt2661.c
index ee669ad..ec010b8 100644
--- a/sys/dev/ral/rt2661.c
+++ b/sys/dev/ral/rt2661.c
@@ -158,8 +158,6 @@ static int rt2661_prepare_beacon(struct rt2661_softc *);
static void rt2661_enable_tsf_sync(struct rt2661_softc *);
static int rt2661_get_rssi(struct rt2661_softc *, uint8_t);
-devclass_t rt2661_devclass;
-
/*
* Supported rates for 802.11a/b/g modes (in 500Kbps unit).
*/
@@ -312,7 +310,9 @@ rt2661_attach(device_t dev, int id)
IEEE80211_C_TXPMGT | /* tx power management */
IEEE80211_C_SHPREAMBLE | /* short preamble supported */
IEEE80211_C_SHSLOT | /* short slot time supported */
+#ifdef notyet
IEEE80211_C_WME | /* 802.11e */
+#endif
IEEE80211_C_WPA; /* 802.11i */
if (sc->rf_rev == RT2661_RF_5225 || sc->rf_rev == RT2661_RF_5325) {
@@ -1268,7 +1268,6 @@ rt2661_intr(void *arg)
#define RAL_SIFS 10 /* us */
-
/*
* This function is only used by the Rx radiotap code. It returns the rate at
* which a given frame was received.
@@ -2060,7 +2059,6 @@ rt2661_enable_mrr(struct rt2661_softc *sc)
RAL_WRITE(sc, RT2661_TXRX_CSR4, tmp);
}
-
static void
rt2661_set_txpreamble(struct rt2661_softc *sc)
{
OpenPOWER on IntegriCloud