diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2006-08-04 14:30:04 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2006-08-04 14:30:04 +0000 |
commit | c29cce51cb8a27c26293aee003848b18479ce284 (patch) | |
tree | 4b91407da11e50ccf7c55ece7c7694986bc9ee50 /sys/dev/pci | |
parent | 237f09610d31e6aab8bb7598080f081cad6c2eaa (diff) |
extend the set of supported 802.11a channels (100-140).
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/if_wpi.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/pci/if_wpi.c b/sys/dev/pci/if_wpi.c index 2cf1d20935c..c1ea7af0328 100644 --- a/sys/dev/pci/if_wpi.c +++ b/sys/dev/pci/if_wpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_wpi.c,v 1.24 2006/08/03 09:45:20 damien Exp $ */ +/* $OpenBSD: if_wpi.c,v 1.25 2006/08/04 14:30:03 damien Exp $ */ /*- * Copyright (c) 2006 @@ -292,6 +292,11 @@ wpi_attach(struct device *parent, struct device *self, void *aux) ieee80211_ieee2mhz(i, IEEE80211_CHAN_5GHZ); ic->ic_channels[i].ic_flags = IEEE80211_CHAN_A; } + for (i = 100; i <= 140; i += 4) { + ic->ic_channels[i].ic_freq = + ieee80211_ieee2mhz(i, IEEE80211_CHAN_5GHZ); + ic->ic_channels[i].ic_flags = IEEE80211_CHAN_A; + } for (i = 149; i <= 165; i += 4) { ic->ic_channels[i].ic_freq = ieee80211_ieee2mhz(i, IEEE80211_CHAN_5GHZ); |