svn commit: r284014 - head/sys/net80211
Adrian Chadd
adrian at FreeBSD.org
Fri Jun 5 06:49:09 UTC 2015
Author: adrian
Date: Fri Jun 5 06:49:08 2015
New Revision: 284014
URL: https://svnweb.freebsd.org/changeset/base/284014
Log:
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
Modified:
head/sys/net80211/ieee80211.c
Modified: head/sys/net80211/ieee80211.c
==============================================================================
--- head/sys/net80211/ieee80211.c Fri Jun 5 06:46:11 2015 (r284013)
+++ head/sys/net80211/ieee80211.c Fri Jun 5 06:49:08 2015 (r284014)
@@ -1081,7 +1081,7 @@ ieee80211_lookup_channel_rxstatus(struct
/* 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;
}
More information about the svn-src-all
mailing list