Page MenuHomeFreeBSD

[iwm] Sync if_iwm_phy_db code with Linux iwlwifi.
Needs ReviewPublic

Authored by ivadasz on Nov 16 2016, 9:15 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jun 19, 12:09 AM
Unknown Object (File)
May 21 2026, 11:04 PM
Unknown Object (File)
May 21 2026, 11:03 PM
Unknown Object (File)
May 20 2026, 9:58 PM
Unknown Object (File)
May 8 2026, 12:16 AM
Unknown Object (File)
Apr 16 2026, 7:51 PM
Unknown Object (File)
Apr 12 2026, 8:35 AM
Unknown Object (File)
Apr 9 2026, 8:16 AM
Subscribers
None

Details

Reviewers
cognet
adrian
Summary

This dynamically allocates some arrays now, which were statically sized
in the existing code from an older iwlwifi version.

Obtained from: DragonFlyBSD

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 5965
Build 6243: arc lint + arc unit

Event Timeline

ivadasz retitled this revision from to [iwm] Sync if_iwm_phy_db code with Linux iwlwifi..
ivadasz updated this object.
ivadasz added reviewers: adrian, cognet.

the rest of the patch looks good. let's just change M_DEVBUF to M_IWM and declare a new malloc type.

sys/dev/iwm/if_iwm_phy_db.c
227

please create a M_IWM malloc type so we can easily track this stuff. Having random device stuff in M_DEVBUF makes tracking leaks suck.