Page MenuHomeFreeBSD

[iwm] Use mbuf for large firmware commands, like OpenBSD does.
ClosedPublic

Authored by imre_vdsz.com on Jun 12 2016, 1:10 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Aug 21, 1:44 PM
Unknown Object (File)
Mon, Aug 18, 12:06 PM
Unknown Object (File)
Fri, Aug 15, 6:20 PM
Unknown Object (File)
Sun, Aug 3, 2:00 AM
Unknown Object (File)
Sat, Aug 2, 10:44 AM
Unknown Object (File)
Jul 7 2025, 2:36 AM
Unknown Object (File)
Jul 5 2025, 7:42 PM
Unknown Object (File)
Jun 12 2025, 2:29 PM
Subscribers

Details

Summary
  • We also need to consider the size of large firmware commands in iwm_alloc_tx_ring(), in the dma tag creation, when qid == IWM_MVM_CMD_QUEUE. The old code apparently only allocated a 2KB (MCLBYTES) sized buffer when it actually expected 4KB.

Obtained from: DragonFlyBSD 65b2e1ba01c1ac9098eebea118d71cbc78eac25a

Test Plan

Tested on Intel AC 7260.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

imre_vdsz.com retitled this revision from to [iwm] Use mbuf for large firmware commands, like OpenBSD does..
imre_vdsz.com updated this object.
imre_vdsz.com edited the test plan for this revision. (Show Details)
imre_vdsz.com added a reviewer: adrian.
adrian edited edge metadata.
This revision is now accepted and ready to land.Jun 22 2016, 4:38 PM
This revision was automatically updated to reflect the committed changes.