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)
Fri, Apr 26, 4:49 PM
Unknown Object (File)
Fri, Apr 26, 3:13 PM
Unknown Object (File)
Fri, Apr 26, 3:13 PM
Unknown Object (File)
Fri, Apr 26, 11:51 AM
Unknown Object (File)
Thu, Apr 25, 10:34 PM
Unknown Object (File)
Thu, Apr 25, 10:34 PM
Unknown Object (File)
Thu, Apr 25, 10:32 PM
Unknown Object (File)
Thu, Apr 25, 10:32 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.