Index | Thread | Search

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: sys/iwx: support of 160Mhz window at 5Ghz
To:
tech@openbsd.org
Date:
Sun, 22 Mar 2026 22:00:50 +0100

Download raw body.

Thread
On Sun, Mar 22, 2026 at 09:56:18PM +0100, Stefan Sperling wrote:
> On Sun, Mar 22, 2026 at 09:07:37PM +0100, Kirill A. Korinsky wrote:
> > And in beacon I see: Channel Width: 80 MHz, 160 MHz or 80+80 MHz BSS
> > Bandwidth (1).
> 
> I checked our net80211 headers first, which still list value 2 as 160 MHz.
> 
> Turns out the 802.11 spec has since deprecated values 2 and 3. Wireshark is
> correct that this value by itself doesn't mean anything and can be set to 1
> in all cases. We need to check the two bytes following this value specify
> the center frequency of two 80 MHz portions of a 160 MHz channel.

And in case it wasn't clear, this means that the function
ieee80211_node_supports_vht_chan160() will always return false at present
because it checks for the deprecated value 2 here:

	return (op_chan_width == IEEE80211_VHTOP0_CHAN_WIDTH_160);

Which would explain why 160 MHz is not actually being used for transmit
with your patch.