1<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>enum mac80211_rx_flags</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="The 802.11 subsystems – for kernel developers"><link rel="up" href="bk02pt01ch04s05.html" title="functions/definitions"><link rel="prev" href="API-struct-ieee80211-rx-status.html" title="struct ieee80211_rx_status"><link rel="next" href="API-enum-mac80211-tx-info-flags.html" title="enum mac80211_tx_info_flags"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">enum mac80211_rx_flags</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-struct-ieee80211-rx-status.html">Prev</a> </td><th width="60%" align="center">functions/definitions</th><td width="20%" align="right"> <a accesskey="n" href="API-enum-mac80211-tx-info-flags.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-enum-mac80211-rx-flags"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>enum mac80211_rx_flags — 2 receive flags 3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting"> 4enum mac80211_rx_flags { 5 RX_FLAG_MMIC_ERROR, 6 RX_FLAG_DECRYPTED, 7 RX_FLAG_MMIC_STRIPPED, 8 RX_FLAG_IV_STRIPPED, 9 RX_FLAG_FAILED_FCS_CRC, 10 RX_FLAG_FAILED_PLCP_CRC, 11 RX_FLAG_MACTIME_START, 12 RX_FLAG_SHORTPRE, 13 RX_FLAG_HT, 14 RX_FLAG_40MHZ, 15 RX_FLAG_SHORT_GI, 16 RX_FLAG_NO_SIGNAL_VAL, 17 RX_FLAG_HT_GF, 18 RX_FLAG_AMPDU_DETAILS, 19 RX_FLAG_PN_VALIDATED, 20 RX_FLAG_AMPDU_LAST_KNOWN, 21 RX_FLAG_AMPDU_IS_LAST, 22 RX_FLAG_AMPDU_DELIM_CRC_ERROR, 23 RX_FLAG_AMPDU_DELIM_CRC_KNOWN, 24 RX_FLAG_MACTIME_END, 25 RX_FLAG_VHT, 26 RX_FLAG_LDPC, 27 RX_FLAG_STBC_MASK, 28 RX_FLAG_10MHZ, 29 RX_FLAG_5MHZ, 30 RX_FLAG_AMSDU_MORE, 31 RX_FLAG_RADIOTAP_VENDOR_DATA 32}; </pre></div><div class="refsect1"><a name="id-1.3.3.6.6.3.5"></a><h2>Constants</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">RX_FLAG_MMIC_ERROR</span></dt><dd><p> 33Michael MIC error was reported on this frame. 34Use together with <code class="constant">RX_FLAG_MMIC_STRIPPED</code>. 35 </p></dd><dt><span class="term">RX_FLAG_DECRYPTED</span></dt><dd><p> 36This frame was decrypted in hardware. 37 </p></dd><dt><span class="term">RX_FLAG_MMIC_STRIPPED</span></dt><dd><p> 38the Michael MIC is stripped off this frame, 39verification has been done by the hardware. 40 </p></dd><dt><span class="term">RX_FLAG_IV_STRIPPED</span></dt><dd><p> 41The IV/ICV are stripped from this frame. 42If this flag is set, the stack cannot do any replay detection 43hence the driver or hardware will have to do that. 44 </p></dd><dt><span class="term">RX_FLAG_FAILED_FCS_CRC</span></dt><dd><p> 45Set this flag if the FCS check failed on 46the frame. 47 </p></dd><dt><span class="term">RX_FLAG_FAILED_PLCP_CRC</span></dt><dd><p> 48Set this flag if the PCLP check failed on 49the frame. 50 </p></dd><dt><span class="term">RX_FLAG_MACTIME_START</span></dt><dd><p> 51The timestamp passed in the RX status (<em class="parameter"><code>mactime</code></em> 52field) is valid and contains the time the first symbol of the MPDU 53was received. This is useful in monitor mode and for proper IBSS 54merging. 55 </p></dd><dt><span class="term">RX_FLAG_SHORTPRE</span></dt><dd><p> 56Short preamble was used for this frame 57 </p></dd><dt><span class="term">RX_FLAG_HT</span></dt><dd><p> 58HT MCS was used and rate_idx is MCS index 59 </p></dd><dt><span class="term">RX_FLAG_40MHZ</span></dt><dd><p> 60HT40 (40 MHz) was used 61 </p></dd><dt><span class="term">RX_FLAG_SHORT_GI</span></dt><dd><p> 62Short guard interval was used 63 </p></dd><dt><span class="term">RX_FLAG_NO_SIGNAL_VAL</span></dt><dd><p> 64The signal strength value is not present. 65Valid only for data frames (mainly A-MPDU) 66 </p></dd><dt><span class="term">RX_FLAG_HT_GF</span></dt><dd><p> 67This frame was received in a HT-greenfield transmission, if 68the driver fills this value it should add <code class="constant">IEEE80211_RADIOTAP_MCS_HAVE_FMT</code> 69to hw.radiotap_mcs_details to advertise that fact 70 </p></dd><dt><span class="term">RX_FLAG_AMPDU_DETAILS</span></dt><dd><p> 71A-MPDU details are known, in particular the reference 72number (<em class="parameter"><code>ampdu_reference</code></em>) must be populated and be a distinct number for 73each A-MPDU 74 </p></dd><dt><span class="term">RX_FLAG_PN_VALIDATED</span></dt><dd><p> 75Currently only valid for CCMP/GCMP frames, this 76flag indicates that the PN was verified for replay protection. 77Note that this flag is also currently only supported when a frame 78is also decrypted (ie. <em class="parameter"><code>RX_FLAG_DECRYPTED</code></em> must be set) 79 </p></dd><dt><span class="term">RX_FLAG_AMPDU_LAST_KNOWN</span></dt><dd><p> 80last subframe is known, should be set on all 81subframes of a single A-MPDU 82 </p></dd><dt><span class="term">RX_FLAG_AMPDU_IS_LAST</span></dt><dd><p> 83this subframe is the last subframe of the A-MPDU 84 </p></dd><dt><span class="term">RX_FLAG_AMPDU_DELIM_CRC_ERROR</span></dt><dd><p> 85A delimiter CRC error has been detected 86on this subframe 87 </p></dd><dt><span class="term">RX_FLAG_AMPDU_DELIM_CRC_KNOWN</span></dt><dd><p> 88The delimiter CRC field is known (the CRC 89is stored in the <em class="parameter"><code>ampdu_delimiter_crc</code></em> field) 90 </p></dd><dt><span class="term">RX_FLAG_MACTIME_END</span></dt><dd><p> 91The timestamp passed in the RX status (<em class="parameter"><code>mactime</code></em> 92field) is valid and contains the time the last symbol of the MPDU 93(including FCS) was received. 94 </p></dd><dt><span class="term">RX_FLAG_VHT</span></dt><dd><p> 95VHT MCS was used and rate_index is MCS index 96 </p></dd><dt><span class="term">RX_FLAG_LDPC</span></dt><dd><p> 97LDPC was used 98 </p></dd><dt><span class="term">RX_FLAG_STBC_MASK</span></dt><dd><p> 99STBC 2 bit bitmask. 1 - Nss=1, 2 - Nss=2, 3 - Nss=3 100 </p></dd><dt><span class="term">RX_FLAG_10MHZ</span></dt><dd><p> 10110 MHz (half channel) was used 102 </p></dd><dt><span class="term">RX_FLAG_5MHZ</span></dt><dd><p> 1035 MHz (quarter channel) was used 104 </p></dd><dt><span class="term">RX_FLAG_AMSDU_MORE</span></dt><dd><p> 105Some drivers may prefer to report separate A-MSDU 106subframes instead of a one huge frame for performance reasons. 107All, but the last MSDU from an A-MSDU should have this flag set. E.g. 108if an A-MSDU has 3 frames, the first 2 must have the flag set, while 109the 3rd (last) one must not have this flag set. The flag is used to 110deal with retransmission/duplication recovery properly since A-MSDU 111subframes share the same sequence number. Reported subframes can be 112either regular MSDU or singly A-MSDUs. Subframes must not be 113interleaved with other frames. 114 </p></dd><dt><span class="term">RX_FLAG_RADIOTAP_VENDOR_DATA</span></dt><dd><p> 115This frame contains vendor-specific 116radiotap data in the skb->data (before the frame) as described by 117the <span class="structname">struct ieee80211_vendor_radiotap</span>. 118 </p></dd></dl></div></div><div class="refsect1"><a name="id-1.3.3.6.6.3.6"></a><h2>Description</h2><p> 119 </p><p> 120 121 These flags are used with the <em class="parameter"><code>flag</code></em> member of <span class="structname"><a class="link" href="API-struct-ieee80211-rx-status.html" title="struct ieee80211_rx_status">struct ieee80211_rx_status</a></span>. 122</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-struct-ieee80211-rx-status.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="bk02pt01ch04s05.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-enum-mac80211-tx-info-flags.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">struct ieee80211_rx_status</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">enum mac80211_tx_info_flags</span></td></tr></table></div></body></html> 123