[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Atheros AP problems



[This message was sent to owner-freebsd-mobile_(_at_)_freebsd_(_dot_)_org by mistake.  If
you've already seen this message, please disregard.]

Hi,

If this is the wrong list, please point me in the right direction.

I replaced my 11b wireless with an 11g (Atheros) card when I upgraded my
home server this weekend.  Among other things, I upgraded to 5.2-RELEASE and
replaced the old Netgear MA311 with the WG311, in the hopes of having an 11g
access point.  Everything else works fine except for the hostap part.
Previously, the MA311 worked rather well under 4.9.

I have been unable to get my Win2K laptop using a WG511 card with the latest
drivers to connect to the access point.  Initially, with an older set of
Win2K drivers, the laptop would be able to connect for a second or two at
11Mbps, and then it would drop the connection.  This back and forth would
continue indefinitely.  Now, with the latest drivers, the card sees the
access point but does not associate to it.

I cvsuped my system to -current yesterday afternoon, to no avail.  When I
extract diagnostics using sysctl hw.ath.debug=1, after a short, varying
interval, the machine locks up solid, although if quick enough, I can get
some debug messages out.  I've attempted connecting with and without WEP,
with 11b mode, with set speeds, and so on, all with the same outcome.  I've
checked for interference sources and also popped the WG311 into a Win2K box,
to which the WG511 associated in adhoc mode.

Included are a relevant excerpt of dmesg, output from athstats and
80211stats and the ifconfig ath0 output.  I should relate an observation
that the OFDM PHY errors increase by about 4000 each half-second to a
second.  I didn't observe the others, though several increase with each
athstats execution.

Any assistance that can be provided would be greatly appreciated.

Thanks,
Philip Adams

dmesg excerpt
=============

...
ath0: <Atheros 5212> mem 0xfebd0000-0xfebdffff irq 16 at device 20.0 on pci0
ath0: mac 5.6 phy 4.1 5ghz radio 1.7 2ghz radio 2.3
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps
36Mbps 48Mbps 54Mbps
...
ath_tx_start: m 0xc1751800 len 75
ath_tx_start: 0: 00000000 00165830 013c004b 00400047 000b0000 0000001b
ath_tx_start: TXDP0 = 0x2e28c0 (0xd76418c0)
ath_tx_start: m 0xc1750f00 len 75
ath_tx_start: 0: 00000000 00164f30 013c004b 00400047 000b0000 0000001b
ath_tx_start: TXDP0 = 0x2e2e40 (0xd7641e40)
ath_tx_start: m 0xc1750f00 len 75
ath_tx_start: 0: 00000000 00164f30 013c004b 00400047 000b0000 0000001b
ath_tx_start: TXDP0 = 0x2e2b80 (0xd7641b80)
ath_tx_start: m 0xc1752c00 len 75
ath_tx_start: 0: 00000000 00166c30 013c004b 00400047 000b0000 0000001b
ath_tx_start: TXDP0 = 0x2e2fa0 (0xd7641fa0)
ath_tx_start: m 0xc1752c00 len 75
ath_tx_start: 0: 00000000 00166c30 013c004b 00400047 000b0000 0000001b
ath_tx_start: TXDP0 = 0x2e3680 (0xd7642680)
ath_tx_start: m 0xc1752c00 len 75
ath_tx_start: 0: 00000000 00166c30 013c004b 00400047 000b0000 0000001b
ath_tx_start: TXDP0 = 0x2e4440 (0xd7643440)
ath_tx_start: m 0xc1761b00 len 75
ath_tx_start: 0: 00000000 0fff5b30 013c004b 00400047 000b0000 0000001b
ath_tx_start: TXDP0 = 0x2e5a40 (0xd7644a40)
ath_tx_start: m 0xc1757300 len 75
ath_tx_start: 0: 00000000 1244b330 013c004b 00400047 000b0000 0000001b
ath_tx_start: TXDP0 = 0x2e58e0 (0xd76448e0)
ath_tx_start: m 0xc174f400 len 75
ath_tx_start: 0: 00000000 00163430 013c004b 00400047 000b0000 0000001b
ath_tx_start: TXDP0 = 0x2e5200 (0xd7644200)
ath_tx_start: m 0xc1756800 len 75
ath_tx_start: 0: 00000000 1240a830 033c004b 00400047 000b0000 0000001b
ath_tx_start: link(0xd7644200)=0x2e5780 (0xd7644780)
ath_tx_start: m 0xc1756800 len 75
ath_tx_start: 0: 00000000 1240a830 013c004b 00400047 000b0000 0000001b
ath_tx_start: TXDP0 = 0x2e19a0 (0xd76409a0)
ath_tx_start: m 0xc174ed00 len 75
ath_tx_start: 0: 00000000 00162d30 013c004b 00400047 000b0000 0000001b
ath_tx_start: TXDP0 = 0x2e2600 (0xd7641600)
ath_tx_start: m 0xc1757b00 len 75
ath_tx_start: 0: 00000000 1244bb30 013c004b 00400047 000b0000 0000001b
ath_tx_start: TXDP0 = 0x2e28c0 (0xd76418c0)
ath_tx_start: m 0xc1757600 len 75
ath_tx_start: 0: 00000000 1244b630 013c004b 00400047 000b0000 0000001b
ath_tx_start: TXDP0 = 0x2e33c0 (0xd76423c0)
ath_tx_start: m 0xc175ae00 len 75
ath_tx_start: 0: 00000000 120eee30 013c004b 00400047 000b0000 0000001b
ath_tx_start: TXDP0 = 0x2e37e0 (0xd76427e0)
ath_tx_start: m 0xc175ae00 len 75
ath_tx_start: 0: 00000000 120eee30 013c004b 00400047 000b0000 0000001b
ath_tx_start: TXDP0 = 0x2e45a0 (0xd76435a0)
ath_tx_start: m 0xc1757600 len 75
ath_tx_start: 0: 00000000 1244b630 013c004b 00400047 000b0000 0000001b
ath_tx_start: TXDP0 = 0x2e3ec0 (0xd7642ec0)
ath_tx_start: m 0xc175ac00 len 75
ath_tx_start: 0: 00000000 120eec30 013c004b 00400047 000b0000 0000001b
ath_tx_start: TXDP0 = 0x2e5620 (0xd7644620)
ath_tx_start: m 0xc1757f00 len 75
ath_tx_start: 0: 00000000 1244bf30 013c004b 00400047 000b0000 0000001b
ath_tx_start: TXDP0 = 0x2e58e0 (0xd76448e0)
ath_tx_start: m 0xc175b400 len 75
ath_tx_start: 0: 00000000 1240f430 013c004b 00400047 000b0000 0000001b
ath_tx_start: TXDP0 = 0x2e5200 (0xd7644200)
ath_tx_start: m 0xc175b400 len 75
ath_tx_start: 0: 00000000 1240f430 013c004b 00400047 000b0000 0000001b
ath_tx_start: TXDP0 = 0x2e16e0 (0xd76406e0)
ath_tx_start: m 0xc174f400 len 75
ath_tx_start: 0: 00000000 00163430 013c004b 00400047 000b0000 0000001b
ath_tx_start: TXDP0 = 0x2e1840 (0xd7640840)
ath_tx_start: m 0xc174f400 len 75
ath_tx_start: 0: 00000000 00163430 013c004b 00400047 000b0000 0000001b
ath_tx_start: TXDP0 = 0x2e24a0 (0xd76414a0)
ath_tx_start: m 0xc174e300 len 75
ath_tx_start: 0: 00000000 00162330 013c004b 00400047 000b0000 0000001b
ath_tx_start: TXDP0 = 0x2e2760 (0xd7641760)
ath_tx_start: m 0xc174e300 len 75
ath_tx_start: 0: 00000000 00162330 013c004b 00400047 000b0000 0000001b
ath_tx_start: TXDP0 = 0x2e2fa0 (0xd7641fa0)
ath_tx_start: m 0xc174e000 len 75
ath_tx_start: 0: 00000000 00162030 013c004b 00400047 000b0000 0000001b
ath_tx_start: TXDP0 = 0x2e3680 (0xd7642680)
ath_tx_start: m 0xc1752600 len 75
ath_tx_start: 0: 00000000 00166630 013c004b 00400047 000b0000 0000001b
ath_tx_start: TXDP0 = 0x2e4440 (0xd7643440)
ath_tx_start: m 0xc1750400 len 75
ath_tx_start: 0: 00000000 00164430 013c004b 00400047 000b0000 0000001b
ath_tx_start: TXDP0 = 0x2e49c0 (0xd76439c0)

athstats output
===============

542 tx management frames
8 tx failed 'cuz too many retries
344 long on-chip tx retries
5 tx frames with no ack marked
289163 rx failed 'cuz of bad CRC
1464967 rx failed 'cuz of PHY err
    823926 OFDM timing
    641041 CCK timing
12 periodic calibrations
5 rate control checks

80211stats output
=================

8 rx from wrong bssid
85 rx w/ unsupported auth alg

ifconfig output
===============

ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255
	inet6 fe80::209:5bff:fe92:8c44%ath0 prefixlen 64 scopeid 0x3
	ether 00:09:5b:92:8c:44
	media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>
	status: associated
	ssid insaniti 1:insaniti
	channel 1 authmode OPEN powersavemode OFF powersavesleep 100
	wepmode OFF weptxkey 1
	wepkey 1:104-bit


Visit your host, monkey.org