Linux wireless drivers development
 help / color / mirror / Atom feed
* Regression on ath9k_htc managed mode
@ 2012-06-24 19:11 Guido Iribarren
  2012-06-25  0:59 ` Sujith Manoharan
  0 siblings, 1 reply; 6+ messages in thread
From: Guido Iribarren @ 2012-06-24 19:11 UTC (permalink / raw)
  To: ath9k-devel, linux-wireless

Hello nice people,
we've recently found a bug when using infrastructure mode with tplink
wn722n usb dongles (ath9k_htc driver)

on the latest compat mac80211 we could find (2012-06-14) compiled
against a 3.3.8 kernel, it has a problem with receiving broadcast
while in client mode.
That is, if the card is in Managed mode, it associates correctly,
sends and receives unicast packets perfectly, and can send broadcast
packets too. But no packets sent to broadcast from the AP will be
understood.
This has been observed with a simple arping
[x.x.x.x being the ap, and y.y.y.y being the dongle in client mode.]
sta# arping -b -I wlan1 x.x.x.x
ARPING to x.x.x.x from y.y.y.y via wlan1
Unicast reply from x.x.x.x [f8:d1:11:c0:ef:72] 108.579ms
Unicast reply from x.x.x.x [f8:d1:11:c0:ef:72] 108.157ms

ap# arping -b -I wlan1 y.y.y.y
ARPING to y.y.y.y from x.x.x.x via wlan1
[no replies]

wireshark running on a separate laptop confirmed that the ap is indeed
transmitting the broadcast, but a tcpdump running on client station
shows no trace of the packet.
unicasts, on the other hand, are received perfectly (both seen by
wireshark on the air, and tcpdump in the station)

This behaviour does not happen with mac80211 2012-02-27 compiled against 3.2.14
I've recompiled many different versions of openwrt in a "bisecting"
manner and managed to narrow it down to commit r31322 of openwrt,
"mac80211: update to wireless-testing 2012-04-13"
so the regression has been introduced somewhere between 2012-02-27
(ok) and 2012-04-13 (bug)

I *could* try to narrow it further, by cherrypicking revisions of
wireless-testing between those dates, and try to compile a custom
openwrt (i'm not sure how would that work) but I have already spent a
lot more time than i was expecting to get to this point :(

So maybe some developer, or someone more familiar with the changelog,
might have an idea when /where (commit) could this bug have crept in,
and have a kind soul as to find a fix, or revert it?

We would be most grateful, we are building wifi community networks in
Argentina, with very low cost mesh nodes, based on tplink mr3220 and
these wn722n dongles, and the model we are using is being adopted by
many local WCN, so a fix would be of great help!

Guido

ps. I'm crossposting to compat-wireless since i don't entirely
understand where the problem lies. Sorry for the noise!

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-06-30  4:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-24 19:11 Regression on ath9k_htc managed mode Guido Iribarren
2012-06-25  0:59 ` Sujith Manoharan
2012-06-26 19:26   ` Guido Iribarren
2012-06-28  6:45     ` Sujith Manoharan
2012-06-28 12:21       ` Guido Iribarren
2012-06-30  4:14     ` Guido Iribarren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox