From owner-freebsd-bugs@FreeBSD.ORG Sat Jul 20 17:40:00 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 97DFB75C for ; Sat, 20 Jul 2013 17:40:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 7DE5FCC6 for ; Sat, 20 Jul 2013 17:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r6KHe0Hh092857 for ; Sat, 20 Jul 2013 17:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r6KHe0P9092856; Sat, 20 Jul 2013 17:40:00 GMT (envelope-from gnats) Resent-Date: Sat, 20 Jul 2013 17:40:00 GMT Resent-Message-Id: <201307201740.r6KHe0P9092856@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Norikatsu Shigemura Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B6893731 for ; Sat, 20 Jul 2013 17:35:57 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) by mx1.freebsd.org (Postfix) with ESMTP id A955FCB3 for ; Sat, 20 Jul 2013 17:35:57 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r6KHZveD024684 for ; Sat, 20 Jul 2013 17:35:57 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r6KHZv6c024680; Sat, 20 Jul 2013 17:35:57 GMT (envelope-from nobody) Message-Id: <201307201735.r6KHZv6c024680@oldred.freebsd.org> Date: Sat, 20 Jul 2013 17:35:57 GMT From: Norikatsu Shigemura To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: conf/180682: [regdomain.xml] ifconfig wlan0 country JP is missed X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jul 2013 17:40:00 -0000 >Number: 180682 >Category: conf >Synopsis: [regdomain.xml] ifconfig wlan0 country JP is missed >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jul 20 17:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Norikatsu Shigemura >Release: FreeBSD 10.0-CURRENT >Organization: Personal >Environment: FreeBSD pelsia.ninth-nine.com 10.0-CURRENT FreeBSD 10.0-CURRENT #2 r253479M: Sun Jul 21 01:01:34 JST 2013 nork@pelsia.ninth-nine.com:/usr/obj/usr/src/sys/PELSIA amd64 >Description: In my environment (Intel Centrino Advanced-N 6200), I got 'ifconfig wlan0 country JP' missed. # ifconfig wlan0 country JP ifconfig: SIOCS80211: Invalid argument And I got following failure message, too: Jul 21 00:13:18 pelsia kernel: iwn0: iwn_setregdomain: invalid channel 8 freq 2447/0x20480 I tried to modify /etc/regdomain.xml and tried to do ifconfig. So I found error setting at freqband 'H4_2412_2472' (only use in regdomain Japan). At least, this should be set 2466 instead of 2472. However, maybe, this should be used 'H4_2412_2462'. Sorry, I couldn't find this reason that this should be 2412MHz-2472MHz and/or 2412MHz-2466MHz(2462MHz?). So I don't know my patch is right. >How-To-Repeat: N/A >Fix: Index: etc/regdomain.xml =================================================================== --- etc/regdomain.xml (revision 253505) +++ etc/regdomain.xml (working copy) @@ -356,7 +356,7 @@ IEEE80211_CHAN_HT20 - + 23 IEEE80211_CHAN_G IEEE80211_CHAN_HT40 @@ -1862,10 +1862,6 @@ 2412 2472 20 5 - - 2412 2472 - 40 5 - 2467 2472 20 5 >Release-Note: >Audit-Trail: >Unformatted: