From owner-svn-src-all@freebsd.org Sun Sep 25 22:17:48 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1D702BEA7D4; Sun, 25 Sep 2016 22:17:48 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E2B18F2B; Sun, 25 Sep 2016 22:17:47 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u8PMHlG1032759; Sun, 25 Sep 2016 22:17:47 GMT (envelope-from adrian@FreeBSD.org) Received: (from adrian@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u8PMHlRu032758; Sun, 25 Sep 2016 22:17:47 GMT (envelope-from adrian@FreeBSD.org) Message-Id: <201609252217.u8PMHlRu032758@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: adrian set sender to adrian@FreeBSD.org using -f From: Adrian Chadd Date: Sun, 25 Sep 2016 22:17:47 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r306324 - head/sys/dev/ath/ath_hal X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Sep 2016 22:17:48 -0000 Author: adrian Date: Sun Sep 25 22:17:46 2016 New Revision: 306324 URL: https://svnweb.freebsd.org/changeset/base/306324 Log: [ath_hal] add a comment for the channel 144 regdomain flag. I'm .. still trying to figure out what's going on. 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 Sun Sep 25 22:07:41 2016 (r306323) +++ head/sys/dev/ath/ath_hal/ah_regdomain.c Sun Sep 25 22:17:46 2016 (r306324) @@ -548,6 +548,14 @@ add_chanlist_mode(struct ath_hal *ah, st continue; } #endif + + /* + * XXX TODO: handle REG_EXT_FCC_CH_144. + * + * Figure out which instances/uses cause us to not + * be allowed to use channel 144 (pri or sec overlap.) + */ + bfreq_lo = MAX(fband->lowChannel + low_adj, freq_lo); bfreq_hi = MIN(fband->highChannel + hi_adj, freq_hi); if (fband->channelSep >= channelSep)