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