HomeFreeBSD

net80211: consistently use the IEEE80211_M_ memory related options

Description

net80211: consistently use the IEEE80211_M_ memory related options

Replace a malloc() by IEEE80211_MALLOC().
For malloc flags even in the local ieee80211_freebsd.c there was a mix
of both versions M_ and IEEE80211_M_.
Consistently use the IEEE80211_M_ malloc options everywhere.
If the field is changed for malloc, it'll also be changed for the
other accessor functions taking a "how" field to avoid any confusion.

Sponsored by: The FreeBSD Foundation
Reviewed by: adrian
Differential Revision: https://reviews.freebsd.org/D36249

(cherry picked from commit bd29f81763aa9cac74c75b663c2cf46723f05528)

Details

Provenance
bzAuthored on Aug 17 2022, 6:33 PM
Reviewer
adrian
Differential Revision
D36249: net80211: consistently use the IEEE80211_M_ memory related options
Parents
rG6613ad85b294: net80211: LinuxKPI 802.11: harmonize IEEE80211_VHT_MCS_*
Branches
Unknown
Tags
Unknown