1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><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_AMPDU_REPORT_ZEROLEN, 20 RX_FLAG_AMPDU_IS_ZEROLEN, 21 RX_FLAG_AMPDU_LAST_KNOWN, 22 RX_FLAG_AMPDU_IS_LAST, 23 RX_FLAG_AMPDU_DELIM_CRC_ERROR, 24 RX_FLAG_AMPDU_DELIM_CRC_KNOWN, 25 RX_FLAG_MACTIME_END, 26 RX_FLAG_VHT, 27 RX_FLAG_LDPC, 28 RX_FLAG_STBC_MASK, 29 RX_FLAG_10MHZ, 30 RX_FLAG_5MHZ, 31 RX_FLAG_AMSDU_MORE, 32 RX_FLAG_RADIOTAP_VENDOR_DATA 33}; </pre></div><div class="refsect1"><a name="idp1113605092"></a><h2>Constants</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">RX_FLAG_MMIC_ERROR</span></dt><dd><p> 34Michael MIC error was reported on this frame. 35Use together with <code class="constant">RX_FLAG_MMIC_STRIPPED</code>. 36 </p></dd><dt><span class="term">RX_FLAG_DECRYPTED</span></dt><dd><p> 37This frame was decrypted in hardware. 38 </p></dd><dt><span class="term">RX_FLAG_MMIC_STRIPPED</span></dt><dd><p> 39the Michael MIC is stripped off this frame, 40verification has been done by the hardware. 41 </p></dd><dt><span class="term">RX_FLAG_IV_STRIPPED</span></dt><dd><p> 42The IV/ICV are stripped from this frame. 43If this flag is set, the stack cannot do any replay detection 44hence the driver or hardware will have to do that. 45 </p></dd><dt><span class="term">RX_FLAG_FAILED_FCS_CRC</span></dt><dd><p> 46Set this flag if the FCS check failed on 47the frame. 48 </p></dd><dt><span class="term">RX_FLAG_FAILED_PLCP_CRC</span></dt><dd><p> 49Set this flag if the PCLP check failed on 50the frame. 51 </p></dd><dt><span class="term">RX_FLAG_MACTIME_START</span></dt><dd><p> 52The timestamp passed in the RX status (<em class="parameter"><code>mactime</code></em> 53field) is valid and contains the time the first symbol of the MPDU 54was received. This is useful in monitor mode and for proper IBSS 55merging. 56 </p></dd><dt><span class="term">RX_FLAG_SHORTPRE</span></dt><dd><p> 57Short preamble was used for this frame 58 </p></dd><dt><span class="term">RX_FLAG_HT</span></dt><dd><p> 59HT MCS was used and rate_idx is MCS index 60 </p></dd><dt><span class="term">RX_FLAG_40MHZ</span></dt><dd><p> 61HT40 (40 MHz) was used 62 </p></dd><dt><span class="term">RX_FLAG_SHORT_GI</span></dt><dd><p> 63Short guard interval was used 64 </p></dd><dt><span class="term">RX_FLAG_NO_SIGNAL_VAL</span></dt><dd><p> 65The signal strength value is not present. 66Valid only for data frames (mainly A-MPDU) 67 </p></dd><dt><span class="term">RX_FLAG_HT_GF</span></dt><dd><p> 68This frame was received in a HT-greenfield transmission, if 69the driver fills this value it should add <code class="constant">IEEE80211_RADIOTAP_MCS_HAVE_FMT</code> 70to hw.radiotap_mcs_details to advertise that fact 71 </p></dd><dt><span class="term">RX_FLAG_AMPDU_DETAILS</span></dt><dd><p> 72A-MPDU details are known, in particular the reference 73number (<em class="parameter"><code>ampdu_reference</code></em>) must be populated and be a distinct number for 74each A-MPDU 75 </p></dd><dt><span class="term">RX_FLAG_AMPDU_REPORT_ZEROLEN</span></dt><dd><p> 76driver reports 0-length subframes 77 </p></dd><dt><span class="term">RX_FLAG_AMPDU_IS_ZEROLEN</span></dt><dd><p> 78This is a zero-length subframe, for 79monitoring purposes only 80 </p></dd><dt><span class="term">RX_FLAG_AMPDU_LAST_KNOWN</span></dt><dd><p> 81last subframe is known, should be set on all 82subframes of a single A-MPDU 83 </p></dd><dt><span class="term">RX_FLAG_AMPDU_IS_LAST</span></dt><dd><p> 84this subframe is the last subframe of the A-MPDU 85 </p></dd><dt><span class="term">RX_FLAG_AMPDU_DELIM_CRC_ERROR</span></dt><dd><p> 86A delimiter CRC error has been detected 87on this subframe 88 </p></dd><dt><span class="term">RX_FLAG_AMPDU_DELIM_CRC_KNOWN</span></dt><dd><p> 89The delimiter CRC field is known (the CRC 90is stored in the <em class="parameter"><code>ampdu_delimiter_crc</code></em> field) 91 </p></dd><dt><span class="term">RX_FLAG_MACTIME_END</span></dt><dd><p> 92The timestamp passed in the RX status (<em class="parameter"><code>mactime</code></em> 93field) is valid and contains the time the last symbol of the MPDU 94(including FCS) was received. 95 </p></dd><dt><span class="term">RX_FLAG_VHT</span></dt><dd><p> 96VHT MCS was used and rate_index is MCS index 97 </p></dd><dt><span class="term">RX_FLAG_LDPC</span></dt><dd><p> 98LDPC was used 99 </p></dd><dt><span class="term">RX_FLAG_STBC_MASK</span></dt><dd><p> 100STBC 2 bit bitmask. 1 - Nss=1, 2 - Nss=2, 3 - Nss=3 101 </p></dd><dt><span class="term">RX_FLAG_10MHZ</span></dt><dd><p> 10210 MHz (half channel) was used 103 </p></dd><dt><span class="term">RX_FLAG_5MHZ</span></dt><dd><p> 1045 MHz (quarter channel) was used 105 </p></dd><dt><span class="term">RX_FLAG_AMSDU_MORE</span></dt><dd><p> 106Some drivers may prefer to report separate A-MSDU 107subframes instead of a one huge frame for performance reasons. 108All, but the last MSDU from an A-MSDU should have this flag set. E.g. 109if an A-MSDU has 3 frames, the first 2 must have the flag set, while 110the 3rd (last) one must not have this flag set. The flag is used to 111deal with retransmission/duplication recovery properly since A-MSDU 112subframes share the same sequence number. Reported subframes can be 113either regular MSDU or singly A-MSDUs. Subframes must not be 114interleaved with other frames. 115 </p></dd><dt><span class="term">RX_FLAG_RADIOTAP_VENDOR_DATA</span></dt><dd><p> 116This frame contains vendor-specific 117radiotap data in the skb->data (before the frame) as described by 118the <span class="structname">struct ieee80211_vendor_radiotap</span>. 119 </p></dd></dl></div></div><div class="refsect1"><a name="idp1113629436"></a><h2>Description</h2><p> 120 </p><p> 121 122 These flags are used with the <em class="parameter"><code>flag</code></em> member of <span class="structname">struct ieee80211_rx_status</span>. 123</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> 124