/* SPDX-License-Identifier: GPL-2.0-only */ /* * Utilities for cfg80211 unit testing * * Copyright (C) 2023 Intel Corporation */ #ifndef __CFG80211_UTILS_H #define __CFG80211_UTILS_H #define CHAN2G(_freq) … static const struct ieee80211_channel channels_2ghz[] = …; struct t_wiphy_priv { … }; #define T_WIPHY(test, ctx) … #define t_wiphy_ctx(wiphy) … int t_wiphy_init(struct kunit_resource *resource, void *data); void t_wiphy_exit(struct kunit_resource *resource); #define t_skb_remove_member(skb, type, member) … #endif /* __CFG80211_UTILS_H */