Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jul 2011 05:59:28 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r224224 - head/sbin/ifconfig
Message-ID:  <201107200559.p6K5xSSx003481@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Wed Jul 20 05:59:28 2011
New Revision: 224224
URL: http://svn.freebsd.org/changeset/base/224224

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

Modified:
  head/sbin/ifconfig/ifieee80211.c

Modified: head/sbin/ifconfig/ifieee80211.c
==============================================================================
--- head/sbin/ifconfig/ifieee80211.c	Wed Jul 20 04:57:40 2011	(r224223)
+++ head/sbin/ifconfig/ifieee80211.c	Wed Jul 20 05:59:28 2011	(r224224)
@@ -2027,18 +2027,6 @@ regdomain_addchans(struct ieee80211req_c
 						    "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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107200559.p6K5xSSx003481>