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
This commit is contained in:
parent
7607afb12f
commit
2108f2a8e7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=284014
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user