blob: 906d96f1b264eb5d246cbd5fe99b7e9356eb4e04 [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. Linville9387b7c2008-09-30 20:59:05 -040011/* print_ssid() is intended to be used in debug (and possibly error)
John W. Linville7e272fc2008-09-24 18:13:14 -040012 * messages. It should never be used for passing ssid to user space. */
John W. Linville9387b7c2008-09-30 20:59:05 -040013const char *print_ssid(char *buf, const char *ssid, u8 ssid_len);
14#define DECLARE_SSID_BUF(var) char var[32 * 4 + 1] __maybe_unused
John W. Linville7e272fc2008-09-24 18:13:14 -040015
John W. Linville7e272fc2008-09-24 18:13:14 -040016#endif /* LIB80211_H */