iPXE
Macros
802.11 Sequence Control field handling

Macros

#define IEEE80211_SEQNR(seq)   ( ( seq ) >> 4 )
 Extract sequence number from 802.11 Sequence Control field. More...
 
#define IEEE80211_FRAG(seq)   ( ( seq ) & 0x000F )
 Extract fragment number from 802.11 Sequence Control field. More...
 
#define IEEE80211_MAKESEQ(seqnr, frag)   ( ( ( ( seqnr ) & 0xFFF ) << 4 ) | ( ( frag ) & 0xF ) )
 Make 802.11 Sequence Control field from sequence and fragment numbers. More...
 

Detailed Description

Macro Definition Documentation

◆ IEEE80211_SEQNR

#define IEEE80211_SEQNR (   seq)    ( ( seq ) >> 4 )

Extract sequence number from 802.11 Sequence Control field.

Definition at line 280 of file ieee80211.h.

◆ IEEE80211_FRAG

#define IEEE80211_FRAG (   seq)    ( ( seq ) & 0x000F )

Extract fragment number from 802.11 Sequence Control field.

Definition at line 283 of file ieee80211.h.

◆ IEEE80211_MAKESEQ

#define IEEE80211_MAKESEQ (   seqnr,
  frag 
)    ( ( ( ( seqnr ) & 0xFFF ) << 4 ) | ( ( frag ) & 0xF ) )

Make 802.11 Sequence Control field from sequence and fragment numbers.

Definition at line 286 of file ieee80211.h.