| 1 | /* SPDX-License-Identifier: GPL-2.0 */ | 
|---|
| 2 | #ifndef __MAC80211_DEBUGFS_KEY_H | 
|---|
| 3 | #define __MAC80211_DEBUGFS_KEY_H | 
|---|
| 4 |  | 
|---|
| 5 | #ifdef CONFIG_MAC80211_DEBUGFS | 
|---|
| 6 | void ieee80211_debugfs_key_add(struct ieee80211_key *key); | 
|---|
| 7 | void ieee80211_debugfs_key_remove(struct ieee80211_key *key); | 
|---|
| 8 | void ieee80211_debugfs_key_update_default(struct ieee80211_sub_if_data *sdata); | 
|---|
| 9 | void ieee80211_debugfs_key_remove_mgmt_default( | 
|---|
| 10 | struct ieee80211_sub_if_data *sdata); | 
|---|
| 11 | void ieee80211_debugfs_key_remove_beacon_default( | 
|---|
| 12 | struct ieee80211_sub_if_data *sdata); | 
|---|
| 13 | #else | 
|---|
| 14 | static inline void ieee80211_debugfs_key_add(struct ieee80211_key *key) | 
|---|
| 15 | {} | 
|---|
| 16 | static inline void ieee80211_debugfs_key_remove(struct ieee80211_key *key) | 
|---|
| 17 | {} | 
|---|
| 18 | static inline void ieee80211_debugfs_key_update_default( | 
|---|
| 19 | struct ieee80211_sub_if_data *sdata) | 
|---|
| 20 | {} | 
|---|
| 21 | static inline void ieee80211_debugfs_key_remove_mgmt_default( | 
|---|
| 22 | struct ieee80211_sub_if_data *sdata) | 
|---|
| 23 | {} | 
|---|
| 24 | static inline void ieee80211_debugfs_key_remove_beacon_default( | 
|---|
| 25 | struct ieee80211_sub_if_data *sdata) | 
|---|
| 26 | {} | 
|---|
| 27 | #endif | 
|---|
| 28 |  | 
|---|
| 29 | #endif /* __MAC80211_DEBUGFS_KEY_H */ | 
|---|
| 30 |  | 
|---|