Subject: kern/31421: bridge(4) doesn't bridge 802.11 beacons
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <jmcneill@invisible.ca>
List: netbsd-bugs
Date: 09/29/2005 23:02:00
>Number:         31421
>Category:       kern
>Synopsis:       bridge(4) doesn't bridge 802.11 beacons
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 29 23:02:00 +0000 2005
>Originator:     jmcneill@NetBSD.org
>Release:        NetBSD 3.99.9
>Organization:
	
>Environment:
	
	
System: NetBSD discovery.invisible.ca 3.99.9 NetBSD 3.99.9 (DISCOVERY) #26: Thu Sep 29 18:49:43 ADT 2005 jmcneill@discovery.invisible.ca:/usr/obj/sys/arch/i386/compile/DISCOVERY i386
Architecture: i386
Machine: i386
>Description:
	I have an application that attempts to read from a tap device, and
	tunnel 802.11 packets over IP. Unfortunately, 802.11 beacons aren't
	passed to the tap device, so I can't replicate the wireless packets
	on the other side.
>How-To-Repeat:
	ifconfig bridge0 create
	ifconfig tap0 create
	ifconfig tap0 up
	brconfig bridge0 add "${WINTF}"
	brconfig bridge0 add tap0
	brconfig bridge0 -learn "${WINTF}"
	brconfig bridge0 discover "${WINTF}"
	brconfig bridge0 -learn tap0
	brconfig bridge0 discover tap0
	brconfig bridge0 flush
	brconfig bridge0 up

	Then attempt to read from /dev/tap0, notice that you won't see any
	802.11 beacons.
>Fix:
	Not sure yet.

>Unformatted: