Yes, I agree that they are different things, but I can also see the packets through the monitor interface created via iw. Is this expected too? On Fri, Sep 27, 2019 at 9:16 AM Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: > > 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 >