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)
Thu, Oct 1, 6:15 AM
Unknown Object (File)
Sat, Sep 26, 8:11 PM
Unknown Object (File)
Fri, Sep 25, 9:51 PM
Unknown Object (File)
Fri, Sep 25, 9:23 AM
Unknown Object (File)
Fri, Sep 25, 8:23 AM
Unknown Object (File)
Mon, Sep 21, 10:44 AM
Unknown Object (File)
Fri, Sep 18, 5:47 AM
Unknown Object (File)
Aug 21 2026, 6:54 PM
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.