2015-07-13 23:06:21

by Ben Greear

[permalink] [raw]
Subject: Don't enable PROMISC when adding AP to a bridge?

I notice some of my WLE900VX cards will lock up and not receive any packets
after a few seconds of being in PROMISC mode. This happens on my own
CT firmware as well as stock firmware-2.bin. This breaks monitor mode, of
course, but it also breaks bridged AP mode.

So, I found this patch from way back when:
http://lists.celinuxforum.org/pipermail/bridge/2008-June/005906.html

I hacked a similar thing into my 4.0.4 kernel, and now bridged mode
AP seems much more stable (and the radio does not go into PROMISC mode,
so it should be more efficient in a busy RF environment).

Maybe this feature could be revisited?

Thanks,
Ben

--
Ben Greear <[email protected]>
Candela Technologies Inc http://www.candelatech.com



2015-07-14 05:13:18

by Michal Kazior

[permalink] [raw]
Subject: Re: Don't enable PROMISC when adding AP to a bridge?

On 14 July 2015 at 01:06, Ben Greear <[email protected]> wrote:
> I notice some of my WLE900VX cards will lock up and not receive any packets
> after a few seconds of being in PROMISC mode. This happens on my own
> CT firmware as well as stock firmware-2.bin. This breaks monitor mode, of
> course, but it also breaks bridged AP mode.
>
> So, I found this patch from way back when:
> http://lists.celinuxforum.org/pipermail/bridge/2008-June/005906.html
>
> I hacked a similar thing into my 4.0.4 kernel, and now bridged mode
> AP seems much more stable (and the radio does not go into PROMISC mode,
> so it should be more efficient in a busy RF environment).
>
> Maybe this feature could be revisited?

This has already been done and mac80211 in 4.2-rc no longer propagates
promisc to drivers[1].

[1]: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/net/mac80211?id=df1404650ccbfeb76a84f301f22316be0d00a864


MichaƂ