orinoco: fix last beacon reporting on 64-bit systems
[linux-block.git] / include / net / lib80211.h
CommitLineData
7e272fcf
JL
1/*
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
72118015
JL
11#include <linux/ieee80211.h>
12
9387b7ca 13/* print_ssid() is intended to be used in debug (and possibly error)
7e272fcf 14 * messages. It should never be used for passing ssid to user space. */
9387b7ca 15const char *print_ssid(char *buf, const char *ssid, u8 ssid_len);
72118015 16#define DECLARE_SSID_BUF(var) char var[IEEE80211_MAX_SSID_LEN * 4 + 1] __maybe_unused
7e272fcf 17
7e272fcf 18#endif /* LIB80211_H */