From: Johannes Berg <johannes@sipsolutions.net>
To: Ramon Fontes <ramonreisfontes@gmail.com>, linux-wireless@vger.kernel.org
Subject: Re: mac80211_hwsim: packets being transmitted through the monitor interface
Date: Fri, 27 Sep 2019 14:16:11 +0200 [thread overview]
Message-ID: <49ded6ae8a23c29168ab7061235292ac7a853e0f.camel@sipsolutions.net> (raw)
In-Reply-To: <CAK8U23ZyFnYt+ePreGjFA2VFXnpu21SPthscvJhP-5xjQCb0OA@mail.gmail.com> (sfid-20190927_035500_898243_B3F3D103)
On Thu, 2019-09-26 at 22:54 -0300, Ramon Fontes wrote:
> Hello,
>
> I've noticed that packets transmitted between two clients connected to
> a hostapd AP are also transmitted (injected) through the monitor
> interface. Is this expected behavior?
You mean on 'hwsim0'? That interface is just for monitoring what's
happening on the 'virtual air', so yes.
> I can easily modify such
> behavior by changing mac80211_hwsim, but it works only with hwsim0. On
> the other hand, if I create a monitor interface via iw it doesn't
> work.
The two are completely different/unrelated things.
johannes
next prev parent reply other threads:[~2019-09-27 12:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-27 1:54 mac80211_hwsim: packets being transmitted through the monitor interface Ramon Fontes
2019-09-27 12:16 ` Johannes Berg [this message]
2019-09-27 12:30 ` Ramon Fontes
2019-09-27 12:35 ` Johannes Berg
2019-09-27 13:01 ` Ramon Fontes
2019-09-27 14:00 ` Johannes Berg
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=49ded6ae8a23c29168ab7061235292ac7a853e0f.camel@sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=ramonreisfontes@gmail.com \
/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).