add devicescape 802.11 stack
[openwrt/staging/mkresin.git] / openwrt / target / linux / package / ieee80211-dscape / src / ieee80211_proc.h
1 /*
2 * Copyright 2003-2004, Instant802 Networks, Inc.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
8
9 #ifndef IEEE80211_PROC_H
10 #define IEEE80211_PROC_H
11
12 #ifdef CONFIG_PROC_FS
13
14 void ieee80211_proc_init_sta(struct ieee80211_local *local,
15 struct sta_info *sta);
16 void ieee80211_proc_deinit_sta(struct ieee80211_local *local,
17 struct sta_info *sta);
18 void ieee80211_proc_init_virtual(struct net_device *dev);
19 void ieee80211_proc_deinit_virtual(struct net_device *dev);
20 void ieee80211_proc_init_interface(struct ieee80211_local *local);
21 void ieee80211_proc_deinit_interface(struct ieee80211_local *local);
22 void ieee80211_proc_init(void);
23 void ieee80211_proc_deinit(void);
24
25 #else /* CONFIG_PROC_FS */
26
27 static inline void ieee80211_proc_init_sta(struct ieee80211_local *local,
28 struct sta_info *sta) {}
29 static inline void ieee80211_proc_deinit_sta(struct ieee80211_local *local,
30 struct sta_info *sta) {}
31 static inline void ieee80211_proc_init_virtual(struct net_device *dev) {}
32 static inline void ieee80211_proc_deinit_virtual(struct net_device *dev) {}
33 static inline void
34 ieee80211_proc_init_interface(struct ieee80211_local *local) {}
35 static inline void
36 ieee80211_proc_deinit_interface(struct ieee80211_local *local) {}
37 static inline void ieee80211_proc_init(void) {}
38 static inline void ieee80211_proc_deinit(void) {}
39 #endif /* CONFIG_PROC_FS */
40
41 #endif /* IEEE80211_PROC_H */