Atheros card channel utilisation problem

N. Michailidis nikos at mauve.gr
Tue Feb 7 10:39:26 PST 2006


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 =0, regdomain=104

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=9 function=0
dev.ath.0.%pnpinfo: vendor=0x168c device=0x0013 subvendor=0x14b9 subdevice=0xcc21 class=0x020000
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 

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

$ ifconfig -v ath0
ath0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
   inet6 fe80::240:96ff:fea5:49c6%ath0 prefixlen 64 scopeid 0x1 
   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) 
$ ifconfig -v ath0
ath0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
	inet6 fe80::240:96ff:fea5:49c6%ath0 prefixlen 64 scopeid 0x1 
	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          
Channel   2 : 2417  Mhz 11g          Channel  56 : 5280* Mhz 11a          
Channel   3 : 2422  Mhz 11g          Channel  60 : 5300* Mhz 11a          
Channel   4 : 2427  Mhz 11g          Channel  64 : 5320* Mhz 11a          
Channel   5 : 2432  Mhz 11g          Channel 100 : 5500* Mhz 11a          
Channel   6 : 2437* Mhz 11g          Channel 104 : 5520* Mhz 11a          
Channel   7 : 2442  Mhz 11g          Channel 108 : 5540* Mhz 11a          
Channel   8 : 2447  Mhz 11g          Channel 112 : 5560* Mhz 11a          
Channel   9 : 2452  Mhz 11g          Channel 116 : 5580* Mhz 11a          
Channel  10 : 2457  Mhz 11g          Channel 120 : 5600* Mhz 11a          
Channel  11 : 2462  Mhz 11g          Channel 124 : 5620* Mhz 11a          
Channel  12 : 2467  Mhz 11g          Channel 128 : 5640* Mhz 11a          
Channel  13 : 2472  Mhz 11g          Channel 132 : 5660* Mhz 11a          
Channel  34 : 5170* Mhz 11a          Channel 136 : 5680* Mhz 11a          
Channel  36 : 5180* Mhz 11a          Channel 140 : 5700* Mhz 11a          
Channel  38 : 5190* Mhz 11a          Channel 149 : 5745* Mhz 11a          
Channel  40 : 5200* Mhz 11a          Channel 153 : 5765* Mhz 11a          
Channel  42 : 5210* Mhz 11a          Channel 157 : 5785* Mhz 11a          
Channel  44 : 5220* Mhz 11a          Channel 161 : 5805* Mhz 11a          
Channel  46 : 5230* Mhz 11a          Channel 165 : 5825* Mhz 11a          
Channel  48 : 5240* Mhz 11a   

Other pertinent info is :

(exerpt from pciconf -lv)

ath0 at pci0:9:0:	class=0x020000 card=0xcc2114b9 chip=0x0013168c rev=0x01 hdr=0x00
    vendor   = 'Atheros Communications Inc.'
    device   = 'AR5212, AR5213 802.11a/b/g Wireless Adapter'
    class    = network
    subclass = ethernet
        







More information about the freebsd-mobile mailing list