diff options
author | avos <avos@FreeBSD.org> | 2016-04-20 20:30:18 +0000 |
---|---|---|
committer | avos <avos@FreeBSD.org> | 2016-04-20 20:30:18 +0000 |
commit | cebb05753737d34bd315fb17db30cdab61f0c8a1 (patch) | |
tree | 977facefb2c7ae518067214472dc6cc71205ca12 /sys/net80211/ieee80211_proto.h | |
parent | f66c183d912276d92f08d14f653697f2b4ea4fe5 (diff) | |
download | FreeBSD-src-cebb05753737d34bd315fb17db30cdab61f0c8a1.zip FreeBSD-src-cebb05753737d34bd315fb17db30cdab61f0c8a1.tar.gz |
net80211: provide descriptions for reason codes
Add text description for deauth/disassoc/etc reason codes
in addition to 'reason: <number>' string.
Reviewed by: adrian
Obtained from: IEEE Std 802.11-2012, 8.4.1.7 "Reason Code field"
Differential Revision: https://reviews.freebsd.org/D5367
Diffstat (limited to 'sys/net80211/ieee80211_proto.h')
-rw-r--r-- | sys/net80211/ieee80211_proto.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_proto.h b/sys/net80211/ieee80211_proto.h index 88633e7..607e4b6 100644 --- a/sys/net80211/ieee80211_proto.h +++ b/sys/net80211/ieee80211_proto.h @@ -51,6 +51,8 @@ extern const char *ieee80211_mgt_subtype_name[]; extern const char *ieee80211_phymode_name[IEEE80211_MODE_MAX]; extern const int ieee80211_opcap[IEEE80211_OPMODE_MAX]; +const char *ieee80211_reason_to_string(uint16_t); + void ieee80211_proto_attach(struct ieee80211com *); void ieee80211_proto_detach(struct ieee80211com *); void ieee80211_proto_vattach(struct ieee80211vap *); |