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)
Sat, Apr 6, 1:39 AM
Unknown Object (File)
Dec 20 2023, 4:18 AM
Unknown Object (File)
Nov 15 2023, 2:37 PM
Unknown Object (File)
Nov 11 2023, 5:16 AM
Unknown Object (File)
Oct 14 2023, 1:43 PM
Unknown Object (File)
Oct 10 2023, 4:11 AM
Unknown Object (File)
Sep 17 2023, 5:52 AM
Unknown Object (File)
Sep 9 2023, 11:52 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.