Date: Sat, 20 Jul 2013 17:35:57 GMT From: Norikatsu Shigemura <nork@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: conf/180682: [regdomain.xml] ifconfig wlan0 country JP is missed Message-ID: <201307201735.r6KHZv6c024680@oldred.freebsd.org> Resent-Message-ID: <201307201740.r6KHe0P9092856@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <freqend>2466</freqend> instead of <freqend>2472</freqend>. 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 @@ <flags>IEEE80211_CHAN_HT20</flags> </band> <band> - <freqband ref="H4_2412_2472"/> + <freqband ref="H4_2412_2462"/> <maxpower>23</maxpower> <flags>IEEE80211_CHAN_G</flags> <flags>IEEE80211_CHAN_HT40</flags> @@ -1862,10 +1862,6 @@ <freqstart>2412</freqstart> <freqend>2472</freqend> <chanwidth>20</chanwidth> <chansep>5</chansep> </freqband> -<freqband id="H4_2412_2472"> - <freqstart>2412</freqstart> <freqend>2472</freqend> - <chanwidth>40</chanwidth> <chansep>5</chansep> -</freqband> <freqband id="F1_2467_2472"> <freqstart>2467</freqstart> <freqend>2472</freqend> <chanwidth>20</chanwidth> <chansep>5</chansep> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307201735.r6KHZv6c024680>