Home
last modified time | relevance | path

Searched refs:scan (Results 1 – 21 of 21) sorted by relevance

/drivers/interface/wlan/v1_1/
DIWlanCallback.idl22 …* You can use the APIs to enable or disable a WLAN hotspot, scan for hotspots, connect to a WLAN h…
32 …* @brief Provides callbacks to be invoked when the WLAN driver is restarted, the scan result is re…
52 … is invoked to continue the subsequent processing when the WLAN module restarts, hotspot scan ends,
72 * @brief Called to process the scan result returned when a scan ends.
74 * @param event Indicates the ID of a scan result event.
75 * @param scanResult Indicates the scan result.
94 * @brief Called to process the scan results returned when scan done.
96 * @param event Indicates the ID of a scan result event.
97 * @param scanResults Indicates the scan results(multiple).
DWlanTypes.idl22 …* You can use the APIs to enable or disable a WLAN hotspot, scan for hotspots, connect to a WLAN h…
35 * scan information, and network device information.
74 * @brief Defines the service set identifier (SSID) information for a Wi-Fi scan.
80 /** SSID to scan. */
87 * @brief Defines Wi-Fi scan parameters.
93 /** SSIDs to scan. */
95 /** Frequencies to scan. */
97 /** Extended information element (IE) carried in a Wi-Fi scan request. */
99 /** Basic service set identifier (BSSID) to scan. */
138 * @brief Defines the Wi-Fi scan result.
[all …]
DIWlanInterface.idl22 …* You can use the APIs to enable or disable a WLAN hotspot, scan for hotspots, connect to a WLAN h…
32 …* @brief Provides APIs to enable or disable a WLAN hotspot, scan for hotspots, connect to or disco…
371 * @param scan Indicates the scan parameters.
379 StartScan([in] struct HdfFeatureInfo ifeature, [in] struct HdfWifiScan scan);
486 * @brief Start Pno scan.
489 * @param pnoSettings Indicates the pno scan parameters.
500 * @brief Stop Pno scan.
/drivers/peripheral/wlan/hal/src/
Dwifi_hal_sta_feature.c46 static int32_t StartScanInner(const char *ifName, WifiScan *scan) in StartScanInner() argument
48 if (ifName == NULL || scan == NULL) { in StartScanInner()
52 return HalCmdStartScanInner(ifName, scan); in StartScanInner()
55 static int32_t StartScan(const char *ifName, WifiScan *scan) in StartScan() argument
58 int32_t ret = StartScanInner(ifName, scan); in StartScan()
Dwifi_hal_cmd.c229 int32_t HalCmdStartScanInner(const char *ifName, WifiScan *scan) in HalCmdStartScanInner() argument
232 ret = WifiCmdScan(ifName, (WifiScan *)scan); in HalCmdStartScanInner()
/drivers/interface/wlan/v1_0/
DIWlanCallback.idl22 …* You can use the APIs to enable or disable a WLAN hotspot, scan for hotspots, connect to a WLAN h…
32 …* @brief Provides callbacks to be invoked when the WLAN driver is restarted, the scan result is re…
52 … is invoked to continue the subsequent processing when the WLAN module restarts, hotspot scan ends,
72 * @brief Called to process the scan result returned when a scan ends.
74 * @param event Indicates the ID of a scan result event.
75 * @param scanResult Indicates the scan result.
DWlanTypes.idl22 …* You can use the APIs to enable or disable a WLAN hotspot, scan for hotspots, connect to a WLAN h…
35 * scan information, and network device information.
74 * @brief Defines the service set identifier (SSID) information for a Wi-Fi scan.
80 /** SSID to scan. */
87 * @brief Defines Wi-Fi scan parameters.
93 /** SSIDs to scan. */
95 /** Frequencies to scan. */
97 /** Extended information element (IE) carried in a Wi-Fi scan request. */
99 /** Basic service set identifier (BSSID) to scan. */
138 * @brief Defines the Wi-Fi scan result.
[all …]
DIWlanInterface.idl22 …* You can use the APIs to enable or disable a WLAN hotspot, scan for hotspots, connect to a WLAN h…
32 …* @brief Provides APIs to enable or disable a WLAN hotspot, scan for hotspots, connect to or disco…
371 * @param scan Indicates the scan parameters.
379 StartScan([in] struct HdfFeatureInfo ifeature, [in] struct HdfWifiScan scan);
/drivers/peripheral/wlan/hdi_service/service_common/
Dwlan_common_cmd.c1045 static int32_t WLanFillSsid(WifiScan *wifiScan, const struct HdfWifiScan *scan) in WLanFillSsid() argument
1049 for (loop = 0; loop < scan->ssidsLen; loop++) { in WLanFillSsid()
1050 if (scan->ssids[loop].ssidLen > MAX_SSID_LEN) { in WLanFillSsid()
1052 scan->ssids[loop].ssidLen = MAX_SSID_LEN - 1; in WLanFillSsid()
1054 if (memcpy_s(wifiScan->ssids[loop].ssid, scan->ssids[loop].ssidLen, scan->ssids[loop].ssid, in WLanFillSsid()
1055 scan->ssids[loop].ssidLen) != EOK) { in WLanFillSsid()
1059 wifiScan->ssids[loop].ssidLen = scan->ssids[loop].ssidLen; in WLanFillSsid()
1064 static int32_t WLanFillScanData(WifiScan *wifiScan, const struct HdfWifiScan *scan) in WLanFillScanData() argument
1066 if ((scan->ssids != NULL) && (scan->ssidsLen != 0)) { in WLanFillScanData()
1067 …wifiScan->ssids = (WifiDriverScanSsid *)OsalMemCalloc(sizeof(WifiDriverScanSsid) * scan->ssidsLen); in WLanFillScanData()
[all …]
Dwlan_common_cmd.h55 const struct HdfWifiScan *scan);
/drivers/peripheral/wlan/test/hdi_service/
Dwlan_hdi_hal_services_c_test.cpp443 struct HdfWifiScan scan = {0}; variable
447 rc = g_wlanObj->StartScan(g_wlanObj, nullptr, &scan);
451 rc = g_wlanObj->StartScan(g_wlanObj, &ifeature, &scan);
1240 struct HdfWifiScan scan; variable
1242 (void)memset_s(&scan, sizeof(struct HdfWifiScan), 0, sizeof(struct HdfWifiScan));
1243 scan.ssidsLen = 1;
1244scan.ssids = (HdfWifiDriverScanSsid *)OsalMemCalloc(sizeof(HdfWifiDriverScanSsid) * (scan.ssidsLen…
1245 scan.ssids[0].ssid = const_cast<char*>(ssid1.c_str());
1246 scan.ssids[0].ssidLen = ssid1.length();
1247 scan.freqsLen = 2;
[all …]
Dwlan_hdi_direct_test.cpp384 struct HdfWifiScan scan = {0}; variable
388 int32_t rc = g_wlanObj->StartScan(g_wlanObj, nullptr, &scan);
391 rc = g_wlanObj->StartScan(g_wlanObj, &ifeature, &scan);
396 rc = g_wlanObj->StartScan(g_wlanObj, &ifeature, &scan);
/drivers/peripheral/wlan/client/src/sbuf/
Dsbuf_cmd_adapter.c812 int32_t WifiCmdScan(const char *ifName, WifiScan *scan) in WifiCmdScan() argument
817 if (ifName == NULL || scan == NULL) { in WifiCmdScan()
828 if (scan->bssid == NULL) { in WifiCmdScan()
829 isSerializeFailed = isSerializeFailed || !HdfSbufWriteBuffer(data, scan->bssid, 0); in WifiCmdScan()
831 … isSerializeFailed = isSerializeFailed || !HdfSbufWriteBuffer(data, scan->bssid, ETH_ADDR_LEN); in WifiCmdScan()
834 …isSerializeFailed || !HdfSbufWriteBuffer(data, scan->ssids, sizeof(scan->ssids[0]) * scan->numSsid… in WifiCmdScan()
835 …isSerializeFailed = isSerializeFailed || !HdfSbufWriteBuffer(data, scan->extraIes, scan->extraIesL… in WifiCmdScan()
837 …isSerializeFailed || !HdfSbufWriteBuffer(data, scan->freqs, sizeof(scan->freqs[0]) * scan->numFreq… in WifiCmdScan()
838 isSerializeFailed = isSerializeFailed || !HdfSbufWriteUint8(data, scan->prefixSsidScanFlag); in WifiCmdScan()
839 isSerializeFailed = isSerializeFailed || !HdfSbufWriteUint8(data, scan->fastConnectFlag); in WifiCmdScan()
/drivers/peripheral/wlan/interfaces/include/
Dwifi_hal_sta_feature.h86 int32_t (*startScan)(const char *ifName, WifiScan *scan);
/drivers/peripheral/wlan/test/fuzztest/sta_fuzzer/
Dsta_fuzzer.cpp27 struct HdfWifiScan scan = {0}; in FuzzStartScan() local
32 interface->StartScan(interface, &feature, &scan); in FuzzStartScan()
/drivers/peripheral/wlan/hal/include/
Dwifi_hal_cmd.h43 int32_t HalCmdStartScanInner(const char *ifName, WifiScan *scan);
/drivers/peripheral/wlan/client/src/netlink/
Dnetlink_cmd_adapter.c1353 static int32_t CmdScanPutMsg(struct nl_msg *msg, const WifiScan *scan) in CmdScanPutMsg() argument
1358 if (scan->ssids) { in CmdScanPutMsg()
1364 for (i = 0; i < scan->numSsids; i++) { in CmdScanPutMsg()
1365 nla_put(msg, i + 1, scan->ssids[i].ssidLen, scan->ssids[i].ssid); in CmdScanPutMsg()
1370 if (scan->freqs) { in CmdScanPutMsg()
1376 for (i = 0; i < scan->numFreqs; i++) { in CmdScanPutMsg()
1377 nla_put_u32(msg, i + 1, scan->freqs[i]); in CmdScanPutMsg()
1382 if (scan->extraIes) { in CmdScanPutMsg()
1383 nla_put(msg, NL80211_ATTR_IE, scan->extraIesLen, scan->extraIes); in CmdScanPutMsg()
1386 if (scan->bssid) { in CmdScanPutMsg()
[all …]
/drivers/peripheral/wlan/client/include/
Dwifi_driver_client.h555 int32_t WifiCmdScan(const char *ifName, WifiScan *scan);
/drivers/peripheral/wlan/test/unittest/hal/
Dwifi_hal_test.cpp876 WifiScan scan = {0}; variable
883 ret = staFeature->startScan(nullptr, &scan);
887 ret = staFeature->startScan(ifNameInvalid, &scan);
889 ret = staFeature->startScan(ifName, &scan);
/drivers/peripheral/wlan/
DREADME_zh.md190 …t IWlanInterface *self, const struct HdfFeatureInfo* ifeature, const struct HdfWifiScan* scan);</p>
192 …9465"></a><a name="p149801729465"></a>int32_t (*startScan)(const char *ifName, WifiScan *scan);</p>
DREADME.md128 …><a name="p181491255149"></a><a name="p181491255149"></a>Sets a single MAC address to scan for.</p>