Don't announce VHT caps on 2GHz channels during iwm(4) and iwx(4) scans.
authorstsp <stsp@openbsd.org>
Sun, 20 Mar 2022 11:59:39 +0000 (11:59 +0000)
committerstsp <stsp@openbsd.org>
Sun, 20 Mar 2022 11:59:39 +0000 (11:59 +0000)
commit702dc30212c1ab0de748666aa0fe684270268674
tree870083d225800aeea38aca2d026974ca248338fa
parentfcbcf98bc92c7299cd9ebe1c69dc13bc93220228
Don't announce VHT caps on 2GHz channels during iwm(4) and iwx(4) scans.

VHT capabilities were written into the "common" secion of the firmware
probe request frame template. This section is used on 2GHz and 5GHz bands.
Announcing VHT capabilities on 2GHz makes no sense.
Move them into the 5GHz-only section.

ok sthen@
sys/dev/pci/if_iwm.c
sys/dev/pci/if_iwx.c