summaryrefslogtreecommitdiff
path: root/include/net/lib80211.h
blob: 906d96f1b264eb5d246cbd5fe99b7e9356eb4e04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * lib80211.h -- common bits for IEEE802.11 wireless drivers
 *
 * Copyright (c) 2008, John W. Linville <linville@tuxdriver.com>
 *
 */

#ifndef LIB80211_H
#define LIB80211_H

/* print_ssid() is intended to be used in debug (and possibly error)
 * messages. It should never be used for passing ssid to user space. */
const char *print_ssid(char *buf, const char *ssid, u8 ssid_len);
#define DECLARE_SSID_BUF(var) char var[32 * 4 + 1] __maybe_unused

#endif /* LIB80211_H */