Author: adrian
Date: Thu Jul 21 08:31:55 2011
New Revision: 224242
URL: http://svn.freebsd.org/changeset/base/224242

Log:
  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)

Modified:
  head/sys/dev/ath/ath_hal/ah_regdomain.c

Modified: head/sys/dev/ath/ath_hal/ah_regdomain.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ah_regdomain.c     Thu Jul 21 07:08:39 2011        
(r224241)
+++ head/sys/dev/ath/ath_hal/ah_regdomain.c     Thu Jul 21 08:31:55 2011        
(r224242)
@@ -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.
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to