linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jouni Malinen <j@w1.fi>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-wireless@vger.kernel.org
Subject: Re: mac80211_hwsim - simulator of 802.11 radios for mac80211
Date: Tue, 10 Jun 2008 15:47:24 +0300	[thread overview]
Message-ID: <20080610124724.GB6961@jm.kir.nu> (raw)
In-Reply-To: <1213096575.3668.6.camel@johannes.berg>

On Tue, Jun 10, 2008 at 01:16:15PM +0200, Johannes Berg wrote:
> On Tue, 2008-06-10 at 13:50 +0300, Jouni Malinen wrote:
> > If there is interest in moving mac80211_hwsim module into the Linux
> > kernel tree, I'm open to doing that, too.
> 
> I think that would make sense, yes, especially since one look at the
> code already tells me that it needs to follow large API changes to work
> with the current mac80211.

I'm currently running Linux 2.6.25 on my laptop and as such, this is
indeed not based on the latest changes. I'll fix couple of issues in the
current code with 2.6.25-based version and then look into making a
submission against wireless-testing (or if there are large, pending
patches that are not yet there, against something including those
changes).

> One thing caught my eye: you use GFP_KERNEL in the tx routine, that's
> not good, it is running under a spinlock.

Thanks, I'll fix that. I was trying to follow the documentation in
net/mac80211.h to verify that it is correct, but clearly I missed the
comment on tx() about the handler having to be atomic.

> One thing that I'd like to add is a having a "global" monitor interface
> that is registered by the hwsim module and not mac80211 and shows all
> frames, regardless of channel etc.

Yes, I've been thinking of something similar, too. I'll add a netdev
that gets all frames with radiotap header.

-- 
Jouni Malinen                                            PGP id EFC895FA 

  parent reply	other threads:[~2008-06-10 12:48 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-10 10:50 mac80211_hwsim - simulator of 802.11 radios for mac80211 Jouni Malinen
2008-06-10 11:16 ` Johannes Berg
2008-06-10 12:30   ` John W. Linville
2008-06-10 13:11     ` Johannes Berg
2008-06-10 15:24       ` John W. Linville
2008-06-10 18:37         ` [PATCH RFC] mac80211_hwsim Jouni Malinen
2008-06-10 19:00           ` Johannes Berg
2008-06-11  6:57             ` Jouni Malinen
2008-06-11 12:07               ` Johannes Berg
2008-06-11 12:54                 ` Tomas Winkler
2008-06-10 12:47   ` Jouni Malinen [this message]
2008-06-10 13:09     ` mac80211_hwsim - simulator of 802.11 radios for mac80211 Johannes Berg
2008-06-10 13:12       ` Johannes Berg
2008-06-10 15:02       ` Jouni Malinen
2008-06-10 15:11         ` Johannes Berg
2008-06-10 16:31           ` Jouni Malinen
2008-06-10 14:22 ` Dan Williams

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=20080610124724.GB6961@jm.kir.nu \
    --to=j@w1.fi \
    --cc=johannes@sipsolutions.net \
    --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).