linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ivo van Doorn <ivdoorn@gmail.com>
To: Andy Green <andy@warmcat.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: Question about packet injection
Date: Thu, 1 Mar 2007 16:22:17 +0100	[thread overview]
Message-ID: <200703011622.17602.IvDoorn@gmail.com> (raw)
In-Reply-To: <45E6ED0B.20100@warmcat.com>

On Thursday 01 March 2007 16:11, Andy Green wrote:
> Hi folks -
> 
> As suggested here I migrated my daemon to using a per-physical device 
> monitor mode interface it creates and destroys from usermode, together 
> with libpcap for filtering and receiving broadcasts and that seems to be 
> working okay.  So that is half the battle to get the broadcast system 
> working with mac80211 out of the box without patches.
> 
> However, if I inject a captured packet - with a PRISM header prepended - 
> down the Monitor mode interface using pcap_inject(), I see it appear on 
> the libpcap captured output okay, but it does not go out on the air AFAICT.
> 
> Is this in fact the correct way to try to inject a packet with fine 
> control over its encryption and rate?  If so is it expected to currently 
> work on iwlwifi 0.0.8 or rt2x00 (rt73usb) from CVS 2008-02-14?

Note that rt73usb is currently broken, I know that RX isn't working
because scanning fails. Chances are quite high that TX is failing too.
I am still looking into that issue, but it might be the reason why
packet injection is failing for you.

Ivo

  parent reply	other threads:[~2007-03-01 15:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-27 11:48 [RFC] Penumbra - Enabling unencrypted broadcasts alongside normal traffic Andy Green
2007-02-27 12:59 ` Johannes Berg
2007-02-27 13:30   ` Andy Green
2007-02-27 16:47 ` Jouni Malinen
2007-02-27 20:42   ` Andy Green
2007-03-01 15:11     ` Question about packet injection Andy Green
2007-03-01 15:21       ` Johannes Berg
2007-03-01 15:22       ` Ivo van Doorn [this message]
2007-03-01 17:14         ` Andy Green

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200703011622.17602.IvDoorn@gmail.com \
    --to=ivdoorn@gmail.com \
    --cc=andy@warmcat.com \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).