mirror of
https://github.com/cwyark/sdk-ameba-v4.0b_without_nda_gcc.git
synced 2024-11-21 21:44:22 +00:00
4026 lines
245 KiB
HTML
4026 lines
245 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.11"/>
|
|
<title>SDK4.0: NIC</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<script type="text/javascript">
|
|
$(document).ready(function() { init_search(); });
|
|
</script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">SDK4.0
|
|
</div>
|
|
<div id="projectbrief">This document shows Ameba SDK 4.0 APIs</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.11 -->
|
|
<script type="text/javascript">
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
</script>
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li class="current"><a href="modules.html"><span>Modules</span></a></li>
|
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
|
<li><a href="files.html"><span>Files</span></a></li>
|
|
<li>
|
|
<div id="MSearchBox" class="MSearchBoxInactive">
|
|
<span class="left">
|
|
<img id="MSearchSelect" src="search/mag_sel.png"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
alt=""/>
|
|
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
|
</span><span class="right">
|
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
|
</span>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#nested-classes">Data Structures</a> |
|
|
<a href="#define-members">Macros</a> |
|
|
<a href="#typedef-members">Typedefs</a> |
|
|
<a href="#enum-members">Enumerations</a> |
|
|
<a href="#enumval-members">Enumerator</a> |
|
|
<a href="#func-members">Functions</a> |
|
|
<a href="#var-members">Variables</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">NIC<div class="ingroups"><a class="el" href="group__sdk.html">Ameba SDK</a> » <a class="el" href="group__wlan.html">WLAN</a></div></div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>NIC functions.
|
|
<a href="#details">More...</a></p>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
|
Data Structures</h2></td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structscan__buf__arg.html">scan_buf_arg</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structinternal__scan__handler.html">internal_scan_handler</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structinternal__join__result__t.html">internal_join_result_t</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structevent__list__elem__t.html">event_list_elem_t</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structrtw__ssid.html">rtw_ssid</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">The structure is used to describe the SSID. <a href="structrtw__ssid.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structrtw__mac.html">rtw_mac</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">The structure is used to describe the unique 6-byte MAC address. <a href="structrtw__mac.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structrtw__ap__info.html">rtw_ap_info</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">The structure is used to describe the setting about SSID, security type, password and default channel, used to start AP mode. <a href="structrtw__ap__info.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structrtw__network__info.html">rtw_network_info</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">The structure is used to describe the station mode setting about SSID, security type and password, used when connecting to an AP. <a href="structrtw__network__info.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structrtw__scan__result.html">rtw_scan_result</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">The structure is used to describe the scan result of the AP. <a href="structrtw__scan__result.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structrtw__scan__handler__result.html">rtw_scan_handler_result</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">The structure is used to describe the data needed by scan result handler function. <a href="structrtw__scan__handler__result.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structrtw__wifi__setting.html">rtw_wifi_setting</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">The structure is used to store the WIFI setting gotten from WIFI driver. <a href="structrtw__wifi__setting.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structrtw__wifi__config.html">rtw_wifi_config</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">The structure is used to describe the setting when configure the network. <a href="structrtw__wifi__config.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structrtw__maclist__t.html">rtw_maclist_t</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">The structure is used to describe the maclist. <a href="structrtw__maclist__t.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structrtw__bss__info__t.html">rtw_bss_info_t</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">The structure is used to describe the bss info of the network.<br />
|
|
It include the version, BSSID, beacon_period, capability, SSID, channel, atm_window, dtim_period, RSSI e.g. <a href="structrtw__bss__info__t.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structrtw__packet__filter__pattern__t.html">rtw_packet_filter_pattern_t</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">The structure is used to set WIFI packet filter pattern. <a href="structrtw__packet__filter__pattern__t.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structieee80211__frame__info.html">ieee80211_frame_info</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structrtw__packet__filter__info__t.html">rtw_packet_filter_info_t</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structrtw__mac__filter__list.html">rtw_mac_filter_list</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
|
Macros</h2></td></tr>
|
|
<tr class="memitem:ga03cb02090b5276ce77fbd9bfbf5c99e3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga03cb02090b5276ce77fbd9bfbf5c99e3"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>RTW_ENABLE_API_INFO</b></td></tr>
|
|
<tr class="separator:ga03cb02090b5276ce77fbd9bfbf5c99e3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gafe2e04b52839e711b1267fb146c36d5a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gafe2e04b52839e711b1267fb146c36d5a"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>RTW_API_INFO</b>(args)   do {printf args;} while(0)</td></tr>
|
|
<tr class="separator:gafe2e04b52839e711b1267fb146c36d5a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gafba521f74b68eea054d597ea2b2a14a0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gafba521f74b68eea054d597ea2b2a14a0"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>MAC_ARG</b>(x)   ((u8*)(x))[0],((u8*)(x))[1],((u8*)(x))[2],((u8*)(x))[3],((u8*)(x))[4],((u8*)(x))[5]</td></tr>
|
|
<tr class="separator:gafba521f74b68eea054d597ea2b2a14a0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaf5b854035e5d21db85b3bb6e8993351f"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><b>CMP_MAC</b>(a, b)</td></tr>
|
|
<tr class="separator:gaf5b854035e5d21db85b3bb6e8993351f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gacd8542abdf4360316f1743f341d95846"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gacd8542abdf4360316f1743f341d95846"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>SCAN_LONGEST_WAIT_TIME</b>   (4500)</td></tr>
|
|
<tr class="separator:gacd8542abdf4360316f1743f341d95846"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaad18d446765186b8c7343f9cb01bcc5c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaad18d446765186b8c7343f9cb01bcc5c"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>MAC_FMT</b>   "%02x:%02x:%02x:%02x:%02x:%02x"</td></tr>
|
|
<tr class="separator:gaad18d446765186b8c7343f9cb01bcc5c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gab40357dee93804cfdd10658630dc262d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gab40357dee93804cfdd10658630dc262d"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>PSCAN_ENABLE</b>   0x01</td></tr>
|
|
<tr class="separator:gab40357dee93804cfdd10658630dc262d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga233847663350ebacde9a64e070c83e49"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga233847663350ebacde9a64e070c83e49"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>PSCAN_FAST_SURVEY</b>   0x02</td></tr>
|
|
<tr class="separator:ga233847663350ebacde9a64e070c83e49"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga8747407c5da1ae47a3f9d89018f236ca"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga8747407c5da1ae47a3f9d89018f236ca"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>PSCAN_SIMPLE_CONFIG</b>   0x04</td></tr>
|
|
<tr class="separator:ga8747407c5da1ae47a3f9d89018f236ca"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaffeb688edb339117241cb41764e27945"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaffeb688edb339117241cb41764e27945"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>WLAN0_NAME</b>   "wlan0"</td></tr>
|
|
<tr class="separator:gaffeb688edb339117241cb41764e27945"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga7126805c513acc992cbecdd59112013d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga7126805c513acc992cbecdd59112013d"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>WLAN1_NAME</b>   "wlan1"</td></tr>
|
|
<tr class="separator:ga7126805c513acc992cbecdd59112013d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga4199a1b37dba92f482ff0b9eb406c323"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga4199a1b37dba92f482ff0b9eb406c323"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>WEP_ENABLED</b>   0x0001</td></tr>
|
|
<tr class="separator:ga4199a1b37dba92f482ff0b9eb406c323"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga20f0d7118c2d35a688bcdc5b8b0920d9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga20f0d7118c2d35a688bcdc5b8b0920d9"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>TKIP_ENABLED</b>   0x0002</td></tr>
|
|
<tr class="separator:ga20f0d7118c2d35a688bcdc5b8b0920d9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga577a9dbc615ba145496a41a2035bd615"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga577a9dbc615ba145496a41a2035bd615"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>AES_ENABLED</b>   0x0004</td></tr>
|
|
<tr class="separator:ga577a9dbc615ba145496a41a2035bd615"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaff5b5038546fbab14893004401aa355d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaff5b5038546fbab14893004401aa355d"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>WSEC_SWFLAG</b>   0x0008</td></tr>
|
|
<tr class="separator:gaff5b5038546fbab14893004401aa355d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga4d4a4586c264fe8e4acb0bf7169b7b0f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga4d4a4586c264fe8e4acb0bf7169b7b0f"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>SHARED_ENABLED</b>   0x00008000</td></tr>
|
|
<tr class="separator:ga4d4a4586c264fe8e4acb0bf7169b7b0f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaa7ccd472bacbd8ee01f31f0f0e2ce3dc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaa7ccd472bacbd8ee01f31f0f0e2ce3dc"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>WPA_SECURITY</b>   0x00200000</td></tr>
|
|
<tr class="separator:gaa7ccd472bacbd8ee01f31f0f0e2ce3dc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga8875737a0403d2136a69bbc96401cccf"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga8875737a0403d2136a69bbc96401cccf"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>WPA2_SECURITY</b>   0x00400000</td></tr>
|
|
<tr class="separator:ga8875737a0403d2136a69bbc96401cccf"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaaae7e8a0eb357cae8f130f9099d8e7b8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaaae7e8a0eb357cae8f130f9099d8e7b8"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>WPS_ENABLED</b>   0x10000000</td></tr>
|
|
<tr class="separator:gaaae7e8a0eb357cae8f130f9099d8e7b8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gac16f3f7a718c4edb8320753bfcf1d1cc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gac16f3f7a718c4edb8320753bfcf1d1cc"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>RTW_MAX_PSK_LEN</b>   (64)</td></tr>
|
|
<tr class="separator:gac16f3f7a718c4edb8320753bfcf1d1cc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga04c63869c1c42330722b2d5dc857f536"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga04c63869c1c42330722b2d5dc857f536"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>RTW_MIN_PSK_LEN</b>   (8)</td></tr>
|
|
<tr class="separator:ga04c63869c1c42330722b2d5dc857f536"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaa44a8901a98f9868efefee50db967736"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaa44a8901a98f9868efefee50db967736"></a>
|
|
#define </td><td class="memItemRight" valign="bottom"><b>MCSSET_LEN</b>   16</td></tr>
|
|
<tr class="separator:gaa44a8901a98f9868efefee50db967736"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
|
|
Typedefs</h2></td></tr>
|
|
<tr class="memitem:ga92df55b81f247963851197c1d1d8f0a6"><td class="memItemLeft" align="right" valign="top">typedef void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga92df55b81f247963851197c1d1d8f0a6">rtw_scan_result_callback_t</a>) (<a class="el" href="group__nic.html#gaed1bca05e9dce80ec13c89077c7e01ef">rtw_scan_result_t</a> **result_ptr, void *user_data)</td></tr>
|
|
<tr class="separator:ga92df55b81f247963851197c1d1d8f0a6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga3643b2c743f5bebab46dfa8d46d1bd3f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga3643b2c743f5bebab46dfa8d46d1bd3f"></a>
|
|
typedef <a class="el" href="group__nic.html#gac72d00736b50d0e26e35fe385b0e2616">rtw_result_t</a>(* </td><td class="memItemRight" valign="bottom"><b>rtw_scan_result_handler_t</b>) (<a class="el" href="group__nic.html#ga9034cd363ae86ade4aca99eb102f78b1">rtw_scan_handler_result_t</a> *malloced_scan_result)</td></tr>
|
|
<tr class="separator:ga3643b2c743f5bebab46dfa8d46d1bd3f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga307c6e0dbb7b6ddad6f66e694558cd6e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga307c6e0dbb7b6ddad6f66e694558cd6e"></a>
|
|
typedef struct <a class="el" href="structinternal__scan__handler.html">internal_scan_handler</a> </td><td class="memItemRight" valign="bottom"><b>internal_scan_handler_t</b></td></tr>
|
|
<tr class="separator:ga307c6e0dbb7b6ddad6f66e694558cd6e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga8ddb4fdacce7fe82efcb92267d7606bd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga8ddb4fdacce7fe82efcb92267d7606bd"></a>
|
|
typedef void(* </td><td class="memItemRight" valign="bottom"><b>rtw_event_handler_t</b>) (char *buf, int buf_len, int flags, void *handler_user_data)</td></tr>
|
|
<tr class="separator:ga8ddb4fdacce7fe82efcb92267d7606bd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaf7821eeb36feffe928044e81c6a7840c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaf7821eeb36feffe928044e81c6a7840c"></a>
|
|
typedef enum <a class="el" href="group__nic.html#gac57363d379bcf11345cb00cf28552615">_WIFI_EVENT_INDICATE</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#gaf7821eeb36feffe928044e81c6a7840c">rtw_event_indicate_t</a></td></tr>
|
|
<tr class="memdesc:gaf7821eeb36feffe928044e81c6a7840c"><td class="mdescLeft"> </td><td class="mdescRight">The enumeration is event type indicated from wlan driver. <br /></td></tr>
|
|
<tr class="separator:gaf7821eeb36feffe928044e81c6a7840c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga0dfc33cd90206e6f3f8eed79c6d7e75b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga0dfc33cd90206e6f3f8eed79c6d7e75b"></a>
|
|
typedef struct <a class="el" href="structrtw__ssid.html">rtw_ssid</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga0dfc33cd90206e6f3f8eed79c6d7e75b">rtw_ssid_t</a></td></tr>
|
|
<tr class="memdesc:ga0dfc33cd90206e6f3f8eed79c6d7e75b"><td class="mdescLeft"> </td><td class="mdescRight">The structure is used to describe the SSID. <br /></td></tr>
|
|
<tr class="separator:ga0dfc33cd90206e6f3f8eed79c6d7e75b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga6f893f4b79a4185fd56da36aea117d9a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga6f893f4b79a4185fd56da36aea117d9a"></a>
|
|
typedef struct <a class="el" href="structrtw__mac.html">rtw_mac</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga6f893f4b79a4185fd56da36aea117d9a">rtw_mac_t</a></td></tr>
|
|
<tr class="memdesc:ga6f893f4b79a4185fd56da36aea117d9a"><td class="mdescLeft"> </td><td class="mdescRight">The structure is used to describe the unique 6-byte MAC address. <br /></td></tr>
|
|
<tr class="separator:ga6f893f4b79a4185fd56da36aea117d9a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga2c2f029718f6fb010f2efec893f71f53"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structrtw__ap__info.html">rtw_ap_info</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga2c2f029718f6fb010f2efec893f71f53">rtw_ap_info_t</a></td></tr>
|
|
<tr class="memdesc:ga2c2f029718f6fb010f2efec893f71f53"><td class="mdescLeft"> </td><td class="mdescRight">The structure is used to describe the setting about SSID, security type, password and default channel, used to start AP mode. <a href="#ga2c2f029718f6fb010f2efec893f71f53">More...</a><br /></td></tr>
|
|
<tr class="separator:ga2c2f029718f6fb010f2efec893f71f53"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga5773aa3861c6536a4826472e19bc5aa3"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structrtw__network__info.html">rtw_network_info</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga5773aa3861c6536a4826472e19bc5aa3">rtw_network_info_t</a></td></tr>
|
|
<tr class="memdesc:ga5773aa3861c6536a4826472e19bc5aa3"><td class="mdescLeft"> </td><td class="mdescRight">The structure is used to describe the station mode setting about SSID, security type and password, used when connecting to an AP. <a href="#ga5773aa3861c6536a4826472e19bc5aa3">More...</a><br /></td></tr>
|
|
<tr class="separator:ga5773aa3861c6536a4826472e19bc5aa3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaed1bca05e9dce80ec13c89077c7e01ef"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaed1bca05e9dce80ec13c89077c7e01ef"></a>
|
|
typedef struct <a class="el" href="structrtw__scan__result.html">rtw_scan_result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#gaed1bca05e9dce80ec13c89077c7e01ef">rtw_scan_result_t</a></td></tr>
|
|
<tr class="memdesc:gaed1bca05e9dce80ec13c89077c7e01ef"><td class="mdescLeft"> </td><td class="mdescRight">The structure is used to describe the scan result of the AP. <br /></td></tr>
|
|
<tr class="separator:gaed1bca05e9dce80ec13c89077c7e01ef"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga9034cd363ae86ade4aca99eb102f78b1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga9034cd363ae86ade4aca99eb102f78b1"></a>
|
|
typedef struct <a class="el" href="structrtw__scan__handler__result.html">rtw_scan_handler_result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga9034cd363ae86ade4aca99eb102f78b1">rtw_scan_handler_result_t</a></td></tr>
|
|
<tr class="memdesc:ga9034cd363ae86ade4aca99eb102f78b1"><td class="mdescLeft"> </td><td class="mdescRight">The structure is used to describe the data needed by scan result handler function. <br /></td></tr>
|
|
<tr class="separator:ga9034cd363ae86ade4aca99eb102f78b1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga839fbd1c7746fae73ae63bf3913bd7e8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga839fbd1c7746fae73ae63bf3913bd7e8"></a>
|
|
typedef struct <a class="el" href="structrtw__wifi__setting.html">rtw_wifi_setting</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga839fbd1c7746fae73ae63bf3913bd7e8">rtw_wifi_setting_t</a></td></tr>
|
|
<tr class="memdesc:ga839fbd1c7746fae73ae63bf3913bd7e8"><td class="mdescLeft"> </td><td class="mdescRight">The structure is used to store the WIFI setting gotten from WIFI driver. <br /></td></tr>
|
|
<tr class="separator:ga839fbd1c7746fae73ae63bf3913bd7e8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga62233d865ac012b3521693e4140ba71e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga62233d865ac012b3521693e4140ba71e"></a>
|
|
typedef struct <a class="el" href="structrtw__wifi__config.html">rtw_wifi_config</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga62233d865ac012b3521693e4140ba71e">rtw_wifi_config_t</a></td></tr>
|
|
<tr class="memdesc:ga62233d865ac012b3521693e4140ba71e"><td class="mdescLeft"> </td><td class="mdescRight">The structure is used to describe the setting when configure the network. <br /></td></tr>
|
|
<tr class="separator:ga62233d865ac012b3521693e4140ba71e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga1ffa85ec988812f3b36b005ca2d3f9fd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga1ffa85ec988812f3b36b005ca2d3f9fd"></a>
|
|
typedef struct <a class="el" href="structieee80211__frame__info.html">ieee80211_frame_info</a> </td><td class="memItemRight" valign="bottom"><b>ieee80211_frame_info_t</b></td></tr>
|
|
<tr class="separator:ga1ffa85ec988812f3b36b005ca2d3f9fd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga1e8ac6ae5ecaa9c6e9a049c1064a735a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga1e8ac6ae5ecaa9c6e9a049c1064a735a"></a>
|
|
typedef struct <a class="el" href="structrtw__mac__filter__list.html">rtw_mac_filter_list</a> </td><td class="memItemRight" valign="bottom"><b>rtw_mac_filter_list_t</b></td></tr>
|
|
<tr class="separator:ga1e8ac6ae5ecaa9c6e9a049c1064a735a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
|
|
Enumerations</h2></td></tr>
|
|
<tr class="memitem:gac72d00736b50d0e26e35fe385b0e2616"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#gac72d00736b50d0e26e35fe385b0e2616">rtw_result_t</a> { <br />
|
|
  <a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616a57ec7a5559055079331f417121d94c76">RTW_SUCCESS</a> = 0,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616ad702d38a63f98a4d8d983cc479967c00">RTW_PENDING</a> = 1,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616ac02533f783d2564213f62b232744841c">RTW_TIMEOUT</a> = 2,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616ae8e0948a319704c7333925430218360f">RTW_PARTIAL_RESULTS</a> = 3,
|
|
<br />
|
|
  <a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616a4d4a08dacbc26c8e24ff6df92d561cdf">RTW_INVALID_KEY</a> = 4,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616a8fe841db4506640aaa1a0c05dae59115">RTW_DOES_NOT_EXIST</a> = 5,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616a058032f65ca7b100628999b949edbf75">RTW_NOT_AUTHENTICATED</a> = 6,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616a3bbf45e34b07beb965667ce8f6c543cf">RTW_NOT_KEYED</a> = 7,
|
|
<br />
|
|
  <a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616ab6c60e0a63876fcf0712621d7568349f">RTW_IOCTL_FAIL</a> = 8,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616ae3ac41e2798bb1707eb7fb8ad98b846a">RTW_BUFFER_UNAVAILABLE_TEMPORARY</a> = 9,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616abbdebe4d2fc26e6e38b1cda4fb56bf2c">RTW_BUFFER_UNAVAILABLE_PERMANENT</a> = 10,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616a140345eb3f006f5c70f93edb2aca9b1a">RTW_WPS_PBC_OVERLAP</a> = 11,
|
|
<br />
|
|
  <a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616afbd5b391d499f198660c056961f5d178">RTW_CONNECTION_LOST</a> = 12,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616ac184513149316c976cc84e41544683ed">RTW_ERROR</a> = -1,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616a39776c341001abde79546f4270dcdeb3">RTW_BADARG</a> = -2,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616a32ac6e65276cbd4ae9b5257e9a8960f4">RTW_BADOPTION</a> = -3,
|
|
<br />
|
|
  <a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616a209fda9ce3ff34b61371def651fe411e">RTW_NOTUP</a> = -4,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616a5f02dcdc491621a080f2b097d30bb536">RTW_NOTDOWN</a> = -5,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616a4cdc396adf5725bffab6a15bf09a9de2">RTW_NOTAP</a> = -6,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616a5e3639075815169bb4a512d5f311cf49">RTW_NOTSTA</a> = -7,
|
|
<br />
|
|
  <a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616a4b9804be02daf750d1d7c7754c01504e">RTW_BADKEYIDX</a> = -8,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616a1171adbd66c1dbeffbaa69de5a1bac77">RTW_RADIOOFF</a> = -9,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616aa8333e8aac9c92b9210ffabbda8b7425">RTW_NOTBANDLOCKED</a> = -10,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616ac09a3002f1491565563f79e9be0a1aa3">RTW_NOCLK</a> = -11,
|
|
<br />
|
|
  <a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616aa40407d5492c95fa81933aedcd2e48a6">RTW_BADRATESET</a> = -12,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616ac7dc40f0d6356a27b393375f5dbc0d92">RTW_BADBAND</a> = -13,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616aee84e6f7021eafdba355c7a2c8f3d20d">RTW_BUFTOOSHORT</a> = -14,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616a6c0132db2744655150fa368a15551cdc">RTW_BUFTOOLONG</a> = -15,
|
|
<br />
|
|
  <a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616a0fea3d22ba0c9984aff49300238977b7">RTW_BUSY</a> = -16,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616a1407247d121d446efca71a0f6c7ace3a">RTW_NOTASSOCIATED</a> = -17,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616aa57e8797b88cbce406680404a76c7bdc">RTW_BADSSIDLEN</a> = -18,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616a480e71931bb64574e6547af7510f4cce">RTW_OUTOFRANGECHAN</a> = -19,
|
|
<br />
|
|
  <a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616a0e3391802fadc667219e3237ebca9e15">RTW_BADCHAN</a> = -20,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616aee19258193e9a12c007e6f49a0136631">RTW_BADADDR</a> = -21,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616a2fc5cff07960ab35bac34f2ca4f4372d">RTW_NORESOURCE</a> = -22,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616ad35d2d4ed6da3cbd960bbb17d02b1b7d">RTW_UNSUPPORTED</a> = -23,
|
|
<br />
|
|
  <a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616adb94fb6137d2c9d6f2b7c1db7192fd0d">RTW_BADLEN</a> = -24,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616a84900d943df8f483947957a0aacee179">RTW_NOTREADY</a> = -25,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616a545dbade17df0c48029c83817ff42e88">RTW_EPERM</a> = -26,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616a74cbc9769e8b7f1afd6719229d3bab59">RTW_NOMEM</a> = -27,
