/drivers/interface/wlan/v1_1/ |
D | IWlanCallback.idl | 22 …* 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).
|
D | WlanTypes.idl | 22 …* 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 …]
|
D | IWlanInterface.idl | 22 …* 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/ |
D | wifi_hal_sta_feature.c | 46 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()
|
D | wifi_hal_cmd.c | 229 int32_t HalCmdStartScanInner(const char *ifName, WifiScan *scan) in HalCmdStartScanInner() argument 232 ret = WifiCmdScan(ifName, (WifiScan *)scan); in HalCmdStartScanInner()
|
/drivers/interface/wlan/v1_0/ |
D | IWlanCallback.idl | 22 …* 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.
|
D | WlanTypes.idl | 22 …* 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 …]
|
D | IWlanInterface.idl | 22 …* 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/ |
D | wlan_common_cmd.c | 1045 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 …]
|
D | wlan_common_cmd.h | 55 const struct HdfWifiScan *scan);
|
/drivers/peripheral/wlan/test/hdi_service/ |
D | wlan_hdi_hal_services_c_test.cpp | 443 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; 1244 …scan.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 …]
|
D | wlan_hdi_direct_test.cpp | 384 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/ |
D | sbuf_cmd_adapter.c | 812 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/ |
D | wifi_hal_sta_feature.h | 86 int32_t (*startScan)(const char *ifName, WifiScan *scan);
|
/drivers/peripheral/wlan/test/fuzztest/sta_fuzzer/ |
D | sta_fuzzer.cpp | 27 struct HdfWifiScan scan = {0}; in FuzzStartScan() local 32 interface->StartScan(interface, &feature, &scan); in FuzzStartScan()
|
/drivers/peripheral/wlan/hal/include/ |
D | wifi_hal_cmd.h | 43 int32_t HalCmdStartScanInner(const char *ifName, WifiScan *scan);
|
/drivers/peripheral/wlan/client/src/netlink/ |
D | netlink_cmd_adapter.c | 1353 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/ |
D | wifi_driver_client.h | 555 int32_t WifiCmdScan(const char *ifName, WifiScan *scan);
|
/drivers/peripheral/wlan/test/unittest/hal/ |
D | wifi_hal_test.cpp | 876 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/ |
D | README_zh.md | 190 …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>
|
D | README.md | 128 …><a name="p181491255149"></a><a name="p181491255149"></a>Sets a single MAC address to scan for.</p>
|