2008-09-25 06:13:14 +08:00
|
|
|
/*
|
|
|
|
* lib80211.h -- common bits for IEEE802.11 wireless drivers
|
|
|
|
*
|
|
|
|
* Copyright (c) 2008, John W. Linville <linville@tuxdriver.com>
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef LIB80211_H
|
|
|
|
#define LIB80211_H
|
|
|
|
|
2008-10-01 09:43:03 +08:00
|
|
|
#include <linux/ieee80211.h>
|
|
|
|
|
2008-10-01 08:59:05 +08:00
|
|
|
/* print_ssid() is intended to be used in debug (and possibly error)
|
2008-09-25 06:13:14 +08:00
|
|
|
* messages. It should never be used for passing ssid to user space. */
|
2008-10-01 08:59:05 +08:00
|
|
|
const char *print_ssid(char *buf, const char *ssid, u8 ssid_len);
|
2008-10-01 09:43:03 +08:00
|
|
|
#define DECLARE_SSID_BUF(var) char var[IEEE80211_MAX_SSID_LEN * 4 + 1] __maybe_unused
|
2008-09-25 06:13:14 +08:00
|
|
|
|
|
|
|
#endif /* LIB80211_H */
|