On 22.10.2008 16:19 you wrote: > > b) For some reason it only works with 5212/5213 cards, i tested it on > > a 5413 and an 2425 and it didn't work (hostapd seems to hang). > > I've ordered 5413 ;), will come with updates.
Thanks for the patches. I tried them on 2.6.26 kernel with compat-wireless-old-2008-10-17 and AR5414 hardware (MAC: 0xa5, PHY: 0x61). On one computer with x86 kernel it works OK, even with WPA. But it's quite slow (only ~2Mbit on 802.11g) and traffic stalls every 4 seconds for about a half second. Unfortunately I wasn't able to get it to work on other computer with amd64 kernel. I can connect to the hostap AP, but get no ping reply. These messages repeat in dmesg: Oct 23 23:10:19 gordon ath5k phy0: noise floor calibration timeout (2437MHz) Oct 23 23:10:52 gordon ath5k phy0: noise floor calibration timeout (2437MHz) Oct 23 23:11:14 gordon ath5k phy0: noise floor calibration timeout (2437MHz) Oct 23 23:11:38 gordon ath5k phy0: beacon queue 7 didn't stop? Oct 23 23:11:43 gordon ath5k phy0: beacon queue 7 didn't stop? Oct 23 23:11:44 gordon ath5k phy0: beacon queue 7 didn't stop? Oct 23 23:11:45 gordon ath5k phy0: noise floor calibration timeout (2437MHz) Oct 23 23:11:56 gordon ath5k phy0: noise floor calibration timeout (2437MHz) and after a few minutes the computer with hostap locks up. Any idea what might be wrong? Here's my kernel config: http://8an.praha12.net/misc/kernel-config-x86_64-2.6.26-gentoo-r2 I also got this Oops when I stopped the interface, it may be related: WARNING: at /root/hostap/compat-wireless-2.6-old/net/mac80211/main.c:1002 ieee80211_if_config+0x26/0x146 [mac80211]() Modules linked in: w83627ehf hwmon_vid hwmon ipv6 snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss mt352 dvb_bt8xx dvb_core bt878 arc4 ecb ath5k mac80211 bttv led_class ir_common compat_ioctl32 i2c_i801 videodev v4l1_compat i2c_algo_bit v4l2_common videobuf_dma_sg videobuf_core btcx_risc tv eeprom cfg80211 i2c_core sky2 snd_hda_intel snd_pcm snd_timer snd snd_page_alloc Pid: 3691, comm: iwconfig Not tainted 2.6.26-gentoo-r2 #1 Call Trace: [<ffffffff8022d5ca>] warn_on_slowpath+0x51/0x78 [<ffffffff8025005d>] snapshot_write_next+0x615/0x648 [<ffffffff8025be70>] __alloc_pages_internal+0xe2/0x3b0 [<ffffffffa00f40b5>] :mac80211:ieee80211_if_config+0x26/0x146 [<ffffffff8041c6ef>] ioctl_standard_call+0x216/0x2ff [<ffffffffa00f56d0>] :mac80211:ieee80211_ioctl_siwessid+0x0/0x113 [<ffffffff803d4258>] __dev_get_by_name+0x74/0x8b [<ffffffff8041c88e>] wext_handle_ioctl+0xb6/0x3a8 [<ffffffffa00f56d0>] :mac80211:ieee80211_ioctl_siwessid+0x0/0x113 [<ffffffff803d67e9>] dev_ioctl+0x5a6/0x5cf [<ffffffff80264b91>] handle_mm_fault+0x344/0x67a [<ffffffff803ca393>] sock_ioctl+0x1ee/0x1f8 [<ffffffff8028413d>] vfs_ioctl+0x21/0x6b [<ffffffff802843d9>] do_vfs_ioctl+0x252/0x26b [<ffffffff8028442e>] sys_ioctl+0x3c/0x5e [<ffffffff8020b01b>] system_call_after_swapgs+0x7b/0x80 ---[ end trace 1ce9ec676036855c ]--- And also this one even before I first tried to connect to the hostap AP: WARNING: at /root/hostap/compat-wireless-2.6-old/net/mac80211/rx.c:2127 ath5k_tasklet_rx+0x45c/0x4a8 [ath5k]() Modules linked in: w83627ehf hwmon_vid hwmon ipv6 snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss mt352 dvb_bt8xx dvb_core bt878 arc4 ecb ath5k mac80211 led_class bttv ir_common i2c_i801 compat_ioctl32 videodev v4l1_compat i2c_algo_bit v4l2_common videobuf_dma_sg videobuf_core btcx_risc tveeprom i2c_core cfg80211 snd_hda_intel sky2 snd_pcm snd_timer snd snd_page_alloc Pid: 0, comm: swapper Not tainted 2.6.26-gentoo-r2 #1 Call Trace: <IRQ> [<ffffffff8022d5ca>] warn_on_slowpath+0x51/0x78 [<ffffffff80402c4d>] tcp_v4_rcv+0x418/0x567 [<ffffffff803ce294>] sock_def_write_space+0x10/0x7d [<ffffffff802112e3>] read_tsc+0x9/0x1c [<ffffffff80242d7e>] getnstimeofday+0x39/0x98 [<ffffffffa002c486>] :sky2:sky2_tx_complete+0xcd/0x142 [<ffffffff8024102c>] ktime_get_ts+0x22/0x4b [<ffffffffa0120d06>] :ath5k:ath5k_tasklet_rx+0x45c/0x4a8 [<ffffffff80231e90>] tasklet_action+0x64/0xb6 [<ffffffff80231d66>] __do_softirq+0x55/0xc3 [<ffffffff8021b207>] ack_apic_level+0x12/0xd5 [<ffffffff8020c1ac>] call_softirq+0x1c/0x28 [<ffffffff8020e12a>] do_softirq+0x2c/0x68 [<ffffffff80231ccd>] irq_exit+0x3f/0x83 [<ffffffff8020e36b>] do_IRQ+0xb6/0xd3 [<ffffffff80211800>] mwait_idle+0x0/0x44 [<ffffffff8020b531>] ret_from_intr+0x0/0xa <EOI> [<ffffffff80219817>] lapic_next_event+0x0/0xa [<ffffffff80211841>] mwait_idle+0x41/0x44 [<ffffffff80209e78>] cpu_idle+0x72/0x98 ---[ end trace 4e9c85dd273147f5 ]--- Lukas _______________________________________________ ath5k-devel mailing list ath5k-devel@lists.ath5k.org https://lists.ath5k.org/mailman/listinfo/ath5k-devel