1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>enum ieee80211_filter_flags</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="The 802.11 subsystems &#8211; for kernel developers"><link rel="up" href="filters.html" title="Chapter&#160;5.&#160;Frame filtering"><link rel="prev" href="filters.html" title="Chapter&#160;5.&#160;Frame filtering"><link rel="next" href="workqueue.html" title="Chapter&#160;6.&#160;The mac80211 workqueue"></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 ieee80211_filter_flags</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="filters.html">Prev</a>&#160;</td><th width="60%" align="center">Chapter&#160;5.&#160;Frame filtering</th><td width="20%" align="right">&#160;<a accesskey="n" href="workqueue.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-enum-ieee80211-filter-flags"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>enum ieee80211_filter_flags &#8212; 
2  hardware filter flags
3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">
4enum ieee80211_filter_flags {
5  FIF_PROMISC_IN_BSS,
6  FIF_ALLMULTI,
7  FIF_FCSFAIL,
8  FIF_PLCPFAIL,
9  FIF_BCN_PRBRESP_PROMISC,
10  FIF_CONTROL,
11  FIF_OTHER_BSS,
12  FIF_PSPOLL,
13  FIF_PROBE_REQ
14};  </pre></div><div class="refsect1"><a name="idp1113906284"></a><h2>Constants</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">FIF_PROMISC_IN_BSS</span></dt><dd><p>
15promiscuous mode within your BSS,
16think of the BSS as your network segment and then this corresponds
17to the regular ethernet device promiscuous mode.
18      </p></dd><dt><span class="term">FIF_ALLMULTI</span></dt><dd><p>
19pass all multicast frames, this is used if requested
20by the user or if the hardware is not capable of filtering by
21multicast address.
22      </p></dd><dt><span class="term">FIF_FCSFAIL</span></dt><dd><p>
23pass frames with failed FCS (but you need to set the
24<code class="constant">RX_FLAG_FAILED_FCS_CRC</code> for them)
25      </p></dd><dt><span class="term">FIF_PLCPFAIL</span></dt><dd><p>
26pass frames with failed PLCP CRC (but you need to set
27the <code class="constant">RX_FLAG_FAILED_PLCP_CRC</code> for them
28      </p></dd><dt><span class="term">FIF_BCN_PRBRESP_PROMISC</span></dt><dd><p>
29This flag is set during scanning to indicate
30to the hardware that it should not filter beacons or probe responses
31by BSSID. Filtering them can greatly reduce the amount of processing
32mac80211 needs to do and the amount of CPU wakeups, so you should
33honour this flag if possible.
34      </p></dd><dt><span class="term">FIF_CONTROL</span></dt><dd><p>
35pass control frames (except for PS Poll), if PROMISC_IN_BSS
36is not set then only those addressed to this station.
37      </p></dd><dt><span class="term">FIF_OTHER_BSS</span></dt><dd><p>
38pass frames destined to other BSSes
39      </p></dd><dt><span class="term">FIF_PSPOLL</span></dt><dd><p>
40pass PS Poll frames, if PROMISC_IN_BSS is not set then only
41those addressed to this station.
42      </p></dd><dt><span class="term">FIF_PROBE_REQ</span></dt><dd><p>
43pass probe request frames
44      </p></dd></dl></div></div><div class="refsect1"><a name="idp1113914364"></a><h2>HW queue control</h2><p>
45   </p><p>
46
47   These flags determine what the filter in hardware should be
48   programmed to let through and what should not be passed to the
49   stack. It is always safe to pass more frames than requested,
50   but this has negative impact on power consumption.
51</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="filters.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="filters.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="workqueue.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter&#160;5.&#160;Frame filtering&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;Chapter&#160;6.&#160;The mac80211 workqueue</td></tr></table></div></body></html>
52