OpenWrt Forum Archive

Topic: Atheros 5213 Problems

The content of this topic has been archived on 4 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello,

Im running Kamikaze, tried with both todays trunk and also with Kamikaze 7.09, and im having the same problems with Atheros 5213.  I compiled on a WRAP board which has two atheros cards in there, one 5212 100mw and another 5213 400mw (UBNT SR2).

Here is wireless section of my dmesg:

wlan: trunk
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.10.5.6 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425, RF2417)
ath_rate_onoe: 1.0 (trunk)
wlan: mac acl policy registered
ath_pci: trunk
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: H/W encryption support: WEP AES AES_CCM TKIP
ath_pci: wifi0: Atheros 5212: mem=0x80000000, irq=12
wifi1: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi1: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi1: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi1: H/W encryption support: WEP AES AES_CCM TKIP
ath_pci: wifi1: Atheros 5212: mem=0x80080000, irq=9


The abg card is the 5212 and the bg card is the 5213.  With the 5212 card i can do proper txpower selection all the way up to 100mw as seen here:

root@OpenWrt:~# iwlist ath0 txpower
ath0      8 available transmit-powers :
      0 dBm      (1 mW)
      8 dBm      (6 mW)
      10 dBm      (10 mW)
      12 dBm      (15 mW)
      14 dBm      (25 mW)
      16 dBm      (39 mW)
      18 dBm      (63 mW)
      20 dBm      (100 mW)
          Current Tx-Power:20 dBm      (100 mW)

However with the 5213 card which is 400mw I get:

root@OpenWrt:~# iwlist ath1 txpower
ath1      8 available transmit-powers :
      0 dBm      (1 mW)
      4 dBm      (2 mW)
      6 dBm      (3 mW)
      8 dBm      (6 mW)
      10 dBm      (10 mW)
      12 dBm      (15 mW)
      14 dBm      (25 mW)
      16 dBm      (39 mW)
          Current Tx-Power:16 dBm      (39 mW)

Now i know these pictures are soo much less than adequate (taken with a phone) but here is the output power that im actually getting out of the cards:

100mw

http://65.183.1.99/100mwpp.jpg

400mw

http://65.183.1.99/400mwpp.jpg

Questions, is the reason why the 400mw card shows up with maximum transmit power of 39mw because is it trying to use the AR5212 driver? and if so how can i get the AR5213 driver on OpenWRT?

Why is the transmit power coming out of the card so low?


Rhon

The discussion might have continued from here.