OpenBSD cvs log

created 2020-04-25T17:52:21Z
begin 2020-04-13T00:00:00Z
end 2020-04-14T00:00:00Z
path src/sys
commits 2

date 2020-04-13T18:41:30Z
author stsp
files src/sys/dev/pci/if_iwn.c log diff annotate
message Fix a recently introduced iwn(4) problem where the link gets stuck since
every CCMP encrypted frame is discarded by the AP as a replay.

This happened because of CCMP frames with out of range PNs sent by hardware.
It seems iwn firmware doesn't like it if we reset the Tx scheduler slot for
a frame which is still within the firmware's block ack window, even if the
frame has already been ACKed. So frames now get cleared off the Tx queue
only when the block ack window has moved past them, which is good enough and
seems to prevent the problem.

Problem reproduced and fix tested by both myself and jca@

date 2020-04-13T21:34:54Z
author kettenis
files src/sys/arch/arm64/include/bus.h log diff annotate
message Fix some of the more esoteric bus_space functions. The
bus_space_read_region_n, bus_space_write_region_n and
bus_space_set_region_n functions were all broken.

Fixes mvneta(4) on arm64.

ok patrick@