2008-09-25 02:13:14 +04: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 05:43:03 +04:00
|
|
|
#include <linux/ieee80211.h>
|
|
|
|
|
2008-10-01 04:59:05 +04:00
|
|
|
/* print_ssid() is intended to be used in debug (and possibly error)
|
2008-09-25 02:13:14 +04:00
|
|
|
* messages. It should never be used for passing ssid to user space. */
|
2008-10-01 04:59:05 +04:00
|
|
|
const char *print_ssid(char *buf, const char *ssid, u8 ssid_len);
|
2008-10-01 05:43:03 +04:00
|
|
|
#define DECLARE_SSID_BUF(var) char var[IEEE80211_MAX_SSID_LEN * 4 + 1] __maybe_unused
|
2008-09-25 02:13:14 +04:00
|
|
|
|
|
|
|
#endif /* LIB80211_H */
|