Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jun 2006 08:31:36 -0700
From:      Sam Leffler <sam@errno.com>
To:        Andrea Bittau <a.bittau@cs.ucl.ac.uk>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: if_ath raw 802.11 packet injection patch when in monitor mode
Message-ID:  <449D5AD8.5090003@errno.com>
In-Reply-To: <20060624124111.GA26914@shorty.sorbonet.org>
References:  <20060624124111.GA26914@shorty.sorbonet.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Andrea Bittau wrote:
> I think it would be useful to have 802.11 packet injection support in the
> mainstream driver.  This would allow people, amongst other things, to run
> user-land access points and clients.  Below is a crude patch for doing so.  The
> only problem is that ACKs are not sent in time.  I know a fix, but it's a bit of
> a hack and a better solution is needed.  I've tried contacting Sam but failed
> [e-mail bounced].  Hopefully he will see this, and if he's interested, I could
> make the patch better.
> 

	<...patch removed...>

Thanks for the contribution.  Sending packets in monitor mode is a
mistake; you should use adhoc demo mode.  Future versions of the hal are
likely to disallow packet transmission.

I've had changes to send 802.11 frames via bpf for a long time (12+
months).  They go through the net80211 layer and are device independent.
 I'll try to clean 'em up so you can try them.

	Sam



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?449D5AD8.5090003>