---
name: "enum_wiphy_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_wiphy_flags"
---

# enum\_wiphy\_flags(9)

wiphy capability flags

## NAME

enum\_wiphy\_flags - wiphy capability flags

## SYNOPSIS

```
enum wiphy_flags {
  WIPHY_FLAG_NETNS_OK,
  WIPHY_FLAG_PS_ON_BY_DEFAULT,
  WIPHY_FLAG_4ADDR_AP,
  WIPHY_FLAG_4ADDR_STATION,
  WIPHY_FLAG_CONTROL_PORT_PROTOCOL,
  WIPHY_FLAG_IBSS_RSN,
  WIPHY_FLAG_MESH_AUTH,
  WIPHY_FLAG_SUPPORTS_SCHED_SCAN,
  WIPHY_FLAG_SUPPORTS_FW_ROAM,
  WIPHY_FLAG_AP_UAPSD,
  WIPHY_FLAG_SUPPORTS_TDLS,
  WIPHY_FLAG_TDLS_EXTERNAL_SETUP,
  WIPHY_FLAG_HAVE_AP_SME,
  WIPHY_FLAG_REPORTS_OBSS,
  WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD,
  WIPHY_FLAG_OFFCHAN_TX,
  WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL,
  WIPHY_FLAG_SUPPORTS_5_10_MHZ,
  WIPHY_FLAG_HAS_CHANNEL_SWITCH
};
```

## CONSTANTS

WIPHY\_FLAG\_NETNS\_OK

if not set, do not allow changing the netns of this wiphy at all

WIPHY\_FLAG\_PS\_ON\_BY\_DEFAULT

if set to true, powersave will be enabled by default -- this flag will be set depending on the kernel's default on **wiphy\_new**, but can be changed by the driver if it has a good reason to override the default

WIPHY\_FLAG\_4ADDR\_AP

supports 4addr mode even on AP (with a single station on a VLAN interface)

WIPHY\_FLAG\_4ADDR\_STATION

supports 4addr mode even as a station

WIPHY\_FLAG\_CONTROL\_PORT\_PROTOCOL

This device supports setting the control port protocol ethertype. The device also honours the control\_port\_no\_encrypt flag.

WIPHY\_FLAG\_IBSS\_RSN

The device supports IBSS RSN.

WIPHY\_FLAG\_MESH\_AUTH

The device supports mesh authentication by routing auth frames to userspace. See *NL80211\_MESH\_SETUP\_USERSPACE\_AUTH*.

WIPHY\_FLAG\_SUPPORTS\_SCHED\_SCAN

The device supports scheduled scans.

WIPHY\_FLAG\_SUPPORTS\_FW\_ROAM

The device supports roaming feature in the firmware.

WIPHY\_FLAG\_AP\_UAPSD

The device supports uapsd on AP.

WIPHY\_FLAG\_SUPPORTS\_TDLS

The device supports TDLS (802.11z) operation.

WIPHY\_FLAG\_TDLS\_EXTERNAL\_SETUP

The device does not handle TDLS (802.11z) link setup/discovery operations internally. Setup, discovery and teardown packets should be sent through the *NL80211\_CMD\_TDLS\_MGMT* command. When this flag is not set, *NL80211\_CMD\_TDLS\_OPER* should be used for asking the driver/firmware to perform a TDLS operation.

WIPHY\_FLAG\_HAVE\_AP\_SME

device integrates AP SME

WIPHY\_FLAG\_REPORTS\_OBSS

the device will report beacons from other BSSes when there are virtual interfaces in AP mode by calling **cfg80211\_report\_obss\_beacon**.

WIPHY\_FLAG\_AP\_PROBE\_RESP\_OFFLOAD

When operating as an AP, the device responds to probe-requests in hardware.

WIPHY\_FLAG\_OFFCHAN\_TX

Device supports direct off-channel TX.

WIPHY\_FLAG\_HAS\_REMAIN\_ON\_CHANNEL

Device supports remain-on-channel call.

WIPHY\_FLAG\_SUPPORTS\_5\_10\_MHZ

Device supports 5 MHz and 10 MHz channels.

WIPHY\_FLAG\_HAS\_CHANNEL\_SWITCH

Device supports channel switch in beaconing mode (AP, IBSS, Mesh, ...).

## AUTHOR

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

Author.

## COPYRIGHT
