> I have noticed that the Rx trace source of WifiNetDevice is called
> whenever _any_ frame is received, including overheard ones -- i.e.
> directed to some other host.
Can you be a bit more specific here ?
[snip]
> As far as I could understand, this code checks whether the received L2
> payload should be passed to upper layers (i.e. it is either broadcast,
> multicast or unicast directed to the current host) or not (case
> PACKET_OTHERHOST). In the latter case, it is only passed to upper
> layers if the promiscuous mode is activated.
> Nevertheless, m_rxLogger is called before the switch statement, i.e.
> in _all_ the above cases, including the one in which the frame is
> directed to another host.
Ok, I understand your concern better now. Would you mind file a bug to
keep track of this issue ? (if you have not done so yet)
regards,
Mathieu