'\" t .\" Title: enum mac80211_rx_flags .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: The basic mac80211 driver interface .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "ENUM MAC80211_RX_FLA" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "The basic mac80211 driver inte" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" enum_mac80211_rx_flags \- receive flags .SH "SYNOPSIS" .sp .nf enum mac80211_rx_flags { RX_FLAG_MMIC_ERROR, RX_FLAG_DECRYPTED, RX_FLAG_MACTIME_PLCP_START, RX_FLAG_MMIC_STRIPPED, RX_FLAG_IV_STRIPPED, RX_FLAG_FAILED_FCS_CRC, RX_FLAG_FAILED_PLCP_CRC, RX_FLAG_MACTIME_START, RX_FLAG_SHORTPRE, RX_FLAG_HT, RX_FLAG_40MHZ, RX_FLAG_SHORT_GI, RX_FLAG_NO_SIGNAL_VAL, RX_FLAG_HT_GF, RX_FLAG_AMPDU_DETAILS, RX_FLAG_PN_VALIDATED, RX_FLAG_DUP_VALIDATED, RX_FLAG_AMPDU_LAST_KNOWN, RX_FLAG_AMPDU_IS_LAST, RX_FLAG_AMPDU_DELIM_CRC_ERROR, RX_FLAG_AMPDU_DELIM_CRC_KNOWN, RX_FLAG_MACTIME_END, RX_FLAG_VHT, RX_FLAG_LDPC, RX_FLAG_ONLY_MONITOR, RX_FLAG_SKIP_MONITOR, RX_FLAG_STBC_MASK, RX_FLAG_10MHZ, RX_FLAG_5MHZ, RX_FLAG_AMSDU_MORE, RX_FLAG_RADIOTAP_VENDOR_DATA, RX_FLAG_MIC_STRIPPED, RX_FLAG_ALLOW_SAME_PN }; .fi .SH "CONSTANTS" .PP RX_FLAG_MMIC_ERROR .RS 4 Michael MIC error was reported on this frame\&. Use together with \fBRX_FLAG_MMIC_STRIPPED\fR\&. .RE .PP RX_FLAG_DECRYPTED .RS 4 This frame was decrypted in hardware\&. .RE .PP RX_FLAG_MACTIME_PLCP_START .RS 4 The timestamp passed in the RX status (\fImactime\fR field) is valid and contains the time the SYNC preamble was received\&. .RE .PP RX_FLAG_MMIC_STRIPPED .RS 4 the Michael MIC is stripped off this frame, verification has been done by the hardware\&. .RE .PP RX_FLAG_IV_STRIPPED .RS 4 The IV/ICV are stripped from this frame\&. If this flag is set, the stack cannot do any replay detection hence the driver or hardware will have to do that\&. .RE .PP RX_FLAG_FAILED_FCS_CRC .RS 4 Set this flag if the FCS check failed on the frame\&. .RE .PP RX_FLAG_FAILED_PLCP_CRC .RS 4 Set this flag if the PCLP check failed on the frame\&. .RE .PP RX_FLAG_MACTIME_START .RS 4 The timestamp passed in the RX status (\fImactime\fR field) is valid and contains the time the first symbol of the MPDU was received\&. This is useful in monitor mode and for proper IBSS merging\&. .RE .PP RX_FLAG_SHORTPRE .RS 4 Short preamble was used for this frame .RE .PP RX_FLAG_HT .RS 4 HT MCS was used and rate_idx is MCS index .RE .PP RX_FLAG_40MHZ .RS 4 HT40 (40 MHz) was used .RE .PP RX_FLAG_SHORT_GI .RS 4 Short guard interval was used .RE .PP RX_FLAG_NO_SIGNAL_VAL .RS 4 The signal strength value is not present\&. Valid only for data frames (mainly A\-MPDU) .RE .PP RX_FLAG_HT_GF .RS 4 This frame was received in a HT\-greenfield transmission, if the driver fills this value it should add \fBIEEE80211_RADIOTAP_MCS_HAVE_FMT\fR to hw\&.radiotap_mcs_details to advertise that fact .RE .PP RX_FLAG_AMPDU_DETAILS .RS 4 A\-MPDU details are known, in particular the reference number (\fIampdu_reference\fR) must be populated and be a distinct number for each A\-MPDU .RE .PP RX_FLAG_PN_VALIDATED .RS 4 Currently only valid for CCMP/GCMP frames, this flag indicates that the PN was verified for replay protection\&. Note that this flag is also currently only supported when a frame is also decrypted (ie\&. \fIRX_FLAG_DECRYPTED\fR must be set) .RE .PP RX_FLAG_DUP_VALIDATED .RS 4 The driver should set this flag if it did de\-duplication by itself\&. .RE .PP RX_FLAG_AMPDU_LAST_KNOWN .RS 4 last subframe is known, should be set on all subframes of a single A\-MPDU .RE .PP RX_FLAG_AMPDU_IS_LAST .RS 4 this subframe is the last subframe of the A\-MPDU .RE .PP RX_FLAG_AMPDU_DELIM_CRC_ERROR .RS 4 A delimiter CRC error has been detected on this subframe .RE .PP RX_FLAG_AMPDU_DELIM_CRC_KNOWN .RS 4 The delimiter CRC field is known (the CRC is stored in the \fIampdu_delimiter_crc\fR field) .RE .PP RX_FLAG_MACTIME_END .RS 4 The timestamp passed in the RX status (\fImactime\fR field) is valid and contains the time the last symbol of the MPDU (including FCS) was received\&. .RE .PP RX_FLAG_VHT .RS 4 VHT MCS was used and rate_index is MCS index .RE .PP RX_FLAG_LDPC .RS 4 LDPC was used .RE .PP RX_FLAG_ONLY_MONITOR .RS 4 Report frame only to monitor interfaces without processing it in any regular way\&. This is useful if drivers offload some frames but still want to report them for sniffing purposes\&. .RE .PP RX_FLAG_SKIP_MONITOR .RS 4 Process and report frame to all interfaces except monitor interfaces\&. This is useful if drivers offload some frames but still want to report them for sniffing purposes\&. .RE .PP RX_FLAG_STBC_MASK .RS 4 STBC 2 bit bitmask\&. 1 \- Nss=1, 2 \- Nss=2, 3 \- Nss=3 .RE .PP RX_FLAG_10MHZ .RS 4 10 MHz (half channel) was used .RE .PP RX_FLAG_5MHZ .RS 4 5 MHz (quarter channel) was used .RE .PP RX_FLAG_AMSDU_MORE .RS 4 Some drivers may prefer to report separate A\-MSDU subframes instead of a one huge frame for performance reasons\&. All, but the last MSDU from an A\-MSDU should have this flag set\&. E\&.g\&. if an A\-MSDU has 3 frames, the first 2 must have the flag set, while the 3rd (last) one must not have this flag set\&. The flag is used to deal with retransmission/duplication recovery properly since A\-MSDU subframes share the same sequence number\&. Reported subframes can be either regular MSDU or singly A\-MSDUs\&. Subframes must not be interleaved with other frames\&. .RE .PP RX_FLAG_RADIOTAP_VENDOR_DATA .RS 4 This frame contains vendor\-specific radiotap data in the skb\->data (before the frame) as described by the struct ieee80211_vendor_radiotap\&. .RE .PP RX_FLAG_MIC_STRIPPED .RS 4 The mic was stripped of this packet\&. Decryption was done by the hardware .RE .PP RX_FLAG_ALLOW_SAME_PN .RS 4 Allow the same PN as same packet before\&. This is used for AMSDU subframes which can have the same PN as the first subframe\&. .RE .SH "DESCRIPTION" .PP .PP These flags are used with the \fIflag\fR member of struct ieee80211_rx_status\&. .SH "AUTHOR" .PP \fBJohannes Berg\fR <\&johannes@sipsolutions.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br