Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Feb 2006 20:39:07 +0200
From:      "N. Michailidis" <nikos@mauve.gr>
To:        <freebsd-mobile@freebsd.org>
Subject:   Atheros card channel utilisation problem
Message-ID:  <001301c62c15$c7b2d880$c500a8c0@nikolas>

next in thread | raw e-mail | index | archive | help
I have a Cisco Atheros chipset card (AIR-P121AG-W-K9) working under =
pfSense 26Dec 1.0 Beta software (FreeBSD based)

This wlan card supports the 13 ETSI 802.11b channels, but will only =
transmit on the first 11 FCC channels.

One can set it up via ifconfig to channels 12 and 13 without receiving =
any error message, but the card on AP mode will simply not transmit.

I have not tested whether in client mode will function on channels 12 =
and 13.

As seen from below countrycode =3D0, regdomain=3D104

Possibly a change in here is needed.

Can Sam Leffler help me to short it out please.

Thank you in advance


$ sysctl dev.ath.0

dev.ath.0.%desc: Atheros 5212
dev.ath.0.%driver: ath
dev.ath.0.%location: slot=3D9 function=3D0
dev.ath.0.%pnpinfo: vendor=3D0x168c device=3D0x0013 subvendor=3D0x14b9 =
subdevice=3D0xcc21 class=3D0x020000
dev.ath.0.%parent: pci0
dev.ath.0.smoothing_rate: 95
dev.ath.0.sample_rate: 10
dev.ath.0.countrycode: 0
dev.ath.0.regdomain: 104
dev.ath.0.debug: 0
dev.ath.0.slottime: 20
dev.ath.0.acktimeout: 35
dev.ath.0.ctstimeout: 35
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: 2
dev.ath.0.diversity: 0
dev.ath.0.txintrperiod: 5
dev.ath.0.diag: 0
dev.ath.0.tpscale: 0
dev.ath.0.tpc: 0=20

ifconfig returns this on ch 11, (Access point working)=20

$ ifconfig -v ath0
ath0: flags=3D8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu =
1500
   inet6 fe80::240:96ff:fea5:49c6%ath0 prefixlen 64 scopeid 0x1=20
   inet 10.2.8.131 netmask 0xfffffff0 broadcast 10.2.8.143
   ether 00:40:96:a5:49:c6
   media: IEEE 802.11 Wireless Ethernet autoselect mode 11b <hostap>
   status: associated
   ssid sw1iyf channel 11 (2462) bssid 00:40:96:a5:49:c6
   authmode OPEN privacy OFF deftxkey UNDEF powersavemode OFF
   powersavesleep 100 txpowmax 20 txpower 20 rtsthreshold 2346
   fragthreshold 2346 -pureg protmode OFF -wme burst ssid SHOW -apbridge
   dtimperiod 1 bintval 100

and this on ch 12, (Access point NOT working)=20
$ ifconfig -v ath0
ath0: flags=3D8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu =
1500
	inet6 fe80::240:96ff:fea5:49c6%ath0 prefixlen 64 scopeid 0x1=20
	inet 10.2.8.131 netmask 0xfffffff0 broadcast 10.2.8.143
	ether 00:40:96:a5:49:c6
	media: IEEE 802.11 Wireless Ethernet autoselect mode 11b <hostap>
	status: associated
	ssid sw1iyf channel 12 (2467) bssid 00:40:96:a5:49:c6
	authmode OPEN privacy OFF deftxkey UNDEF powersavemode OFF
	powersavesleep 100 txpowmax 20 txpower 20 rtsthreshold 2346
	fragthreshold 2346 -pureg protmode OFF -wme burst ssid SHOW -apbridge
	dtimperiod 1 bintval 100

$ ifconfig -v ath0 list chan

Channel   1 : 2412  Mhz 11g          Channel  52 : 5260* Mhz 11a         =
=20
Channel   2 : 2417  Mhz 11g          Channel  56 : 5280* Mhz 11a         =
=20
Channel   3 : 2422  Mhz 11g          Channel  60 : 5300* Mhz 11a         =
=20
Channel   4 : 2427  Mhz 11g          Channel  64 : 5320* Mhz 11a         =
=20
Channel   5 : 2432  Mhz 11g          Channel 100 : 5500* Mhz 11a         =
=20
Channel   6 : 2437* Mhz 11g          Channel 104 : 5520* Mhz 11a         =
=20
Channel   7 : 2442  Mhz 11g          Channel 108 : 5540* Mhz 11a         =
=20
Channel   8 : 2447  Mhz 11g          Channel 112 : 5560* Mhz 11a         =
=20
Channel   9 : 2452  Mhz 11g          Channel 116 : 5580* Mhz 11a         =
=20
Channel  10 : 2457  Mhz 11g          Channel 120 : 5600* Mhz 11a         =
=20
Channel  11 : 2462  Mhz 11g          Channel 124 : 5620* Mhz 11a         =
=20
Channel  12 : 2467  Mhz 11g          Channel 128 : 5640* Mhz 11a         =
=20
Channel  13 : 2472  Mhz 11g          Channel 132 : 5660* Mhz 11a         =
=20
Channel  34 : 5170* Mhz 11a          Channel 136 : 5680* Mhz 11a         =
=20
Channel  36 : 5180* Mhz 11a          Channel 140 : 5700* Mhz 11a         =
=20
Channel  38 : 5190* Mhz 11a          Channel 149 : 5745* Mhz 11a         =
=20
Channel  40 : 5200* Mhz 11a          Channel 153 : 5765* Mhz 11a         =
=20
Channel  42 : 5210* Mhz 11a          Channel 157 : 5785* Mhz 11a         =
=20
Channel  44 : 5220* Mhz 11a          Channel 161 : 5805* Mhz 11a         =
=20
Channel  46 : 5230* Mhz 11a          Channel 165 : 5825* Mhz 11a         =
=20
Channel  48 : 5240* Mhz 11a  =20

Other pertinent info is :

(exerpt from pciconf -lv)

ath0@pci0:9:0:	class=3D0x020000 card=3D0xcc2114b9 chip=3D0x0013168c =
rev=3D0x01 hdr=3D0x00
    vendor   =3D 'Atheros Communications Inc.'
    device   =3D 'AR5212, AR5213 802.11a/b/g Wireless Adapter'
    class    =3D network
    subclass =3D ethernet
       =20








Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001301c62c15$c7b2d880$c500a8c0>