1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>enum wiphy_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="bk01ch01.html" title="Chapter 1. Device registration"><link rel="prev" href="API-enum-wiphy-params-flags.html" title="enum wiphy_params_flags"><link rel="next" href="API-struct-wiphy.html" title="struct wiphy"></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 wiphy_flags</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-enum-wiphy-params-flags.html">Prev</a> </td><th width="60%" align="center">Chapter 1. Device registration</th><td width="20%" align="right"> <a accesskey="n" href="API-struct-wiphy.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-enum-wiphy-flags"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>enum wiphy_flags — 2 wiphy capability flags 3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting"> 4enum wiphy_flags { 5 WIPHY_FLAG_NETNS_OK, 6 WIPHY_FLAG_PS_ON_BY_DEFAULT, 7 WIPHY_FLAG_4ADDR_AP, 8 WIPHY_FLAG_4ADDR_STATION, 9 WIPHY_FLAG_CONTROL_PORT_PROTOCOL, 10 WIPHY_FLAG_IBSS_RSN, 11 WIPHY_FLAG_MESH_AUTH, 12 WIPHY_FLAG_SUPPORTS_SCHED_SCAN, 13 WIPHY_FLAG_SUPPORTS_FW_ROAM, 14 WIPHY_FLAG_AP_UAPSD, 15 WIPHY_FLAG_SUPPORTS_TDLS, 16 WIPHY_FLAG_TDLS_EXTERNAL_SETUP, 17 WIPHY_FLAG_HAVE_AP_SME, 18 WIPHY_FLAG_REPORTS_OBSS, 19 WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD, 20 WIPHY_FLAG_OFFCHAN_TX, 21 WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL, 22 WIPHY_FLAG_SUPPORTS_5_10_MHZ, 23 WIPHY_FLAG_HAS_CHANNEL_SWITCH 24}; </pre></div><div class="refsect1"><a name="idp1112148212"></a><h2>Constants</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">WIPHY_FLAG_NETNS_OK</span></dt><dd><p> 25if not set, do not allow changing the netns of this 26wiphy at all 27 </p></dd><dt><span class="term">WIPHY_FLAG_PS_ON_BY_DEFAULT</span></dt><dd><p> 28if set to true, powersave will be enabled 29by default -- this flag will be set depending on the kernel's default 30on <code class="function">wiphy_new</code>, but can be changed by the driver if it has a good 31reason to override the default 32 </p></dd><dt><span class="term">WIPHY_FLAG_4ADDR_AP</span></dt><dd><p> 33supports 4addr mode even on AP (with a single station 34on a VLAN interface) 35 </p></dd><dt><span class="term">WIPHY_FLAG_4ADDR_STATION</span></dt><dd><p> 36supports 4addr mode even as a station 37 </p></dd><dt><span class="term">WIPHY_FLAG_CONTROL_PORT_PROTOCOL</span></dt><dd><p> 38This device supports setting the 39control port protocol ethertype. The device also honours the 40control_port_no_encrypt flag. 41 </p></dd><dt><span class="term">WIPHY_FLAG_IBSS_RSN</span></dt><dd><p> 42The device supports IBSS RSN. 43 </p></dd><dt><span class="term">WIPHY_FLAG_MESH_AUTH</span></dt><dd><p> 44The device supports mesh authentication by routing 45auth frames to userspace. See <em class="parameter"><code>NL80211_MESH_SETUP_USERSPACE_AUTH</code></em>. 46 </p></dd><dt><span class="term">WIPHY_FLAG_SUPPORTS_SCHED_SCAN</span></dt><dd><p> 47The device supports scheduled scans. 48 </p></dd><dt><span class="term">WIPHY_FLAG_SUPPORTS_FW_ROAM</span></dt><dd><p> 49The device supports roaming feature in the 50firmware. 51 </p></dd><dt><span class="term">WIPHY_FLAG_AP_UAPSD</span></dt><dd><p> 52The device supports uapsd on AP. 53 </p></dd><dt><span class="term">WIPHY_FLAG_SUPPORTS_TDLS</span></dt><dd><p> 54The device supports TDLS (802.11z) operation. 55 </p></dd><dt><span class="term">WIPHY_FLAG_TDLS_EXTERNAL_SETUP</span></dt><dd><p> 56The device does not handle TDLS (802.11z) 57link setup/discovery operations internally. Setup, discovery and 58teardown packets should be sent through the <em class="parameter"><code>NL80211_CMD_TDLS_MGMT</code></em> 59command. When this flag is not set, <em class="parameter"><code>NL80211_CMD_TDLS_OPER</code></em> should be 60used for asking the driver/firmware to perform a TDLS operation. 61 </p></dd><dt><span class="term">WIPHY_FLAG_HAVE_AP_SME</span></dt><dd><p> 62device integrates AP SME 63 </p></dd><dt><span class="term">WIPHY_FLAG_REPORTS_OBSS</span></dt><dd><p> 64the device will report beacons from other BSSes 65when there are virtual interfaces in AP mode by calling 66<code class="function">cfg80211_report_obss_beacon</code>. 67 </p></dd><dt><span class="term">WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD</span></dt><dd><p> 68When operating as an AP, the device 69responds to probe-requests in hardware. 70 </p></dd><dt><span class="term">WIPHY_FLAG_OFFCHAN_TX</span></dt><dd><p> 71Device supports direct off-channel TX. 72 </p></dd><dt><span class="term">WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL</span></dt><dd><p> 73Device supports remain-on-channel call. 74 </p></dd><dt><span class="term">WIPHY_FLAG_SUPPORTS_5_10_MHZ</span></dt><dd><p> 75Device supports 5 MHz and 10 MHz channels. 76 </p></dd><dt><span class="term">WIPHY_FLAG_HAS_CHANNEL_SWITCH</span></dt><dd><p> 77Device supports channel switch in 78beaconing mode (AP, IBSS, Mesh, ...). 79 </p></dd></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-enum-wiphy-params-flags.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="bk01ch01.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-struct-wiphy.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">enum wiphy_params_flags</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">struct wiphy</span></td></tr></table></div></body></html> 80