Date: Fri, 5 Jun 2015 06:49:08 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r284014 - head/sys/net80211 Message-ID: <201506050649.t556n9LI007673@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506050649.t556n9LI007673>