]> Git Repo - linux.git/blame - net/mac80211/debugfs_key.h
Merge tag 'pidfd.v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner...
[linux.git] / net / mac80211 / debugfs_key.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
e9f207f0
JB
2#ifndef __MAC80211_DEBUGFS_KEY_H
3#define __MAC80211_DEBUGFS_KEY_H
4
5#ifdef CONFIG_MAC80211_DEBUGFS
3b96766f 6void ieee80211_debugfs_key_add(struct ieee80211_key *key);
e9f207f0 7void ieee80211_debugfs_key_remove(struct ieee80211_key *key);
f7e0104c 8void ieee80211_debugfs_key_update_default(struct ieee80211_sub_if_data *sdata);
3cfcf6ac
JM
9void ieee80211_debugfs_key_add_mgmt_default(
10 struct ieee80211_sub_if_data *sdata);
11void ieee80211_debugfs_key_remove_mgmt_default(
12 struct ieee80211_sub_if_data *sdata);
e5473e80
JM
13void ieee80211_debugfs_key_add_beacon_default(
14 struct ieee80211_sub_if_data *sdata);
15void ieee80211_debugfs_key_remove_beacon_default(
16 struct ieee80211_sub_if_data *sdata);
e9f207f0
JB
17void ieee80211_debugfs_key_sta_del(struct ieee80211_key *key,
18 struct sta_info *sta);
19#else
3b96766f 20static inline void ieee80211_debugfs_key_add(struct ieee80211_key *key)
e9f207f0
JB
21{}
22static inline void ieee80211_debugfs_key_remove(struct ieee80211_key *key)
23{}
f7e0104c 24static inline void ieee80211_debugfs_key_update_default(
e9f207f0
JB
25 struct ieee80211_sub_if_data *sdata)
26{}
3cfcf6ac
JM
27static inline void ieee80211_debugfs_key_add_mgmt_default(
28 struct ieee80211_sub_if_data *sdata)
29{}
30static inline void ieee80211_debugfs_key_remove_mgmt_default(
31 struct ieee80211_sub_if_data *sdata)
32{}
e5473e80
JM
33static inline void ieee80211_debugfs_key_add_beacon_default(
34 struct ieee80211_sub_if_data *sdata)
35{}
36static inline void ieee80211_debugfs_key_remove_beacon_default(
37 struct ieee80211_sub_if_data *sdata)
38{}
e9f207f0
JB
39static inline void ieee80211_debugfs_key_sta_del(struct ieee80211_key *key,
40 struct sta_info *sta)
41{}
42#endif
43
44#endif /* __MAC80211_DEBUGFS_KEY_H */
This page took 0.77933 seconds and 4 git commands to generate.