Gmane
From: D. Walsh <info <at> daleenterprise.com>
Subject: Re: help reconfiguring a card.
Newsgroups: gmane.linux.drivers.madwifi.devel
Date: 2008-07-27 12:11:51 GMT (23 weeks, 5 days, 15 hours and 26 minutes ago)

On Jul 26, 2008, at 20:52 PM, Pavel Roskin wrote:

> On Sat, 2008-07-26 at 19:49 -0400, D. Walsh wrote:
>
>> 04:00.0 Unknown controller [0330]: Atheros Communications, Inc.
>> AR5212 802.11abg NIC [168c:0013] (rev 01)
>> 	Subsystem: Atheros Communications, Inc. Device [168c:2027]
>> 	Flags: bus master, medium devsel, latency 32, IRQ 21
>> 	Memory at e0000000 (32-bit, non-prefetchable)
>> 	Capabilities: [44] Power Management version 2
>
> ath_info -w e0000000 pci_class 0x280

Pavel to the rescue again, it didn't like the command but did like
ath_info -w 0xe0000000 pci_class 0x200

Sadly enough the cards don't seem to support 802.11a and I was  
counting on the 11a support cause I run my 802.11a/g/n AP's on the  
5ghz band.

This still allows 54mb connections with my other Atheros based  
802.11a/b/g cards, just no connection with these cards.

>
> By the way, Atheros uses 0x200 (Ethernet) for all its wireless  
> devices.
> However, the BIOS in IBM Thinkpads complains that there are two  
> Ethernet
> devices, so I changed all my MiniPCI cards to class 0x280.
>
> You may need to set one of the GPIO lines to 0, but it's hard to say
> which one.  Please see the manual for ath_info.
>
> -- 
> Regards,
> Pavel Roskin

  -==Device Information==-
MAC Revision: 5213+ (0x56)
Device type:  3
2GHz PHY Revision: 2111  (0x23)

/============== EEPROM Information =============\
| EEPROM Version:   3.4 | EEPROM Size:  16 kbit |
| EEMAP:              0 | Reg. Domain:     0x00 |
|================= Capabilities ================|
| 802.11a Support:  no  | Turbo-A disabled: no  |
| 802.11b Support:  yes | Turbo-G disabled: no  |
| 802.11g Support:  yes | 2GHz XR disabled: no  |
| RFKill  Support:  no  | 5GHz XR disabled: no  |
| 32kHz   Crystal:  no  |                       |
\===============================================/

/=========================================================\
|          Calibration data common for all modes          |
|=========================================================|
|          CCK/OFDM gain delta:             0             |
|          CCK/OFDM power delta:           15             |
|          Scaled CCK delta:                0             |
|          2GHz Antenna gain:               0             |
|          5GHz Antenna gain:               0             |
|          Turbo 2W maximum dBm:           32             |
|          Target power start:          0x000             |
|          EAR Start:                   0x000             |
\=========================================================/

