CVSROOT: /cvs Module name: src Changes by: s...@cvs.openbsd.org 2020/04/13 12:41:31
Modified files: sys/dev/pci : if_iwn.c Log 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@