1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>cfg80211_inform_bss_width</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-cfg80211-inform-bss-width-frame.html" title="cfg80211_inform_bss_width_frame"><link rel="next" href="API-cfg80211-unlink-bss.html" title="cfg80211_unlink_bss"></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">cfg80211_inform_bss_width</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-cfg80211-inform-bss-width-frame.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-unlink-bss.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-cfg80211-inform-bss-width"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>cfg80211_inform_bss_width — 2 inform cfg80211 of a new BSS 3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">struct cfg80211_bss * <b class="fsfunc">cfg80211_inform_bss_width </b>(</code></td><td>struct wiphy * <var class="pdparam">wiphy</var>, </td></tr><tr><td> </td><td>struct ieee80211_channel * <var class="pdparam">rx_channel</var>, </td></tr><tr><td> </td><td>enum nl80211_bss_scan_width <var class="pdparam">scan_width</var>, </td></tr><tr><td> </td><td>enum cfg80211_bss_frame_type <var class="pdparam">ftype</var>, </td></tr><tr><td> </td><td>const u8 * <var class="pdparam">bssid</var>, </td></tr><tr><td> </td><td>u64 <var class="pdparam">tsf</var>, </td></tr><tr><td> </td><td>u16 <var class="pdparam">capability</var>, </td></tr><tr><td> </td><td>u16 <var class="pdparam">beacon_interval</var>, </td></tr><tr><td> </td><td>const u8 * <var class="pdparam">ie</var>, </td></tr><tr><td> </td><td>size_t <var class="pdparam">ielen</var>, </td></tr><tr><td> </td><td>s32 <var class="pdparam">signal</var>, </td></tr><tr><td> </td><td>gfp_t <var class="pdparam">gfp</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1"><a name="idp1113032820"></a><h2>Arguments</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>wiphy</code></em></span></dt><dd><p> 4 the wiphy reporting the BSS 5 </p></dd><dt><span class="term"><em class="parameter"><code>rx_channel</code></em></span></dt><dd><p> 6 The channel the frame was received on 7 </p></dd><dt><span class="term"><em class="parameter"><code>scan_width</code></em></span></dt><dd><p> 8 width of the control channel 9 </p></dd><dt><span class="term"><em class="parameter"><code>ftype</code></em></span></dt><dd><p> 10 frame type (if known) 11 </p></dd><dt><span class="term"><em class="parameter"><code>bssid</code></em></span></dt><dd><p> 12 the BSSID of the BSS 13 </p></dd><dt><span class="term"><em class="parameter"><code>tsf</code></em></span></dt><dd><p> 14 the TSF sent by the peer in the beacon/probe response (or 0) 15 </p></dd><dt><span class="term"><em class="parameter"><code>capability</code></em></span></dt><dd><p> 16 the capability field sent by the peer 17 </p></dd><dt><span class="term"><em class="parameter"><code>beacon_interval</code></em></span></dt><dd><p> 18 the beacon interval announced by the peer 19 </p></dd><dt><span class="term"><em class="parameter"><code>ie</code></em></span></dt><dd><p> 20 additional IEs sent by the peer 21 </p></dd><dt><span class="term"><em class="parameter"><code>ielen</code></em></span></dt><dd><p> 22 length of the additional IEs 23 </p></dd><dt><span class="term"><em class="parameter"><code>signal</code></em></span></dt><dd><p> 24 the signal strength, type depends on the wiphy's signal_type 25 </p></dd><dt><span class="term"><em class="parameter"><code>gfp</code></em></span></dt><dd><p> 26 context flags 27 </p></dd></dl></div></div><div class="refsect1"><a name="idp1113045428"></a><h2>Description</h2><p> 28 This informs cfg80211 that BSS information was found and 29 the BSS should be updated/added. 30</p></div><div class="refsect1"><a name="idp1113046108"></a><h2>Return</h2><p> 31 A referenced struct, must be released with <code class="function">cfg80211_put_bss</code>! 32 Or <code class="constant">NULL</code> on error. 33</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-cfg80211-inform-bss-width-frame.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-unlink-bss.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">cfg80211_inform_bss_width_frame</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_unlink_bss</span></td></tr></table></div></body></html> 34