1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-02-01 17:00:36 +00:00

expose ieee80211_phymode_name for use in debug msgs

This commit is contained in:
Sam Leffler 2004-12-31 20:38:48 +00:00
parent a614e0762d
commit 8da7b74f9c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=139502
2 changed files with 2 additions and 1 deletions

View File

@ -51,7 +51,7 @@ __FBSDID("$FreeBSD$");
#include <net/bpf.h>
static const char *ieee80211_phymode_name[] = {
const char *ieee80211_phymode_name[] = {
"auto", /* IEEE80211_MODE_AUTO */
"11a", /* IEEE80211_MODE_11A */
"11b", /* IEEE80211_MODE_11B */

View File

@ -51,6 +51,7 @@ enum ieee80211_state {
((*(_ic)->ic_send_mgmt)(_ic, _ni, _type, _arg))
extern const char *ieee80211_mgt_subtype_name[];
extern const char *ieee80211_phymode_name[];
extern void ieee80211_proto_attach(struct ieee80211com *);
extern void ieee80211_proto_detach(struct ieee80211com *);