|
|
<br />
|
|
  <a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616ae0c1469b593837b81d042d5e8039d44a">RTW_ASSOCIATED</a> = -28,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616a34518ed46f8f07a643fe03e718ec30f6">RTW_RANGE</a> = -29,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616a60f076d55de3a17d90a7ca2e15b13cd0">RTW_NOTFOUND</a> = -30,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616aa76f2f768021cf12fe8c5b8fbc979e0a">RTW_WME_NOT_ENABLED</a> = -31,
|
|
<br />
|
|
  <a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616a7818c5fc0c6f9e5115f8f7fc5459a90b">RTW_TSPEC_NOTFOUND</a> = -32,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616a08714310f27dba3a3c10dae7f95acf60">RTW_ACM_NOTSUPPORTED</a> = -33,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616a3c376bcd0722f5463c7e534b98296778">RTW_NOT_WME_ASSOCIATION</a> = -34,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616a44a53977112e98ac2ea426f533c14dd1">RTW_SDIO_ERROR</a> = -35,
|
|
<br />
|
|
  <a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616a444ce94ab97349642d2a74a5e620d564">RTW_WLAN_DOWN</a> = -36,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616a8a2547b727eb3bcb4121c79dd3ea1849">RTW_BAD_VERSION</a> = -37,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616af22ad8c109fcc1436f4e1e800f16ae1e">RTW_TXFAIL</a> = -38,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616a27eead40a12767c220725f1a9f1bd260">RTW_RXFAIL</a> = -39,
|
|
<br />
|
|
  <a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616ae4b8d546cadc6ab8af727d21683c2b4e">RTW_NODEVICE</a> = -40,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616ab4c12d26f850bf01fb3c4b58f5d87557">RTW_UNFINISHED</a> = -41,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616a8939a0cf005fa5fe56ec624988ffeef4">RTW_NONRESIDENT</a> = -42,
|
|
<a class="el" href="group__nic.html#ggac72d00736b50d0e26e35fe385b0e2616a4de6a8c2e0e092cd1b3a49360f779779">RTW_DISABLED</a> = -43
|
|
<br />
|
|
}<tr class="memdesc:gac72d00736b50d0e26e35fe385b0e2616"><td class="mdescLeft"> </td><td class="mdescRight">The enumeration lists the results of the function. <a href="group__nic.html#gac72d00736b50d0e26e35fe385b0e2616">More...</a><br /></td></tr>
|
|
</td></tr>
|
|
<tr class="separator:gac72d00736b50d0e26e35fe385b0e2616"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga0958e0890fe19830b5efb882c1ab587d"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga0958e0890fe19830b5efb882c1ab587d">rtw_security_t</a> { <br />
|
|
  <a class="el" href="group__nic.html#gga0958e0890fe19830b5efb882c1ab587daa52f80f7bc654aba10526d370b077da8">RTW_SECURITY_OPEN</a> = 0,
|
|
<a class="el" href="group__nic.html#gga0958e0890fe19830b5efb882c1ab587da0f3b65387f49825203757dee8f1423cf">RTW_SECURITY_WEP_PSK</a> = WEP_ENABLED,
|
|
<a class="el" href="group__nic.html#gga0958e0890fe19830b5efb882c1ab587da8d0e7c31ff73a34136680379e223cbf6">RTW_SECURITY_WEP_SHARED</a> = ( WEP_ENABLED | SHARED_ENABLED ),
|
|
<a class="el" href="group__nic.html#gga0958e0890fe19830b5efb882c1ab587da86f7e50257829194d1cdfadc4020b521">RTW_SECURITY_WPA_TKIP_PSK</a> = ( WPA_SECURITY | TKIP_ENABLED ),
|
|
<br />
|
|
  <a class="el" href="group__nic.html#gga0958e0890fe19830b5efb882c1ab587da81b73547e3db5e618d580b16a8ac2ed8">RTW_SECURITY_WPA_AES_PSK</a> = ( WPA_SECURITY | AES_ENABLED ),
|
|
<a class="el" href="group__nic.html#gga0958e0890fe19830b5efb882c1ab587da5c0df87892d95880996c400fdb6b1bbe">RTW_SECURITY_WPA2_AES_PSK</a> = ( WPA2_SECURITY | AES_ENABLED ),
|
|
<a class="el" href="group__nic.html#gga0958e0890fe19830b5efb882c1ab587da22c2db042bd4acb5794b30f77608a791">RTW_SECURITY_WPA2_TKIP_PSK</a> = ( WPA2_SECURITY | TKIP_ENABLED ),
|
|
<a class="el" href="group__nic.html#gga0958e0890fe19830b5efb882c1ab587dab304ff0aff424c556f2fefbb1a9b9648">RTW_SECURITY_WPA2_MIXED_PSK</a> = ( WPA2_SECURITY | AES_ENABLED | TKIP_ENABLED ),
|
|
<br />
|
|
  <a class="el" href="group__nic.html#gga0958e0890fe19830b5efb882c1ab587dad3e824b2479e26a5eae5ca56409c04f1">RTW_SECURITY_WPA_WPA2_MIXED</a> = ( WPA_SECURITY | WPA2_SECURITY ),
|
|
<a class="el" href="group__nic.html#gga0958e0890fe19830b5efb882c1ab587da29105aaa76144bfd78bf469cf6bfd3b4">RTW_SECURITY_WPS_OPEN</a> = WPS_ENABLED,
|
|
<a class="el" href="group__nic.html#gga0958e0890fe19830b5efb882c1ab587dad5773a8fb43063075130553c7dde11b9">RTW_SECURITY_WPS_SECURE</a> = (WPS_ENABLED | AES_ENABLED),
|
|
<a class="el" href="group__nic.html#gga0958e0890fe19830b5efb882c1ab587da4fcfcb9b21ce86a13756938392a1ffff">RTW_SECURITY_UNKNOWN</a> = -1,
|
|
<br />
|
|
  <a class="el" href="group__nic.html#gga0958e0890fe19830b5efb882c1ab587da85bbbd793a535173c63e8784c5783613">RTW_SECURITY_FORCE_32_BIT</a> = 0x7fffffff
|
|
<br />
|
|
}<tr class="memdesc:ga0958e0890fe19830b5efb882c1ab587d"><td class="mdescLeft"> </td><td class="mdescRight">The enumeration lists the possible security types to set when connection.<br />
|
|
Station mode supports OPEN, WEP, and WPA2.<br />
|
|
AP mode support OPEN and WPA2. <a href="group__nic.html#ga0958e0890fe19830b5efb882c1ab587d">More...</a><br /></td></tr>
|
|
</td></tr>
|
|
<tr class="separator:ga0958e0890fe19830b5efb882c1ab587d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaa5bc9fc7cda7572440bb8be0a4bd4df6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaa5bc9fc7cda7572440bb8be0a4bd4df6"></a>enum  </td><td class="memItemRight" valign="bottom"><b>rtw_encryption_t</b> { <br />
|
|
  <b>RTW_ENCRYPTION_UNKNOWN</b> = 0,
|
|
<b>RTW_ENCRYPTION_OPEN</b> = 1,
|
|
<b>RTW_ENCRYPTION_WEP40</b> = 2,
|
|
<b>RTW_ENCRYPTION_WPA_TKIP</b> = 3,
|
|
<br />
|
|
  <b>RTW_ENCRYPTION_WPA_AES</b> = 4,
|
|
<b>RTW_ENCRYPTION_WPA2_TKIP</b> = 5,
|
|
<b>RTW_ENCRYPTION_WPA2_AES</b> = 6,
|
|
<b>RTW_ENCRYPTION_WPA2_MIXED</b> = 7,
|
|
<br />
|
|
  <b>RTW_ENCRYPTION_WEP104</b> = 9,
|
|
<b>RTW_ENCRYPTION_UNDEF</b> = 0xFF
|
|
<br />
|
|
}</td></tr>
|
|
<tr class="separator:gaa5bc9fc7cda7572440bb8be0a4bd4df6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga66869e492e61c65ae8a012b755af6771"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga66869e492e61c65ae8a012b755af6771"></a>enum  </td><td class="memItemRight" valign="bottom"><b>rtw_bool_t</b> { <b>RTW_FALSE</b> = 0,
|
|
<b>RTW_TRUE</b> = 1
|
|
}</td></tr>
|
|
<tr class="separator:ga66869e492e61c65ae8a012b755af6771"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga44d43aafae80d824ec6084f605e7cc6e"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga44d43aafae80d824ec6084f605e7cc6e">rtw_802_11_band_t</a> { <a class="el" href="group__nic.html#gga44d43aafae80d824ec6084f605e7cc6ea1883001cac6aa9f29ecb9180c9f4fe78">RTW_802_11_BAND_5GHZ</a> = 0,
|
|
<a class="el" href="group__nic.html#gga44d43aafae80d824ec6084f605e7cc6ea800b340899b8e3691749fd9e314662ff">RTW_802_11_BAND_2_4GHZ</a> = 1
|
|
}<tr class="memdesc:ga44d43aafae80d824ec6084f605e7cc6e"><td class="mdescLeft"> </td><td class="mdescRight">The enumeration lists the band types. <a href="group__nic.html#ga44d43aafae80d824ec6084f605e7cc6e">More...</a><br /></td></tr>
|
|
</td></tr>
|
|
<tr class="separator:ga44d43aafae80d824ec6084f605e7cc6e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga4066dc0d36a0bd7b2b4cd2159c66c0a6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga4066dc0d36a0bd7b2b4cd2159c66c0a6"></a>enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga4066dc0d36a0bd7b2b4cd2159c66c0a6">rtw_country_code_t</a> { <br />
|
|
  <b>RTW_COUNTRY_WORLD1</b>,
|
|
<b>RTW_COUNTRY_ETSI1</b>,
|
|
<b>RTW_COUNTRY_FCC1</b>,
|
|
<b>RTW_COUNTRY_MKK1</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_ETSI2</b>,
|
|
<b>RTW_COUNTRY_FCC2</b>,
|
|
<b>RTW_COUNTRY_WORLD2</b>,
|
|
<b>RTW_COUNTRY_MKK2</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_GLOBAL</b>,
|
|
<b>RTW_COUNTRY_WORLD</b>,
|
|
<b>RTW_COUNTRY_EU</b>,
|
|
<b>RTW_COUNTRY_JP</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_AS</b>,
|
|
<b>RTW_COUNTRY_BM</b>,
|
|
<b>RTW_COUNTRY_CA</b>,
|
|
<b>RTW_COUNTRY_DM</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_DO</b>,
|
|
<b>RTW_COUNTRY_FM</b>,
|
|
<b>RTW_COUNTRY_GD</b>,
|
|
<b>RTW_COUNTRY_GT</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_GU</b>,
|
|
<b>RTW_COUNTRY_HT</b>,
|
|
<b>RTW_COUNTRY_MH</b>,
|
|
<b>RTW_COUNTRY_MP</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_NI</b>,
|
|
<b>RTW_COUNTRY_PA</b>,
|
|
<b>RTW_COUNTRY_PR</b>,
|
|
<b>RTW_COUNTRY_PW</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_TW</b>,
|
|
<b>RTW_COUNTRY_US</b>,
|
|
<b>RTW_COUNTRY_VI</b>,
|
|
<b>RTW_COUNTRY_AD</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_AE</b>,
|
|
<b>RTW_COUNTRY_AF</b>,
|
|
<b>RTW_COUNTRY_AI</b>,
|
|
<b>RTW_COUNTRY_AL</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_AM</b>,
|
|
<b>RTW_COUNTRY_AN</b>,
|
|
<b>RTW_COUNTRY_AR</b>,
|
|
<b>RTW_COUNTRY_AT</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_AU</b>,
|
|
<b>RTW_COUNTRY_AW</b>,
|
|
<b>RTW_COUNTRY_AZ</b>,
|
|
<b>RTW_COUNTRY_BA</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_BB</b>,
|
|
<b>RTW_COUNTRY_BD</b>,
|
|
<b>RTW_COUNTRY_BE</b>,
|
|
<b>RTW_COUNTRY_BF</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_BG</b>,
|
|
<b>RTW_COUNTRY_BH</b>,
|
|
<b>RTW_COUNTRY_BL</b>,
|
|
<b>RTW_COUNTRY_BN</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_BO</b>,
|
|
<b>RTW_COUNTRY_BR</b>,
|
|
<b>RTW_COUNTRY_BS</b>,
|
|
<b>RTW_COUNTRY_BT</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_BY</b>,
|
|
<b>RTW_COUNTRY_BZ</b>,
|
|
<b>RTW_COUNTRY_CF</b>,
|
|
<b>RTW_COUNTRY_CH</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_CI</b>,
|
|
<b>RTW_COUNTRY_CL</b>,
|
|
<b>RTW_COUNTRY_CN</b>,
|
|
<b>RTW_COUNTRY_CO</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_CR</b>,
|
|
<b>RTW_COUNTRY_CX</b>,
|
|
<b>RTW_COUNTRY_CY</b>,
|
|
<b>RTW_COUNTRY_CZ</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_DE</b>,
|
|
<b>RTW_COUNTRY_DK</b>,
|
|
<b>RTW_COUNTRY_DZ</b>,
|
|
<b>RTW_COUNTRY_EC</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_EE</b>,
|
|
<b>RTW_COUNTRY_EG</b>,
|
|
<b>RTW_COUNTRY_ES</b>,
|
|
<b>RTW_COUNTRY_ET</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_FI</b>,
|
|
<b>RTW_COUNTRY_FR</b>,
|
|
<b>RTW_COUNTRY_GB</b>,
|
|
<b>RTW_COUNTRY_GE</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_GF</b>,
|
|
<b>RTW_COUNTRY_GH</b>,
|
|
<b>RTW_COUNTRY_GL</b>,
|
|
<b>RTW_COUNTRY_GP</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_GR</b>,
|
|
<b>RTW_COUNTRY_GY</b>,
|
|
<b>RTW_COUNTRY_HK</b>,
|
|
<b>RTW_COUNTRY_HN</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_HR</b>,
|
|
<b>RTW_COUNTRY_HU</b>,
|
|
<b>RTW_COUNTRY_ID</b>,
|
|
<b>RTW_COUNTRY_IE</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_IL</b>,
|
|
<b>RTW_COUNTRY_IN</b>,
|
|
<b>RTW_COUNTRY_IQ</b>,
|
|
<b>RTW_COUNTRY_IR</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_IS</b>,
|
|
<b>RTW_COUNTRY_IT</b>,
|
|
<b>RTW_COUNTRY_JM</b>,
|
|
<b>RTW_COUNTRY_JO</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_KE</b>,
|
|
<b>RTW_COUNTRY_KH</b>,
|
|
<b>RTW_COUNTRY_KN</b>,
|
|
<b>RTW_COUNTRY_KP</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_KR</b>,
|
|
<b>RTW_COUNTRY_KW</b>,
|
|
<b>RTW_COUNTRY_KY</b>,
|
|
<b>RTW_COUNTRY_KZ</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_LA</b>,
|
|
<b>RTW_COUNTRY_LB</b>,
|
|
<b>RTW_COUNTRY_LC</b>,
|
|
<b>RTW_COUNTRY_LI</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_LK</b>,
|
|
<b>RTW_COUNTRY_LR</b>,
|
|
<b>RTW_COUNTRY_LS</b>,
|
|
<b>RTW_COUNTRY_LT</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_LU</b>,
|
|
<b>RTW_COUNTRY_LV</b>,
|
|
<b>RTW_COUNTRY_MA</b>,
|
|
<b>RTW_COUNTRY_MC</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_MD</b>,
|
|
<b>RTW_COUNTRY_ME</b>,
|
|
<b>RTW_COUNTRY_MF</b>,
|
|
<b>RTW_COUNTRY_MK</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_MN</b>,
|
|
<b>RTW_COUNTRY_MO</b>,
|
|
<b>RTW_COUNTRY_MQ</b>,
|
|
<b>RTW_COUNTRY_MR</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_MT</b>,
|
|
<b>RTW_COUNTRY_MU</b>,
|
|
<b>RTW_COUNTRY_MV</b>,
|
|
<b>RTW_COUNTRY_MW</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_MX</b>,
|
|
<b>RTW_COUNTRY_MY</b>,
|
|
<b>RTW_COUNTRY_NG</b>,
|
|
<b>RTW_COUNTRY_NL</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_NO</b>,
|
|
<b>RTW_COUNTRY_NP</b>,
|
|
<b>RTW_COUNTRY_NZ</b>,
|
|
<b>RTW_COUNTRY_OM</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_PE</b>,
|
|
<b>RTW_COUNTRY_PF</b>,
|
|
<b>RTW_COUNTRY_PG</b>,
|
|
<b>RTW_COUNTRY_PH</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_PK</b>,
|
|
<b>RTW_COUNTRY_PL</b>,
|
|
<b>RTW_COUNTRY_PM</b>,
|
|
<b>RTW_COUNTRY_PT</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_PY</b>,
|
|
<b>RTW_COUNTRY_QA</b>,
|
|
<b>RTW_COUNTRY_RS</b>,
|
|
<b>RTW_COUNTRY_RU</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_RW</b>,
|
|
<b>RTW_COUNTRY_SA</b>,
|
|
<b>RTW_COUNTRY_SE</b>,
|
|
<b>RTW_COUNTRY_SG</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_SI</b>,
|
|
<b>RTW_COUNTRY_SK</b>,
|
|
<b>RTW_COUNTRY_SN</b>,
|
|
<b>RTW_COUNTRY_SR</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_SV</b>,
|
|
<b>RTW_COUNTRY_SY</b>,
|
|
<b>RTW_COUNTRY_TC</b>,
|
|
<b>RTW_COUNTRY_TD</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_TG</b>,
|
|
<b>RTW_COUNTRY_TH</b>,
|
|
<b>RTW_COUNTRY_TN</b>,
|
|
<b>RTW_COUNTRY_TR</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_TT</b>,
|
|
<b>RTW_COUNTRY_TZ</b>,
|
|
<b>RTW_COUNTRY_UA</b>,
|
|
<b>RTW_COUNTRY_UG</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_UY</b>,
|
|
<b>RTW_COUNTRY_UZ</b>,
|
|
<b>RTW_COUNTRY_VC</b>,
|
|
<b>RTW_COUNTRY_VE</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_VN</b>,
|
|
<b>RTW_COUNTRY_VU</b>,
|
|
<b>RTW_COUNTRY_WF</b>,
|
|
<b>RTW_COUNTRY_WS</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_YE</b>,
|
|
<b>RTW_COUNTRY_YT</b>,
|
|
<b>RTW_COUNTRY_ZA</b>,
|
|
<b>RTW_COUNTRY_ZW</b>,
|
|
<br />
|
|
  <b>RTW_COUNTRY_MAX</b>
|
|
<br />
|
|
}<tr class="memdesc:ga4066dc0d36a0bd7b2b4cd2159c66c0a6"><td class="mdescLeft"> </td><td class="mdescRight">The enumeration lists all the country codes able to set to Wi-Fi driver. <br /></td></tr>
|
|
</td></tr>
|
|
<tr class="separator:ga4066dc0d36a0bd7b2b4cd2159c66c0a6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga3ceb1c272563dd36444760d66fc9109b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga3ceb1c272563dd36444760d66fc9109b"></a>enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga3ceb1c272563dd36444760d66fc9109b">rtw_adaptivity_mode_t</a> { <b>RTW_ADAPTIVITY_DISABLE</b> = 0,
|
|
<b>RTW_ADAPTIVITY_NORMAL</b>,
|
|
<b>RTW_ADAPTIVITY_CARRIER_SENSE</b>
|
|
}<tr class="memdesc:ga3ceb1c272563dd36444760d66fc9109b"><td class="mdescLeft"> </td><td class="mdescRight">The enumeration lists the adaptivity types. <br /></td></tr>
|
|
</td></tr>
|
|
<tr class="separator:ga3ceb1c272563dd36444760d66fc9109b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaf281c66fe8160f6ab6dacf95d5ea5715"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaf281c66fe8160f6ab6dacf95d5ea5715"></a>enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#gaf281c66fe8160f6ab6dacf95d5ea5715">rtw_mode_t</a> { <br />
|
|
  <b>RTW_MODE_NONE</b> = 0,
|
|
<b>RTW_MODE_STA</b>,
|
|
<b>RTW_MODE_AP</b>,
|
|
<b>RTW_MODE_STA_AP</b>,
|
|
<br />
|
|
  <b>RTW_MODE_PROMISC</b>,
|
|
<b>RTW_MODE_P2P</b>
|
|
<br />
|
|
}<tr class="memdesc:gaf281c66fe8160f6ab6dacf95d5ea5715"><td class="mdescLeft"> </td><td class="mdescRight">The enumeration lists the supported operation mode by WIFI driver, including station and AP mode. <br /></td></tr>
|
|
</td></tr>
|
|
<tr class="separator:gaf281c66fe8160f6ab6dacf95d5ea5715"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga748075606f0e4dcc6b305497ea55f573"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga748075606f0e4dcc6b305497ea55f573"></a>enum  </td><td class="memItemRight" valign="bottom"><b>rtw_scan_mode_t</b> { <b>RTW_SCAN_FULL</b> = 0,
|
|
<b>RTW_SCAN_SOCIAL</b>,
|
|
<b>RTW_SCAN_ONE</b>
|
|
}</td></tr>
|
|
<tr class="separator:ga748075606f0e4dcc6b305497ea55f573"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga1d522a3d7b9b31da49dac5d9fc8f9afc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga1d522a3d7b9b31da49dac5d9fc8f9afc"></a>enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga1d522a3d7b9b31da49dac5d9fc8f9afc">rtw_link_status_t</a> { <b>RTW_LINK_DISCONNECTED</b> = 0,
|
|
<b>RTW_LINK_CONNECTED</b>
|
|
}<tr class="memdesc:ga1d522a3d7b9b31da49dac5d9fc8f9afc"><td class="mdescLeft"> </td><td class="mdescRight">The enumeration lists the status to describe the connection link. <br /></td></tr>
|
|
</td></tr>
|
|
<tr class="separator:ga1d522a3d7b9b31da49dac5d9fc8f9afc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga65d52632e39b55a5983b439e594effe6"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga65d52632e39b55a5983b439e594effe6">rtw_scan_type_t</a> { <a class="el" href="group__nic.html#gga65d52632e39b55a5983b439e594effe6a2a39ab584c0bb1e46dc1fbbccbea4879">RTW_SCAN_TYPE_ACTIVE</a> = 0x00,
|
|
<a class="el" href="group__nic.html#gga65d52632e39b55a5983b439e594effe6a43d6f19cf1cb8314e0032e5f8d47a81b">RTW_SCAN_TYPE_PASSIVE</a> = 0x01,
|
|
<a class="el" href="group__nic.html#gga65d52632e39b55a5983b439e594effe6aaac9b5e5f8f556cf41e7a7d0bc324740">RTW_SCAN_TYPE_PROHIBITED_CHANNELS</a> = 0x04
|
|
}<tr class="memdesc:ga65d52632e39b55a5983b439e594effe6"><td class="mdescLeft"> </td><td class="mdescRight">The enumeration lists the scan types. <a href="group__nic.html#ga65d52632e39b55a5983b439e594effe6">More...</a><br /></td></tr>
|
|
</td></tr>
|
|
<tr class="separator:ga65d52632e39b55a5983b439e594effe6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga6d25bd3898dff294014b89739d0fbacb"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga6d25bd3898dff294014b89739d0fbacb">rtw_bss_type_t</a> { <a class="el" href="group__nic.html#gga6d25bd3898dff294014b89739d0fbacba5015a4d1918b861d2fc9c5824a5d8931">RTW_BSS_TYPE_INFRASTRUCTURE</a> = 0,
|
|
<a class="el" href="group__nic.html#gga6d25bd3898dff294014b89739d0fbacba10c4431ce7f55350f2f22752e454bce1">RTW_BSS_TYPE_ADHOC</a> = 1,
|
|
<a class="el" href="group__nic.html#gga6d25bd3898dff294014b89739d0fbacbae070f7fc5a5253c7f324bffcbaf3ba47">RTW_BSS_TYPE_ANY</a> = 2,
|
|
<a class="el" href="group__nic.html#gga6d25bd3898dff294014b89739d0fbacbaa02abfaf5ece98ddcd307dcb9e8f8179">RTW_BSS_TYPE_UNKNOWN</a> = -1
|
|
}<tr class="memdesc:ga6d25bd3898dff294014b89739d0fbacb"><td class="mdescLeft"> </td><td class="mdescRight">The enumeration lists the bss types. <a href="group__nic.html#ga6d25bd3898dff294014b89739d0fbacb">More...</a><br /></td></tr>
|
|
</td></tr>
|
|
<tr class="separator:ga6d25bd3898dff294014b89739d0fbacb"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gab8093d21e092c383892c279eb900d0f0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gab8093d21e092c383892c279eb900d0f0"></a>enum  </td><td class="memItemRight" valign="bottom"><b>rtw_scan_command_t</b> { <b>RTW_SCAN_COMMAMD</b> = 0x01
|
|
}</td></tr>
|
|
<tr class="separator:gab8093d21e092c383892c279eb900d0f0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga8c45ac0e1392cbc6a7473be807ad399e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga8c45ac0e1392cbc6a7473be807ad399e"></a>enum  </td><td class="memItemRight" valign="bottom"><b>rtw_command_type</b> { <b>COMMAND1</b> = 0x01
|
|
}</td></tr>
|
|
<tr class="separator:ga8c45ac0e1392cbc6a7473be807ad399e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga69cf1fddd0f6070dee6005f9478159cf"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga69cf1fddd0f6070dee6005f9478159cf"></a>enum  </td><td class="memItemRight" valign="bottom"><b>rtw_wps_type_t</b> { <br />
|
|
  <b>RTW_WPS_TYPE_DEFAULT</b> = 0x0000,
