AR5418 + Fedora 10 --> 1Mbps or nothing in both ad-hoc and infrastructure modes
Hi there,
I bought recently a D-link DWA-643 card, used it in Fedora 10, kernel 2.6.28-rc9.
Most of the time, this card can not be recognized. Sometimes, it is a bit lucky, and be able to associated with my AP. BUT, the rate is 1Mbps if it is working. But never worked too much time then the laptop just stopped responding, after reboot, nothing can be seen with dmesg. Today, I am a bit more lucky, this card worked for a while and stopped (dmesg shown below), meanwhile, the embedded intel card works fine.
I also have two DWA-556 PCIe cards installed in two PCs, and connect both with an Ad-hoc link. They work stably, but still with rate of 1Mbps.
Anybody knows what is going on? Thx a lot.
Tianji
lspci:
04:00.0 Network controller: Atheros Communications Inc. AR5418 802.11abgn Wireless PCI Express Adapter (rev ff)
dmesg after the card being up for a while:
wlan1: authenticate with AP 00:14:7c:af:67:98
wlan1: authenticated
wlan1: associate with AP 00:14:7c:af:67:98
wlan1: RX AssocResp from 00:14:7c:af:67:98 (capab=0x431 status=0 aid=5)
wlan1: associated
..............
wlan1: No ProbeResp from current AP 00:14:7c:af:67:98 - assume out of range
wlan1: authenticate with AP 00:14:7c:af:67:98
wlan1: authenticate with AP 00:14:7c:af:67:98
wlan1: authenticate with AP 00:14:7c:af:67:98
wlan1: authenticate with AP 00:14:7c:af:67:98
wlan1: authentication with AP 00:14:7c:af:67:98 timed out
wlan1: direct probe to AP 00:14:7c:af:67:98 try 1
wlan1: direct probe to AP 00:14:7c:af:67:98 try 2
wlan1: direct probe to AP 00:14:7c:af:67:98 try 3
wlan1: direct probe to AP 00:14:7c:af:67:98 timed out
.............ath_drain_txdataq: unable to reset hardware; hal status 4294967291ath_set_channel: unable to reset channel 1 (2412Mhz) flags 0x300e0 hal
status 4294967291ath9k_config: Unable to set channelath_drain_txdataq: unable to reset hardware; hal status 4294967291ath_set_channel: unable to reset channel 2 (2417Mhz) flags 0x300e0 hal
status 4294967291ath9k_config: Unable to set channelath_drain_txdataq: unable to reset hardware; hal status 4294967291ath_set_channel: unable to reset channel 3 (2422Mhz) flags 0x300e0 hal
status 4294967291ath9k_config: Unable to set channelath_drain_txdataq: unable to reset hardware; hal status 4294967291ath_set_channel: unable to reset channel 4 (2427Mhz) flags 0x300e0 hal
status 4294967291ath9k_config: Unable to set channelath_drain_txdataq: unable to reset hardware; hal status 4294967291ath_set_channel: unable to reset channel 5 (2432Mhz) flags 0x700e2 hal
status 4294967291ath9k_config: Unable to set channelath_drain_txdataq: unable to reset hardware; hal status 4294967291ath_set_channel: unable to reset channel 6 (2437Mhz) flags 0x700e2 hal
status 4294967291ath9k_config: Unable to set channelath_drain_txdataq: unable to reset hardware; hal status 4294967291ath_set_channel: unable to reset channel 8 (2447Mhz) flags 0x500e2 hal
status 4294967291ath9k_config: Unable to set channelath_drain_txdataq: unable to reset hardware; hal status 4294967291ath_set_channel: unable to reset channel 9 (2452Mhz) flags 0x500e2 hal
status 4294967291ath9k_config: Unable to set channelath_drain_txdataq: unable to reset hardware; hal status 4294967291ath_set_channel: unable to reset channel 10 (2457Mhz) flags 0x500e2 hal
status 4294967291ath9k_config: Unable to set channelath_drain_txdataq: unable to reset hardware; hal status 4294967291ath_set_channel: unable to reset channel 11 (2462Mhz) flags 0x500e2 hal
status 4294967291ath9k_config: Unable to set channel
.................
then the whole 'unable to set channel' thing repeats.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20081228/11d5ff03/attachment.htm
Tianji Li
Quoted 3 lines
I bought recently a D-link DWA-643 card, used it in Fedora 10, kernel 2.6.28-rc9.
I have the cardbus version of this working on the same kernel
I also have it working out of the box on SUSE 11.1 which is a 2.6.27 kernel.
Quoted 2 lines
Most of the time, this card can not be recognized. Sometimes, it is a bit lucky, and be able to associated with my AP. BUT, the rate is 1Mbps
I would not worry about the 1MBs, I have tried about 5 different displays/monitors and they all show that. Sometimes they flicker between
0/1Mbs. I think this may be because the routers assume with 11g set
that the speed cannot be faster than 54Mbs, when it is it cannot handle it. Speaking of transmission rates if you go into your router and find what it is running at, with 11n it may show something like 130. This is the new MCS-15 number that is equivalent to 270Mbps.
Some suggestions
1) What sort of router do you have? Mine is a dlink dir-615 which has on the wireless setup page these options
Enable Wireless :
Wireless Network Name :
802.11 Mode : Mixed 11g 11n
Enable Auto Channel Scan :
Wireless Channel :
Transmission Rate :
Channel Width : AUTO
One of the options to check out is the Channel Width. If you set it to auto(it defaults to 2Mhz) you get it set to 4Mhz. This may help?
2) Can you check that you do not have the eth0 connection coming up. On mine if it comes up everything 'looks' ok, i.e. the wireless says it is working, but even a ping does not get through.
3) I have found that when you get the 'assumed out of range message' (my router and wireless are about 2m apart) it is because the encryption is not right, so the AP refuses to connect. With 11n you cannot use wep.
4) I assume you have checked for interference from other devices. Having said that I have a phone next to the router and have never had any bother. Again this may depend on your router and how far you are away from it.
HTH
Brian
[ath9k-devel] 1Mbps or nothing iwlist query
All,
Thought I would separate out the 1Mbps issue.
Not sure if this is the right list though, probably depends on the answer to my question.
I did a iwlist --help and found these two commands iwlist wlan0 bitrate
wlan0 unknown bit-rate information.
Current Bit Rate=1 Mb/s
iwlist wlan0 rate
wlan0 unknown bit-rate information.
Current Bit Rate=1 Mb/s
My question is, where does the iwlist get its info from? In any event this explains why all apps get the same info.
I then did a
iwlist wlan0 auth
wlan0 Authentication capabilities :
WPA
WPA2
CIPHER-TKIP
CIPHER-CCMP
Current Authentication algorithm :
open
Now I am definitely using WPA, so I do not understand this.
If I do a iwconfig, in part I get
wlan0 IEEE 802.11bgn ESSID:"xxxx"
Mode:Managed Frequency:2.427 GHz Access Point: 00:99:F0:FB:99:99
Bit Rate=1 Mb/s Tx-Power=27 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:99
[2] Security mode:open
Power Management:off
Link Quality=85/100 Signal level:-40 dBm Noise level=-95 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
So this is picking up the same info.
Just had a look through wireless.h, seems like it might be in there somewhere.
Brian