CVSROOT:        /cvs
Module name:    src
Changes by:     s...@cvs.openbsd.org    2020/04/03 02:32:21

Modified files:
        sys/dev/pci    : if_iwm.c if_iwmvar.h if_iwx.c if_iwxvar.h 

Log message:
Fix an automatic Tx rate control issue in iwm(4) and iwx(4).

During a transmit burst, e.g. while tcpbench is running, iwm and iwx will
queue up to 224 frames on the Tx ring.

Rate control will make decisions a lot more often than just every 224 frames.
Which means that results were reported and evaluated even if they did not
correspond to the most recently chosen rate, spoiling the data available
to the rate control algorithm.

Prevent this problem by only reporting frames which match the currently
chosen Tx rate.

ok mpi@

Reply via email to