Add definition of mask/shift for seqence/fragment in sequence control field.

This commit is contained in:
onoe 2001-09-11 12:25:18 +00:00
parent 5321796010
commit a939e73e00
1 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_ieee80211.h,v 1.9 2001/06/25 12:02:53 onoe Exp $ */
/* $NetBSD: if_ieee80211.h,v 1.10 2001/09/11 12:25:18 onoe Exp $ */
#ifndef _NET_IF_IEEE80211_H_
@ -73,6 +73,11 @@ struct ieee80211_frame_addr4 {
#define IEEE80211_FC1_WEP 0x40
#define IEEE80211_FC1_ORDER 0x80
#define IEEE80211_SEQ_FRAG_MASK 0x000f
#define IEEE80211_SEQ_FRAG_SHIFT 0
#define IEEE80211_SEQ_SEQ_MASK 0xfff0
#define IEEE80211_SEQ_SEQ_SHIFT 4
/*
* Management Frames
*/