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)
Wed, Dec 31, 12:57 PM
Unknown Object (File)
Nov 19 2025, 1:55 PM
Unknown Object (File)
Nov 11 2025, 1:07 AM
Unknown Object (File)
Oct 29 2025, 10:44 AM
Unknown Object (File)
Oct 29 2025, 10:44 AM
Unknown Object (File)
Oct 29 2025, 4:29 AM
Unknown Object (File)
Oct 21 2025, 6:11 PM
Unknown Object (File)
Oct 9 2025, 10:56 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.