i have macbook pro with AR5418, and DWL-700AP access point. I try two driverd madwifi (trunk 3844) and ath9k driver from 2.6.27.rc4.
Created attachment 17365 [details] ath9k wireshark
Created attachment 17366 [details] madwifi wireshark
ath9k *does support WPA2*. Can you describe a little more in depth your current setup? How are you trying to connect to the Access Point? Do you use Network Manager?
i have fedora 9 + git kernel 2.6.27.rc4 with fedora kernel config (config-2.6.25.14-108.fc9.i686 finely loaded by make xconfig). After reboot my machine i got NetworkManager notify about new network, and he try autoconnect to network called "wifi.tax.local". wifi.tax.local is DWL-700AP configured as access point with WPA2-PSK authentication. With madwifi driver (trunk version) i have well worked wifi connection with same kernel 2.6.27.rc4. After i switch to ath9k driver he only show persist of network but no possible to connect. ath9k dmesg output: wlan0: authenticate with AP 00:1c:f0:bd:01:06 wlan0: authenticate with AP 00:1c:f0:bd:01:06 wlan0: authenticated wlan0: associate with AP 00:1c:f0:bd:01:06 wlan0: RX AssocResp from 00:1c:f0:bd:01:06 (capab=0x11 status=0 aid=1) wlan0: associated ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready wlan0: disassociating by local choice (reason=3) wlan0: authenticate with AP 00:1c:f0:bd:01:06 wlan0: authenticate with AP 00:1c:f0:bd:01:06 wlan0: authenticate with AP 00:1c:f0:bd:01:06 wlan0: authentication with AP 00:1c:f0:bd:01:06 timed out wlan0: no IPv6 routers present sky2 eth0: Link is down. sky2 eth0: Link is up at 100 Mbps, full duplex, flow control both wlan0: authenticate with AP 00:1c:f0:bd:01:06 wlan0: authenticate with AP 00:1c:f0:bd:01:06 wlan0: authenticated wlan0: associate with AP 00:1c:f0:bd:01:06 wlan0: RX AssocResp from 00:1c:f0:bd:01:06 (capab=0x11 status=0 aid=1) wlan0: associated wlan0: disassociating by local choice (reason=3) [axet@axet-laptop ~]$ [axet@axet-laptop ~]$ iwlist scan lo Interface doesn't support scanning. eth0 Interface doesn't support scanning. wmaster0 Interface doesn't support scanning. wlan0 Scan completed : Cell 01 - Address: 00:1C:F0:BD:01:06 ESSID:"wifi.tax.local" Mode:Master Channel:1 Frequency:2.412 GHz (Channel 1) Quality=79/100 Signal level:-44 dBm Noise level=-95 dBm Encryption key:on IE: IEEE 802.11i/WPA2 Version 1 Group Cipher : CCMP Pairwise Ciphers (1) : CCMP Authentication Suites (1) : PSK Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s 48 Mb/s; 54 Mb/s Extra:tsf=000000084c58d1b1 Extra: Last beacon: 74ms ago pan0 Interface doesn't support scanning. virbr0 Interface doesn't support scanning. [axet@axet-laptop ~]$
Created attachment 17378 [details] config-2.6.25.14-108.fc9.i686
In packet sniffing utility you can see madwifi driver have successfully connected packets. And for ath9k sniff packets you can see ath9k try to send key, but access point do not accept. When i try to set my access point as Open Network. I have other strange effect. Connection well established and i can sniff it by command 'tcpdump -i wlan0'. In tcpdump output i can see all broadcast packets from my server (iip, samba and other). But i still can't get ip address by dhcpd driver! Look like packets from my machine do not leave hosts...
FWIW, that kernel doesn't have ath9k.
Created attachment 17380 [details] config 2.6.27.rc4 with ath9k
config-2.6.25.14-108.fc9.i686 - original config to load trough make xconfig; .config - result config, after i change checkbox.
I use ath9k on a macbook pro 2.2 and it works with wpa2-psk aes (not tryed other settings). I use ubuntu intrepid with 2.6.27-rc4 + ath9k patches form wireless mailinglist you can get them here: http://w1.fi/wireless-testing/ (11. & 14.Aug)
I tried booth git-kerenl 2.6.27-rc4 and fedora 2.6.27-rc4 build. Same issues. Can you provide more details about?
as i konw wireless-testing already merged to -rc4 kernel.
I use the linux-2.6 git kernel and NetworkManager. This patches are not merged to wireless-testing. http://w1.fi/wireless-testing/series I applied the patches from 11 & 14.Aug to linux-2.6 git.
yep, these paches help me also. thx when they wille be available in linux-2.6 git ?
Not sure exactly what patch would have fixed this.. as WPA2 *was* and *has* been working. I can't say for sure on Power Book as I wasn't testing on that. But I'd be curious as to exactly what patch fixed it. Alexey, if you have time can you bisect the patches to see which one fixes it? Whatever fixed it should be pushed for sure onto 2.6.27-rcx.
All of these patches applied to ath9k/ directory and signed by @atheros.com team. Probably all of them must be applied. [axet@axet-laptop linux-2.6]$ git checkout M drivers/net/wireless/ath9k/ath9k.h M drivers/net/wireless/ath9k/beacon.c M drivers/net/wireless/ath9k/core.c M drivers/net/wireless/ath9k/core.h M drivers/net/wireless/ath9k/hw.c M drivers/net/wireless/ath9k/hw.h M drivers/net/wireless/ath9k/main.c M drivers/net/wireless/ath9k/phy.h M drivers/net/wireless/ath9k/rc.c M drivers/net/wireless/ath9k/recv.c M drivers/net/wireless/ath9k/xmit.c M include/linux/ieee80211.h [axet@axet-laptop linux-2.6]$
Yeah the Atheros team is doing a great job with patching ath9k :) I am curious though if you have some free time, can you try just a few patches to see which one may have fixed your issue?
I will try to look first, then to apply. Each build take about 40 min.
I tried apply paches in this sequince: first cat sujith-1-* second cat sujith-2-0* | patch -p1 cat ath9k-beacon.patch | patch -p1 then cat ath9k-txctl.patch | patch -p1 then cat ath9k-tx-status.patch | patch -p1 then cat ath9k-seqnum.patch | patch -p1 bingo!! after, i tried just last one and by hand solve rejection in core.* files. then i ignore beacon.* rej files. and also have success. but i have problem with insert/remove modules to kernel. after trid time of intert/remove i got my pc stucked.
Created attachment 17605 [details] ath9k-seqno.patch Could you try this patch alone on top of the current wireless-2.6 tree? git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.git Does that also resolve the issue?
works for me against linux-2.6 git.
wireless-2.6.git + ath9k-seqno.patch work fine... and look like more better then just comment 19 patch. wireless build catchup wifi connection from first attempt.
fixed by commit 69da6b87fcb270f758fe75141c32e041f8db510c