OpenBSD cvs log

created 2023-11-12T08:20:25Z
begin 2023-11-06T00:00:00Z
end 2023-11-07T00:00:00Z
path src/sys
commits 2

date 2023-11-06T08:34:41Z
author stsp
files src/sys/dev/pci/if_iwm.c log diff annotate
message avoid using MCS9 in iwm(4) Tx rate selection if 40 MHz is disabled

MCS9 is not valid on 20HMz so we must not use it in 20MHz-only mode.
Fixes firmware panic 0x00002078, which indicates the driver sets a rate
with a bad number of antennas, bad number of Tx streams, or bad bandwidth.

Observed by dlg@ with the miktrotik AP for which iwm(4) firmware requires
our 20MHz-only workaround to interoperate in 11ac mode.

ok dlg@

date 2023-11-06T20:59:26Z
author jca
files src/sys/arch/riscv64/include/apmvar.h log diff annotate
message Provide machine/apmvar.h on riscv64 too

OpenBSD/riscv64 doesn't provide suspend/resume or battery support yet,
but some ports need this interface at build time, so provide it.

ok phessler@