summaryrefslogtreecommitdiffstats
path: root/sbin/ifconfig/ifieee80211.c
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2011-07-20 05:59:28 +0000
committeradrian <adrian@FreeBSD.org>2011-07-20 05:59:28 +0000
commite1c30fa66e083bd6ae4e69a39003f2a3483c85b5 (patch)
treecd5788e216d2703254fb2c131d98007eacadaaa7 /sbin/ifconfig/ifieee80211.c
parent18fcf58be08926023b88f475f6c53a057b69b705 (diff)
downloadFreeBSD-src-e1c30fa66e083bd6ae4e69a39003f2a3483c85b5.zip
FreeBSD-src-e1c30fa66e083bd6ae4e69a39003f2a3483c85b5.tar.gz
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)
Diffstat (limited to 'sbin/ifconfig/ifieee80211.c')
-rw-r--r--sbin/ifconfig/ifieee80211.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/sbin/ifconfig/ifieee80211.c b/sbin/ifconfig/ifieee80211.c
index b33604f..77fcc8c 100644
--- a/sbin/ifconfig/ifieee80211.c
+++ b/sbin/ifconfig/ifieee80211.c
@@ -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;
OpenPOWER on IntegriCloud