linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* iwlwifi: 8265: unexpected LLC packets TX'ed in monitor mode
@ 2020-05-13 17:48 Marco Fonseca
  2020-05-25  9:23 ` Johannes Berg
  0 siblings, 1 reply; 4+ messages in thread
From: Marco Fonseca @ 2020-05-13 17:48 UTC (permalink / raw)
  To: linux-wireless

Hello,

While in monitor mode, the 8265 will periodically transmit gratuitous
LLC packets.  In this mode, I would expect the wifi chipset to not
transmit any packets at all (unless packet injection is being used).

This behavior can be observed by a second wifi device in monitor mode.
A display filter on wireshark/tshark of 'llc' makes these easy to spot.

It seems these packets only get produced in presence of a few APs
and/or STAs but I'm not sure of the exact cause.  I don't see the LLC
packets on very quiet channels.

Other Details
-------------

wifi chipset:
  Intel(R) Dual Band Wireless AC 8265, REV=0x230

kernel:
  4.9.11 kernel

backports driver:
  iwlwifi-stack-public:release/core33:6653:327571a8

  I can use other backports versions if needed, but this was the
  version called out in:
  https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi/core_release

Firmware:
36.952d9faa.0


Thank you,

Marco Fonseca


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: iwlwifi: 8265: unexpected LLC packets TX'ed in monitor mode
  2020-05-13 17:48 iwlwifi: 8265: unexpected LLC packets TX'ed in monitor mode Marco Fonseca
@ 2020-05-25  9:23 ` Johannes Berg
  2020-05-28 14:26   ` Marco
  0 siblings, 1 reply; 4+ messages in thread
From: Johannes Berg @ 2020-05-25  9:23 UTC (permalink / raw)
  To: Marco Fonseca, linux-wireless

On Wed, 2020-05-13 at 13:48 -0400, Marco Fonseca wrote:
> Hello,
> 
> While in monitor mode, the 8265 will periodically transmit gratuitous
> LLC packets.  In this mode, I would expect the wifi chipset to not
> transmit any packets at all (unless packet injection is being used).
> 
> This behavior can be observed by a second wifi device in monitor mode.
> A display filter on wireshark/tshark of 'llc' makes these easy to spot.
> 
> It seems these packets only get produced in presence of a few APs
> and/or STAs but I'm not sure of the exact cause.  I don't see the LLC
> packets on very quiet channels.

I think these are somehow related to calibrations in the device.

johannes


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: iwlwifi: 8265: unexpected LLC packets TX'ed in monitor mode
  2020-05-25  9:23 ` Johannes Berg
@ 2020-05-28 14:26   ` Marco
  2020-05-28 14:53     ` Johannes Berg
  0 siblings, 1 reply; 4+ messages in thread
From: Marco @ 2020-05-28 14:26 UTC (permalink / raw)
  To: Johannes Berg, linux-wireless

On Mon May 25, 2020 at 7:23 AM EDT, Johannes Berg wrote:
> On Wed, 2020-05-13 at 13:48 -0400, Marco Fonseca wrote:
> > Hello,
> > 
> > While in monitor mode, the 8265 will periodically transmit gratuitous
> > LLC packets.  In this mode, I would expect the wifi chipset to not
> > transmit any packets at all (unless packet injection is being used).
> > 
> > This behavior can be observed by a second wifi device in monitor mode.
> > A display filter on wireshark/tshark of 'llc' makes these easy to spot.
> > 
> > It seems these packets only get produced in presence of a few APs
> > and/or STAs but I'm not sure of the exact cause.  I don't see the LLC
> > packets on very quiet channels.
>
> I think these are somehow related to calibrations in the device.
>
> johannes

Are you perhaps implying that I can alter calibration settings to fix
this problem?  If you have any pointers to this it would be
appreciative.

Regardless though, I would still expect the default behavior to not
emit packets when in monitor mode, unless the user directs it to;
similar to what I've seen from other wifi chipsets.

Marco

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: iwlwifi: 8265: unexpected LLC packets TX'ed in monitor mode
  2020-05-28 14:26   ` Marco
@ 2020-05-28 14:53     ` Johannes Berg
  0 siblings, 0 replies; 4+ messages in thread
From: Johannes Berg @ 2020-05-28 14:53 UTC (permalink / raw)
  To: Marco, linux-wireless

On Thu, 2020-05-28 at 10:26 -0400, Marco wrote:
> 
> > I think these are somehow related to calibrations in the device.
> 
> Are you perhaps implying that I can alter calibration settings to fix
> this problem?  If you have any pointers to this it would be
> appreciative.

No, I don't know if this is possible. I'm just telling you what I think
the reason for them is.

> Regardless though, I would still expect the default behavior to not
> emit packets when in monitor mode, unless the user directs it to;
> similar to what I've seen from other wifi chipsets.

I have no idea precisely why (for what kind of calibration) these are
transmitted and if it could be changed, I guess you could try contacting
Intel's customer support?

johannes


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-05-28 14:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-13 17:48 iwlwifi: 8265: unexpected LLC packets TX'ed in monitor mode Marco Fonseca
2020-05-25  9:23 ` Johannes Berg
2020-05-28 14:26   ` Marco
2020-05-28 14:53     ` Johannes Berg

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).