HomeFreeBSD

linuxkpi: add ieee80211_node.h to headers to include before LIST_HEAD

Description

linuxkpi: add ieee80211_node.h to headers to include before LIST_HEAD

ieee80211_node.h uses LIST_HEAD() which LinuxKPI redefines and this
can lead to problems (see comment there). Make sure the net80211
header file is handled correctly by adding it to the list of files
to include before re-defining the macro.
Also add header files needed as dependencies.

Sponsored-by: The FreeBSD Foundation
MFC-after: 2 weeks
Reviewed-by: philip, hselasky
Differential Revision: https://reviews.freebsd.org/D29336

Details

Provenance
bzAuthored on Mar 18 2021, 10:23 PM
Differential Revision
D29336: linuxkpi: add ieee80211_node.h to headers to include before LIST_HEAD
Parents
rGaf7d9f8e31c4: net80211: prefix get_random_bytes() with net80211_
Branches
Unknown
Tags
Unknown