xref: /openbmc/linux/include/net/lib80211.h (revision 9387b7caf3049168fc97a8a9111af8fe2143af18)
17e272fcfSJohn W. Linville /*
27e272fcfSJohn W. Linville  * lib80211.h -- common bits for IEEE802.11 wireless drivers
37e272fcfSJohn W. Linville  *
47e272fcfSJohn W. Linville  * Copyright (c) 2008, John W. Linville <linville@tuxdriver.com>
57e272fcfSJohn W. Linville  *
67e272fcfSJohn W. Linville  */
77e272fcfSJohn W. Linville 
87e272fcfSJohn W. Linville #ifndef LIB80211_H
97e272fcfSJohn W. Linville #define LIB80211_H
107e272fcfSJohn W. Linville 
11*9387b7caSJohn W. Linville /* print_ssid() is intended to be used in debug (and possibly error)
127e272fcfSJohn W. Linville  * messages. It should never be used for passing ssid to user space. */
13*9387b7caSJohn W. Linville const char *print_ssid(char *buf, const char *ssid, u8 ssid_len);
14*9387b7caSJohn W. Linville #define DECLARE_SSID_BUF(var) char var[32 * 4 + 1] __maybe_unused
157e272fcfSJohn W. Linville 
167e272fcfSJohn W. Linville #endif /* LIB80211_H */
17