From 6184c8b68b0c7593cce7969caedd15be3110b026 Mon Sep 17 00:00:00 2001 From: Marcus Glocker Date: Thu, 23 Nov 2006 22:03:08 +0000 Subject: 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). --- sys/dev/ic/malo.c | 5 ++--- 1 file 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 @@ -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 *)); -- cgit v1.2.3