/=========================================================\
|          Calibration data for 802.11b operation         |
|=========================================================|
| I power:              0x00 | Q power:              0x00 |
| Use fixed bias:       0x00 | Max turbo power:      0x00 |
| Max XR power:         0x00 | Switch Settling Time: 0x23 |
| Tx/Rx attenuation:    0x0f | TX end to XLNA On:    0x02 |
| TX end to XPA Off:    0x00 | TX end to XPA On:     0x07 |
| 62db Threshold:       0x1c | XLNA gain:            0x0d |
| XPD:                  0x01 | XPD gain:             0x0b |
| I gain:               0x0a | Tx/Rx margin:         0x00 |
| False detect backoff: 0x00 | Noise Floor Threshold:  -1 |
| ADC desired size:      -38 | PGA desired size:      -80 |
|=========================================================|
| Antenna control   0:  0x00 | Antenna control   1:  0x08 |
| Antenna control   2:  0x14 | Antenna control   3:  0x04 |
| Antenna control   4:  0x10 | Antenna control   5:  0x00 |
| Antenna control   6:  0x04 | Antenna control   7:  0x18 |
| Antenna control   8:  0x08 | Antenna control   9:  0x10 |
| Antenna control  10:  0x00 | Antenna control  11:  0x00 |
|=========================================================|
| Octave Band 0:           4 | db 0:                    4 |
| Octave Band 1:           2 | db 1:                    2 |
| Octave Band 2:           0 | db 2:                    0 |
| Octave Band 3:           0 | db 3:                    0 |
\=========================================================/
/============== Per rate power calibration ===========\
| Freq |   1Mbit/s  | 2Mbit/s  | 5.5Mbit/s | 11Mbit/s |
\=====================================================/
/=================== Per channel power calibration ====================\
| Freq | pwr_0 | pwr_1 | pwr_2 | pwr_3 |pwrx3_0|pwrx3_1|pwrx3_2|max_pwr|
|      | pcdac | pcdac | pcdac | pcdac | pcdac | pcdac | pcdac |       |
\======================================================================/

/=========================================================\
|          Calibration data for 802.11g operation         |
|=========================================================|
| I power:              0x00 | Q power:              0x00 |
| Use fixed bias:       0x00 | Max turbo power:      0x00 |
| Max XR power:         0x00 | Switch Settling Time: 0x2d |
| Tx/Rx attenuation:    0x0f | TX end to XLNA On:    0x02 |
| TX end to XPA Off:    0x00 | TX end to XPA On:     0x0e |
| 62db Threshold:       0x1c | XLNA gain:            0x0d |
| XPD:                  0x01 | XPD gain:             0x0b |
| I gain:               0x0a | Tx/Rx margin:         0x00 |
| False detect backoff: 0x00 | Noise Floor Threshold:  -1 |
| ADC desired size:      -32 | PGA desired size:      -80 |
|=========================================================|
| Antenna control   0:  0x00 | Antenna control   1:  0x08 |
| Antenna control   2:  0x14 | Antenna control   3:  0x04 |
| Antenna control   4:  0x10 | Antenna control   5:  0x00 |
| Antenna control   6:  0x04 | Antenna control   7:  0x18 |
| Antenna control   8:  0x08 | Antenna control   9:  0x10 |
| Antenna control  10:  0x00 | Antenna control  11:  0x02 |
|=========================================================|
| Octave Band 0:           3 | db 0:                    3 |
| Octave Band 1:           2 | db 1:                    2 |
| Octave Band 2:           0 | db 2:                    0 |
| Octave Band 3:           0 | db 3:                    0 |
\=========================================================/
/============== Per rate power calibration ===========\
| Freq | 6-24Mbit/s | 36Mbit/s |  48Mbit/s | 54Mbit/s |
\=====================================================/
/=================== Per channel power calibration ====================\
| Freq | pwr_0 | pwr_1 | pwr_2 | pwr_3 |pwrx3_0|pwrx3_1|pwrx3_2|max_pwr|
|      | pcdac | pcdac | pcdac | pcdac | pcdac | pcdac | pcdac |       |
\======================================================================/

GPIO registers: CR 0x00000000, DO 0x00000000, DI 0x00000006
STA_ID0: 00:02:6f:22:32:50
STA_ID1: 0x12805032, AP: 0, IBSS: 0, KeyCache Disable: 0
TIMER0: 0x00000030, TBTT:    48, TU: 0x00270030
TIMER1: 0x0007ffff, DMAb: 65535, TU: 0x0026ffff (-49)
TIMER2: 0x01ffffff, SWBA: 65535, TU: 0x003fffff (+1638351)
TIMER3: 0x00000031, ATIM:    49, TU: 0x00270031 (+1)
TSF: 0x000000009a5751a7, TSFTU: 38356, TU: 0x002695d4
BEACON: 0x00000000
LAST_TSTP: 0x86457180