---
name: "enum_ieee80211_filter_flags"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/enum_ieee80211_filter_flags"
---

# enum\_ieee80211\_filter\_flags(9)

hardware filter flags

## NAME

enum\_ieee80211\_filter\_flags - hardware filter flags

## SYNOPSIS

```
enum ieee80211_filter_flags {
  FIF_PROMISC_IN_BSS,
  FIF_ALLMULTI,
  FIF_FCSFAIL,
  FIF_PLCPFAIL,
  FIF_BCN_PRBRESP_PROMISC,
  FIF_CONTROL,
  FIF_OTHER_BSS,
  FIF_PSPOLL,
  FIF_PROBE_REQ
};
```

## CONSTANTS

FIF\_PROMISC\_IN\_BSS

promiscuous mode within your BSS, think of the BSS as your network segment and then this corresponds to the regular ethernet device promiscuous mode.

FIF\_ALLMULTI

pass all multicast frames, this is used if requested by the user or if the hardware is not capable of filtering by multicast address.

FIF\_FCSFAIL

pass frames with failed FCS (but you need to set the **RX\_FLAG\_FAILED\_FCS\_CRC** for them)

FIF\_PLCPFAIL

pass frames with failed PLCP CRC (but you need to set the **RX\_FLAG\_FAILED\_PLCP\_CRC** for them

FIF\_BCN\_PRBRESP\_PROMISC

This flag is set during scanning to indicate to the hardware that it should not filter beacons or probe responses by BSSID. Filtering them can greatly reduce the amount of processing mac80211 needs to do and the amount of CPU wakeups, so you should honour this flag if possible.

FIF\_CONTROL

pass control frames (except for PS Poll), if PROMISC\_IN\_BSS is not set then only those addressed to this station.

FIF\_OTHER\_BSS

pass frames destined to other BSSes

FIF\_PSPOLL

pass PS Poll frames, if PROMISC\_IN\_BSS is not set then only those addressed to this station.

FIF\_PROBE\_REQ

pass probe request frames

## HW QUEUE CONTROL

These flags determine what the filter in hardware should be programmed to let through and what should not be passed to the stack. It is always safe to pass more frames than requested, but this has negative impact on power consumption.

## AUTHOR

**Johannes Berg** \<johannes@sipsolutions.net\>

Author.

## COPYRIGHT
