diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2013-01-17 02:51:57 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2013-01-17 02:51:57 +0000 |
commit | f48b216d6f93d861bc012c7f10b51c19ee98604b (patch) | |
tree | 0d443d8d28b48a6c5ffe98b0683bfb3e576f05bb /sys/net80211 | |
parent | a3861add1d472867484c12bb2631bdbf713c34a3 (diff) |
Create a printb() suitable string for IEEE80211_FC1 field. Needed to show
more info in tcpdump. OK giovanni@
Diffstat (limited to 'sys/net80211')
-rw-r--r-- | sys/net80211/ieee80211.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211.h b/sys/net80211/ieee80211.h index 1dd6f33186f..c1baf1bfc30 100644 --- a/sys/net80211/ieee80211.h +++ b/sys/net80211/ieee80211.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ieee80211.h,v 1.49 2009/01/28 18:55:18 damien Exp $ */ +/* $OpenBSD: ieee80211.h,v 1.50 2013/01/17 02:51:56 claudio Exp $ */ /* $NetBSD: ieee80211.h,v 1.6 2004/04/30 23:51:53 dyoung Exp $ */ /*- @@ -162,6 +162,9 @@ struct ieee80211_htframe_addr4 { /* 11n */ #define IEEE80211_FC1_PROTECTED 0x40 #define IEEE80211_FC1_WEP 0x40 /* pre-RSNA compat */ #define IEEE80211_FC1_ORDER 0x80 +#define IEEE80211_FC1_BITS \ + "\20\03MORE_FRAG\04RETRY\05PWR_MGT\06MORE_DATA" \ + "\07PROTECTED\08ORDER" /* * Sequence Control field (see 7.1.3.4). |