Search Linux Wireless

Re: [PATCH] bcm43xx: honour promisc bit even in monitor mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 20 June 2007 01:30:38 Johannes Berg wrote:
> When bcm43xx goes into monitor mode, it always is a promisc monitor
> mode. For the hostapd using monitor interfaces, we'll want to only go
> into monitor mode if it's really required. I previously thought that
> this requires changes to mac80211, but mac80211 does in fact already
> seem to handle IFF_PROMISC appropriately. Hence, this change is the
> only required to get proper semantics for a monitor interface that
> isn't in promiscuous mode on bcm43xx.
> 
> Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>
> 
> ---
> Since wireshark/tcpdump by default still set IFF_PROMISC everything will
> work just fine, but if somebody really wants a monitor interface that
> isn't promisc this makes it work too. However, you'll of course get all
> packets still if any other interface is set promisc. We don't do any
> promisc/non-promisc filtering in the stack when multiple monitor
> interfaces are open.

Applied, thanks.

-- 
Greetings Michael.
-
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

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux