John W. Linville | 7e272fc | 2008-09-24 18:13:14 -0400 | [diff] [blame] | 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 | |
John W. Linville | 9387b7c | 2008-09-30 20:59:05 -0400 | [diff] [blame^] | 11 | /* print_ssid() is intended to be used in debug (and possibly error) |
John W. Linville | 7e272fc | 2008-09-24 18:13:14 -0400 | [diff] [blame] | 12 | * messages. It should never be used for passing ssid to user space. */ |
John W. Linville | 9387b7c | 2008-09-30 20:59:05 -0400 | [diff] [blame^] | 13 | const 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. Linville | 7e272fc | 2008-09-24 18:13:14 -0400 | [diff] [blame] | 15 | |
John W. Linville | 7e272fc | 2008-09-24 18:13:14 -0400 | [diff] [blame] | 16 | #endif /* LIB80211_H */ |