mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-18 22:33:39 +00:00
This patch removes a check in ifconfig which disables HT/40 channels
on frequency bands with DFS. All Atheros chipsets >= AR9001 support radar event detection on HT40 extension channels. This should be a chipset specific item rather than enforced in the regulatory domain database. In addition, it's irrelevant for STA mode, as the radar detection is done by the access point, not the STA. Approved by: re (kib)
This commit is contained in:
parent
6f16ec31f7
commit
2168aaa506
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=224224
|
@ -2027,18 +2027,6 @@ regdomain_addchans(struct ieee80211req_chaninfo *ci,
|
|||
"HT40 channel\n", freq);
|
||||
continue;
|
||||
}
|
||||
/*
|
||||
* DFS and HT40 don't mix. This should be
|
||||
* expressed in the regdomain database but
|
||||
* just in case enforce it here.
|
||||
*/
|
||||
if ((chanFlags & IEEE80211_CHAN_HT40) &&
|
||||
(flags & IEEE80211_CHAN_DFS)) {
|
||||
if (verbose)
|
||||
printf("%u: skip, HT40+DFS "
|
||||
"not permitted\n", freq);
|
||||
continue;
|
||||
}
|
||||
/* NB: HT attribute comes from caller */
|
||||
flags &= ~IEEE80211_CHAN_HT;
|
||||
flags |= chanFlags & IEEE80211_CHAN_HT;
|
||||
|
|
Loading…
Reference in a new issue