Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
[pandora-kernel.git] / include / net / lib80211.h
1 /*
2  * lib80211.h -- common bits for IEEE802.11 wireless drivers
3  *
4  * Copyright (c) 2008, John W. Linville <linville@tuxdriver.com>
5  *
6  */
7
8 #ifndef LIB80211_H
9 #define LIB80211_H
10
11 #include <linux/ieee80211.h>
12
13 /* print_ssid() is intended to be used in debug (and possibly error)
14  * messages. It should never be used for passing ssid to user space. */
15 const char *print_ssid(char *buf, const char *ssid, u8 ssid_len);
16 #define DECLARE_SSID_BUF(var) char var[IEEE80211_MAX_SSID_LEN * 4 + 1] __maybe_unused
17
18 #endif /* LIB80211_H */