blob: e1558a187ac0fe33ef73c262b19a23b9ff420a91 [file] [log] [blame]
John W. Linville7e272fc2008-09-24 18:13:14 -04001/*
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
John W. Linville72118012008-09-30 21:43:03 -040011#include <linux/ieee80211.h>
12
John W. Linville9387b7c2008-09-30 20:59:05 -040013/* print_ssid() is intended to be used in debug (and possibly error)
John W. Linville7e272fc2008-09-24 18:13:14 -040014 * messages. It should never be used for passing ssid to user space. */
John W. Linville9387b7c2008-09-30 20:59:05 -040015const char *print_ssid(char *buf, const char *ssid, u8 ssid_len);
John W. Linville72118012008-09-30 21:43:03 -040016#define DECLARE_SSID_BUF(var) char var[IEEE80211_MAX_SSID_LEN * 4 + 1] __maybe_unused
John W. Linville7e272fc2008-09-24 18:13:14 -040017
John W. Linville7e272fc2008-09-24 18:13:14 -040018#endif /* LIB80211_H */