Page MenuHomeFreeBSD

rtwn: make sure to not write in upper bits of txdseq
ClosedPublic

Authored by avg on Jun 18 2021, 3:00 PM.

Details

Summary

ni_txseqs is kept as 16-bit counter, but we need to trim the upper four
bits as they may have special meanings for the firware.
For instance, bit 15 enables hardware / firmware generation of sequence
numbers that overrides sequence numbers programmed by the driver.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.