Bug 11570
Summary: | ath9k lose connection | ||
---|---|---|---|
Product: | Drivers | Reporter: | Alexey Kuznetsov (axet) |
Component: | network-wireless | Assignee: | John W. Linville (linville) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | mcgrof, senthilkumar |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | last git (2.6.27-rc6+) | Subsystem: | |
Regression: | --- | Bisected commit-id: |
Description
Alexey Kuznetsov
2008-09-15 01:50:33 UTC
happens again... can happens every 5 minutes or one time on week... there is route table: [axet@axet-laptop ~]$ route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.54.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0 192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0 0.0.0.0 192.168.54.1 0.0.0.0 UG 0 0 0 wlan0 [axet@axet-laptop ~]$ Probably that state related to other wifi devices. In most cases i got transmission lost when my second notebook (asus m3n old guy) turned on. I think that is not a router bug because i had never problems with my m3n connection, problem happens only with my macbook pro with ath9k driver. maybe ath9k do some wrong packet encryption or packet seq num is not same as ath9k except. The following patch submitted to linux wireless should fix this issue. I have verified this at my end. [PATCH] ath9k: connectivity is lost after Group rekeying is done I can't find linux wireless tree, is it http://git.kernel.org/?p=linux/kernel/git/linville/wireless-2.6.git;a=summary or http://git.kernel.org/?p=linux/kernel/git/linville/wireless-testing.git;a=summary ? The fix is not yet into the linux wireless tree. I have submitted it to linux wireless mailing list. the linux wireless mailing list can be accessed from the following location http://marc.info/?l=linux-wireless&r=1&b=200809&w=2 One day done without accidents... Look like that patch solve problem. seems to be fixed, one week without accidents. patch should be in git. thx Senthil! Sent to Dave M, he has it queued for Linus... commit d0be7cc7688d0cc2e4daf952c43b5ce86e5c8a1d Author: Senthil Balasubramanian <senthilkumar@atheros.com> Date: Wed Sep 17 12:39:49 2008 +0530 ath9k: connectivity is lost after Group rekeying is done Connectivtiy is lost after Group rekeying is done. The keytype maintained by ath9k is reset when group key is updated. Though sc_keytype can be reset only for broadcast key the proper fix would be to use mac80211 provided key type from txinfo during xmit and get rid of sc_keytype from ath9k ath_softc. Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com> Signed-off-by: Senthil Balasubramanian <senthilkumar@atheros.com> Tested-by: Steven Noonan <steven@uplinklabs.net> Signed-off-by: John W. Linville <linville@tuxdriver.com> |