Ensure that iwm/iwx devices announce VHT capabilities in probe requests.
authorstsp <stsp@openbsd.org>
Wed, 20 Dec 2023 07:32:05 +0000 (07:32 +0000)
committerstsp <stsp@openbsd.org>
Wed, 20 Dec 2023 07:32:05 +0000 (07:32 +0000)
commitbe47d0a5f00c62ce8dd784cf7f90f635203434ae
treed732dabba2643694d5650bc2c511d621a54c7dc0
parent725135314a4cafc7d61306abf2bbd9676a7542e0
Ensure that iwm/iwx devices announce VHT capabilities in probe requests.

The previous code did not update the per-band-data length field,
resulting in firmware skipping the VHT information element in the
probe-request frame template.

Patch by Mikhail Pchelin
sys/dev/pci/if_iwm.c
sys/dev/pci/if_iwx.c