blob: b1a3754ee240525d6301046f73265593436dc0f4 [file] [log] [blame]
Jiri Bence9f207f2007-05-05 11:46:38 -07001#ifndef __MAC80211_DEBUGFS_KEY_H
2#define __MAC80211_DEBUGFS_KEY_H
3
4#ifdef CONFIG_MAC80211_DEBUGFS
Johannes Berg3b967662008-04-08 17:56:52 +02005void ieee80211_debugfs_key_add(struct ieee80211_key *key);
Jiri Bence9f207f2007-05-05 11:46:38 -07006void ieee80211_debugfs_key_remove(struct ieee80211_key *key);
7void ieee80211_debugfs_key_add_default(struct ieee80211_sub_if_data *sdata);
8void ieee80211_debugfs_key_remove_default(struct ieee80211_sub_if_data *sdata);
Jiri Bence9f207f2007-05-05 11:46:38 -07009void ieee80211_debugfs_key_sta_del(struct ieee80211_key *key,
10 struct sta_info *sta);
11#else
Johannes Berg3b967662008-04-08 17:56:52 +020012static inline void ieee80211_debugfs_key_add(struct ieee80211_key *key)
Jiri Bence9f207f2007-05-05 11:46:38 -070013{}
14static inline void ieee80211_debugfs_key_remove(struct ieee80211_key *key)
15{}
16static inline void ieee80211_debugfs_key_add_default(
17 struct ieee80211_sub_if_data *sdata)
18{}
19static inline void ieee80211_debugfs_key_remove_default(
20 struct ieee80211_sub_if_data *sdata)
21{}
Jiri Bence9f207f2007-05-05 11:46:38 -070022static inline void ieee80211_debugfs_key_sta_del(struct ieee80211_key *key,
23 struct sta_info *sta)
24{}
25#endif
26
27#endif /* __MAC80211_DEBUGFS_KEY_H */