Home
last modified time | relevance | path

Searched refs:wpsParam (Results 1 – 4 of 4) sorted by relevance

/drivers/peripheral/wlan/test/hdi_service/
Dwpa_hdi_direct_test.cpp220 struct HdiWifiWpsParam wpsParam; variable
221 (void)memset_s(&wpsParam, sizeof(struct HdiWifiWpsParam), 0, sizeof(struct HdiWifiWpsParam));
222 wpsParam.anyFlag = 1;
223 wpsParam.multiAp = 1;
224 wpsParam.bssidLen = 6;
225 wpsParam.bssid = (uint8_t *)OsalMemCalloc(sizeof(uint8_t) * (wpsParam.bssidLen));
226 wpsParam.bssid[0] = 0x12;
227 wpsParam.bssid[1] = 0x34;
228 wpsParam.bssid[2] = 0x56;
229 wpsParam.bssid[3] = 0x78;
[all …]
Dwpa_hdi_hal_services_c_test.cpp344 struct HdiWifiWpsParam wpsParam; variable
345 (void)memset_s(&wpsParam, sizeof(struct HdiWifiWpsParam), 0, sizeof(struct HdiWifiWpsParam));
346 wpsParam.anyFlag = 1;
347 wpsParam.multiAp = 1;
348 wpsParam.bssidLen = 6;
349 wpsParam.bssid = (uint8_t *)OsalMemCalloc(sizeof(uint8_t) * (wpsParam.bssidLen));
350 wpsParam.bssid[0] = 0x12;
351 wpsParam.bssid[1] = 0x34;
352 wpsParam.bssid[2] = 0x56;
353 wpsParam.bssid[3] = 0x78;
[all …]
/drivers/peripheral/wlan/test/fuzztest/
Dwpa_common_fuzzer.cpp338 struct HdiWifiWpsParam wpsParam; in FuzzWpaInterfaceWpsPbcMode() local
339 (void)memset_s(&wpsParam, sizeof(struct HdiWifiWpsParam), 0, sizeof(struct HdiWifiWpsParam)); in FuzzWpaInterfaceWpsPbcMode()
340 wpsParam.anyFlag = 1; in FuzzWpaInterfaceWpsPbcMode()
341 wpsParam.multiAp = 1; in FuzzWpaInterfaceWpsPbcMode()
342 wpsParam.bssidLen = 6; in FuzzWpaInterfaceWpsPbcMode()
343 wpsParam.bssid = static_cast<uint8_t *>(OsalMemCalloc(sizeof(uint8_t) * (wpsParam.bssidLen))); in FuzzWpaInterfaceWpsPbcMode()
344 if (wpsParam.bssid == nullptr) { in FuzzWpaInterfaceWpsPbcMode()
347 wpsParam.bssid[0] = 0x12; in FuzzWpaInterfaceWpsPbcMode()
348 wpsParam.bssid[1] = 0x34; in FuzzWpaInterfaceWpsPbcMode()
349 wpsParam.bssid[2] = 0x56; in FuzzWpaInterfaceWpsPbcMode()
[all …]
/drivers/interface/wlan/wpa/v1_0/
DIWpaInterface.idl321 * @param wpsParam Indicates wifiStatus obtained.
329 WpsPbcMode([in] String ifName, [in] struct HdiWifiWpsParam wpsParam);
335 * @param wpsParam Indicates wifiStatus obtained.
343 WpsPinMode([in] String ifName, [in] struct HdiWifiWpsParam wpsParam, [out] int pinCode);