Page MenuHomeFreeBSD

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

Authored by avg on Jun 18 2021, 3:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 20, 12:01 AM
Unknown Object (File)
Mon, Nov 17, 10:51 PM
Unknown Object (File)
Thu, Nov 6, 1:33 AM
Unknown Object (File)
Sun, Nov 2, 5:27 AM
Unknown Object (File)
Sat, Oct 25, 8:14 AM
Unknown Object (File)
Oct 22 2025, 10:10 AM
Unknown Object (File)
Oct 21 2025, 9:38 AM
Unknown Object (File)
Sep 24 2025, 5:23 PM
Subscribers

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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 39974
Build 36863: arc lint + arc unit