diff options
author | 2006-11-23 22:03:07 +0000 | |
---|---|---|
committer | 2006-11-23 22:03:07 +0000 | |
commit | a3093ad12975527d1cef6a6499f6721c3d1c06f6 (patch) | |
tree | 4f38f75aa94c625f8f5722e2a492d9db56ce21d5 | |
parent | Do not attach second port on dual port cards for now. (diff) | |
download | wireguard-openbsd-a3093ad12975527d1cef6a6499f6721c3d1c06f6.tar.xz wireguard-openbsd-a3093ad12975527d1cef6a6499f6721c3d1c06f6.zip |
Remove 802.11a stuff. There is one RF chip (88W8030) which supports 5GHz,
but it seems rarely used and we don't know in connecton with which
chip. 88W8335/88W8310 uses 88W8000G RF (2.4GHz).
-rw-r--r-- | sys/dev/ic/malo.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/ic/malo.c b/sys/dev/ic/malo.c index 8df6b1dfbce..b7722cf8a43 100644 --- a/sys/dev/ic/malo.c +++ b/sys/dev/ic/malo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: malo.c,v 1.32 2006/11/23 20:19:19 mglocker Exp $ */ +/* $OpenBSD: malo.c,v 1.33 2006/11/23 22:03:07 mglocker Exp $ */ /* * Copyright (c) 2006 Claudio Jeker <claudio@openbsd.org> @@ -110,7 +110,6 @@ struct malo_tx_desc { #define MALO_RX_RING_COUNT 256 #define MALO_TX_RING_COUNT 256 #define MALO_MAX_SCATTER 8 /* XXX unknown, wild guess */ -#define MALO_RATE_IS_OFDM(rate) ((rate) >= 12 && (rate) != 22) /* * Firmware commands @@ -1239,7 +1238,7 @@ malo_tx_mgt(struct malo_softc *sc, struct mbuf *m0, struct ieee80211_node *ni) data = &sc->sc_txring.data[sc->sc_txring.cur]; /* send mgt frames at the lowest available rate */ - rate = IEEE80211_IS_CHAN_5GHZ(ni->ni_chan) ? 12 : 2; + rate = 2; if (m0->m_len < sizeof(struct ieee80211_frame *)) { m0 = m_pullup(m0, sizeof(struct ieee80211_frame *)); |