summaryrefslogtreecommitdiffstats
path: root/sys/net80211
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2015-06-05 06:49:08 +0000
committeradrian <adrian@FreeBSD.org>2015-06-05 06:49:08 +0000
commit80a30c32240407f05e4f3876f95285f49a4172c9 (patch)
treec9095767e407d1b545ac75cbabe3bc94cfc1479a /sys/net80211
parent5d5d0ed760936f184e8014281a365edef15fa57f (diff)
downloadFreeBSD-src-80a30c32240407f05e4f3876f95285f49a4172c9.zip
FreeBSD-src-80a30c32240407f05e4f3876f95285f49a4172c9.tar.gz
For now, just default to presenting "found" channels as 11g, not 11b.
The intel 7260 driver under development requires this - the scans come in as normal frames but with the frequency provided. The correct method is to have the driver provide flags (so we can determine if it's 11b or 11g); this will have to do in the meantime. Without this, the channel found is 11b, and no ERP (ie "11g") bits are negotiated with the AP. This allows the 7260 in 2ghz mode to operate in 11bg, rather than just 11b. Tested: * intel 7260 driver, 11bg channels
Diffstat (limited to 'sys/net80211')
-rw-r--r--sys/net80211/ieee80211.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211.c b/sys/net80211/ieee80211.c
index 53f2deb..3902227 100644
--- a/sys/net80211/ieee80211.c
+++ b/sys/net80211/ieee80211.c
@@ -1081,7 +1081,7 @@ ieee80211_lookup_channel_rxstatus(struct ieee80211vap *vap,
/* Determine a band */
/* XXX should be done by the driver? */
if (rxs->c_freq < 3000) {
- flags = IEEE80211_CHAN_B;
+ flags = IEEE80211_CHAN_G;
} else {
flags = IEEE80211_CHAN_A;
}
OpenPOWER on IntegriCloud