|
|
<b>RTW_WPS_TYPE_USER_SPECIFIED</b> = 0x0001,
|
|
<b>RTW_WPS_TYPE_MACHINE_SPECIFIED</b> = 0x0002,
|
|
<b>RTW_WPS_TYPE_REKEY</b> = 0x0003,
|
|
<br />
|
|
  <b>RTW_WPS_TYPE_PUSHBUTTON</b> = 0x0004,
|
|
<b>RTW_WPS_TYPE_REGISTRAR_SPECIFIED</b> = 0x0005,
|
|
<b>RTW_WPS_TYPE_NONE</b> = 0x0006,
|
|
<b>RTW_WPS_TYPE_WSC</b> = 0x0007
|
|
<br />
|
|
}</td></tr>
|
|
<tr class="separator:ga69cf1fddd0f6070dee6005f9478159cf"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga1a147ad15b1818208cfa4463afdff004"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga1a147ad15b1818208cfa4463afdff004"></a>enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga1a147ad15b1818208cfa4463afdff004">rtw_network_mode_t</a> { <b>RTW_NETWORK_B</b> = 1,
|
|
<b>RTW_NETWORK_BG</b> = 3,
|
|
<b>RTW_NETWORK_BGN</b> = 11
|
|
}<tr class="memdesc:ga1a147ad15b1818208cfa4463afdff004"><td class="mdescLeft"> </td><td class="mdescRight">The enumeration lists all the network bgn mode. <br /></td></tr>
|
|
</td></tr>
|
|
<tr class="separator:ga1a147ad15b1818208cfa4463afdff004"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gacd6b1280bb110c37571c36a25eeda2f2"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#gacd6b1280bb110c37571c36a25eeda2f2">rtw_interface_t</a> { <a class="el" href="group__nic.html#ggacd6b1280bb110c37571c36a25eeda2f2a553b13aea83c93ed71845efecc7f5805">RTW_STA_INTERFACE</a> = 0,
|
|
<a class="el" href="group__nic.html#ggacd6b1280bb110c37571c36a25eeda2f2ab056ab50eb517d1204f628da22eb25fc">RTW_AP_INTERFACE</a> = 1
|
|
}<tr class="memdesc:gacd6b1280bb110c37571c36a25eeda2f2"><td class="mdescLeft"> </td><td class="mdescRight">The enumeration lists the interfaces. <a href="group__nic.html#gacd6b1280bb110c37571c36a25eeda2f2">More...</a><br /></td></tr>
|
|
</td></tr>
|
|
<tr class="separator:gacd6b1280bb110c37571c36a25eeda2f2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga25be85ab5363803329b06c89bdf9952c"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga25be85ab5363803329b06c89bdf9952c">rtw_packet_filter_rule_t</a> { <a class="el" href="group__nic.html#gga25be85ab5363803329b06c89bdf9952ca71f5556ee2e4ca93bda4f844b33ba167">RTW_POSITIVE_MATCHING</a> = 0,
|
|
<a class="el" href="group__nic.html#gga25be85ab5363803329b06c89bdf9952ca8dae7e8fa7e4b3c303199309e4ee03e4">RTW_NEGATIVE_MATCHING</a> = 1
|
|
}<tr class="memdesc:ga25be85ab5363803329b06c89bdf9952c"><td class="mdescLeft"> </td><td class="mdescRight">The enumeration lists the packet filter rules. <a href="group__nic.html#ga25be85ab5363803329b06c89bdf9952c">More...</a><br /></td></tr>
|
|
</td></tr>
|
|
<tr class="separator:ga25be85ab5363803329b06c89bdf9952c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gab64265953397ec1b1ae088ba6a8e07d9"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#gab64265953397ec1b1ae088ba6a8e07d9">rtw_rcr_level_t</a> { <br />
|
|
  <a class="el" href="group__nic.html#ggab64265953397ec1b1ae088ba6a8e07d9a0a71d93e149e67cba567045f893d6343">RTW_PROMISC_DISABLE</a> = 0,
|
|
<a class="el" href="group__nic.html#ggab64265953397ec1b1ae088ba6a8e07d9a10290a17bd907e295366280feb92d16e">RTW_PROMISC_ENABLE</a> = 1,
|
|
<a class="el" href="group__nic.html#ggab64265953397ec1b1ae088ba6a8e07d9ad143a8876bdce90925fd2c063de49001">RTW_PROMISC_ENABLE_1</a> = 2,
|
|
<a class="el" href="group__nic.html#ggab64265953397ec1b1ae088ba6a8e07d9a560dbed2900e7b6845ba45bc72278582">RTW_PROMISC_ENABLE_2</a> = 3,
|
|
<br />
|
|
  <a class="el" href="group__nic.html#ggab64265953397ec1b1ae088ba6a8e07d9a746c05141fc78a09e67cc51d62ce6758">RTW_PROMISC_ENABLE_3</a> = 4
|
|
<br />
|
|
}<tr class="memdesc:gab64265953397ec1b1ae088ba6a8e07d9"><td class="mdescLeft"> </td><td class="mdescRight">The enumeration lists the promisc levels. <a href="group__nic.html#gab64265953397ec1b1ae088ba6a8e07d9">More...</a><br /></td></tr>
|
|
</td></tr>
|
|
<tr class="separator:gab64265953397ec1b1ae088ba6a8e07d9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga8edd8fc8be522dedc1d2bdda6fc368e3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga8edd8fc8be522dedc1d2bdda6fc368e3"></a>enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga8edd8fc8be522dedc1d2bdda6fc368e3">rtw_connect_error_flag_t</a> { <br />
|
|
  <b>RTW_NO_ERROR</b> = 0,
|
|
<b>RTW_NONE_NETWORK</b> = 1,
|
|
<b>RTW_CONNECT_FAIL</b> = 2,
|
|
<b>RTW_WRONG_PASSWORD</b> = 3,
|
|
<br />
|
|
  <b>RTW_DHCP_FAIL</b> = 4,
