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_MMIC_STRIPPED,
13         RX_FLAG_IV_STRIPPED,
14         RX_FLAG_FAILED_FCS_CRC,
15         RX_FLAG_FAILED_PLCP_CRC,
16         RX_FLAG_MACTIME_START,
17         RX_FLAG_SHORTPRE,
18         RX_FLAG_HT,
19         RX_FLAG_40MHZ,
20         RX_FLAG_SHORT_GI,
21         RX_FLAG_NO_SIGNAL_VAL,
22         RX_FLAG_HT_GF,
23         RX_FLAG_AMPDU_DETAILS,
24         RX_FLAG_PN_VALIDATED,
25         RX_FLAG_AMPDU_LAST_KNOWN,
26         RX_FLAG_AMPDU_IS_LAST,
27         RX_FLAG_AMPDU_DELIM_CRC_ERROR,
28         RX_FLAG_AMPDU_DELIM_CRC_KNOWN,
29         RX_FLAG_MACTIME_END,
30         RX_FLAG_VHT,
31         RX_FLAG_LDPC,
32         RX_FLAG_STBC_MASK,
33         RX_FLAG_10MHZ,
34         RX_FLAG_5MHZ,
35         RX_FLAG_AMSDU_MORE,
36         RX_FLAG_RADIOTAP_VENDOR_DATA
37       };
38

CONSTANTS

40       RX_FLAG_MMIC_ERROR
41           Michael MIC error was reported on this frame. Use together with
42           RX_FLAG_MMIC_STRIPPED.
43
44       RX_FLAG_DECRYPTED
45           This frame was decrypted in hardware.
46
47       RX_FLAG_MMIC_STRIPPED
48           the Michael MIC is stripped off this frame, verification has been
49           done by the hardware.
50
51       RX_FLAG_IV_STRIPPED
52           The IV/ICV are stripped from this frame. If this flag is set, the
53           stack cannot do any replay detection hence the driver or hardware
54           will have to do that.
55
56       RX_FLAG_FAILED_FCS_CRC
57           Set this flag if the FCS check failed on the frame.
58
59       RX_FLAG_FAILED_PLCP_CRC
60           Set this flag if the PCLP check failed on the frame.
61
62       RX_FLAG_MACTIME_START
63           The timestamp passed in the RX status (mactime field) is valid and
64           contains the time the first symbol of the MPDU was received. This
65           is useful in monitor mode and for proper IBSS merging.
66
67       RX_FLAG_SHORTPRE
68           Short preamble was used for this frame
69
70       RX_FLAG_HT
71           HT MCS was used and rate_idx is MCS index
72
73       RX_FLAG_40MHZ
74           HT40 (40 MHz) was used
75
76       RX_FLAG_SHORT_GI
77           Short guard interval was used
78
79       RX_FLAG_NO_SIGNAL_VAL
80           The signal strength value is not present. Valid only for data
81           frames (mainly A-MPDU)
82
83       RX_FLAG_HT_GF
84           This frame was received in a HT-greenfield transmission, if the
85           driver fills this value it should add
86           IEEE80211_RADIOTAP_MCS_HAVE_FMT to hw.radiotap_mcs_details to
87           advertise that fact
88
89       RX_FLAG_AMPDU_DETAILS
90           A-MPDU details are known, in particular the reference number
91           (ampdu_reference) must be populated and be a distinct number for
92           each A-MPDU
93
94       RX_FLAG_PN_VALIDATED
95           Currently only valid for CCMP/GCMP frames, this flag indicates that
96           the PN was verified for replay protection. Note that this flag is
97           also currently only supported when a frame is also decrypted (ie.
98           RX_FLAG_DECRYPTED must be set)
99
100       RX_FLAG_AMPDU_LAST_KNOWN
101           last subframe is known, should be set on all subframes of a single
102           A-MPDU
103
104       RX_FLAG_AMPDU_IS_LAST
105           this subframe is the last subframe of the A-MPDU
106
107       RX_FLAG_AMPDU_DELIM_CRC_ERROR
108           A delimiter CRC error has been detected on this subframe
109
110       RX_FLAG_AMPDU_DELIM_CRC_KNOWN
111           The delimiter CRC field is known (the CRC is stored in the
112           ampdu_delimiter_crc field)
113
114       RX_FLAG_MACTIME_END
115           The timestamp passed in the RX status (mactime field) is valid and
116           contains the time the last symbol of the MPDU (including FCS) was
117           received.
118
119       RX_FLAG_VHT
120           VHT MCS was used and rate_index is MCS index
121
122       RX_FLAG_LDPC
123           LDPC was used
124
125       RX_FLAG_STBC_MASK
126           STBC 2 bit bitmask. 1 - Nss=1, 2 - Nss=2, 3 - Nss=3
127
128       RX_FLAG_10MHZ
129           10 MHz (half channel) was used
130
131       RX_FLAG_5MHZ
132           5 MHz (quarter channel) was used
133
134       RX_FLAG_AMSDU_MORE
135           Some drivers may prefer to report separate A-MSDU subframes instead
136           of a one huge frame for performance reasons. All, but the last MSDU
137           from an A-MSDU should have this flag set. E.g. if an A-MSDU has 3
138           frames, the first 2 must have the flag set, while the 3rd (last)
139           one must not have this flag set. The flag is used to deal with
140           retransmission/duplication recovery properly since A-MSDU subframes
141           share the same sequence number. Reported subframes can be either
142           regular MSDU or singly A-MSDUs. Subframes must not be interleaved
143           with other frames.
144
145       RX_FLAG_RADIOTAP_VENDOR_DATA
146           This frame contains vendor-specific radiotap data in the skb->data
147           (before the frame) as described by the struct
148           ieee80211_vendor_radiotap.
149

DESCRIPTION

151       These flags are used with the flag member of struct
152       ieee80211_rx_status.
153

AUTHOR

155       Johannes Berg <johannes@sipsolutions.net>
156           Author.
157
159Kernel Hackers Manual 2.6.         June 2019           ENUM MAC80211_RX_FLA(9)
Impressum