1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>struct cfg80211_scan_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="bk01ch03.html" title="Chapter 3. Scanning and BSS list handling"><link rel="prev" href="API-struct-cfg80211-ssid.html" title="struct cfg80211_ssid"><link rel="next" href="API-cfg80211-scan-done.html" title="cfg80211_scan_done"></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_scan_request</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-struct-cfg80211-ssid.html">Prev</a> </td><th width="60%" align="center">Chapter 3. Scanning and BSS list handling</th><td width="20%" align="right"> <a accesskey="n" href="API-cfg80211-scan-done.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-cfg80211-scan-request"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct cfg80211_scan_request — 2 scan request description 3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting"> 4struct cfg80211_scan_request { 5 struct cfg80211_ssid * ssids; 6 int n_ssids; 7 u32 n_channels; 8 enum nl80211_bss_scan_width scan_width; 9 const u8 * ie; 10 size_t ie_len; 11 u32 flags; 12 u32 rates[IEEE80211_NUM_BANDS]; 13 struct wireless_dev * wdev; 14 u8 mac_addr[ETH_ALEN]; 15 u8 mac_addr_mask[ETH_ALEN]; 16 struct wiphy * wiphy; 17 unsigned long scan_start; 18 bool aborted; 19 bool notified; 20 bool no_cck; 21 struct ieee80211_channel * channels[0]; 22}; </pre></div><div class="refsect1"><a name="idp1112972012"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">ssids</span></dt><dd><p> 23SSIDs to scan for (active scan only) 24 </p></dd><dt><span class="term">n_ssids</span></dt><dd><p> 25number of SSIDs 26 </p></dd><dt><span class="term">n_channels</span></dt><dd><p> 27total number of channels to scan 28 </p></dd><dt><span class="term">scan_width</span></dt><dd><p> 29channel width for scanning 30 </p></dd><dt><span class="term">ie</span></dt><dd><p> 31optional information element(s) to add into Probe Request or <code class="constant">NULL</code> 32 </p></dd><dt><span class="term">ie_len</span></dt><dd><p> 33length of ie in octets 34 </p></dd><dt><span class="term">flags</span></dt><dd><p> 35bit field of flags controlling operation 36 </p></dd><dt><span class="term">rates[IEEE80211_NUM_BANDS]</span></dt><dd><p> 37bitmap of rates to advertise for each band 38 </p></dd><dt><span class="term">wdev</span></dt><dd><p> 39the wireless device to scan for 40 </p></dd><dt><span class="term">mac_addr[ETH_ALEN]</span></dt><dd><p> 41MAC address used with randomisation 42 </p></dd><dt><span class="term">mac_addr_mask[ETH_ALEN]</span></dt><dd><p> 43MAC address mask used with randomisation, bits that 44are 0 in the mask should be randomised, bits that are 1 should 45be taken from the <em class="parameter"><code>mac_addr</code></em> 46 </p></dd><dt><span class="term">wiphy</span></dt><dd><p> 47the wiphy this was for 48 </p></dd><dt><span class="term">scan_start</span></dt><dd><p> 49time (in jiffies) when the scan started 50 </p></dd><dt><span class="term">aborted</span></dt><dd><p> 51(internal) scan request was notified as aborted 52 </p></dd><dt><span class="term">notified</span></dt><dd><p> 53(internal) scan request was notified as done or aborted 54 </p></dd><dt><span class="term">no_cck</span></dt><dd><p> 55used to send probe requests at non CCK rate in 2GHz band 56 </p></dd><dt><span class="term">channels[0]</span></dt><dd><p> 57channels to scan on. 58 </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-struct-cfg80211-ssid.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="bk01ch03.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-cfg80211-scan-done.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">struct cfg80211_ssid</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">cfg80211_scan_done</span></td></tr></table></div></body></html> 59