|
|
<b>RTW_UNKNOWN</b>
|
|
<br />
|
|
}<tr class="memdesc:ga8edd8fc8be522dedc1d2bdda6fc368e3"><td class="mdescLeft"> </td><td class="mdescRight">The enumeration lists the disconnect reasons. <br /></td></tr>
|
|
</td></tr>
|
|
<tr class="separator:ga8edd8fc8be522dedc1d2bdda6fc368e3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga0f280f5b900b92bc3a988c85900643c8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga0f280f5b900b92bc3a988c85900643c8"></a>enum  </td><td class="memItemRight" valign="bottom"><b>rtw_tx_pwr_percentage_t</b> { <br />
|
|
  <b>RTW_TX_PWR_PERCENTAGE_100</b> = 0,
|
|
<b>RTW_TX_PWR_PERCENTAGE_75</b> = 1,
|
|
<b>RTW_TX_PWR_PERCENTAGE_50</b> = 2,
|
|
<b>RTW_TX_PWR_PERCENTAGE_25</b> = 3,
|
|
<br />
|
|
  <b>RTW_TX_PWR_PERCENTAGE_12_5</b> = 4
|
|
<br />
|
|
}</td></tr>
|
|
<tr class="separator:ga0f280f5b900b92bc3a988c85900643c8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gac57363d379bcf11345cb00cf28552615"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gac57363d379bcf11345cb00cf28552615"></a>enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#gac57363d379bcf11345cb00cf28552615">_WIFI_EVENT_INDICATE</a> { <br />
|
|
  <b>WIFI_EVENT_CONNECT</b> = 0,
|
|
<b>WIFI_EVENT_DISCONNECT</b> = 1,
|
|
<b>WIFI_EVENT_FOURWAY_HANDSHAKE_DONE</b> = 2,
|
|
<b>WIFI_EVENT_SCAN_RESULT_REPORT</b> = 3,
|
|
<br />
|
|
  <b>WIFI_EVENT_SCAN_DONE</b> = 4,
|
|
<b>WIFI_EVENT_RECONNECTION_FAIL</b> = 5,
|
|
<b>WIFI_EVENT_SEND_ACTION_DONE</b> = 6,
|
|
<b>WIFI_EVENT_RX_MGNT</b> = 7,
|
|
<br />
|
|
  <b>WIFI_EVENT_STA_ASSOC</b> = 8,
|
|
<b>WIFI_EVENT_STA_DISASSOC</b> = 9,
|
|
<b>WIFI_EVENT_STA_WPS_START</b> = 10,
|
|
<b>WIFI_EVENT_WPS_FINISH</b> = 11,
|
|
<br />
|
|
  <b>WIFI_EVENT_EAPOL_START</b> = 12,
|
|
<b>WIFI_EVENT_EAPOL_RECVD</b> = 13,
|
|
<b>WIFI_EVENT_NO_NETWORK</b> = 14,
|
|
<b>WIFI_EVENT_BEACON_AFTER_DHCP</b> = 15,
|
|
<br />
|
|
  <b>WIFI_EVENT_MAX</b>
|
|
<br />
|
|
}<tr class="memdesc:gac57363d379bcf11345cb00cf28552615"><td class="mdescLeft"> </td><td class="mdescRight">The enumeration is event type indicated from wlan driver. <br /></td></tr>
|
|
</td></tr>
|
|
<tr class="separator:gac57363d379bcf11345cb00cf28552615"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
|
Functions</h2></td></tr>
|
|
<tr class="memitem:ga1bb2312786a60b8f18002dd6a93e7eee"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga1bb2312786a60b8f18002dd6a93e7eee">wifi_manager_init</a> (void)</td></tr>
|
|
<tr class="memdesc:ga1bb2312786a60b8f18002dd6a93e7eee"><td class="mdescLeft"> </td><td class="mdescRight">Initialize Realtek WiFi API System. <a href="#ga1bb2312786a60b8f18002dd6a93e7eee">More...</a><br /></td></tr>
|
|
<tr class="separator:ga1bb2312786a60b8f18002dd6a93e7eee"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga771bd1cf906ea211783b41353b5571ee"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga771bd1cf906ea211783b41353b5571ee">wifi_connect</a> (char *ssid, <a class="el" href="group__nic.html#ga0958e0890fe19830b5efb882c1ab587d">rtw_security_t</a> security_type, char *password, int ssid_len, int password_len, int key_id, void *semaphore)</td></tr>
|
|
<tr class="memdesc:ga771bd1cf906ea211783b41353b5571ee"><td class="mdescLeft"> </td><td class="mdescRight">Join a Wi-Fi network. Scan for, associate and authenticate with a Wi-Fi network. On successful return, the system is ready to send data packets. <a href="#ga771bd1cf906ea211783b41353b5571ee">More...</a><br /></td></tr>
|
|
<tr class="separator:ga771bd1cf906ea211783b41353b5571ee"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaefa1c29b5cb1abff125ead065bfeece6"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#gaefa1c29b5cb1abff125ead065bfeece6">wifi_connect_bssid</a> (unsigned char bssid[ETH_ALEN], char *ssid, <a class="el" href="group__nic.html#ga0958e0890fe19830b5efb882c1ab587d">rtw_security_t</a> security_type, char *password, int bssid_len, int ssid_len, int password_len, int key_id, void *semaphore)</td></tr>
|
|
<tr class="memdesc:gaefa1c29b5cb1abff125ead065bfeece6"><td class="mdescLeft"> </td><td class="mdescRight">Join a Wi-Fi network with specified BSSID. Scan for, associate and authenticate with a Wi-Fi network. On successful return, the system is ready to send data packets. <a href="#gaefa1c29b5cb1abff125ead065bfeece6">More...</a><br /></td></tr>
|
|
<tr class="separator:gaefa1c29b5cb1abff125ead065bfeece6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaa57f0c5d4ae8223b0bed17e07bf05cf6"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#gaa57f0c5d4ae8223b0bed17e07bf05cf6">wifi_disconnect</a> (void)</td></tr>
|
|
<tr class="memdesc:gaa57f0c5d4ae8223b0bed17e07bf05cf6"><td class="mdescLeft"> </td><td class="mdescRight">Disassociates from current Wi-Fi network. <a href="#gaa57f0c5d4ae8223b0bed17e07bf05cf6">More...</a><br /></td></tr>
|
|
<tr class="separator:gaa57f0c5d4ae8223b0bed17e07bf05cf6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gab2eaf1462dd678cc8b4c289078a52e44"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#gab2eaf1462dd678cc8b4c289078a52e44">wifi_is_connected_to_ap</a> (void)</td></tr>
|
|
<tr class="memdesc:gab2eaf1462dd678cc8b4c289078a52e44"><td class="mdescLeft"> </td><td class="mdescRight">Check if Wi-Fi has connected to AP before dhcp. <a href="#gab2eaf1462dd678cc8b4c289078a52e44">More...</a><br /></td></tr>
|
|
<tr class="separator:gab2eaf1462dd678cc8b4c289078a52e44"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga66492be778de3535231ab1af3a567015"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga66492be778de3535231ab1af3a567015">wifi_is_up</a> (<a class="el" href="group__nic.html#gacd6b1280bb110c37571c36a25eeda2f2">rtw_interface_t</a> interface)</td></tr>
|
|
<tr class="memdesc:ga66492be778de3535231ab1af3a567015"><td class="mdescLeft"> </td><td class="mdescRight">Check if the specified interface is up. <a href="#ga66492be778de3535231ab1af3a567015">More...</a><br /></td></tr>
|
|
<tr class="separator:ga66492be778de3535231ab1af3a567015"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga0f49aa62c0be454e7c84e2b3699419d7"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga0f49aa62c0be454e7c84e2b3699419d7">wifi_is_ready_to_transceive</a> (<a class="el" href="group__nic.html#gacd6b1280bb110c37571c36a25eeda2f2">rtw_interface_t</a> interface)</td></tr>
|
|
<tr class="separator:ga0f49aa62c0be454e7c84e2b3699419d7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga05b0dbec2e19d61028689e0a616c6d30"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga05b0dbec2e19d61028689e0a616c6d30">wifi_set_mac_address</a> (char *mac)</td></tr>
|
|
<tr class="memdesc:ga05b0dbec2e19d61028689e0a616c6d30"><td class="mdescLeft"> </td><td class="mdescRight">This function sets the current Media Access Control (MAC) address of the 802.11 device. <a href="#ga05b0dbec2e19d61028689e0a616c6d30">More...</a><br /></td></tr>
|
|
<tr class="separator:ga05b0dbec2e19d61028689e0a616c6d30"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga67df418e5486e3d7e4d499c21be34669"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga67df418e5486e3d7e4d499c21be34669">wifi_get_mac_address</a> (char *mac)</td></tr>
|
|
<tr class="memdesc:ga67df418e5486e3d7e4d499c21be34669"><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the current Media Access Control (MAC) address (or Ethernet hardware address) of the 802.11 device. <a href="#ga67df418e5486e3d7e4d499c21be34669">More...</a><br /></td></tr>
|
|
<tr class="separator:ga67df418e5486e3d7e4d499c21be34669"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga63844530557f36c0e07897b2bb2334a0"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga63844530557f36c0e07897b2bb2334a0">wifi_enable_powersave</a> (void)</td></tr>
|
|
<tr class="memdesc:ga63844530557f36c0e07897b2bb2334a0"><td class="mdescLeft"> </td><td class="mdescRight">Enable Wi-Fi powersave mode. <a href="#ga63844530557f36c0e07897b2bb2334a0">More...</a><br /></td></tr>
|
|
<tr class="separator:ga63844530557f36c0e07897b2bb2334a0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga3a2a32de5619414e4e1e05ab0a8877a0"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga3a2a32de5619414e4e1e05ab0a8877a0">wifi_disable_powersave</a> (void)</td></tr>
|
|
<tr class="memdesc:ga3a2a32de5619414e4e1e05ab0a8877a0"><td class="mdescLeft"> </td><td class="mdescRight">Disable Wi-Fi powersave mode. <a href="#ga3a2a32de5619414e4e1e05ab0a8877a0">More...</a><br /></td></tr>
|
|
<tr class="separator:ga3a2a32de5619414e4e1e05ab0a8877a0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga5de088465adcd797b71c57c1f90f3302"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga5de088465adcd797b71c57c1f90f3302">wifi_get_txpower</a> (int *poweridx)</td></tr>
|
|
<tr class="separator:ga5de088465adcd797b71c57c1f90f3302"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga74bfbd91f2a106d8c845174d8b7f2633"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga74bfbd91f2a106d8c845174d8b7f2633">wifi_set_txpower</a> (int poweridx)</td></tr>
|
|
<tr class="memdesc:ga74bfbd91f2a106d8c845174d8b7f2633"><td class="mdescLeft"> </td><td class="mdescRight">Set the tx power in index units. <a href="#ga74bfbd91f2a106d8c845174d8b7f2633">More...</a><br /></td></tr>
|
|
<tr class="separator:ga74bfbd91f2a106d8c845174d8b7f2633"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga035d4eb728ef4d0219d5e22352a93746"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga035d4eb728ef4d0219d5e22352a93746">wifi_get_associated_client_list</a> (void *client_list_buffer, unsigned short buffer_length)</td></tr>
|
|
<tr class="memdesc:ga035d4eb728ef4d0219d5e22352a93746"><td class="mdescLeft"> </td><td class="mdescRight">Get the associated clients with SoftAP. <a href="#ga035d4eb728ef4d0219d5e22352a93746">More...</a><br /></td></tr>
|
|
<tr class="separator:ga035d4eb728ef4d0219d5e22352a93746"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga1a449b211b29d11ff5743c32ee0b5b64"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga1a449b211b29d11ff5743c32ee0b5b64">wifi_get_ap_info</a> (<a class="el" href="structrtw__bss__info__t.html">rtw_bss_info_t</a> *ap_info, <a class="el" href="group__nic.html#ga0958e0890fe19830b5efb882c1ab587d">rtw_security_t</a> *security)</td></tr>
|
|
<tr class="memdesc:ga1a449b211b29d11ff5743c32ee0b5b64"><td class="mdescLeft"> </td><td class="mdescRight">Get the SoftAP information. <a href="#ga1a449b211b29d11ff5743c32ee0b5b64">More...</a><br /></td></tr>
|
|
<tr class="separator:ga1a449b211b29d11ff5743c32ee0b5b64"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga39099d5eb5a213d2e96a569fad362cec"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga39099d5eb5a213d2e96a569fad362cec">wifi_set_country</a> (<a class="el" href="group__nic.html#ga4066dc0d36a0bd7b2b4cd2159c66c0a6">rtw_country_code_t</a> country_code)</td></tr>
|
|
<tr class="memdesc:ga39099d5eb5a213d2e96a569fad362cec"><td class="mdescLeft"> </td><td class="mdescRight">Set the country code to driver to determine the channel set. <a href="#ga39099d5eb5a213d2e96a569fad362cec">More...</a><br /></td></tr>
|
|
<tr class="separator:ga39099d5eb5a213d2e96a569fad362cec"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga66b5270f97eb14a60c96820f7689e151"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga66b5270f97eb14a60c96820f7689e151">wifi_get_rssi</a> (int *pRSSI)</td></tr>
|
|
<tr class="memdesc:ga66b5270f97eb14a60c96820f7689e151"><td class="mdescLeft"> </td><td class="mdescRight">Retrieve the latest RSSI value. <a href="#ga66b5270f97eb14a60c96820f7689e151">More...</a><br /></td></tr>
|
|
<tr class="separator:ga66b5270f97eb14a60c96820f7689e151"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga20afab4dc3fc8fcec12e8f271c559997"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga20afab4dc3fc8fcec12e8f271c559997">wifi_set_channel</a> (int channel)</td></tr>
|
|
<tr class="memdesc:ga20afab4dc3fc8fcec12e8f271c559997"><td class="mdescLeft"> </td><td class="mdescRight">Set the listening channel for promiscuous mode. <a href="#ga20afab4dc3fc8fcec12e8f271c559997">More...</a><br /></td></tr>
|
|
<tr class="separator:ga20afab4dc3fc8fcec12e8f271c559997"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga9b566b8c42063545a4128bd4c227e5c0"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga9b566b8c42063545a4128bd4c227e5c0">wifi_get_channel</a> (int *channel)</td></tr>
|
|
<tr class="memdesc:ga9b566b8c42063545a4128bd4c227e5c0"><td class="mdescLeft"> </td><td class="mdescRight">Get the current channel on STA interface. <a href="#ga9b566b8c42063545a4128bd4c227e5c0">More...</a><br /></td></tr>
|
|
<tr class="separator:ga9b566b8c42063545a4128bd4c227e5c0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga93f06df4df710cfa6b22a75caee43dd7"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga93f06df4df710cfa6b22a75caee43dd7">wifi_register_multicast_address</a> (<a class="el" href="group__nic.html#ga6f893f4b79a4185fd56da36aea117d9a">rtw_mac_t</a> *mac)</td></tr>
|
|
<tr class="memdesc:ga93f06df4df710cfa6b22a75caee43dd7"><td class="mdescLeft"> </td><td class="mdescRight">Register interest in a multicast address.<br />
|
|
Once a multicast address has been registered, all packets detected on the medium destined for that address are forwarded to the host. Otherwise they are ignored. <a href="#ga93f06df4df710cfa6b22a75caee43dd7">More...</a><br /></td></tr>
|
|
<tr class="separator:ga93f06df4df710cfa6b22a75caee43dd7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gac7a0e3dbdbd07673983f8924dcaa8fea"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#gac7a0e3dbdbd07673983f8924dcaa8fea">wifi_unregister_multicast_address</a> (<a class="el" href="group__nic.html#ga6f893f4b79a4185fd56da36aea117d9a">rtw_mac_t</a> *mac)</td></tr>
|
|
<tr class="memdesc:gac7a0e3dbdbd07673983f8924dcaa8fea"><td class="mdescLeft"> </td><td class="mdescRight">Unregister interest in a multicast address.<br />
|
|
Once a multicast address has been unregistered, all packets detected on the medium destined for that address are ignored. <a href="#gac7a0e3dbdbd07673983f8924dcaa8fea">More...</a><br /></td></tr>
|
|
<tr class="separator:gac7a0e3dbdbd07673983f8924dcaa8fea"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga0a59be84e3f0d20b5b97ec06e9ad0305"><td class="memItemLeft" align="right" valign="top">_WEAK void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga0a59be84e3f0d20b5b97ec06e9ad0305">wifi_set_mib</a> (void)</td></tr>
|
|
<tr class="memdesc:ga0a59be84e3f0d20b5b97ec06e9ad0305"><td class="mdescLeft"> </td><td class="mdescRight">Setup the adaptivity mode. You can replace this weak function by the same name funcation to setup adaptivity mode you want. <a href="#ga0a59be84e3f0d20b5b97ec06e9ad0305">More...</a><br /></td></tr>
|
|
<tr class="separator:ga0a59be84e3f0d20b5b97ec06e9ad0305"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga23ba537d22b09ac772af5b44004406bb"><td class="memItemLeft" align="right" valign="top">_WEAK void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga23ba537d22b09ac772af5b44004406bb">wifi_set_country_code</a> (void)</td></tr>
|
|
<tr class="memdesc:ga23ba537d22b09ac772af5b44004406bb"><td class="mdescLeft"> </td><td class="mdescRight">Setup country code. You can replace this weak function by the same name funcation to setup country code you want. <a href="#ga23ba537d22b09ac772af5b44004406bb">More...</a><br /></td></tr>
|
|
<tr class="separator:ga23ba537d22b09ac772af5b44004406bb"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gad895d2a88ebc9b55cc8ecb5d49a4424a"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#gad895d2a88ebc9b55cc8ecb5d49a4424a">wifi_rf_on</a> (void)</td></tr>
|
|
<tr class="memdesc:gad895d2a88ebc9b55cc8ecb5d49a4424a"><td class="mdescLeft"> </td><td class="mdescRight">Enable Wi-Fi RF. <a href="#gad895d2a88ebc9b55cc8ecb5d49a4424a">More...</a><br /></td></tr>
|
|
<tr class="separator:gad895d2a88ebc9b55cc8ecb5d49a4424a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gabb76bdea03310ed8f7dbbb6dc1972d4b"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#gabb76bdea03310ed8f7dbbb6dc1972d4b">wifi_rf_off</a> (void)</td></tr>
|
|
<tr class="memdesc:gabb76bdea03310ed8f7dbbb6dc1972d4b"><td class="mdescLeft"> </td><td class="mdescRight">Disable Wi-Fi RF. <a href="#gabb76bdea03310ed8f7dbbb6dc1972d4b">More...</a><br /></td></tr>
|
|
<tr class="separator:gabb76bdea03310ed8f7dbbb6dc1972d4b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga68f622ff9eed3e1c5eed390c571ad978"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga68f622ff9eed3e1c5eed390c571ad978">wifi_on</a> (<a class="el" href="group__nic.html#gaf281c66fe8160f6ab6dacf95d5ea5715">rtw_mode_t</a> mode)</td></tr>
|
|
<tr class="memdesc:ga68f622ff9eed3e1c5eed390c571ad978"><td class="mdescLeft"> </td><td class="mdescRight">Enable Wi-Fi. <a href="#ga68f622ff9eed3e1c5eed390c571ad978">More...</a><br /></td></tr>
|
|
<tr class="separator:ga68f622ff9eed3e1c5eed390c571ad978"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gad0c2ddd0f4dc42d54b8834c6c0caef17"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#gad0c2ddd0f4dc42d54b8834c6c0caef17">wifi_off</a> (void)</td></tr>
|
|
<tr class="memdesc:gad0c2ddd0f4dc42d54b8834c6c0caef17"><td class="mdescLeft"> </td><td class="mdescRight">Disable Wi-Fi. <a href="#gad0c2ddd0f4dc42d54b8834c6c0caef17">More...</a><br /></td></tr>
|
|
<tr class="separator:gad0c2ddd0f4dc42d54b8834c6c0caef17"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga7718c3bfc5ae695cc9bbdaf5787356c9"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga7718c3bfc5ae695cc9bbdaf5787356c9">wifi_off_fastly</a> (void)</td></tr>
|
|
<tr class="separator:ga7718c3bfc5ae695cc9bbdaf5787356c9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga40c39aded41d915d5250e9afcd4c108b"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga40c39aded41d915d5250e9afcd4c108b">wifi_set_power_mode</a> (unsigned char ips_mode, unsigned char lps_mode)</td></tr>
|
|
<tr class="memdesc:ga40c39aded41d915d5250e9afcd4c108b"><td class="mdescLeft"> </td><td class="mdescRight">Set IPS/LPS mode. <a href="#ga40c39aded41d915d5250e9afcd4c108b">More...</a><br /></td></tr>
|
|
<tr class="separator:ga40c39aded41d915d5250e9afcd4c108b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga9aa35926b25ae261e726368b7b963cc4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga9aa35926b25ae261e726368b7b963cc4">wifi_set_tdma_param</a> (unsigned char slot_period, unsigned char rfon_period_len_1, unsigned char rfon_period_len_2, unsigned char rfon_period_len_3)</td></tr>
|
|
<tr class="separator:ga9aa35926b25ae261e726368b7b963cc4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaef8c685fdfc8e2076899d25cd084d945"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#gaef8c685fdfc8e2076899d25cd084d945">wifi_set_lps_dtim</a> (unsigned char dtim)</td></tr>
|
|
<tr class="memdesc:gaef8c685fdfc8e2076899d25cd084d945"><td class="mdescLeft"> </td><td class="mdescRight">Set LPS DTIM. <a href="#gaef8c685fdfc8e2076899d25cd084d945">More...</a><br /></td></tr>
|
|
<tr class="separator:gaef8c685fdfc8e2076899d25cd084d945"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gad7d1580412bf1da3c613b2ab2ee530ed"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#gad7d1580412bf1da3c613b2ab2ee530ed">wifi_get_lps_dtim</a> (unsigned char *dtim)</td></tr>
|
|
<tr class="memdesc:gad7d1580412bf1da3c613b2ab2ee530ed"><td class="mdescLeft"> </td><td class="mdescRight">Get LPS DTIM. <a href="#gad7d1580412bf1da3c613b2ab2ee530ed">More...</a><br /></td></tr>
|
|
<tr class="separator:gad7d1580412bf1da3c613b2ab2ee530ed"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaa0eed4bda197c11a518ae464b21e5659"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#gaa0eed4bda197c11a518ae464b21e5659">wifi_start_ap</a> (char *ssid, <a class="el" href="group__nic.html#ga0958e0890fe19830b5efb882c1ab587d">rtw_security_t</a> security_type, char *password, int ssid_len, int password_len, int channel)</td></tr>
|
|
<tr class="memdesc:gaa0eed4bda197c11a518ae464b21e5659"><td class="mdescLeft"> </td><td class="mdescRight">Trigger Wi-Fi driver to start an infrastructure Wi-Fi network. <a href="#gaa0eed4bda197c11a518ae464b21e5659">More...</a><br /></td></tr>
|
|
<tr class="separator:gaa0eed4bda197c11a518ae464b21e5659"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga79e0a84bda8bcadc18693b6dc9417ae6"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga79e0a84bda8bcadc18693b6dc9417ae6">wifi_start_ap_with_hidden_ssid</a> (char *ssid, <a class="el" href="group__nic.html#ga0958e0890fe19830b5efb882c1ab587d">rtw_security_t</a> security_type, char *password, int ssid_len, int password_len, int channel)</td></tr>
|
|
<tr class="memdesc:ga79e0a84bda8bcadc18693b6dc9417ae6"><td class="mdescLeft"> </td><td class="mdescRight">Start an infrastructure Wi-Fi network with hidden SSID. <a href="#ga79e0a84bda8bcadc18693b6dc9417ae6">More...</a><br /></td></tr>
|
|
<tr class="separator:ga79e0a84bda8bcadc18693b6dc9417ae6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gab095566c3d663f35dc3a9a5fd25d6e11"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#gab095566c3d663f35dc3a9a5fd25d6e11">wifi_scan</a> (<a class="el" href="group__nic.html#ga65d52632e39b55a5983b439e594effe6">rtw_scan_type_t</a> scan_type, <a class="el" href="group__nic.html#ga6d25bd3898dff294014b89739d0fbacb">rtw_bss_type_t</a> bss_type, void *result_ptr)</td></tr>
|
|
<tr class="memdesc:gab095566c3d663f35dc3a9a5fd25d6e11"><td class="mdescLeft"> </td><td class="mdescRight">Initiate a scan to search for 802.11 networks. <a href="#gab095566c3d663f35dc3a9a5fd25d6e11">More...</a><br /></td></tr>
|
|
<tr class="separator:gab095566c3d663f35dc3a9a5fd25d6e11"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaa920bb8b33ae70113466edbfe2f758f5"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#gaa920bb8b33ae70113466edbfe2f758f5">wifi_scan_networks</a> (rtw_scan_result_handler_t results_handler, void *user_data)</td></tr>
|
|
<tr class="memdesc:gaa920bb8b33ae70113466edbfe2f758f5"><td class="mdescLeft"> </td><td class="mdescRight">Initiate a scan to search for 802.11 networks, a higher level API based on wifi_scan to simplify the scan operation. <a href="#gaa920bb8b33ae70113466edbfe2f758f5">More...</a><br /></td></tr>
|
|
<tr class="separator:gaa920bb8b33ae70113466edbfe2f758f5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga07bab1fcf89f432a1925c96f6d44dff5"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga07bab1fcf89f432a1925c96f6d44dff5">wifi_scan_networks_with_ssid</a> (int(results_handler)(char *, int, char *, void *), void *user_data, int scan_buflen, char *ssid, int ssid_len)</td></tr>
|
|
<tr class="memdesc:ga07bab1fcf89f432a1925c96f6d44dff5"><td class="mdescLeft"> </td><td class="mdescRight">Initiate a scan to search for 802.11 networks with specified SSID. <a href="#ga07bab1fcf89f432a1925c96f6d44dff5">More...</a><br /></td></tr>
|
|
<tr class="separator:ga07bab1fcf89f432a1925c96f6d44dff5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga24a7c67bc7f87310194639b1f265ce6f"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga24a7c67bc7f87310194639b1f265ce6f">wifi_set_pscan_chan</a> (__u8 *channel_list, __u8 *pscan_config, __u8 length)</td></tr>
|
|
<tr class="memdesc:ga24a7c67bc7f87310194639b1f265ce6f"><td class="mdescLeft"> </td><td class="mdescRight">Set the channel used to be partial scanned. <a href="#ga24a7c67bc7f87310194639b1f265ce6f">More...</a><br /></td></tr>
|
|
<tr class="separator:ga24a7c67bc7f87310194639b1f265ce6f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gab6c09139121dbfd0ae5cb02f0c7314ab"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#gab6c09139121dbfd0ae5cb02f0c7314ab">wifi_get_setting</a> (const char *ifname, <a class="el" href="group__nic.html#ga839fbd1c7746fae73ae63bf3913bd7e8">rtw_wifi_setting_t</a> *pSetting)</td></tr>
|
|
<tr class="memdesc:gab6c09139121dbfd0ae5cb02f0c7314ab"><td class="mdescLeft"> </td><td class="mdescRight">Get current Wi-Fi setting from driver. <a href="#gab6c09139121dbfd0ae5cb02f0c7314ab">More...</a><br /></td></tr>
|
|
<tr class="separator:gab6c09139121dbfd0ae5cb02f0c7314ab"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gae6c3bd675318156b36452e44eb477d7d"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#gae6c3bd675318156b36452e44eb477d7d">wifi_show_setting</a> (const char *ifname, <a class="el" href="group__nic.html#ga839fbd1c7746fae73ae63bf3913bd7e8">rtw_wifi_setting_t</a> *pSetting)</td></tr>
|
|
<tr class="memdesc:gae6c3bd675318156b36452e44eb477d7d"><td class="mdescLeft"> </td><td class="mdescRight">Show the network information stored in a rtw_wifi_setting_t structure. <a href="#gae6c3bd675318156b36452e44eb477d7d">More...</a><br /></td></tr>
|
|
<tr class="separator:gae6c3bd675318156b36452e44eb477d7d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gad11d05179f1145e2ceb4a151b37e5d94"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#gad11d05179f1145e2ceb4a151b37e5d94">wifi_set_network_mode</a> (<a class="el" href="group__nic.html#ga1a147ad15b1818208cfa4463afdff004">rtw_network_mode_t</a> mode)</td></tr>
|
|
<tr class="memdesc:gad11d05179f1145e2ceb4a151b37e5d94"><td class="mdescLeft"> </td><td class="mdescRight">Set the network mode according to the data rate its supported. Driver works in BGN mode in default after driver initialization. This function is used to change wireless network mode for station mode before connecting to AP. <a href="#gad11d05179f1145e2ceb4a151b37e5d94">More...</a><br /></td></tr>
|
|
<tr class="separator:gad11d05179f1145e2ceb4a151b37e5d94"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaf97f085d54536c86709c675bb66336c3"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#gaf97f085d54536c86709c675bb66336c3">wifi_set_promisc</a> (<a class="el" href="group__nic.html#gab64265953397ec1b1ae088ba6a8e07d9">rtw_rcr_level_t</a> enabled, void(*callback)(unsigned char *, unsigned int, void *), unsigned char len_used)</td></tr>
|
|
<tr class="memdesc:gaf97f085d54536c86709c675bb66336c3"><td class="mdescLeft"> </td><td class="mdescRight">Set the chip to start or stop the promiscuous mode. <a href="#gaf97f085d54536c86709c675bb66336c3">More...</a><br /></td></tr>
|
|
<tr class="separator:gaf97f085d54536c86709c675bb66336c3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga48935923750d86a016023c39a2148edc"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga48935923750d86a016023c39a2148edc">wifi_enter_promisc_mode</a> (void)</td></tr>
|
|
<tr class="memdesc:ga48935923750d86a016023c39a2148edc"><td class="mdescLeft"> </td><td class="mdescRight">Let Wi-Fi enter promiscuous mode. <a href="#ga48935923750d86a016023c39a2148edc">More...</a><br /></td></tr>
|
|
<tr class="separator:ga48935923750d86a016023c39a2148edc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaabd0af806cbecb8fa109e2b6e2d4ee88"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#gaabd0af806cbecb8fa109e2b6e2d4ee88">wifi_set_wps_phase</a> (unsigned char is_trigger_wps)</td></tr>
|
|
<tr class="separator:gaabd0af806cbecb8fa109e2b6e2d4ee88"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga3d82428312bf050294facc9e9364eae9"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga3d82428312bf050294facc9e9364eae9">wifi_restart_ap</a> (unsigned char *ssid, <a class="el" href="group__nic.html#ga0958e0890fe19830b5efb882c1ab587d">rtw_security_t</a> security_type, unsigned char *password, int ssid_len, int password_len, int channel)</td></tr>
|
|
<tr class="memdesc:ga3d82428312bf050294facc9e9364eae9"><td class="mdescLeft"> </td><td class="mdescRight">Trigger Wi-Fi driver to restart an infrastructure Wi-Fi network. <a href="#ga3d82428312bf050294facc9e9364eae9">More...</a><br /></td></tr>
|
|
<tr class="separator:ga3d82428312bf050294facc9e9364eae9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga6b192c3db5567c110aed4895ac01c8fc"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga6b192c3db5567c110aed4895ac01c8fc">wifi_config_autoreconnect</a> (__u8 mode, __u8 retry_times, __u16 timeout)</td></tr>
|
|
<tr class="memdesc:ga6b192c3db5567c110aed4895ac01c8fc"><td class="mdescLeft"> </td><td class="mdescRight">Set reconnection mode with configuration. <a href="#ga6b192c3db5567c110aed4895ac01c8fc">More...</a><br /></td></tr>
|
|
<tr class="separator:ga6b192c3db5567c110aed4895ac01c8fc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gae1dfe42c5c93ed1ce37f0ee7e1b94e0b"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#gae1dfe42c5c93ed1ce37f0ee7e1b94e0b">wifi_set_autoreconnect</a> (__u8 mode)</td></tr>
|
|
<tr class="memdesc:gae1dfe42c5c93ed1ce37f0ee7e1b94e0b"><td class="mdescLeft"> </td><td class="mdescRight">Set reconnection mode with 3 retry limit and 5 seconds timeout as default. <a href="#gae1dfe42c5c93ed1ce37f0ee7e1b94e0b">More...</a><br /></td></tr>
|
|
<tr class="separator:gae1dfe42c5c93ed1ce37f0ee7e1b94e0b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga69dbf66e61fabb765062b0bb8858b33d"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga69dbf66e61fabb765062b0bb8858b33d">wifi_get_autoreconnect</a> (__u8 *mode)</td></tr>
|
|
<tr class="memdesc:ga69dbf66e61fabb765062b0bb8858b33d"><td class="mdescLeft"> </td><td class="mdescRight">Get the result of setting reconnection mode. <a href="#ga69dbf66e61fabb765062b0bb8858b33d">More...</a><br /></td></tr>
|
|
<tr class="separator:ga69dbf66e61fabb765062b0bb8858b33d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaa551086fdb0f46f037a23aa1597cb4bd"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#gaa551086fdb0f46f037a23aa1597cb4bd">wifi_get_last_error</a> (void)</td></tr>
|
|
<tr class="memdesc:gaa551086fdb0f46f037a23aa1597cb4bd"><td class="mdescLeft"> </td><td class="mdescRight">Present the device disconnect reason while connecting. <a href="#gaa551086fdb0f46f037a23aa1597cb4bd">More...</a><br /></td></tr>
|
|
<tr class="separator:gaa551086fdb0f46f037a23aa1597cb4bd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga8213db63d15f8e0690a4d5bd04da6701"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga8213db63d15f8e0690a4d5bd04da6701">wifi_set_indicate_mgnt</a> (int enable)</td></tr>
|
|
<tr class="memdesc:ga8213db63d15f8e0690a4d5bd04da6701"><td class="mdescLeft"> </td><td class="mdescRight">Get antenna infomation. <a href="#ga8213db63d15f8e0690a4d5bd04da6701">More...</a><br /></td></tr>
|
|
<tr class="separator:ga8213db63d15f8e0690a4d5bd04da6701"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gabb635ea51be406b647eca299feaf333c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#gabb635ea51be406b647eca299feaf333c">init_event_callback_list</a> (void)</td></tr>
|
|
<tr class="memdesc:gabb635ea51be406b647eca299feaf333c"><td class="mdescLeft"> </td><td class="mdescRight">Initialize the event callback list. <a href="#gabb635ea51be406b647eca299feaf333c">More...</a><br /></td></tr>
|
|
<tr class="separator:gabb635ea51be406b647eca299feaf333c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga9d5170bfe8c0ac12cd0e1fbb3381d073"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga9d5170bfe8c0ac12cd0e1fbb3381d073">wifi_indication</a> (<a class="el" href="group__nic.html#gaf7821eeb36feffe928044e81c6a7840c">rtw_event_indicate_t</a> event, char *buf, int buf_len, int flags)</td></tr>
|
|
<tr class="memdesc:ga9d5170bfe8c0ac12cd0e1fbb3381d073"><td class="mdescLeft"> </td><td class="mdescRight">Wlan driver indicate event to upper layer through wifi_indication. <a href="#ga9d5170bfe8c0ac12cd0e1fbb3381d073">More...</a><br /></td></tr>
|
|
<tr class="separator:ga9d5170bfe8c0ac12cd0e1fbb3381d073"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga2f2f1d6b717a234fa2991984aed85921"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga2f2f1d6b717a234fa2991984aed85921">wifi_reg_event_handler</a> (unsigned int event_cmds, rtw_event_handler_t handler_func, void *handler_user_data)</td></tr>
|
|
<tr class="memdesc:ga2f2f1d6b717a234fa2991984aed85921"><td class="mdescLeft"> </td><td class="mdescRight">Register the event listener. <a href="#ga2f2f1d6b717a234fa2991984aed85921">More...</a><br /></td></tr>
|
|
<tr class="separator:ga2f2f1d6b717a234fa2991984aed85921"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga549fd1c20022b7f87949f55c5c287ae9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga549fd1c20022b7f87949f55c5c287ae9">wifi_unreg_event_handler</a> (unsigned int event_cmds, rtw_event_handler_t handler_func)</td></tr>
|
|
<tr class="memdesc:ga549fd1c20022b7f87949f55c5c287ae9"><td class="mdescLeft"> </td><td class="mdescRight">Un-register the event listener. <a href="#ga549fd1c20022b7f87949f55c5c287ae9">More...</a><br /></td></tr>
|
|
<tr class="separator:ga549fd1c20022b7f87949f55c5c287ae9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
|
|
Variables</h2></td></tr>
|
|
<tr class="memitem:ga1fe855c208bc17a51a4d34fefdb2d5b1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga1fe855c208bc17a51a4d34fefdb2d5b1"></a>
|
|
char * </td><td class="memItemRight" valign="bottom"><b>buf</b></td></tr>
|
|
<tr class="separator:ga1fe855c208bc17a51a4d34fefdb2d5b1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga7666bbf00997cc13da27d55cb05d27c4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga7666bbf00997cc13da27d55cb05d27c4"></a>
|
|
int </td><td class="memItemRight" valign="bottom"><b>buf_len</b></td></tr>
|
|
<tr class="separator:ga7666bbf00997cc13da27d55cb05d27c4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gac57367b455159f917a8cc8c9ed8be4af"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gac57367b455159f917a8cc8c9ed8be4af"></a>
|
|
<a class="el" href="group__nic.html#gaed1bca05e9dce80ec13c89077c7e01ef">rtw_scan_result_t</a> ** </td><td class="memItemRight" valign="bottom"><b>pap_details</b></td></tr>
|
|
<tr class="separator:gac57367b455159f917a8cc8c9ed8be4af"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga9ec5d88748245011fd706474ce8282eb"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga9ec5d88748245011fd706474ce8282eb"></a>
|
|
<a class="el" href="group__nic.html#gaed1bca05e9dce80ec13c89077c7e01ef">rtw_scan_result_t</a> * </td><td class="memItemRight" valign="bottom"><b>ap_details</b></td></tr>
|
|
<tr class="separator:ga9ec5d88748245011fd706474ce8282eb"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaaedbc364e7f54788962e6cdb31be2e95"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaaedbc364e7f54788962e6cdb31be2e95"></a>
|
|
int </td><td class="memItemRight" valign="bottom"><b>scan_cnt</b></td></tr>
|
|
<tr class="separator:gaaedbc364e7f54788962e6cdb31be2e95"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaf80bf6b195b30d6daf8051ba85855591"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaf80bf6b195b30d6daf8051ba85855591"></a>
|
|
rtw_bool_t </td><td class="memItemRight" valign="bottom"><b>scan_complete</b></td></tr>
|
|
<tr class="separator:gaf80bf6b195b30d6daf8051ba85855591"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gacbb6766a9f1b59255feb69fe07bd6c11"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gacbb6766a9f1b59255feb69fe07bd6c11"></a>
|
|
unsigned char </td><td class="memItemRight" valign="bottom"><b>max_ap_size</b></td></tr>
|
|
<tr class="separator:gacbb6766a9f1b59255feb69fe07bd6c11"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gae63fa2744c9de93aae363770a5e77a20"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gae63fa2744c9de93aae363770a5e77a20"></a>
|
|
rtw_scan_result_handler_t </td><td class="memItemRight" valign="bottom"><b>gscan_result_handler</b></td></tr>
|
|
<tr class="separator:gae63fa2744c9de93aae363770a5e77a20"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga9aa0f02e730a895475dd50f1d114dd31"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga9aa0f02e730a895475dd50f1d114dd31"></a>
|
|
int </td><td class="memItemRight" valign="bottom"><b>scan_running</b></td></tr>
|
|
<tr class="separator:ga9aa0f02e730a895475dd50f1d114dd31"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga0f53d287ac7c064d1a49d4bd93ca1cb9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga0f53d287ac7c064d1a49d4bd93ca1cb9"></a>
|
|
void * </td><td class="memItemRight" valign="bottom"><b>user_data</b></td></tr>
|
|
<tr class="separator:ga0f53d287ac7c064d1a49d4bd93ca1cb9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga296017e1892840739377b95681fd254a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga296017e1892840739377b95681fd254a"></a>
|
|
unsigned int </td><td class="memItemRight" valign="bottom"><b>scan_start_time</b></td></tr>
|
|
<tr class="separator:ga296017e1892840739377b95681fd254a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gac23abca48c3755e30d66d669fe68d5ee"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gac23abca48c3755e30d66d669fe68d5ee"></a>
|
|
<a class="el" href="group__nic.html#ga5773aa3861c6536a4826472e19bc5aa3">rtw_network_info_t</a> </td><td class="memItemRight" valign="bottom"><b>network_info</b></td></tr>
|
|
<tr class="separator:gac23abca48c3755e30d66d669fe68d5ee"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gacc4644f0f8ffa7927d07cf3cd4b576f2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gacc4644f0f8ffa7927d07cf3cd4b576f2"></a>
|
|
void * </td><td class="memItemRight" valign="bottom"><b>join_sema</b></td></tr>
|
|
<tr class="separator:gacc4644f0f8ffa7927d07cf3cd4b576f2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga795802a9209ab7eba341dd36ddf34aad"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga795802a9209ab7eba341dd36ddf34aad"></a>
|
|
rtw_event_handler_t </td><td class="memItemRight" valign="bottom"><b>handler</b></td></tr>
|
|
<tr class="separator:ga795802a9209ab7eba341dd36ddf34aad"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga935c19955a85a0f543fe42b5d8cc6a6e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga935c19955a85a0f543fe42b5d8cc6a6e"></a>
|
|
void * </td><td class="memItemRight" valign="bottom"><b>handler_user_data</b></td></tr>
|
|
<tr class="separator:ga935c19955a85a0f543fe42b5d8cc6a6e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga8bb3e1dd5fd30402c69fd8a9f7dd0950"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga8bb3e1dd5fd30402c69fd8a9f7dd0950">len</a></td></tr>
|
|
<tr class="separator:ga8bb3e1dd5fd30402c69fd8a9f7dd0950"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga36693d68d96d4b2cf9fc40aea6cc3ac1"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga36693d68d96d4b2cf9fc40aea6cc3ac1">val</a> [33]</td></tr>
|
|
<tr class="separator:ga36693d68d96d4b2cf9fc40aea6cc3ac1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaa874ab22d0800a3536f8265ce52c04c3"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#gaa874ab22d0800a3536f8265ce52c04c3">octet</a> [6]</td></tr>
|
|
<tr class="separator:gaa874ab22d0800a3536f8265ce52c04c3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaeac407a131e68ae31c0966d52e55019f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaeac407a131e68ae31c0966d52e55019f"></a>
|
|
<a class="el" href="group__nic.html#ga0dfc33cd90206e6f3f8eed79c6d7e75b">rtw_ssid_t</a> </td><td class="memItemRight" valign="bottom"><b>ssid</b></td></tr>
|
|
<tr class="separator:gaeac407a131e68ae31c0966d52e55019f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga7dc074ce6b905752633a3825393e4c6f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga7dc074ce6b905752633a3825393e4c6f"></a>
|
|
<a class="el" href="group__nic.html#ga0958e0890fe19830b5efb882c1ab587d">rtw_security_t</a> </td><td class="memItemRight" valign="bottom"><b>security_type</b></td></tr>
|
|
<tr class="separator:ga7dc074ce6b905752633a3825393e4c6f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga8d76ebe112b61e2a0af2fb69a1acca2c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga8d76ebe112b61e2a0af2fb69a1acca2c"></a>
|
|
unsigned char * </td><td class="memItemRight" valign="bottom"><b>password</b></td></tr>
|
|
<tr class="separator:ga8d76ebe112b61e2a0af2fb69a1acca2c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga92d213af5efc38883022b3ec5ada5070"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga92d213af5efc38883022b3ec5ada5070"></a>
|
|
int </td><td class="memItemRight" valign="bottom"><b>password_len</b></td></tr>
|
|
<tr class="separator:ga92d213af5efc38883022b3ec5ada5070"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gadf7dff2c57c0da9a4a2b70e3e815be31"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gadf7dff2c57c0da9a4a2b70e3e815be31"></a>
|
|
int </td><td class="memItemRight" valign="bottom"><b>channel</b></td></tr>
|
|
<tr class="separator:gadf7dff2c57c0da9a4a2b70e3e815be31"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaeac407a131e68ae31c0966d52e55019f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaeac407a131e68ae31c0966d52e55019f"></a>
|
|
<a class="el" href="group__nic.html#ga0dfc33cd90206e6f3f8eed79c6d7e75b">rtw_ssid_t</a> </td><td class="memItemRight" valign="bottom"><b>ssid</b></td></tr>
|
|
<tr class="separator:gaeac407a131e68ae31c0966d52e55019f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga6d7888eda9a6db63bb2202410e434119"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga6d7888eda9a6db63bb2202410e434119"></a>
|
|
<a class="el" href="group__nic.html#ga6f893f4b79a4185fd56da36aea117d9a">rtw_mac_t</a> </td><td class="memItemRight" valign="bottom"><b>bssid</b></td></tr>
|
|
<tr class="separator:ga6d7888eda9a6db63bb2202410e434119"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga7dc074ce6b905752633a3825393e4c6f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga7dc074ce6b905752633a3825393e4c6f"></a>
|
|
<a class="el" href="group__nic.html#ga0958e0890fe19830b5efb882c1ab587d">rtw_security_t</a> </td><td class="memItemRight" valign="bottom"><b>security_type</b></td></tr>
|
|
<tr class="separator:ga7dc074ce6b905752633a3825393e4c6f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga8d76ebe112b61e2a0af2fb69a1acca2c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga8d76ebe112b61e2a0af2fb69a1acca2c"></a>
|
|
unsigned char * </td><td class="memItemRight" valign="bottom"><b>password</b></td></tr>
|
|
<tr class="separator:ga8d76ebe112b61e2a0af2fb69a1acca2c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga92d213af5efc38883022b3ec5ada5070"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga92d213af5efc38883022b3ec5ada5070"></a>
|
|
int </td><td class="memItemRight" valign="bottom"><b>password_len</b></td></tr>
|
|
<tr class="separator:ga92d213af5efc38883022b3ec5ada5070"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga6d1854bc59e565c9e4cb41d2291bfb4e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga6d1854bc59e565c9e4cb41d2291bfb4e"></a>
|
|
int </td><td class="memItemRight" valign="bottom"><b>key_id</b></td></tr>
|
|
<tr class="separator:ga6d1854bc59e565c9e4cb41d2291bfb4e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gad61615af10f580eab39a8c4efae3ae08"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__nic.html#ga0dfc33cd90206e6f3f8eed79c6d7e75b">rtw_ssid_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#gad61615af10f580eab39a8c4efae3ae08">SSID</a></td></tr>
|
|
<tr class="separator:gad61615af10f580eab39a8c4efae3ae08"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaa88b0980078ae0c5ae1a915f38f6282a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__nic.html#ga6f893f4b79a4185fd56da36aea117d9a">rtw_mac_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#gaa88b0980078ae0c5ae1a915f38f6282a">BSSID</a></td></tr>
|
|
<tr class="separator:gaa88b0980078ae0c5ae1a915f38f6282a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga2e038be96ae7653a6c00ec5444f0baf9"><td class="memItemLeft" align="right" valign="top">signed short </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga2e038be96ae7653a6c00ec5444f0baf9">signal_strength</a></td></tr>
|
|
<tr class="separator:ga2e038be96ae7653a6c00ec5444f0baf9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga92cd7931124f1d412e6d82d066d40485"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__nic.html#ga6d25bd3898dff294014b89739d0fbacb">rtw_bss_type_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga92cd7931124f1d412e6d82d066d40485">bss_type</a></td></tr>
|
|
<tr class="separator:ga92cd7931124f1d412e6d82d066d40485"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga674b59ed60e255366dfb2facd83b9e7e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__nic.html#ga0958e0890fe19830b5efb882c1ab587d">rtw_security_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga674b59ed60e255366dfb2facd83b9e7e">security</a></td></tr>
|
|
<tr class="separator:ga674b59ed60e255366dfb2facd83b9e7e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga76656dd845823ea006a2398ad7982787"><td class="memItemLeft" align="right" valign="top">rtw_wps_type_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga76656dd845823ea006a2398ad7982787">wps_type</a></td></tr>
|
|
<tr class="separator:ga76656dd845823ea006a2398ad7982787"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga9f2a059618fb285e162d95b79991efa7"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga9f2a059618fb285e162d95b79991efa7">channel</a></td></tr>
|
|
<tr class="separator:ga9f2a059618fb285e162d95b79991efa7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaffefb11c59fe9423bca839db555ff8d2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__nic.html#ga44d43aafae80d824ec6084f605e7cc6e">rtw_802_11_band_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#gaffefb11c59fe9423bca839db555ff8d2">band</a></td></tr>
|
|
<tr class="separator:gaffefb11c59fe9423bca839db555ff8d2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga1be9ead1c0b788be3cf4ae1c66ed20ae"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga1be9ead1c0b788be3cf4ae1c66ed20ae"></a>
|
|
<a class="el" href="group__nic.html#gaed1bca05e9dce80ec13c89077c7e01ef">rtw_scan_result_t</a> </td><td class="memItemRight" valign="bottom"><b>ap_details</b></td></tr>
|
|
<tr class="separator:ga1be9ead1c0b788be3cf4ae1c66ed20ae"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaf80bf6b195b30d6daf8051ba85855591"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaf80bf6b195b30d6daf8051ba85855591"></a>
|
|
rtw_bool_t </td><td class="memItemRight" valign="bottom"><b>scan_complete</b></td></tr>
|
|
<tr class="separator:gaf80bf6b195b30d6daf8051ba85855591"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga0f53d287ac7c064d1a49d4bd93ca1cb9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga0f53d287ac7c064d1a49d4bd93ca1cb9"></a>
|
|
void * </td><td class="memItemRight" valign="bottom"><b>user_data</b></td></tr>
|
|
<tr class="separator:ga0f53d287ac7c064d1a49d4bd93ca1cb9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaf9a5c3637d1d296caef9573293b046c6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaf9a5c3637d1d296caef9573293b046c6"></a>
|
|
<a class="el" href="group__nic.html#gaf281c66fe8160f6ab6dacf95d5ea5715">rtw_mode_t</a> </td><td class="memItemRight" valign="bottom"><b>mode</b></td></tr>
|
|
<tr class="separator:gaf9a5c3637d1d296caef9573293b046c6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gab080ca507ff05fc16b9d4a6ed15a3d2e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gab080ca507ff05fc16b9d4a6ed15a3d2e"></a>
|
|
unsigned char </td><td class="memItemRight" valign="bottom"><b>ssid</b> [33]</td></tr>
|
|
<tr class="separator:gab080ca507ff05fc16b9d4a6ed15a3d2e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gadc18ec7f4fcbc00d327f412b44a6385d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gadc18ec7f4fcbc00d327f412b44a6385d"></a>
|
|
unsigned char </td><td class="memItemRight" valign="bottom"><b>channel</b></td></tr>
|
|
<tr class="separator:gadc18ec7f4fcbc00d327f412b44a6385d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga7dc074ce6b905752633a3825393e4c6f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga7dc074ce6b905752633a3825393e4c6f"></a>
|
|
<a class="el" href="group__nic.html#ga0958e0890fe19830b5efb882c1ab587d">rtw_security_t</a> </td><td class="memItemRight" valign="bottom"><b>security_type</b></td></tr>
|
|
<tr class="separator:ga7dc074ce6b905752633a3825393e4c6f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga750d9650e45813b1ae8136b818defdec"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga750d9650e45813b1ae8136b818defdec"></a>
|
|
unsigned char </td><td class="memItemRight" valign="bottom"><b>password</b> [65]</td></tr>
|
|
<tr class="separator:ga750d9650e45813b1ae8136b818defdec"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga0645d308c7084f717a8b8414eac43f3f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga0645d308c7084f717a8b8414eac43f3f"></a>
|
|
unsigned char </td><td class="memItemRight" valign="bottom"><b>key_idx</b></td></tr>
|
|
<tr class="separator:ga0645d308c7084f717a8b8414eac43f3f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga150242a685a7b462b838ee36c50081c3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga150242a685a7b462b838ee36c50081c3"></a>
|
|
unsigned int </td><td class="memItemRight" valign="bottom"><b>boot_mode</b></td></tr>
|
|
<tr class="separator:ga150242a685a7b462b838ee36c50081c3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga18d6c322c89b9482d88f4d1b151e1208"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga18d6c322c89b9482d88f4d1b151e1208"></a>
|
|
unsigned char </td><td class="memItemRight" valign="bottom"><b>ssid</b> [32]</td></tr>
|
|
<tr class="separator:ga18d6c322c89b9482d88f4d1b151e1208"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga340f18f235799c8c8b592c782ef1c079"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga340f18f235799c8c8b592c782ef1c079"></a>
|
|
unsigned char </td><td class="memItemRight" valign="bottom"><b>ssid_len</b></td></tr>
|
|
<tr class="separator:ga340f18f235799c8c8b592c782ef1c079"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gae86d893a6ae7ca2765c14409ac29978c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gae86d893a6ae7ca2765c14409ac29978c"></a>
|
|
unsigned char </td><td class="memItemRight" valign="bottom"><b>security_type</b></td></tr>
|
|
<tr class="separator:gae86d893a6ae7ca2765c14409ac29978c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga750d9650e45813b1ae8136b818defdec"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga750d9650e45813b1ae8136b818defdec"></a>
|
|
unsigned char </td><td class="memItemRight" valign="bottom"><b>password</b> [65]</td></tr>
|
|
<tr class="separator:ga750d9650e45813b1ae8136b818defdec"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga316ce2867ccf4438d8f9af004e2c9a6c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga316ce2867ccf4438d8f9af004e2c9a6c"></a>
|
|
unsigned char </td><td class="memItemRight" valign="bottom"><b>password_len</b></td></tr>
|
|
<tr class="separator:ga316ce2867ccf4438d8f9af004e2c9a6c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gadc18ec7f4fcbc00d327f412b44a6385d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gadc18ec7f4fcbc00d327f412b44a6385d"></a>
|
|
unsigned char </td><td class="memItemRight" valign="bottom"><b>channel</b></td></tr>
|
|
<tr class="separator:gadc18ec7f4fcbc00d327f412b44a6385d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga16ff2d8e15ade4948398b0aeb80124a8"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga16ff2d8e15ade4948398b0aeb80124a8">count</a></td></tr>
|
|
<tr class="separator:ga16ff2d8e15ade4948398b0aeb80124a8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaa8b0271755133fd98a0b13a1b37e97f9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__nic.html#ga6f893f4b79a4185fd56da36aea117d9a">rtw_mac_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#gaa8b0271755133fd98a0b13a1b37e97f9">mac_list</a> [1]</td></tr>
|
|
<tr class="separator:gaa8b0271755133fd98a0b13a1b37e97f9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga5408ac5df4c170828874e1b10b4c35a0"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga5408ac5df4c170828874e1b10b4c35a0">version</a></td></tr>
|
|
<tr class="separator:ga5408ac5df4c170828874e1b10b4c35a0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gac8d42bcd4a44e078047ccd7291059238"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#gac8d42bcd4a44e078047ccd7291059238">length</a></td></tr>
|
|
<tr class="separator:gac8d42bcd4a44e078047ccd7291059238"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaa88b0980078ae0c5ae1a915f38f6282a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaa88b0980078ae0c5ae1a915f38f6282a"></a>
|
|
<a class="el" href="group__nic.html#ga6f893f4b79a4185fd56da36aea117d9a">rtw_mac_t</a> </td><td class="memItemRight" valign="bottom"><b>BSSID</b></td></tr>
|
|
<tr class="separator:gaa88b0980078ae0c5ae1a915f38f6282a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga29e10dbf7a0e07b11b5ab56d576de295"><td class="memItemLeft" align="right" valign="top">unsigned short </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga29e10dbf7a0e07b11b5ab56d576de295">beacon_period</a></td></tr>
|
|
<tr class="separator:ga29e10dbf7a0e07b11b5ab56d576de295"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga1ce7833ae66e5fdfe7b8d8d807aeb5a1"><td class="memItemLeft" align="right" valign="top">unsigned short </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga1ce7833ae66e5fdfe7b8d8d807aeb5a1">capability</a></td></tr>
|
|
<tr class="separator:ga1ce7833ae66e5fdfe7b8d8d807aeb5a1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga1db6f0fc04afa7033c921af4a06338d0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga1db6f0fc04afa7033c921af4a06338d0"></a>
|
|
unsigned char </td><td class="memItemRight" valign="bottom"><b>SSID_len</b></td></tr>
|
|
<tr class="separator:ga1db6f0fc04afa7033c921af4a06338d0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga06d4b9de0ca1c9c253d0aa7a81ef7f88"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga06d4b9de0ca1c9c253d0aa7a81ef7f88"></a>
|
|
unsigned char </td><td class="memItemRight" valign="bottom"><b>SSID</b> [32]</td></tr>
|
|
<tr class="separator:ga06d4b9de0ca1c9c253d0aa7a81ef7f88"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gadc18ec7f4fcbc00d327f412b44a6385d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gadc18ec7f4fcbc00d327f412b44a6385d"></a>
|
|
unsigned char </td><td class="memItemRight" valign="bottom"><b>channel</b></td></tr>
|
|
<tr class="separator:gadc18ec7f4fcbc00d327f412b44a6385d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga83c574ba2fda4b3bb81cf68a64f68288"><td class="memItemLeft" align="right" valign="top">unsigned short </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga83c574ba2fda4b3bb81cf68a64f68288">atim_window</a></td></tr>
|
|
<tr class="separator:ga83c574ba2fda4b3bb81cf68a64f68288"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga94714d3a7416106e269c47aa828f6074"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga94714d3a7416106e269c47aa828f6074">dtim_period</a></td></tr>
|
|
<tr class="separator:ga94714d3a7416106e269c47aa828f6074"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga5cb5a9a29a9e56da4545df0143540779"><td class="memItemLeft" align="right" valign="top">signed short </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga5cb5a9a29a9e56da4545df0143540779">RSSI</a></td></tr>
|
|
<tr class="separator:ga5cb5a9a29a9e56da4545df0143540779"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga2e6609e89d6991ca4d705cc0017692df"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga2e6609e89d6991ca4d705cc0017692df">n_cap</a></td></tr>
|
|
<tr class="separator:ga2e6609e89d6991ca4d705cc0017692df"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaf2f64fc923307e70374549ae1a6fe7b9"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#gaf2f64fc923307e70374549ae1a6fe7b9">nbss_cap</a></td></tr>
|
|
<tr class="separator:gaf2f64fc923307e70374549ae1a6fe7b9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga74033bccc94f3b3f51f1ff46507a0be7"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga74033bccc94f3b3f51f1ff46507a0be7">basic_mcs</a> [MCSSET_LEN]</td></tr>
|
|
<tr class="separator:ga74033bccc94f3b3f51f1ff46507a0be7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga416a0cb144302424e4dc107b8e277341"><td class="memItemLeft" align="right" valign="top">unsigned short </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga416a0cb144302424e4dc107b8e277341">ie_offset</a></td></tr>
|
|
<tr class="separator:ga416a0cb144302424e4dc107b8e277341"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga699c7e1ce8df43a8cac6727bfcf945a2"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga699c7e1ce8df43a8cac6727bfcf945a2">ie_length</a></td></tr>
|
|
<tr class="separator:ga699c7e1ce8df43a8cac6727bfcf945a2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga33d71f23ba2052d17f0b754dc35265b0"><td class="memItemLeft" align="right" valign="top">unsigned short </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga33d71f23ba2052d17f0b754dc35265b0">offset</a></td></tr>
|
|
<tr class="separator:ga33d71f23ba2052d17f0b754dc35265b0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gad1b81bfb1f91d1d48d9ee9288b21d4d5"><td class="memItemLeft" align="right" valign="top">unsigned short </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#gad1b81bfb1f91d1d48d9ee9288b21d4d5">mask_size</a></td></tr>
|
|
<tr class="separator:gad1b81bfb1f91d1d48d9ee9288b21d4d5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga73224b9ec68e6e658c4b1c86872fa1ce"><td class="memItemLeft" align="right" valign="top">unsigned char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga73224b9ec68e6e658c4b1c86872fa1ce">mask</a></td></tr>
|
|
<tr class="separator:ga73224b9ec68e6e658c4b1c86872fa1ce"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaadc2a4c1b706ce1566d560c38487bdff"><td class="memItemLeft" align="right" valign="top">unsigned char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#gaadc2a4c1b706ce1566d560c38487bdff">pattern</a></td></tr>
|
|
<tr class="separator:gaadc2a4c1b706ce1566d560c38487bdff"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga232b0dc3577d19359d45c1d9ccbfc1ab"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga232b0dc3577d19359d45c1d9ccbfc1ab"></a>
|
|
unsigned short </td><td class="memItemRight" valign="bottom"><b>i_fc</b></td></tr>
|
|
<tr class="separator:ga232b0dc3577d19359d45c1d9ccbfc1ab"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaf320aa398d91ee6a36d3dfcd4d73b548"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaf320aa398d91ee6a36d3dfcd4d73b548"></a>
|
|
unsigned short </td><td class="memItemRight" valign="bottom"><b>i_dur</b></td></tr>
|
|
<tr class="separator:gaf320aa398d91ee6a36d3dfcd4d73b548"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaad8b0937af36c14a5fb6f60d4726b8ef"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaad8b0937af36c14a5fb6f60d4726b8ef"></a>
|
|
unsigned char </td><td class="memItemRight" valign="bottom"><b>i_addr1</b> [6]</td></tr>
|
|
<tr class="separator:gaad8b0937af36c14a5fb6f60d4726b8ef"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga17617bc1247ed4b7126767e89d788824"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga17617bc1247ed4b7126767e89d788824"></a>
|
|
unsigned char </td><td class="memItemRight" valign="bottom"><b>i_addr2</b> [6]</td></tr>
|
|
<tr class="separator:ga17617bc1247ed4b7126767e89d788824"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaea3320a50c16e7c4166be13753728569"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaea3320a50c16e7c4166be13753728569"></a>
|
|
unsigned char </td><td class="memItemRight" valign="bottom"><b>i_addr3</b> [6]</td></tr>
|
|
<tr class="separator:gaea3320a50c16e7c4166be13753728569"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gade24c5e25b10440d61f12f1fac01a4d1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gade24c5e25b10440d61f12f1fac01a4d1"></a>
|
|
unsigned short </td><td class="memItemRight" valign="bottom"><b>i_seq</b></td></tr>
|
|
<tr class="separator:gade24c5e25b10440d61f12f1fac01a4d1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gafe5aa2d29b976557a88eab996244aedc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gafe5aa2d29b976557a88eab996244aedc"></a>
|
|
unsigned char </td><td class="memItemRight" valign="bottom"><b>bssid</b> [6]</td></tr>
|
|
<tr class="separator:gafe5aa2d29b976557a88eab996244aedc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga1249b5dd49703069fde587298151577e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga1249b5dd49703069fde587298151577e"></a>
|
|
unsigned char </td><td class="memItemRight" valign="bottom"><b>encrypt</b></td></tr>
|
|
<tr class="separator:ga1249b5dd49703069fde587298151577e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga0e8c2d628a681a89f8924f264401989a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga0e8c2d628a681a89f8924f264401989a"></a>
|
|
signed char </td><td class="memItemRight" valign="bottom"><b>rssi</b></td></tr>
|
|
<tr class="separator:ga0e8c2d628a681a89f8924f264401989a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga4dc03a8c8dbeeca3ddf45a08fe7a1ed2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga4dc03a8c8dbeeca3ddf45a08fe7a1ed2"></a>
|
|
char </td><td class="memItemRight" valign="bottom"><b>filter_id</b></td></tr>
|
|
<tr class="separator:ga4dc03a8c8dbeeca3ddf45a08fe7a1ed2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga60c69169ca86989c361f837b48e85df4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga60c69169ca86989c361f837b48e85df4"></a>
|
|
<a class="el" href="structrtw__packet__filter__pattern__t.html">rtw_packet_filter_pattern_t</a> </td><td class="memItemRight" valign="bottom"><b>patt</b></td></tr>
|
|
<tr class="separator:ga60c69169ca86989c361f837b48e85df4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga8052a6cf37d784c1154c7958aaca062a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga8052a6cf37d784c1154c7958aaca062a"></a>
|
|
<a class="el" href="group__nic.html#ga25be85ab5363803329b06c89bdf9952c">rtw_packet_filter_rule_t</a> </td><td class="memItemRight" valign="bottom"><b>rule</b></td></tr>
|
|
<tr class="separator:ga8052a6cf37d784c1154c7958aaca062a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga4f3f1c37707699661fca1218881d18d9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga4f3f1c37707699661fca1218881d18d9"></a>
|
|
unsigned char </td><td class="memItemRight" valign="bottom"><b>enable</b></td></tr>
|
|
<tr class="separator:ga4f3f1c37707699661fca1218881d18d9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga2054c2f57e759b2b20c4f5adb167b98c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga2054c2f57e759b2b20c4f5adb167b98c"></a>
|
|
struct list_head </td><td class="memItemRight" valign="bottom"><b>node</b></td></tr>
|
|
<tr class="separator:ga2054c2f57e759b2b20c4f5adb167b98c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gac7414be8598894a99aef1d344660ad1a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gac7414be8598894a99aef1d344660ad1a"></a>
|
|
unsigned char </td><td class="memItemRight" valign="bottom"><b>mac_addr</b> [6]</td></tr>
|
|
<tr class="separator:gac7414be8598894a99aef1d344660ad1a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
|
|
Ameba1 Only</h2></td></tr>
|
|
<tr class="memitem:ga96b5d241084bf8d899c071040a2e0a1c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nic.html#ga96b5d241084bf8d899c071040a2e0a1c">wifi_set_ap_polling_sta</a> (__u8 enabled)</td></tr>
|
|
<tr class="memdesc:ga96b5d241084bf8d899c071040a2e0a1c"><td class="mdescLeft"> </td><td class="mdescRight">enable AP sending QoS Null0 Data to poll Sta be alive <a href="#ga96b5d241084bf8d899c071040a2e0a1c">More...</a><br /></td></tr>
|
|
<tr class="separator:ga96b5d241084bf8d899c071040a2e0a1c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<p>NIC functions. </p>
|
|
<h2 class="groupheader">Macro Definition Documentation</h2>
|
|
<a class="anchor" id="gaf5b854035e5d21db85b3bb6e8993351f"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define CMP_MAC</td>
|
|
<td>(</td>
|
|
<td class="paramtype"> </td>
|
|
<td class="paramname">a, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"> </td>
|
|
<td class="paramname">b </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<b>Value:</b><div class="fragment"><div class="line">(((a[0])==(b[0]))&& \</div><div class="line"> ((a[1])==(b[1]))&& \</div><div class="line"> ((a[2])==(b[2]))&& \</div><div class="line"> ((a[3])==(b[3]))&& \</div><div class="line"> ((a[4])==(b[4]))&& \</div><div class="line"> ((a[5])==(b[5])))</div></div><!-- fragment -->
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Typedef Documentation</h2>
|
|
<a class="anchor" id="ga2c2f029718f6fb010f2efec893f71f53"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef struct <a class="el" href="structrtw__ap__info.html">rtw_ap_info</a> <a class="el" href="group__nic.html#ga2c2f029718f6fb010f2efec893f71f53">rtw_ap_info_t</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The structure is used to describe the setting about SSID, security type, password and default channel, used to start AP mode. </p>
|
|
<dl class="section note"><dt>Note</dt><dd>The data length of string pointed by ssid and password should not exceed 32. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga5773aa3861c6536a4826472e19bc5aa3"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef struct <a class="el" href="structrtw__network__info.html">rtw_network_info</a> <a class="el" href="group__nic.html#ga5773aa3861c6536a4826472e19bc5aa3">rtw_network_info_t</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The structure is used to describe the station mode setting about SSID, security type and password, used when connecting to an AP. </p>
|
|
<dl class="section note"><dt>Note</dt><dd>The data length of string pointed by ssid and password should not exceed 32. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga92df55b81f247963851197c1d1d8f0a6"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef void(* rtw_scan_result_callback_t) (<a class="el" href="group__nic.html#gaed1bca05e9dce80ec13c89077c7e01ef">rtw_scan_result_t</a> **result_ptr, void *user_data)</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Scan result callback function pointer type</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">result_ptr</td><td>: A pointer to the pointer that indicates where to put the next scan result </td></tr>
|
|
<tr><td class="paramname">user_data</td><td>: User provided data </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Enumeration Type Documentation</h2>
|
|
<a class="anchor" id="ga44d43aafae80d824ec6084f605e7cc6e"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="group__nic.html#ga44d43aafae80d824ec6084f605e7cc6e">rtw_802_11_band_t</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The enumeration lists the band types. </p>
|
|
<table class="fieldtable">
|
|
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="gga44d43aafae80d824ec6084f605e7cc6ea1883001cac6aa9f29ecb9180c9f4fe78"></a>RTW_802_11_BAND_5GHZ </td><td class="fielddoc">
|
|
<p>Denotes 5GHz radio band </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga44d43aafae80d824ec6084f605e7cc6ea800b340899b8e3691749fd9e314662ff"></a>RTW_802_11_BAND_2_4GHZ </td><td class="fielddoc">
|
|
<p>Denotes 2.4GHz radio band </p>
|
|
</td></tr>
|
|
</table>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga6d25bd3898dff294014b89739d0fbacb"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="group__nic.html#ga6d25bd3898dff294014b89739d0fbacb">rtw_bss_type_t</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The enumeration lists the bss types. </p>
|
|
<table class="fieldtable">
|
|
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="gga6d25bd3898dff294014b89739d0fbacba5015a4d1918b861d2fc9c5824a5d8931"></a>RTW_BSS_TYPE_INFRASTRUCTURE </td><td class="fielddoc">
|
|
<p>Denotes infrastructure network </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga6d25bd3898dff294014b89739d0fbacba10c4431ce7f55350f2f22752e454bce1"></a>RTW_BSS_TYPE_ADHOC </td><td class="fielddoc">
|
|
<p>Denotes an 802.11 ad-hoc IBSS network </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga6d25bd3898dff294014b89739d0fbacbae070f7fc5a5253c7f324bffcbaf3ba47"></a>RTW_BSS_TYPE_ANY </td><td class="fielddoc">
|
|
<p>Denotes either infrastructure or ad-hoc network </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga6d25bd3898dff294014b89739d0fbacbaa02abfaf5ece98ddcd307dcb9e8f8179"></a>RTW_BSS_TYPE_UNKNOWN </td><td class="fielddoc">
|
|
<p>May be returned by scan function if BSS type is unknown. Do not pass this to the Join function </p>
|
|
</td></tr>
|
|
</table>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gacd6b1280bb110c37571c36a25eeda2f2"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="group__nic.html#gacd6b1280bb110c37571c36a25eeda2f2">rtw_interface_t</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The enumeration lists the interfaces. </p>
|
|
<table class="fieldtable">
|
|
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="ggacd6b1280bb110c37571c36a25eeda2f2a553b13aea83c93ed71845efecc7f5805"></a>RTW_STA_INTERFACE </td><td class="fielddoc">
|
|
<p>STA or Client Interface </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggacd6b1280bb110c37571c36a25eeda2f2ab056ab50eb517d1204f628da22eb25fc"></a>RTW_AP_INTERFACE </td><td class="fielddoc">
|
|
<p>SoftAP Interface </p>
|
|
</td></tr>
|
|
</table>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga25be85ab5363803329b06c89bdf9952c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="group__nic.html#ga25be85ab5363803329b06c89bdf9952c">rtw_packet_filter_rule_t</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The enumeration lists the packet filter rules. </p>
|
|
<table class="fieldtable">
|
|
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="gga25be85ab5363803329b06c89bdf9952ca71f5556ee2e4ca93bda4f844b33ba167"></a>RTW_POSITIVE_MATCHING </td><td class="fielddoc">
|
|
<p>Receive the data matching with this pattern and discard the other data </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga25be85ab5363803329b06c89bdf9952ca8dae7e8fa7e4b3c303199309e4ee03e4"></a>RTW_NEGATIVE_MATCHING </td><td class="fielddoc">
|
|
<p>Discard the data matching with this pattern and receive the other data </p>
|
|
</td></tr>
|
|
</table>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gab64265953397ec1b1ae088ba6a8e07d9"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="group__nic.html#gab64265953397ec1b1ae088ba6a8e07d9">rtw_rcr_level_t</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The enumeration lists the promisc levels. </p>
|
|
<table class="fieldtable">
|
|
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="ggab64265953397ec1b1ae088ba6a8e07d9a0a71d93e149e67cba567045f893d6343"></a>RTW_PROMISC_DISABLE </td><td class="fielddoc">
|
|
<p>Disable the promisc </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggab64265953397ec1b1ae088ba6a8e07d9a10290a17bd907e295366280feb92d16e"></a>RTW_PROMISC_ENABLE </td><td class="fielddoc">
|
|
<p>Fetch all ethernet packets </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggab64265953397ec1b1ae088ba6a8e07d9ad143a8876bdce90925fd2c063de49001"></a>RTW_PROMISC_ENABLE_1 </td><td class="fielddoc">
|
|
<p>Fetch only B/M packets </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggab64265953397ec1b1ae088ba6a8e07d9a560dbed2900e7b6845ba45bc72278582"></a>RTW_PROMISC_ENABLE_2 </td><td class="fielddoc">
|
|
<p>Fetch all 802.11 packets </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggab64265953397ec1b1ae088ba6a8e07d9a746c05141fc78a09e67cc51d62ce6758"></a>RTW_PROMISC_ENABLE_3 </td><td class="fielddoc">
|
|
<p>Fetch only B/M 802.11 packets </p>
|
|
</td></tr>
|
|
</table>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gac72d00736b50d0e26e35fe385b0e2616"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="group__nic.html#gac72d00736b50d0e26e35fe385b0e2616">rtw_result_t</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The enumeration lists the results of the function. </p>
|
|
<table class="fieldtable">
|
|
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616a57ec7a5559055079331f417121d94c76"></a>RTW_SUCCESS </td><td class="fielddoc">
|
|
<p>Success </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616ad702d38a63f98a4d8d983cc479967c00"></a>RTW_PENDING </td><td class="fielddoc">
|
|
<p>Pending </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616ac02533f783d2564213f62b232744841c"></a>RTW_TIMEOUT </td><td class="fielddoc">
|
|
<p>Timeout </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616ae8e0948a319704c7333925430218360f"></a>RTW_PARTIAL_RESULTS </td><td class="fielddoc">
|
|
<p>Partial results </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616a4d4a08dacbc26c8e24ff6df92d561cdf"></a>RTW_INVALID_KEY </td><td class="fielddoc">
|
|
<p>Invalid key </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616a8fe841db4506640aaa1a0c05dae59115"></a>RTW_DOES_NOT_EXIST </td><td class="fielddoc">
|
|
<p>Does not exist </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616a058032f65ca7b100628999b949edbf75"></a>RTW_NOT_AUTHENTICATED </td><td class="fielddoc">
|
|
<p>Not authenticated </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616a3bbf45e34b07beb965667ce8f6c543cf"></a>RTW_NOT_KEYED </td><td class="fielddoc">
|
|
<p>Not keyed </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616ab6c60e0a63876fcf0712621d7568349f"></a>RTW_IOCTL_FAIL </td><td class="fielddoc">
|
|
<p>IOCTL fail </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616ae3ac41e2798bb1707eb7fb8ad98b846a"></a>RTW_BUFFER_UNAVAILABLE_TEMPORARY </td><td class="fielddoc">
|
|
<p>Buffer unavailable temporarily </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616abbdebe4d2fc26e6e38b1cda4fb56bf2c"></a>RTW_BUFFER_UNAVAILABLE_PERMANENT </td><td class="fielddoc">
|
|
<p>Buffer unavailable permanently </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616a140345eb3f006f5c70f93edb2aca9b1a"></a>RTW_WPS_PBC_OVERLAP </td><td class="fielddoc">
|
|
<p>WPS PBC overlap </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616afbd5b391d499f198660c056961f5d178"></a>RTW_CONNECTION_LOST </td><td class="fielddoc">
|
|
<p>Connection lost </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616ac184513149316c976cc84e41544683ed"></a>RTW_ERROR </td><td class="fielddoc">
|
|
<p>Generic Error </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616a39776c341001abde79546f4270dcdeb3"></a>RTW_BADARG </td><td class="fielddoc">
|
|
<p>Bad Argument </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616a32ac6e65276cbd4ae9b5257e9a8960f4"></a>RTW_BADOPTION </td><td class="fielddoc">
|
|
<p>Bad option </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616a209fda9ce3ff34b61371def651fe411e"></a>RTW_NOTUP </td><td class="fielddoc">
|
|
<p>Not up </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616a5f02dcdc491621a080f2b097d30bb536"></a>RTW_NOTDOWN </td><td class="fielddoc">
|
|
<p>Not down </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616a4cdc396adf5725bffab6a15bf09a9de2"></a>RTW_NOTAP </td><td class="fielddoc">
|
|
<p>Not AP </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616a5e3639075815169bb4a512d5f311cf49"></a>RTW_NOTSTA </td><td class="fielddoc">
|
|
<p>Not STA </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616a4b9804be02daf750d1d7c7754c01504e"></a>RTW_BADKEYIDX </td><td class="fielddoc">
|
|
<p>BAD Key Index </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616a1171adbd66c1dbeffbaa69de5a1bac77"></a>RTW_RADIOOFF </td><td class="fielddoc">
|
|
<p>Radio Off </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616aa8333e8aac9c92b9210ffabbda8b7425"></a>RTW_NOTBANDLOCKED </td><td class="fielddoc">
|
|
<p>Not band locked </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616ac09a3002f1491565563f79e9be0a1aa3"></a>RTW_NOCLK </td><td class="fielddoc">
|
|
<p>No Clock </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616aa40407d5492c95fa81933aedcd2e48a6"></a>RTW_BADRATESET </td><td class="fielddoc">
|
|
<p>BAD Rate valueset </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616ac7dc40f0d6356a27b393375f5dbc0d92"></a>RTW_BADBAND </td><td class="fielddoc">
|
|
<p>BAD Band </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616aee84e6f7021eafdba355c7a2c8f3d20d"></a>RTW_BUFTOOSHORT </td><td class="fielddoc">
|
|
<p>Buffer too short </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616a6c0132db2744655150fa368a15551cdc"></a>RTW_BUFTOOLONG </td><td class="fielddoc">
|
|
<p>Buffer too long </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616a0fea3d22ba0c9984aff49300238977b7"></a>RTW_BUSY </td><td class="fielddoc">
|
|
<p>Busy </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616a1407247d121d446efca71a0f6c7ace3a"></a>RTW_NOTASSOCIATED </td><td class="fielddoc">
|
|
<p>Not Associated </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616aa57e8797b88cbce406680404a76c7bdc"></a>RTW_BADSSIDLEN </td><td class="fielddoc">
|
|
<p>Bad SSID len </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616a480e71931bb64574e6547af7510f4cce"></a>RTW_OUTOFRANGECHAN </td><td class="fielddoc">
|
|
<p>Out of Range Channel </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616a0e3391802fadc667219e3237ebca9e15"></a>RTW_BADCHAN </td><td class="fielddoc">
|
|
<p>Bad Channel </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616aee19258193e9a12c007e6f49a0136631"></a>RTW_BADADDR </td><td class="fielddoc">
|
|
<p>Bad Address </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616a2fc5cff07960ab35bac34f2ca4f4372d"></a>RTW_NORESOURCE </td><td class="fielddoc">
|
|
<p>Not Enough Resources </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616ad35d2d4ed6da3cbd960bbb17d02b1b7d"></a>RTW_UNSUPPORTED </td><td class="fielddoc">
|
|
<p>Unsupported </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616adb94fb6137d2c9d6f2b7c1db7192fd0d"></a>RTW_BADLEN </td><td class="fielddoc">
|
|
<p>Bad length </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616a84900d943df8f483947957a0aacee179"></a>RTW_NOTREADY </td><td class="fielddoc">
|
|
<p>Not Ready </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616a545dbade17df0c48029c83817ff42e88"></a>RTW_EPERM </td><td class="fielddoc">
|
|
<p>Not Permitted </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616a74cbc9769e8b7f1afd6719229d3bab59"></a>RTW_NOMEM </td><td class="fielddoc">
|
|
<p>No Memory </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616ae0c1469b593837b81d042d5e8039d44a"></a>RTW_ASSOCIATED </td><td class="fielddoc">
|
|
<p>Associated </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616a34518ed46f8f07a643fe03e718ec30f6"></a>RTW_RANGE </td><td class="fielddoc">
|
|
<p>Not In Range </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616a60f076d55de3a17d90a7ca2e15b13cd0"></a>RTW_NOTFOUND </td><td class="fielddoc">
|
|
<p>Not Found </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616aa76f2f768021cf12fe8c5b8fbc979e0a"></a>RTW_WME_NOT_ENABLED </td><td class="fielddoc">
|
|
<p>WME Not Enabled </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616a7818c5fc0c6f9e5115f8f7fc5459a90b"></a>RTW_TSPEC_NOTFOUND </td><td class="fielddoc">
|
|
<p>TSPEC Not Found </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616a08714310f27dba3a3c10dae7f95acf60"></a>RTW_ACM_NOTSUPPORTED </td><td class="fielddoc">
|
|
<p>ACM Not Supported </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616a3c376bcd0722f5463c7e534b98296778"></a>RTW_NOT_WME_ASSOCIATION </td><td class="fielddoc">
|
|
<p>Not WME Association </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616a44a53977112e98ac2ea426f533c14dd1"></a>RTW_SDIO_ERROR </td><td class="fielddoc">
|
|
<p>SDIO Bus Error </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616a444ce94ab97349642d2a74a5e620d564"></a>RTW_WLAN_DOWN </td><td class="fielddoc">
|
|
<p>WLAN Not Accessible </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616a8a2547b727eb3bcb4121c79dd3ea1849"></a>RTW_BAD_VERSION </td><td class="fielddoc">
|
|
<p>Incorrect version </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616af22ad8c109fcc1436f4e1e800f16ae1e"></a>RTW_TXFAIL </td><td class="fielddoc">
|
|
<p>TX failure </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616a27eead40a12767c220725f1a9f1bd260"></a>RTW_RXFAIL </td><td class="fielddoc">
|
|
<p>RX failure </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616ae4b8d546cadc6ab8af727d21683c2b4e"></a>RTW_NODEVICE </td><td class="fielddoc">
|
|
<p>Device not present </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616ab4c12d26f850bf01fb3c4b58f5d87557"></a>RTW_UNFINISHED </td><td class="fielddoc">
|
|
<p>To be finished </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616a8939a0cf005fa5fe56ec624988ffeef4"></a>RTW_NONRESIDENT </td><td class="fielddoc">
|
|
<p>access to nonresident overlay </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="ggac72d00736b50d0e26e35fe385b0e2616a4de6a8c2e0e092cd1b3a49360f779779"></a>RTW_DISABLED </td><td class="fielddoc">
|
|
<p>Disabled in this build </p>
|
|
</td></tr>
|
|
</table>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga65d52632e39b55a5983b439e594effe6"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="group__nic.html#ga65d52632e39b55a5983b439e594effe6">rtw_scan_type_t</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The enumeration lists the scan types. </p>
|
|
<table class="fieldtable">
|
|
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="gga65d52632e39b55a5983b439e594effe6a2a39ab584c0bb1e46dc1fbbccbea4879"></a>RTW_SCAN_TYPE_ACTIVE </td><td class="fielddoc">
|
|
<p>Actively scan a network by sending 802.11 probe(s) </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga65d52632e39b55a5983b439e594effe6a43d6f19cf1cb8314e0032e5f8d47a81b"></a>RTW_SCAN_TYPE_PASSIVE </td><td class="fielddoc">
|
|
<p>Passively scan a network by listening for beacons from APs </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga65d52632e39b55a5983b439e594effe6aaac9b5e5f8f556cf41e7a7d0bc324740"></a>RTW_SCAN_TYPE_PROHIBITED_CHANNELS </td><td class="fielddoc">
|
|
<p>Passively scan on channels not enabled by the country code </p>
|
|
</td></tr>
|
|
</table>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga0958e0890fe19830b5efb882c1ab587d"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="group__nic.html#ga0958e0890fe19830b5efb882c1ab587d">rtw_security_t</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The enumeration lists the possible security types to set when connection.<br />
|
|
Station mode supports OPEN, WEP, and WPA2.<br />
|
|
AP mode support OPEN and WPA2. </p>
|
|
<table class="fieldtable">
|
|
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="gga0958e0890fe19830b5efb882c1ab587daa52f80f7bc654aba10526d370b077da8"></a>RTW_SECURITY_OPEN </td><td class="fielddoc">
|
|
<p>Open security </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga0958e0890fe19830b5efb882c1ab587da0f3b65387f49825203757dee8f1423cf"></a>RTW_SECURITY_WEP_PSK </td><td class="fielddoc">
|
|
<p>WEP Security with open authentication </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga0958e0890fe19830b5efb882c1ab587da8d0e7c31ff73a34136680379e223cbf6"></a>RTW_SECURITY_WEP_SHARED </td><td class="fielddoc">
|
|
<p>WEP Security with shared authentication </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga0958e0890fe19830b5efb882c1ab587da86f7e50257829194d1cdfadc4020b521"></a>RTW_SECURITY_WPA_TKIP_PSK </td><td class="fielddoc">
|
|
<p>WPA Security with TKIP </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga0958e0890fe19830b5efb882c1ab587da81b73547e3db5e618d580b16a8ac2ed8"></a>RTW_SECURITY_WPA_AES_PSK </td><td class="fielddoc">
|
|
<p>WPA Security with AES </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga0958e0890fe19830b5efb882c1ab587da5c0df87892d95880996c400fdb6b1bbe"></a>RTW_SECURITY_WPA2_AES_PSK </td><td class="fielddoc">
|
|
<p>WPA2 Security with AES </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga0958e0890fe19830b5efb882c1ab587da22c2db042bd4acb5794b30f77608a791"></a>RTW_SECURITY_WPA2_TKIP_PSK </td><td class="fielddoc">
|
|
<p>WPA2 Security with TKIP </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga0958e0890fe19830b5efb882c1ab587dab304ff0aff424c556f2fefbb1a9b9648"></a>RTW_SECURITY_WPA2_MIXED_PSK </td><td class="fielddoc">
|
|
<p>WPA2 Security with AES & TKIP </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga0958e0890fe19830b5efb882c1ab587dad3e824b2479e26a5eae5ca56409c04f1"></a>RTW_SECURITY_WPA_WPA2_MIXED </td><td class="fielddoc">
|
|
<p>WPA/WPA2 Security </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga0958e0890fe19830b5efb882c1ab587da29105aaa76144bfd78bf469cf6bfd3b4"></a>RTW_SECURITY_WPS_OPEN </td><td class="fielddoc">
|
|
<p>WPS with open security </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga0958e0890fe19830b5efb882c1ab587dad5773a8fb43063075130553c7dde11b9"></a>RTW_SECURITY_WPS_SECURE </td><td class="fielddoc">
|
|
<p>WPS with AES security </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga0958e0890fe19830b5efb882c1ab587da4fcfcb9b21ce86a13756938392a1ffff"></a>RTW_SECURITY_UNKNOWN </td><td class="fielddoc">
|
|
<p>May be returned by scan function if security is unknown. Do not pass this to the join function! </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga0958e0890fe19830b5efb882c1ab587da85bbbd793a535173c63e8784c5783613"></a>RTW_SECURITY_FORCE_32_BIT </td><td class="fielddoc">
|
|
<p>Exists only to force rtw_security_t type to 32 bits </p>
|
|
</td></tr>
|
|
</table>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Function Documentation</h2>
|
|
<a class="anchor" id="gabb635ea51be406b647eca299feaf333c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void init_event_callback_list </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Initialize the event callback list. </p>
|
|
<dl class="section warning"><dt>Warning</dt><dd>Please make sure this function has been invoked before using the event handler related mechanism. </dd></dl>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">None</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>None </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga6b192c3db5567c110aed4895ac01c8fc"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_config_autoreconnect </td>
|
|
<td>(</td>
|
|
<td class="paramtype">__u8 </td>
|
|
<td class="paramname"><em>mode</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">__u8 </td>
|
|
<td class="paramname"><em>retry_times</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">__u16 </td>
|
|
<td class="paramname"><em>timeout</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set reconnection mode with configuration. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>Set 1/0 to enalbe/disable the reconnection mode. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">retry_times</td><td>The number of retry limit. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">timeout</td><td>The timeout value (in seconds). </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>0 if success, otherwise return -1. </dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>Defining CONFIG_AUTO_RECONNECT in "autoconf.h" needs to be done before compiling, or this API won't be effective. </dd>
|
|
<dd>
|
|
The difference between <a class="el" href="group__nic.html#ga6b192c3db5567c110aed4895ac01c8fc">wifi_config_autoreconnect()</a> and <a class="el" href="group__nic.html#gae1dfe42c5c93ed1ce37f0ee7e1b94e0b">wifi_set_autoreconnect()</a> is that user can specify the retry times and timeout value in <a class="el" href="group__nic.html#ga6b192c3db5567c110aed4895ac01c8fc">wifi_config_autoreconnect()</a>. But in <a class="el" href="group__nic.html#gae1dfe42c5c93ed1ce37f0ee7e1b94e0b">wifi_set_autoreconnect()</a> these values are set with 3 retry limit and 5 seconds timeout as default. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga771bd1cf906ea211783b41353b5571ee"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_connect </td>
|
|
<td>(</td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"><em>ssid</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="group__nic.html#ga0958e0890fe19830b5efb882c1ab587d">rtw_security_t</a> </td>
|
|
<td class="paramname"><em>security_type</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"><em>password</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>ssid_len</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>password_len</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>key_id</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>semaphore</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Join a Wi-Fi network. Scan for, associate and authenticate with a Wi-Fi network. On successful return, the system is ready to send data packets. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">ssid</td><td>A null terminated string containing the SSID name of the network to join. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">security_type</td><td>Authentication type:<ul>
|
|
<li>RTW_SECURITY_OPEN - Open Security</li>
|
|
<li>RTW_SECURITY_WEP_PSK - WEP Security with open authentication</li>
|
|
<li>RTW_SECURITY_WEP_SHARED - WEP Security with shared authentication</li>
|
|
<li>RTW_SECURITY_WPA_TKIP_PSK - WPA Security</li>
|
|
<li>RTW_SECURITY_WPA2_AES_PSK - WPA2 Security using AES cipher</li>
|
|
<li>RTW_SECURITY_WPA2_TKIP_PSK - WPA2 Security using TKIP cipher</li>
|
|
<li>RTW_SECURITY_WPA2_MIXED_PSK - WPA2 Security using AES and/or TKIP ciphers </li>
|
|
</ul>
|
|
</td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">password</td><td>A byte array containing either the cleartext security key for WPA/WPA2 secured networks, or a pointer to an array of rtw_wep_key_t structures for WEP secured networks. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">ssid_len</td><td>The length of the SSID in bytes. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">password_len</td><td>The length of the security_key in bytes. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">key_id</td><td>The index of the wep key (0, 1, 2, or 3). If not using it, leave it with value -1. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">semaphore</td><td>A user provided semaphore that is flagged when the join is complete. If not using it, leave it with NULL value. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>RTW_SUCCESS: when the system is joined and ready to send data packets. </dd>
|
|
<dd>
|
|
RTW_ERROR: if an error occurred. </dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>Please make sure the Wi-Fi is enabled before invoking this function. (<a class="el" href="group__nic.html#ga68f622ff9eed3e1c5eed390c571ad978">wifi_on()</a>) </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gaefa1c29b5cb1abff125ead065bfeece6"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_connect_bssid </td>
|
|
<td>(</td>
|
|
<td class="paramtype">unsigned char </td>
|
|
<td class="paramname"><em>bssid</em>[ETH_ALEN], </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"><em>ssid</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="group__nic.html#ga0958e0890fe19830b5efb882c1ab587d">rtw_security_t</a> </td>
|
|
<td class="paramname"><em>security_type</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"><em>password</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>bssid_len</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>ssid_len</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>password_len</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>key_id</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>semaphore</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Join a Wi-Fi network with specified BSSID. Scan for, associate and authenticate with a Wi-Fi network. On successful return, the system is ready to send data packets. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">bssid</td><td>The specified BSSID to connect. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">ssid</td><td>A null terminated string containing the SSID name of the network to join. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">security_type</td><td>Authentication type:<ul>
|
|
<li>RTW_SECURITY_OPEN - Open Security</li>
|
|
<li>RTW_SECURITY_WEP_PSK - WEP Security with open authentication</li>
|
|
<li>RTW_SECURITY_WEP_SHARED - WEP Security with shared authentication</li>
|
|
<li>RTW_SECURITY_WPA_TKIP_PSK - WPA Security</li>
|
|
<li>RTW_SECURITY_WPA2_AES_PSK - WPA2 Security using AES cipher</li>
|
|
<li>RTW_SECURITY_WPA2_TKIP_PSK - WPA2 Security using TKIP cipher</li>
|
|
<li>RTW_SECURITY_WPA2_MIXED_PSK - WPA2 Security using AES and/or TKIP ciphers </li>
|
|
</ul>
|
|
</td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">password</td><td>A byte array containing either the cleartext security key for WPA/WPA2 secured networks, or a pointer to an array of rtw_wep_key_t structures for WEP secured networks. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">ssid_len</td><td>The length of the SSID in bytes. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">password_len</td><td>The length of the security_key in bytes. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">key_id</td><td>The index of the wep key. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">semaphore</td><td>A user provided semaphore that is flagged when the join is complete. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>RTW_SUCCESS: when the system is joined and ready to send data packets. </dd>
|
|
<dd>
|
|
RTW_ERROR: if an error occurred. </dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>Please make sure the Wi-Fi is enabled before invoking this function. (<a class="el" href="group__nic.html#ga68f622ff9eed3e1c5eed390c571ad978">wifi_on()</a>) </dd>
|
|
<dd>
|
|
The difference between <a class="el" href="group__nic.html#gaefa1c29b5cb1abff125ead065bfeece6">wifi_connect_bssid()</a> and <a class="el" href="group__nic.html#ga771bd1cf906ea211783b41353b5571ee">wifi_connect()</a> is that BSSID has higher priority as the basis of connection in <a class="el" href="group__nic.html#gaefa1c29b5cb1abff125ead065bfeece6">wifi_connect_bssid</a>. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga3a2a32de5619414e4e1e05ab0a8877a0"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_disable_powersave </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Disable Wi-Fi powersave mode. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">None</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>RTW_SUCCESS or RTW_ERROR. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gaa57f0c5d4ae8223b0bed17e07bf05cf6"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_disconnect </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Disassociates from current Wi-Fi network. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">None</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>RTW_SUCCESS: On successful disassociation from the AP. </dd>
|
|
<dd>
|
|
RTW_ERROR: If an error occurred. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga63844530557f36c0e07897b2bb2334a0"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_enable_powersave </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Enable Wi-Fi powersave mode. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">None</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>RTW_SUCCESS or RTW_ERROR. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga48935923750d86a016023c39a2148edc"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void wifi_enter_promisc_mode </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Let Wi-Fi enter promiscuous mode. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">None</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>None </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga1a449b211b29d11ff5743c32ee0b5b64"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_get_ap_info </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="structrtw__bss__info__t.html">rtw_bss_info_t</a> * </td>
|
|
<td class="paramname"><em>ap_info</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="group__nic.html#ga0958e0890fe19830b5efb882c1ab587d">rtw_security_t</a> * </td>
|
|
<td class="paramname"><em>security</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Get the SoftAP information. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">ap_info</td><td>The location where the AP info will be stored. </td></tr>
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">security</td><td>The security type. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>RTW_SUCCESS: The result is successfully got. </dd>
|
|
<dd>
|
|
RTW_ERROR: The result is not successfully got. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga035d4eb728ef4d0219d5e22352a93746"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_get_associated_client_list </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>client_list_buffer</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">unsigned short </td>
|
|
<td class="paramname"><em>buffer_length</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Get the associated clients with SoftAP. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">client_list_buffer</td><td>The location where the client list will be stored. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">buffer_length</td><td>The buffer length. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>RTW_SUCCESS: The result is successfully got. </dd>
|
|
<dd>
|
|
RTW_ERROR: The result is not successfully got. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga69dbf66e61fabb765062b0bb8858b33d"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_get_autoreconnect </td>
|
|
<td>(</td>
|
|
<td class="paramtype">__u8 * </td>
|
|
<td class="paramname"><em>mode</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Get the result of setting reconnection mode. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">mode</td><td>Point to the result of setting reconnection mode. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>0 if success, otherwise return -1. </dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>Defining CONFIG_AUTO_RECONNECT in "autoconf.h" needs to be done before compiling, or this API won't be effective. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga9b566b8c42063545a4128bd4c227e5c0"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_get_channel </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int * </td>
|
|
<td class="paramname"><em>channel</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Get the current channel on STA interface. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">channel</td><td>A pointer to the variable where the channel value will be written </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>RTW_SUCCESS: If the channel is successfully read. </dd>
|
|
<dd>
|
|
RTW_ERROR: If the channel is not successfully read. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gaa551086fdb0f46f037a23aa1597cb4bd"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_get_last_error </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Present the device disconnect reason while connecting. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">None</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="group__nic.html#ga8edd8fc8be522dedc1d2bdda6fc368e3">rtw_connect_error_flag_t</a><ul>
|
|
<li>0: RTW_NO_ERROR</li>
|
|
<li>1: RTW_NONE_NETWORK</li>
|
|
<li>2: RTW_CONNECT_FAIL</li>
|
|
<li>3: RTW_WRONG_PASSWORD</li>
|
|
<li>4: RTW_DHCP_FAIL</li>
|
|
<li>5: RTW_UNKNOWN (initial status) </li>
|
|
</ul>
|
|
</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gad7d1580412bf1da3c613b2ab2ee530ed"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_get_lps_dtim </td>
|
|
<td>(</td>
|
|
<td class="paramtype">unsigned char * </td>
|
|
<td class="paramname"><em>dtim</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Get LPS DTIM. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">dtim</td><td>In LPS, the package can be buffered at AP side. STA leave LPS until dtim count of packages buffered at AP side. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>RTW_SUCCESS if getting LPS dtim successful. </dd>
|
|
<dd>
|
|
RTW_ERROR otherwise. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga67df418e5486e3d7e4d499c21be34669"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_get_mac_address </td>
|
|
<td>(</td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"><em>mac</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Retrieves the current Media Access Control (MAC) address (or Ethernet hardware address) of the 802.11 device. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">mac</td><td>Point to the result of the mac address will be get. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>RTW_SUCCESS or RTW_ERROR </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga66b5270f97eb14a60c96820f7689e151"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_get_rssi </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int * </td>
|
|
<td class="paramname"><em>pRSSI</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Retrieve the latest RSSI value. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">pRSSI</td><td>Points to the integer to store the RSSI value gotten from driver. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>RTW_SUCCESS: If the RSSI is succesfully retrieved. </dd>
|
|
<dd>
|
|
RTW_ERROR: If the RSSI is not retrieved. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gab6c09139121dbfd0ae5cb02f0c7314ab"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_get_setting </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>ifname</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="group__nic.html#ga839fbd1c7746fae73ae63bf3913bd7e8">rtw_wifi_setting_t</a> * </td>
|
|
<td class="paramname"><em>pSetting</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Get current Wi-Fi setting from driver. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">ifname</td><td>the wlan interface name, can be WLAN0_NAME or WLAN1_NAME. </td></tr>
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">pSetting</td><td>Points to the rtw_wifi_setting_t structure to store the WIFI setting gotten from driver. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>RTW_SUCCESS or RTW_ERROR. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga5de088465adcd797b71c57c1f90f3302"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_get_txpower </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int * </td>
|
|
<td class="paramname"><em>poweridx</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Gets the tx power in index units</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">dbm</td><td>: The variable to receive the tx power in index.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>RTW_SUCCESS : if successful RTW_ERROR : if not successful </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga9d5170bfe8c0ac12cd0e1fbb3381d073"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void wifi_indication </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group__nic.html#gaf7821eeb36feffe928044e81c6a7840c">rtw_event_indicate_t</a> </td>
|
|
<td class="paramname"><em>event</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"><em>buf</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>buf_len</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>flags</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Wlan driver indicate event to upper layer through wifi_indication. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">event</td><td>An event reported from driver to upper layer application. Please refer to rtw_event_indicate_t enum. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">buf</td><td>If it is not NUL, buf is a pointer to the buffer for message string. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">buf_len</td><td>The length of the buffer. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">flags</td><td>Indicate some extra information, sometimes it is 0. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="retval"><dt>Return values</dt><dd>
|
|
<table class="retval">
|
|
<tr><td class="paramname">None</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section note"><dt>Note</dt><dd>If upper layer application triggers additional operations on receiving of wext_wlan_indicate, please strictly check current stack size usage (by using uxTaskGetStackHighWaterMark() ), and tries not to share the same stack with wlan driver if remaining stack space is not available for the following operations. ex: using semaphore to notice another thread instead of handing event directly in <a class="el" href="group__nic.html#ga9d5170bfe8c0ac12cd0e1fbb3381d073" title="Wlan driver indicate event to upper layer through wifi_indication. ">wifi_indication()</a>. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gab2eaf1462dd678cc8b4c289078a52e44"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_is_connected_to_ap </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Check if Wi-Fi has connected to AP before dhcp. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">None</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>RTW_SUCCESS: If conneced. </dd>
|
|
<dd>
|
|
RTW_ERROR: If not connect. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga0f49aa62c0be454e7c84e2b3699419d7"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_is_ready_to_transceive </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group__nic.html#gacd6b1280bb110c37571c36a25eeda2f2">rtw_interface_t</a> </td>
|
|
<td class="paramname"><em>interface</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Determines if a particular interface is ready to transceive ethernet packets</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">Radio</td><td>interface to check, options are RTW_STA_INTERFACE, RTW_AP_INTERFACE </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>RTW_SUCCESS : if the interface is ready to transceive ethernet packets </dd>
|
|
<dd>
|
|
RTW_NOTFOUND : no AP with a matching SSID was found </dd>
|
|
<dd>
|
|
RTW_NOT_AUTHENTICATED: a matching AP was found but it won't let you authenticate. This can occur if this device is in the block list on the AP. </dd>
|
|
<dd>
|
|
RTW_NOT_KEYED: the device has authenticated and associated but has not completed the key exchange. This can occur if the passphrase is incorrect. </dd>
|
|
<dd>
|
|
RTW_ERROR : if the interface is not ready to transceive ethernet packets </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga66492be778de3535231ab1af3a567015"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_is_up </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group__nic.html#gacd6b1280bb110c37571c36a25eeda2f2">rtw_interface_t</a> </td>
|
|
<td class="paramname"><em>interface</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Check if the specified interface is up. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">interface</td><td>The interface can be set as RTW_STA_INTERFACE or RTW_AP_INTERFACE. (<a class="el" href="group__nic.html#gacd6b1280bb110c37571c36a25eeda2f2">rtw_interface_t</a>) </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>If the function succeeds, the return value is 1. Otherwise, return 0. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga1bb2312786a60b8f18002dd6a93e7eee"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_manager_init </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Initialize Realtek WiFi API System. </p>
|
|
<ul>
|
|
<li>Initialize the required parts of the software platform. i.e. worker, event registering, semaphore, etc.</li>
|
|
<li>Initialize the RTW API thread which handles the asynchronous event. <dl class="section return"><dt>Returns</dt><dd>RTW_SUCCESS if initialization is successful, RTW_ERROR otherwise </dd></dl>
|
|
</li>
|
|
</ul>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gad0c2ddd0f4dc42d54b8834c6c0caef17"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_off </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Disable Wi-Fi. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">None</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>RTW_SUCCESS: if deinitialization is successful. </dd>
|
|
<dd>
|
|
RTW_ERROR: otherwise. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga7718c3bfc5ae695cc9bbdaf5787356c9"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_off_fastly </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Turn off the Wi-Fi device</p>
|
|
<ul>
|
|
<li>Bring the Wireless interface "Down"</li>
|
|
<li>De-Initialises the driver thread which arbitrates access to the SDIO/SPI bus</li>
|
|
</ul>
|
|
<dl class="section return"><dt>Returns</dt><dd>RTW_SUCCESS if deinitialization is successful, RTW_ERROR otherwise </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga68f622ff9eed3e1c5eed390c571ad978"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_on </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group__nic.html#gaf281c66fe8160f6ab6dacf95d5ea5715">rtw_mode_t</a> </td>
|
|
<td class="paramname"><em>mode</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Enable Wi-Fi. </p>
|
|
<ul>
|
|
<li>Bring the Wireless interface "Up"</li>
|
|
<li>Initialize the driver thread which arbitrates access to the SDIO/SPI bus</li>
|
|
</ul>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>Decide to enable WiFi in which mode. The optional modes are enumerated in <a class="el" href="group__nic.html#gaf281c66fe8160f6ab6dacf95d5ea5715">rtw_mode_t</a>. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>RTW_SUCCESS: if the WiFi chip was initialized successfully. </dd>
|
|
<dd>
|
|
RTW_ERROR: if the WiFi chip was not initialized successfully. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga2f2f1d6b717a234fa2991984aed85921"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void wifi_reg_event_handler </td>
|
|
<td>(</td>
|
|
<td class="paramtype">unsigned int </td>
|
|
<td class="paramname"><em>event_cmds</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">rtw_event_handler_t </td>
|
|
<td class="paramname"><em>handler_func</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>handler_user_data</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Register the event listener. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">event_cmds</td><td>: The event command number indicated. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">handler_func</td><td>: the callback function which will receive and process the event. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">handler_user_data</td><td>: user specific data that will be passed directly to the callback function. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>RTW_SUCCESS : if successfully registers the event. </dd>
|
|
<dd>
|
|
RTW_ERROR : if an error occurred. </dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>Set the same event_cmds with empty handler_func will unregister the event_cmds. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga93f06df4df710cfa6b22a75caee43dd7"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_register_multicast_address </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group__nic.html#ga6f893f4b79a4185fd56da36aea117d9a">rtw_mac_t</a> * </td>
|
|
<td class="paramname"><em>mac</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Register interest in a multicast address.<br />
|
|
Once a multicast address has been registered, all packets detected on the medium destined for that address are forwarded to the host. Otherwise they are ignored. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">mac</td><td>Ethernet MAC address </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>RTW_SUCCESS: If the address is registered successfully. </dd>
|
|
<dd>
|
|
RTW_ERROR: If the address is not registered. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga3d82428312bf050294facc9e9364eae9"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_restart_ap </td>
|
|
<td>(</td>
|
|
<td class="paramtype">unsigned char * </td>
|
|
<td class="paramname"><em>ssid</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="group__nic.html#ga0958e0890fe19830b5efb882c1ab587d">rtw_security_t</a> </td>
|
|
<td class="paramname"><em>security_type</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">unsigned char * </td>
|
|
<td class="paramname"><em>password</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>ssid_len</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>password_len</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>channel</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Trigger Wi-Fi driver to restart an infrastructure Wi-Fi network. </p>
|
|
<dl class="section warning"><dt>Warning</dt><dd>If a STA interface is active when this function is called, the softAP will start on the same channel as the STA. It will NOT use the channel provided! </dd></dl>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">ssid</td><td>A null terminated string containing the SSID name of the network. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">security_type</td><td><ul>
|
|
<li>RTW_SECURITY_OPEN - Open Security</li>
|
|
<li>RTW_SECURITY_WPA_TKIP_PSK - WPA Security</li>
|
|
<li>RTW_SECURITY_WPA2_AES_PSK - WPA2 Security using AES cipher</li>
|
|
<li>RTW_SECURITY_WPA2_MIXED_PSK - WPA2 Security using AES and/or TKIP ciphers</li>
|
|
<li>WEP security is NOT IMPLEMENTED. It is NOT SECURE! </li>
|
|
</ul>
|
|
</td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">password</td><td>A byte array containing the cleartext security key for the network. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">ssid_len</td><td>The length of the SSID in bytes. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">password_len</td><td>The length of the security_key in bytes. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">channel</td><td>802.11 channel number. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>RTW_SUCCESS: If successfully creates an AP. </dd>
|
|
<dd>
|
|
RTW_ERROR: If an error occurred. </dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>Please make sure the Wi-Fi is enabled before invoking this function. (<a class="el" href="group__nic.html#ga68f622ff9eed3e1c5eed390c571ad978">wifi_on()</a>) </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gabb76bdea03310ed8f7dbbb6dc1972d4b"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_rf_off </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Disable Wi-Fi RF. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">None</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>If the function succeeds, the return value is 0. </dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>The difference between <a class="el" href="group__nic.html#gabb76bdea03310ed8f7dbbb6dc1972d4b">wifi_rf_off()</a> and <a class="el" href="group__nic.html#gad0c2ddd0f4dc42d54b8834c6c0caef17">wifi_off()</a> is that <a class="el" href="group__nic.html#gabb76bdea03310ed8f7dbbb6dc1972d4b">wifi_rf_off()</a> simply disable RF HAL, the driver and used heap memory will NOT be released. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gad895d2a88ebc9b55cc8ecb5d49a4424a"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_rf_on </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Enable Wi-Fi RF. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">None</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>If the function succeeds, the return value is 0. </dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>The difference between <a class="el" href="group__nic.html#gad895d2a88ebc9b55cc8ecb5d49a4424a">wifi_rf_on()</a> and <a class="el" href="group__nic.html#ga68f622ff9eed3e1c5eed390c571ad978">wifi_on()</a> is that <a class="el" href="group__nic.html#gad895d2a88ebc9b55cc8ecb5d49a4424a">wifi_rf_on()</a> simply enable RF HAL, it does not enable the driver or allocate memory. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gab095566c3d663f35dc3a9a5fd25d6e11"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_scan </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group__nic.html#ga65d52632e39b55a5983b439e594effe6">rtw_scan_type_t</a> </td>
|
|
<td class="paramname"><em>scan_type</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="group__nic.html#ga6d25bd3898dff294014b89739d0fbacb">rtw_bss_type_t</a> </td>
|
|
<td class="paramname"><em>bss_type</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>result_ptr</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Initiate a scan to search for 802.11 networks. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">scan_type</td><td>Specifies whether the scan should be Active, Passive or scan Prohibited channels </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">bss_type</td><td>Specifies whether the scan should search for Infrastructure networks (those using an Access Point), Ad-hoc networks, or both types. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">result_ptr</td><td>Scan specific ssid. The first 4 bytes is ssid lenth, and ssid name append after it. If no specific ssid need to scan, PLEASE CLEAN result_ptr before pass it into parameter. </td></tr>
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">result_ptr</td><td>a pointer to a pointer to a result storage structure. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>RTW_SUCCESS or RTW_ERROR </dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>The scan progressively accumulates results over time, and may take between 1 and 3 seconds to complete. The results of the scan will be individually provided to the callback function. Note: The callback function will be executed in the context of the RTW thread. </dd>
|
|
<dd>
|
|
When scanning specific channels, devices with a strong signal strength on nearby channels may be detected </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gaa920bb8b33ae70113466edbfe2f758f5"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_scan_networks </td>
|
|
<td>(</td>
|
|
<td class="paramtype">rtw_scan_result_handler_t </td>
|
|
<td class="paramname"><em>results_handler</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>user_data</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Initiate a scan to search for 802.11 networks, a higher level API based on wifi_scan to simplify the scan operation. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">results_handler</td><td>The callback function which will receive and process the result data. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">user_data</td><td>User specified data that will be passed directly to the callback function. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>RTW_SUCCESS or RTW_ERROR </dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>Callback must not use blocking functions, since it is called from the context of the RTW thread. The callback, user_data variables will be referenced after the function returns. Those variables must remain valid until the scan is completed. The usage of this api can reference ATWS in atcmd_wifi.c. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga07bab1fcf89f432a1925c96f6d44dff5"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_scan_networks_with_ssid </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int(results_handler)(char *, int, char *, void *) </td>
|
|
<td class="paramname">, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>user_data</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>scan_buflen</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"><em>ssid</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>ssid_len</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Initiate a scan to search for 802.11 networks with specified SSID. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">results_handler</td><td>The callback function which will receive and process the result data. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">user_data</td><td>User specified data that will be passed directly to the callback function. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">scan_buflen</td><td>The length of the result storage structure. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">ssid</td><td>The SSID of target network. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">ssid_len</td><td>The length of the target network SSID. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>RTW_SUCCESS or RTW_ERROR </dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>Callback must not use blocking functions, since it is called from the context of the RTW thread. The callback, user_data variables will be referenced after the function returns. Those variables must remain valid until the scan is completed. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga96b5d241084bf8d899c071040a2e0a1c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void wifi_set_ap_polling_sta </td>
|
|
<td>(</td>
|
|
<td class="paramtype">__u8 </td>
|
|
<td class="paramname"><em>enabled</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>enable AP sending QoS Null0 Data to poll Sta be alive </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">enabled</td><td>enabled can be set to 0,1.<ul>
|
|
<li>0 means enable.</li>
|
|
<li>1 means disable. </li>
|
|
</ul>
|
|
</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>None </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gae1dfe42c5c93ed1ce37f0ee7e1b94e0b"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_set_autoreconnect </td>
|
|
<td>(</td>
|
|
<td class="paramtype">__u8 </td>
|
|
<td class="paramname"><em>mode</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set reconnection mode with 3 retry limit and 5 seconds timeout as default. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>Set 1/0 to enalbe/disable the reconnection mode. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>0 if success, otherwise return -1. </dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>Defining CONFIG_AUTO_RECONNECT in "autoconf.h" needs to be done before compiling, or this API won't be effective. </dd>
|
|
<dd>
|
|
The difference between <a class="el" href="group__nic.html#ga6b192c3db5567c110aed4895ac01c8fc">wifi_config_autoreconnect()</a> and <a class="el" href="group__nic.html#gae1dfe42c5c93ed1ce37f0ee7e1b94e0b">wifi_set_autoreconnect()</a> is that user can specify the retry times and timeout value in <a class="el" href="group__nic.html#ga6b192c3db5567c110aed4895ac01c8fc">wifi_config_autoreconnect()</a>. But in <a class="el" href="group__nic.html#gae1dfe42c5c93ed1ce37f0ee7e1b94e0b">wifi_set_autoreconnect()</a> these values are set with 3 retry limit and 5 seconds timeout as default. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga20afab4dc3fc8fcec12e8f271c559997"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_set_channel </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>channel</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the listening channel for promiscuous mode. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">channel</td><td>The desired channel. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>RTW_SUCCESS: If the channel is successfully set. </dd>
|
|
<dd>
|
|
RTW_ERROR: If the channel is not successfully set. </dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>Do NOT need to call this function for STA mode wifi driver, since it will determine the channel from received beacon. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga39099d5eb5a213d2e96a569fad362cec"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_set_country </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group__nic.html#ga4066dc0d36a0bd7b2b4cd2159c66c0a6">rtw_country_code_t</a> </td>
|
|
<td class="paramname"><em>country_code</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the country code to driver to determine the channel set. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">country_code</td><td>Specify the country code. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>RTW_SUCCESS: If result is successfully set. </dd>
|
|
<dd>
|
|
RTW_ERROR: If result is not successfully set. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga23ba537d22b09ac772af5b44004406bb"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">_WEAK void wifi_set_country_code </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Setup country code. You can replace this weak function by the same name funcation to setup country code you want. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">None</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>If the function succeeds, the return value is 0. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga8213db63d15f8e0690a4d5bd04da6701"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void wifi_set_indicate_mgnt </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>enable</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Get antenna infomation. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">antenna</td><td>Points to store the antenna value gotten from driver, 0: main, 1: aux. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>0 if success, otherwise return -1. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gaef8c685fdfc8e2076899d25cd084d945"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_set_lps_dtim </td>
|
|
<td>(</td>
|
|
<td class="paramtype">unsigned char </td>
|
|
<td class="paramname"><em>dtim</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set LPS DTIM. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">dtim</td><td>In LPS, the package can be buffered at AP side. STA leave LPS until dtim count of packages buffered at AP side. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>RTW_SUCCESS if setting LPS dtim successful. </dd>
|
|
<dd>
|
|
RTW_ERROR otherwise </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga05b0dbec2e19d61028689e0a616c6d30"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_set_mac_address </td>
|
|
<td>(</td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"><em>mac</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>This function sets the current Media Access Control (MAC) address of the 802.11 device. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">mac</td><td>Wi-Fi MAC address. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>RTW_SUCCESS or RTW_ERROR </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga0a59be84e3f0d20b5b97ec06e9ad0305"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">_WEAK void wifi_set_mib </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Setup the adaptivity mode. You can replace this weak function by the same name funcation to setup adaptivity mode you want. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">None</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>If the function succeeds, the return value is 0. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gad11d05179f1145e2ceb4a151b37e5d94"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_set_network_mode </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group__nic.html#ga1a147ad15b1818208cfa4463afdff004">rtw_network_mode_t</a> </td>
|
|
<td class="paramname"><em>mode</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the network mode according to the data rate its supported. Driver works in BGN mode in default after driver initialization. This function is used to change wireless network mode for station mode before connecting to AP. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>Network mode to set. The value can be RTW_NETWORK_B/RTW_NETWORK_BG/RTW_NETWORK_BGN. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>RTW_SUCCESS or RTW_ERROR. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga40c39aded41d915d5250e9afcd4c108b"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_set_power_mode </td>
|
|
<td>(</td>
|
|
<td class="paramtype">unsigned char </td>
|
|
<td class="paramname"><em>ips_mode</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">unsigned char </td>
|
|
<td class="paramname"><em>lps_mode</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set IPS/LPS mode. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">ips_mode</td><td>The desired IPS mode. It becomes effective when wlan enter ips.<br />
|
|
ips_mode is inactive power save mode. Wi-Fi automatically turns RF off if it is not associated to AP. Set 1 to enable inactive power save mode. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">lps_mode</td><td>The desired LPS mode. It becomes effective when wlan enter lps.<br />
|
|
lps_mode is leisure power save mode. Wi-Fi automatically turns RF off during the association to AP is traffic is not busy while it also automatically turns RF on to listen to beacon. Set 1 to enable leisure power save mode. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>RTW_SUCCESS if setting LPS mode successful. </dd>
|
|
<dd>
|
|
RTW_ERROR otherwise. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gaf97f085d54536c86709c675bb66336c3"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_set_promisc </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group__nic.html#gab64265953397ec1b1ae088ba6a8e07d9">rtw_rcr_level_t</a> </td>
|
|
<td class="paramname"><em>enabled</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">void(*)(unsigned char *, unsigned int, void *) </td>
|
|
<td class="paramname"><em>callback</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">unsigned char </td>
|
|
<td class="paramname"><em>len_used</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the chip to start or stop the promiscuous mode. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">enabled</td><td>enabled can be set 0, 1 and 2. if enabled is zero, disable the promisc, else enable the promisc.<ul>
|
|
<li>0 means disable the promisc.</li>
|
|
<li>1 means enable the promisc.</li>
|
|
<li>2 means enable the promisc special for length is used. </li>
|
|
</ul>
|
|
</td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">callback</td><td>the callback function which will receive and process the netowork data. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">len_used</td><td>specify if the the promisc length is used. If len_used set to 1, packet length will be saved and transferred to callback function.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>RTW_SUCCESS or RTW_ERROR </dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>This function can be used to implement vendor specified simple configure. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga24a7c67bc7f87310194639b1f265ce6f"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_set_pscan_chan </td>
|
|
<td>(</td>
|
|
<td class="paramtype">__u8 * </td>
|
|
<td class="paramname"><em>channel_list</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">__u8 * </td>
|
|
<td class="paramname"><em>pscan_config</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">__u8 </td>
|
|
<td class="paramname"><em>length</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the channel used to be partial scanned. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">channel_list</td><td>An array stores the channel list. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">pscan_config</td><td>the pscan_config of the channel set. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">length</td><td>The length of the channel_list. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>RTW_SUCCESS or RTW_ERROR. </dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>This function should be used with wifi_scan function. First, use <a class="el" href="group__nic.html#ga24a7c67bc7f87310194639b1f265ce6f">wifi_set_pscan_chan</a> to indicate which channel will be scanned, and then use <a class="el" href="group__nic.html#gab095566c3d663f35dc3a9a5fd25d6e11">wifi_scan</a> to get scanned results. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga9aa35926b25ae261e726368b7b963cc4"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_set_tdma_param </td>
|
|
<td>(</td>
|
|
<td class="paramtype">unsigned char </td>
|
|
<td class="paramname"><em>slot_period</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">unsigned char </td>
|
|
<td class="paramname"><em>rfon_period_len_1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">unsigned char </td>
|
|
<td class="paramname"><em>rfon_period_len_2</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">unsigned char </td>
|
|
<td class="paramname"><em>rfon_period_len_3</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Set TDMA parameters</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">slot_period</td><td>: We separate TBTT into 2 or 3 slots. If we separate TBTT into 2 slots, then slot_period should be larger or equal to 50ms. It means 2 slot period is slot_period, 100-slot_period If we separate TBTT into 3 slots, then slot_period should be less or equal to 33ms. It means 3 slot period is 100 - 2 * slot_period, slot_period, slot_period </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">rfon_period_len_1</td><td>rf on period of slot 1 </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">rfon_period_len_2</td><td>rf on period of slot 2 </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">rfon_period_len_3</td><td>rf on period of slot 3</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>RTW_SUCCESS if setting TDMA parameters successful RTW_ERROR otherwise </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga74bfbd91f2a106d8c845174d8b7f2633"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_set_txpower </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>poweridx</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the tx power in index units. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">poweridx</td><td>The desired tx power in index. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>RTW_SUCCESS: if tx power is successfully set </dd>
|
|
<dd>
|
|
RTW_ERROR: if tx power is not successfully set </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gaabd0af806cbecb8fa109e2b6e2d4ee88"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_set_wps_phase </td>
|
|
<td>(</td>
|
|
<td class="paramtype">unsigned char </td>
|
|
<td class="paramname"><em>is_trigger_wps</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Set the wps phase</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">is_trigger_wps[in]</td><td>: to trigger wps function or not</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>RTW_SUCCESS or RTW_ERROR </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gae6c3bd675318156b36452e44eb477d7d"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_show_setting </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>ifname</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="group__nic.html#ga839fbd1c7746fae73ae63bf3913bd7e8">rtw_wifi_setting_t</a> * </td>
|
|
<td class="paramname"><em>pSetting</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Show the network information stored in a rtw_wifi_setting_t structure. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">ifname</td><td>the wlan interface name, can be WLAN0_NAME or WLAN1_NAME. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">pSetting</td><td>Points to the rtw_wifi_setting_t structure which information is gotten by <a class="el" href="group__nic.html#gab6c09139121dbfd0ae5cb02f0c7314ab">wifi_get_setting()</a>. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>RTW_SUCCESS or RTW_ERROR. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gaa0eed4bda197c11a518ae464b21e5659"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_start_ap </td>
|
|
<td>(</td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"><em>ssid</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="group__nic.html#ga0958e0890fe19830b5efb882c1ab587d">rtw_security_t</a> </td>
|
|
<td class="paramname"><em>security_type</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"><em>password</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>ssid_len</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>password_len</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>channel</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Trigger Wi-Fi driver to start an infrastructure Wi-Fi network. </p>
|
|
<dl class="section warning"><dt>Warning</dt><dd>If a STA interface is active when this function is called, the softAP will start on the same channel as the STA. It will NOT use the channel provided! </dd></dl>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">ssid</td><td>A null terminated string containing the SSID name of the network. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">security_type</td><td><ul>
|
|
<li>RTW_SECURITY_OPEN - Open Security</li>
|
|
<li>RTW_SECURITY_WPA_TKIP_PSK - WPA Security</li>
|
|
<li>RTW_SECURITY_WPA2_AES_PSK - WPA2 Security using AES cipher</li>
|
|
<li>RTW_SECURITY_WPA2_MIXED_PSK - WPA2 Security using AES and/or TKIP ciphers</li>
|
|
<li>WEP security is NOT IMPLEMENTED. It is NOT SECURE! </li>
|
|
</ul>
|
|
</td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">password</td><td>A byte array containing the cleartext security key for the network. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">ssid_len</td><td>The length of the SSID in bytes. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">password_len</td><td>The length of the security_key in bytes. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">channel</td><td>802.11 channel number. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>RTW_SUCCESS: If successfully creates an AP. </dd>
|
|
<dd>
|
|
RTW_ERROR: If an error occurred. </dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>Please make sure the Wi-Fi is enabled before invoking this function. (<a class="el" href="group__nic.html#ga68f622ff9eed3e1c5eed390c571ad978">wifi_on()</a>) </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga79e0a84bda8bcadc18693b6dc9417ae6"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_start_ap_with_hidden_ssid </td>
|
|
<td>(</td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"><em>ssid</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="group__nic.html#ga0958e0890fe19830b5efb882c1ab587d">rtw_security_t</a> </td>
|
|
<td class="paramname"><em>security_type</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"><em>password</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>ssid_len</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>password_len</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>channel</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Start an infrastructure Wi-Fi network with hidden SSID. </p>
|
|
<dl class="section warning"><dt>Warning</dt><dd>If a STA interface is active when this function is called, the softAP will start on the same channel as the STA. It will NOT use the channel provided!</dd></dl>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">ssid</td><td>A null terminated string containing the SSID name of the network to join. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">security_type</td><td>Authentication type: <br />
|
|
<ul>
|
|
<li>RTW_SECURITY_OPEN - Open Security</li>
|
|
<li>RTW_SECURITY_WPA_TKIP_PSK - WPA Security</li>
|
|
<li>RTW_SECURITY_WPA2_AES_PSK - WPA2 Security using AES cipher</li>
|
|
<li>RTW_SECURITY_WPA2_MIXED_PSK - WPA2 Security using AES and/or TKIP ciphers</li>
|
|
<li>WEP security is NOT IMPLEMENTED. It is NOT SECURE! </li>
|
|
</ul>
|
|
</td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">password</td><td>A byte array containing the cleartext security key for the network. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">ssid_len</td><td>The length of the SSID in bytes. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">password_len</td><td>The length of the security_key in bytes. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">channel</td><td>802.11 channel number</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>RTW_SUCCESS: If successfully creates an AP. </dd>
|
|
<dd>
|
|
RTW_ERROR: If an error occurred. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga549fd1c20022b7f87949f55c5c287ae9"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void wifi_unreg_event_handler </td>
|
|
<td>(</td>
|
|
<td class="paramtype">unsigned int </td>
|
|
<td class="paramname"><em>event_cmds</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">rtw_event_handler_t </td>
|
|
<td class="paramname"><em>handler_func</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Un-register the event listener. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">event_cmds</td><td>: The event command number indicated. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">handler_func</td><td>: the callback function which will receive and process the event.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>RTW_SUCCESS : if successfully un-registers the event . </dd>
|
|
<dd>
|
|
RTW_ERROR : if an error occurred. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gac7a0e3dbdbd07673983f8924dcaa8fea"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int wifi_unregister_multicast_address </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group__nic.html#ga6f893f4b79a4185fd56da36aea117d9a">rtw_mac_t</a> * </td>
|
|
<td class="paramname"><em>mac</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Unregister interest in a multicast address.<br />
|
|
Once a multicast address has been unregistered, all packets detected on the medium destined for that address are ignored. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">mac</td><td>Ethernet MAC address </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>RTW_SUCCESS: If the address is unregistered successfully. </dd>
|
|
<dd>
|
|
RTW_ERROR: If the address is not unregistered. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Variable Documentation</h2>
|
|
<a class="anchor" id="ga83c574ba2fda4b3bb81cf68a64f68288"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">unsigned short atim_window</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>units are Kusec </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gaffefb11c59fe9423bca839db555ff8d2"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="group__nic.html#ga44d43aafae80d824ec6084f605e7cc6e">rtw_802_11_band_t</a> band</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Radio band </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga74033bccc94f3b3f51f1ff46507a0be7"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">unsigned char basic_mcs[MCSSET_LEN]</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>802.11N BSS required MCS set </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga29e10dbf7a0e07b11b5ab56d576de295"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">unsigned short beacon_period</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>units are Kusec </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga92cd7931124f1d412e6d82d066d40485"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="group__nic.html#ga6d25bd3898dff294014b89739d0fbacb">rtw_bss_type_t</a> bss_type</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Network type </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gaa88b0980078ae0c5ae1a915f38f6282a"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="group__nic.html#ga6f893f4b79a4185fd56da36aea117d9a">rtw_mac_t</a> BSSID</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Basic Service Set Identification (i.e. MAC address of Access Point) </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga1ce7833ae66e5fdfe7b8d8d807aeb5a1"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">unsigned short capability</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Capability information </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga9f2a059618fb285e162d95b79991efa7"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">unsigned int channel</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Radio channel that the AP beacon was received on </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga16ff2d8e15ade4948398b0aeb80124a8"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">unsigned int count</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Number of MAC addresses in the list </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga94714d3a7416106e269c47aa828f6074"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">unsigned char dtim_period</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>DTIM period </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga699c7e1ce8df43a8cac6727bfcf945a2"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">unsigned int ie_length</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>byte length of Information Elements </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga416a0cb144302424e4dc107b8e277341"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">unsigned short ie_offset</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>offset at which IEs start, from beginning </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga8bb3e1dd5fd30402c69fd8a9f7dd0950"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">unsigned char len</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>SSID length </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gac8d42bcd4a44e078047ccd7291059238"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">unsigned int length</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>byte length of data in this record, </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gaa8b0271755133fd98a0b13a1b37e97f9"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="group__nic.html#ga6f893f4b79a4185fd56da36aea117d9a">rtw_mac_t</a> mac_list[1]</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Variable length array of MAC addresses </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga73224b9ec68e6e658c4b1c86872fa1ce"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">unsigned char* mask</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Pattern mask bytes to be ANDed with the pattern eg. "\xff00" (must be in network byte order) </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gad1b81bfb1f91d1d48d9ee9288b21d4d5"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">unsigned short mask_size</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Size of the mask in bytes </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga2e6609e89d6991ca4d705cc0017692df"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">unsigned char n_cap</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>BSS is 802.11N Capable </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gaf2f64fc923307e70374549ae1a6fe7b9"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">unsigned int nbss_cap</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>802.11N BSS Capabilities (based on HT_CAP_*) </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gaa874ab22d0800a3536f8265ce52c04c3"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">unsigned char octet[6]</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Unique 6-byte MAC address </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga33d71f23ba2052d17f0b754dc35265b0"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">unsigned short offset</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Offset in bytes to start filtering (referenced to the start of the ethernet packet) </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gaadc2a4c1b706ce1566d560c38487bdff"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">unsigned char* pattern</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Pattern bytes used to filter eg. "\x0800" (must be in network byte order) </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga5cb5a9a29a9e56da4545df0143540779"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">signed short RSSI</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>receive signal strength (in dBm) </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga674b59ed60e255366dfb2facd83b9e7e"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="group__nic.html#ga0958e0890fe19830b5efb882c1ab587d">rtw_security_t</a> security</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Security type </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga2e038be96ae7653a6c00ec5444f0baf9"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">signed short signal_strength</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Receive Signal Strength Indication in dBm. <-90=Very poor, >-30=Excellent </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gad61615af10f580eab39a8c4efae3ae08"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="group__nic.html#ga0dfc33cd90206e6f3f8eed79c6d7e75b">rtw_ssid_t</a> SSID</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Service Set Identification (i.e. Name of Access Point) </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga36693d68d96d4b2cf9fc40aea6cc3ac1"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">unsigned char val[33]</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>SSID name (AP name) </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga5408ac5df4c170828874e1b10b4c35a0"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">unsigned int version</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>version field </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga76656dd845823ea006a2398ad7982787"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">rtw_wps_type_t wps_type</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>WPS type </p>
|
|
|
|
</div>
|
|
</div>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.11
|
|
</small></address>
|
|
</body>
|
|
</html>
|