1ENUM MAC80211_RX_FLA(9) The basic mac80211 driver inte ENUM MAC80211_RX_FLA(9)
2
3
4

NAME

6       enum_mac80211_rx_flags - receive flags
7

SYNOPSIS

9       enum mac80211_rx_flags {
10         RX_FLAG_MMIC_ERROR,
11         RX_FLAG_DECRYPTED,
12         RX_FLAG_MACTIME_PLCP_START,
13         RX_FLAG_MMIC_STRIPPED,
14         RX_FLAG_IV_STRIPPED,
15         RX_FLAG_FAILED_FCS_CRC,
16         RX_FLAG_FAILED_PLCP_CRC,
17         RX_FLAG_MACTIME_START,
18         RX_FLAG_NO_SIGNAL_VAL,
19         RX_FLAG_AMPDU_DETAILS,
20         RX_FLAG_PN_VALIDATED,
21         RX_FLAG_DUP_VALIDATED,
22         RX_FLAG_AMPDU_LAST_KNOWN,
23         RX_FLAG_AMPDU_IS_LAST,
24         RX_FLAG_AMPDU_DELIM_CRC_ERROR,
25         RX_FLAG_AMPDU_DELIM_CRC_KNOWN,
26         RX_FLAG_MACTIME_END,
27         RX_FLAG_ONLY_MONITOR,
28         RX_FLAG_SKIP_MONITOR,
29         RX_FLAG_AMSDU_MORE,
30         RX_FLAG_RADIOTAP_VENDOR_DATA,
31         RX_FLAG_MIC_STRIPPED,
32         RX_FLAG_ALLOW_SAME_PN,
33         RX_FLAG_ICV_STRIPPED
34       };
35

CONSTANTS

37       RX_FLAG_MMIC_ERROR
38           Michael MIC error was reported on this frame. Use together with
39           RX_FLAG_MMIC_STRIPPED.
40
41       RX_FLAG_DECRYPTED
42           This frame was decrypted in hardware.
43
44       RX_FLAG_MACTIME_PLCP_START
45           The timestamp passed in the RX status (mactime field) is valid and
46           contains the time the SYNC preamble was received.
47
48       RX_FLAG_MMIC_STRIPPED
49           the Michael MIC is stripped off this frame, verification has been
50           done by the hardware.
51
52       RX_FLAG_IV_STRIPPED
53           The IV and ICV are stripped from this frame. If this flag is set,
54           the stack cannot do any replay detection hence the driver or
55           hardware will have to do that.
56
57       RX_FLAG_FAILED_FCS_CRC
58           Set this flag if the FCS check failed on the frame.
59
60       RX_FLAG_FAILED_PLCP_CRC
61           Set this flag if the PCLP check failed on the frame.
62
63       RX_FLAG_MACTIME_START
64           The timestamp passed in the RX status (mactime field) is valid and
65           contains the time the first symbol of the MPDU was received. This
66           is useful in monitor mode and for proper IBSS merging.
67
68       RX_FLAG_NO_SIGNAL_VAL
69           The signal strength value is not present. Valid only for data
70           frames (mainly A-MPDU)
71
72       RX_FLAG_AMPDU_DETAILS
73           A-MPDU details are known, in particular the reference number
74           (ampdu_reference) must be populated and be a distinct number for
75           each A-MPDU
76
77       RX_FLAG_PN_VALIDATED
78           Currently only valid for CCMP/GCMP frames, this flag indicates that
79           the PN was verified for replay protection. Note that this flag is
80           also currently only supported when a frame is also decrypted (ie.
81           RX_FLAG_DECRYPTED must be set)
82
83       RX_FLAG_DUP_VALIDATED
84           The driver should set this flag if it did de-duplication by itself.
85
86       RX_FLAG_AMPDU_LAST_KNOWN
87           last subframe is known, should be set on all subframes of a single
88           A-MPDU
89
90       RX_FLAG_AMPDU_IS_LAST
91           this subframe is the last subframe of the A-MPDU
92
93       RX_FLAG_AMPDU_DELIM_CRC_ERROR
94           A delimiter CRC error has been detected on this subframe
95
96       RX_FLAG_AMPDU_DELIM_CRC_KNOWN
97           The delimiter CRC field is known (the CRC is stored in the
98           ampdu_delimiter_crc field)
99
100       RX_FLAG_MACTIME_END
101           The timestamp passed in the RX status (mactime field) is valid and
102           contains the time the last symbol of the MPDU (including FCS) was
103           received.
104
105       RX_FLAG_ONLY_MONITOR
106           Report frame only to monitor interfaces without processing it in
107           any regular way. This is useful if drivers offload some frames but
108           still want to report them for sniffing purposes.
109
110       RX_FLAG_SKIP_MONITOR
111           Process and report frame to all interfaces except monitor
112           interfaces. This is useful if drivers offload some frames but still
113           want to report them for sniffing purposes.
114
115       RX_FLAG_AMSDU_MORE
116           Some drivers may prefer to report separate A-MSDU subframes instead
117           of a one huge frame for performance reasons. All, but the last MSDU
118           from an A-MSDU should have this flag set. E.g. if an A-MSDU has 3
119           frames, the first 2 must have the flag set, while the 3rd (last)
120           one must not have this flag set. The flag is used to deal with
121           retransmission/duplication recovery properly since A-MSDU subframes
122           share the same sequence number. Reported subframes can be either
123           regular MSDU or singly A-MSDUs. Subframes must not be interleaved
124           with other frames.
125
126       RX_FLAG_RADIOTAP_VENDOR_DATA
127           This frame contains vendor-specific radiotap data in the skb->data
128           (before the frame) as described by the struct
129           ieee80211_vendor_radiotap.
130
131       RX_FLAG_MIC_STRIPPED
132           The mic was stripped of this packet. Decryption was done by the
133           hardware
134
135       RX_FLAG_ALLOW_SAME_PN
136           Allow the same PN as same packet before. This is used for AMSDU
137           subframes which can have the same PN as the first subframe.
138
139       RX_FLAG_ICV_STRIPPED
140           The ICV is stripped from this frame. CRC checking must be done in
141           the hardware.
142

DESCRIPTION

144       These flags are used with the flag member of struct
145       ieee80211_rx_status.
146

AUTHOR

148       Johannes Berg <johannes@sipsolutions.net>
149           Author.
150
152Kernel Hackers Manual 3.10         June 2019           ENUM MAC80211_RX_FLA(9)
Impressum