On 03/04/2011 06:28 AM, Stanislaw Gruszka wrote:
On Fri, Mar 04, 2011 at 06:14:37AM -0800, Ben Greear wrote:
On 03/04/2011 02:04 AM, jpo234 wrote:
| From: Ben Greear<greearb@...>
|
| It seems ath5k has issues receiving broadcast packets (ARPs) when
| using multiple STA interfaces associated with multiple APs.
| This patch ensures the NIC is always in PROMISC mode if there
| are more than 1 stations associated.
Is this a band aid or a real fix?
I don't know. It definitely makes things work, but it smells
like a hack. Considering ath9k works fine, it must be something
in the ath5k driver, but I can't see any other problems.
In opposite to ath9k, there is no possibility to set multiple sta
addresses in the ath5k hw. I'm not sure if multiple station virtual
interfaces have sense is such case.
There is an ssid-mask, and sending directed (layer-2 ethernet frames
directly to/from the STA's MAC addresses) work fine. It's just ARP
(and probably other broadcast or multicast) that fails to work, as
far as I can tell.
Since my patch only takes affect when there are more than one virtual
station, I think it might be OK, even if it's a bit of a hack. Normal
users won't see their NIC suddenly go promisc, for instance.
Thanks,
Ben
Stanislaw
--
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc http://www.candelatech.com
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html