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*72118015SJohn W. Linville #include <linux/ieee80211.h> 12*72118015SJohn W. Linville 139387b7caSJohn W. Linville /* print_ssid() is intended to be used in debug (and possibly error) 147e272fcfSJohn W. Linville * messages. It should never be used for passing ssid to user space. */ 159387b7caSJohn W. Linville const char *print_ssid(char *buf, const char *ssid, u8 ssid_len); 16*72118015SJohn W. Linville #define DECLARE_SSID_BUF(var) char var[IEEE80211_MAX_SSID_LEN * 4 + 1] __maybe_unused 177e272fcfSJohn W. Linville 187e272fcfSJohn W. Linville #endif /* LIB80211_H */ 19