Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2005 16:15:17 +0900 (JST)
From:      Takahiro MORISHITA <freebsd@next-generation.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/90321: [ath] can not use W52/W53(36-64ch) frequency in Japan.
Message-ID:  <20051213.161517.150519807.takahiro@falcon.next-generation.org>
Resent-Message-ID: <200512130720.jBD7K343054477@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         90321
>Category:       kern
>Synopsis:       [ath] can not use W52/W53(36-64ch) frequency in Japan.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 13 07:20:03 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Takahiro MORISHITA <freebsd@next-generation.org>
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD dinasour 6.0-STABLE FreeBSD 6.0-STABLE #0: Tue Dec 13 15:03:09 JST 2005 takahiro@dinasour:/usr/obj/usr/src/sys/dinasour i386

>Description:
I'm using curdbus wireless card "Buffalo WLI-CB-AMG54" [1] that use
Atheros 5212 chip (information from kernel messages).

This card support IEEE802.11b/g and IEEE802.11a J52/W52/W53 frequency,
but ath(4) driver does not support IEEE802.11a W52/W53 frequency. 

Notes:
Wireless LAN formerly can not use W52/W53(36-64ch) in Japan.  But due to
departmental regulations changes, Wireless LAN can use W52/W53 after
May, 2005.

[1] Product's URL (in Japanese)
http://buffalo.melcoinc.co.jp/products/catalog/item/w/wli-cb-amg54/index.html

>How-To-Repeat:
Here are kernel messages:
found->	vendor=0x168c, dev=0x0013, revid=0x01
	bus=2, slot=0, func=0
	class=02-00-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0000, statreg=0x0290, cachelnsz=8 (dwords)
	lattimer=0xa8 (5040 ns), mingnt=0x0a (2500 ns), maxlat=0x1c (7000 ns)
	intpin=a, irq=12
	powerspec 2  supports D0 D3  current D0
ath0: <Atheros 5212> mem 0x88000000-0x8800ffff irq 12 at device 0.0 on cardbus0
ath0: [MPSAFE]
ath0: bpf attached
ath0: Ethernet address: 00:0d:0b:91:0e:82
ath0: bpf attached
ath0: bpf attached
ath0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ath0: mac 5.9 phy 4.3 radio 3.6
ath0: Use hw queue 1 for WME_AC_BE traffic
ath0: Use hw queue 0 for WME_AC_BK traffic
ath0: Use hw queue 2 for WME_AC_VI traffic
ath0: Use hw queue 3 for WME_AC_VO traffic
ath0: Use hw queue 8 for CAB traffic
ath0: Use hw queue 9 for beacons

Here are sysctl(8) results:
dev.ath.0.%desc: Atheros 5212
dev.ath.0.%driver: ath
dev.ath.0.%location: slot=0 function=0
dev.ath.0.%pnpinfo: vendor=0x168c device=0x0013 subvendor=0x1154 subdevice=0x033b class=0x020000
dev.ath.0.%parent: cardbus0
dev.ath.0.smoothing_rate: 95
dev.ath.0.sample_rate: 10
dev.ath.0.countrycode: 392
dev.ath.0.regdomain: 64
dev.ath.0.debug: 0
dev.ath.0.slottime: 9
dev.ath.0.acktimeout: 48
dev.ath.0.ctstimeout: 48
dev.ath.0.softled: 0
dev.ath.0.ledpin: 0
dev.ath.0.ledon: 0
dev.ath.0.ledidle: 2700
dev.ath.0.txantenna: 0
dev.ath.0.rxantenna: 1
dev.ath.0.diversity: 1
dev.ath.0.txintrperiod: 5
dev.ath.0.diag: 0
dev.ath.0.tpscale: 0
dev.ath.0.tpc: 0

Here are `ifconfig ath0 list freq` results:
Channel   1 : 2412  Mhz 11g          Channel  10 : 2457  Mhz 11g          
Channel   2 : 2417  Mhz 11g          Channel  11 : 2462  Mhz 11g          
Channel   3 : 2422  Mhz 11g          Channel  12 : 2467  Mhz 11g          
Channel   4 : 2427  Mhz 11g          Channel  13 : 2472  Mhz 11g          
Channel   5 : 2432  Mhz 11g          Channel  14 : 2484  Mhz 11b          
Channel   6 : 2437  Mhz 11g          Channel  34 : 5170  Mhz 11a          
Channel   7 : 2442  Mhz 11g          Channel  38 : 5190  Mhz 11a          
Channel   8 : 2447  Mhz 11g          Channel  42 : 5210  Mhz 11a          
Channel   9 : 2452  Mhz 11g          Channel  46 : 5230  Mhz 11a          

>Fix:
I don't know.
 But madwifi-ng at the beginning of November (with Debian GNU/Linux) can
use IEEE802.11b/g and IEEE802.11a W52/53 frequency and can not use
IEEE802.11a J52 (34-46ch).
 Maybe it need update Athros Hardware Access Layer.

Here are kernel messages at Linux :
wifi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
24Mbps 36Mbps 48Mbps 54Mbps
wifi0: turboA rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps
54Mbps
wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: mac 5.9 phy 4.3 radio 3.6
wifi0: Use hw queue 1 for WME_AC_BE traffic
wifi0: Use hw queue 0 for WME_AC_BK traffic
wifi0: Use hw queue 2 for WME_AC_VI traffic
wifi0: Use hw queue 3 for WME_AC_VO traffic
wifi0: Use hw queue 8 for CAB traffic
wifi0: Use hw queue 9 for beacons
wifi0: Atheros 5212: mem=0x18800000, irq=9

Here are `iwlist ath0 freq` results:
ath0      46 channels in total; available frequencies :
          Channel 01 : 2.412 GHz
          Channel 02 : 2.417 GHz
          Channel 03 : 2.422 GHz
          Channel 04 : 2.427 GHz
          Channel 05 : 2.432 GHz
          Channel 06 : 2.437 GHz
          Channel 07 : 2.442 GHz
          Channel 08 : 2.447 GHz
          Channel 09 : 2.452 GHz
          Channel 10 : 2.457 GHz
          Channel 11 : 2.462 GHz
          Channel 36 : 5.18 GHz
          Channel 40 : 5.2 GHz
          Channel 42 : 5.21 GHz
          Channel 44 : 5.22 GHz
          Channel 48 : 5.24 GHz
          Channel 50 : 5.25 GHz
          Channel 52 : 5.26 GHz
          Channel 56 : 5.28 GHz
          Channel 58 : 5.29 GHz
          Channel 60 : 5.3 GHz
          Channel 64 : 5.32 GHz
          Channel 149 : 5.745 GHz
          Channel 152 : 5.76 GHz
          Channel 153 : 5.765 GHz
          Channel 157 : 5.785 GHz
          Channel 160 : 5.8 GHz
          Channel 161 : 5.805 GHz
          Channel 165 : 5.825 GHz
          Current Frequency=5.18 GHz (Channel 36)
>Release-Note:
>Audit-Trail:
>Unformatted:



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