summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2011-07-21 08:31:55 +0000
committeradrian <adrian@FreeBSD.org>2011-07-21 08:31:55 +0000
commitb5a3a7edc5f88bdba41274304bd7c9fc94751a80 (patch)
treecbbab612a57cc4df247473e511dabe37a00d8706
parentd671528b27c31ee3d8333503a24c5964882b4f07 (diff)
downloadFreeBSD-src-b5a3a7edc5f88bdba41274304bd7c9fc94751a80.zip
FreeBSD-src-b5a3a7edc5f88bdba41274304bd7c9fc94751a80.tar.gz
This re-enables HT40 channels for use when DFS is enabled.
These should be disabled for the AR5416 in hostap/mesh/ibss mode, as the AR5416 doesn't have support for radar detection on the ext channel of a HT40 setup. Later chips do. Approved by: re (kib)
-rw-r--r--sys/dev/ath/ath_hal/ah_regdomain.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/ath/ath_hal/ah_regdomain.c b/sys/dev/ath/ath_hal/ah_regdomain.c
index 9aae332..43f2b9b 100644
--- a/sys/dev/ath/ath_hal/ah_regdomain.c
+++ b/sys/dev/ath/ath_hal/ah_regdomain.c
@@ -526,6 +526,7 @@ getchannels(struct ath_hal *ah,
"skip ecm channel\n");
continue;
}
+#if 0
if ((fband->useDfs & dfsMask) &&
(cm->flags & IEEE80211_CHAN_HT40)) {
/* NB: DFS and HT40 don't mix */
@@ -533,6 +534,7 @@ getchannels(struct ath_hal *ah,
"skip HT40 chan, DFS required\n");
continue;
}
+#endif
/*
* Make sure that channel separation
* meets the requirement.
OpenPOWER on IntegriCloud