1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>struct cfg80211_assoc_request</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="bk01ch02.html" title="Chapter 2. Actions and configuration"><link rel="prev" href="API-struct-cfg80211-auth-request.html" title="struct cfg80211_auth_request"><link rel="next" href="API-struct-cfg80211-deauth-request.html" title="struct cfg80211_deauth_request"></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">struct cfg80211_assoc_request</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-struct-cfg80211-auth-request.html">Prev</a> </td><th width="60%" align="center">Chapter 2. Actions and configuration</th><td width="20%" align="right"> <a accesskey="n" href="API-struct-cfg80211-deauth-request.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-cfg80211-assoc-request"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct cfg80211_assoc_request — 2 (Re)Association request data 3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting"> 4struct cfg80211_assoc_request { 5 struct cfg80211_bss * bss; 6 const u8 * ie; 7 const u8 * prev_bssid; 8 size_t ie_len; 9 struct cfg80211_crypto_settings crypto; 10 bool use_mfp; 11 u32 flags; 12 struct ieee80211_ht_cap ht_capa; 13 struct ieee80211_ht_cap ht_capa_mask; 14 struct ieee80211_vht_cap vht_capa; 15 struct ieee80211_vht_cap vht_capa_mask; 16}; </pre></div><div class="refsect1"><a name="idp1112672476"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">bss</span></dt><dd><p> 17The BSS to associate with. If the call is successful the driver is 18given a reference that it must give back to <code class="function">cfg80211_send_rx_assoc</code> 19or to <code class="function">cfg80211_assoc_timeout</code>. To ensure proper refcounting, new 20association requests while already associating must be rejected. 21 </p></dd><dt><span class="term">ie</span></dt><dd><p> 22Extra IEs to add to (Re)Association Request frame or <code class="constant">NULL</code> 23 </p></dd><dt><span class="term">prev_bssid</span></dt><dd><p> 24previous BSSID, if not <code class="constant">NULL</code> use reassociate frame 25 </p></dd><dt><span class="term">ie_len</span></dt><dd><p> 26Length of ie buffer in octets 27 </p></dd><dt><span class="term">crypto</span></dt><dd><p> 28crypto settings 29 </p></dd><dt><span class="term">use_mfp</span></dt><dd><p> 30Use management frame protection (IEEE 802.11w) in this association 31 </p></dd><dt><span class="term">flags</span></dt><dd><p> 32See <span class="structname">enum</span> cfg80211_assoc_req_flags 33 </p></dd><dt><span class="term">ht_capa</span></dt><dd><p> 34HT Capabilities over-rides. Values set in ht_capa_mask 35will be used in ht_capa. Un-supported values will be ignored. 36 </p></dd><dt><span class="term">ht_capa_mask</span></dt><dd><p> 37The bits of ht_capa which are to be used. 38 </p></dd><dt><span class="term">vht_capa</span></dt><dd><p> 39VHT capability override 40 </p></dd><dt><span class="term">vht_capa_mask</span></dt><dd><p> 41VHT capability mask indicating which fields to use 42 </p></dd></dl></div></div><div class="refsect1"><a name="idp1112682092"></a><h2>Description</h2><p> 43 </p><p> 44 45 This structure provides information needed to complete IEEE 802.11 46 (re)association. 47</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-cfg80211-auth-request.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="bk01ch02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-struct-cfg80211-deauth-request.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">struct cfg80211_auth_request</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 cfg80211_deauth_request</span></td></tr></table></div></body></html> 48