2 Oct 2011 01:03
ath(4) sends duplicate multicast frames with AR5212 chipset
Stefan Sperling <stsp <at> openbsd.org>
2011-10-01 23:03:33 GMT
2011-10-01 23:03:33 GMT
I am running the following ath(4) card in hostap mode with WPA: ath0 at pci0 dev 12 function 0 "Atheros AR5212 (IBM MiniPCI)" rev 0x01: irq 9 ath0: AR5213A 5.9 phy 4.3 rf5112a 3.6, WOR01W, address 00:0e:9b:d7:36:f8 STAs can connect fine. However, multicast frames cause a lot of RX errors at the STA side. The "tkip replays" counter in netstat -W keeps increasing. This results in occasional stutter in the wireless connection. It is small, but noticable when typing into an ssh session to the STA. Note that I have a carp setup running in this network which creates a lot of multicast frames. With few multicast frames the problem is probably not noticable. (TKIP is used for multicast frames, other traffic is using CCMP.) This only happens with ath(4). A ral(4) card I have doesn't show this problem at all. Modyfing the code on the STA side as follows shows the problem: Index: ieee80211_crypto_tkip.c =================================================================== RCS file: /cvs/src/sys/net80211/ieee80211_crypto_tkip.c,v retrieving revision 1.19 diff -u -p -r1.19 ieee80211_crypto_tkip.c --- ieee80211_crypto_tkip.c 5 Apr 2011 11:48:28 -0000 1.19 +++ ieee80211_crypto_tkip.c 1 Oct 2011 21:51:46 -0000 <at> <at> -362,7 +362,10 <at> <at> ieee80211_tkip_decrypt(struct ieee80211c /* replayed frame, discard */ ic->ic_stats.is_tkip_replays++; m_freem(m0);(Continue reading)
RSS Feed