Home
last modified time | relevance | path

Searched refs:mac (Results 1 – 8 of 8) sorted by relevance

/test/xts/acts/security_lite/huks/common/
Dhks_test_api_performance.c88 const struct HksBlob *srcData, struct HksBlob *mac, uint32_t performTimes) in HksMacRun() argument
92 if (mac != NULL) { in HksMacRun()
93 oriMacSize = mac->size; in HksMacRun()
97 if (mac != NULL) { in HksMacRun()
98 (void)memset_s(mac->data, oriMacSize, 0, oriMacSize); in HksMacRun()
99 mac->size = oriMacSize; in HksMacRun()
101 ret = HksMac(key, paramSet, srcData, mac); in HksMacRun()
/test/xts/hats/hdf/wlan/hdi_service/
Dwlan_hdi_direct_test.cpp197 uint8_t mac[ETH_ADDR_LEN] = {0}; variable
202 int32_t rc = g_wlanObj->GetDeviceMacAddress(g_wlanObj, nullptr, mac, &macLen, ETH_ADDR_LEN);
205 rc = g_wlanObj->GetDeviceMacAddress(g_wlanObj, &ifeature, mac, &macLen, ETH_ADDR_LEN);
210 rc = g_wlanObj->GetDeviceMacAddress(g_wlanObj, &ifeature, mac, nullptr, ETH_ADDR_LEN);
212 rc = g_wlanObj->GetDeviceMacAddress(g_wlanObj, &ifeature, mac, &macLen, ETH_ADDR_LEN);
436 uint8_t mac[ETH_ADDR_LEN] = {0x12, 0x34, 0x56, 0x78, 0xab, 0xcd}; variable
442 int32_t rc = g_wlanObj->SetMacAddress(g_wlanObj, nullptr, mac, macLen);
445 rc = g_wlanObj->SetMacAddress(g_wlanObj, &ifeature, mac, macLen);
450 rc = g_wlanObj->SetMacAddress(g_wlanObj, &ifeature, mac, macLen);
595 uint8_t mac[ETH_ADDR_LEN] = {0}; variable
[all …]
Dwlan_hdi_hal_services_c_test.cpp180 uint8_t mac[ETH_ADDR_LEN] = {0x12, 0x34, 0x56, 0x78, 0xab, 0xcd}; variable
190 rc = g_wlanObj->SetMacAddress(g_wlanObj, &ifeature, mac, macLen);
207 uint8_t mac[ETH_ADDR_LEN] = {0}; variable
212 rc = g_wlanObj->GetDeviceMacAddress(g_wlanObj, &ifeature, mac, &macLen, ETH_ADDR_LEN);
554 uint8_t mac[ETH_ADDR_LEN] = {0}; variable
559 rc = g_wlanObj->GetDeviceMacAddress(g_wlanObj, &ifeature, mac, &macLen, ETH_ADDR_LEN);
595 uint8_t mac[ETH_ADDR_LEN] = {0x12, 0x34, 0x56, 0x78, 0xab, 0xcd}; variable
605 rc = g_wlanObj->SetMacAddress(g_wlanObj, &ifeature, mac, macLen);
983 uint8_t mac[ETH_ADDR_LEN] = {0}; variable
985 rc = g_wlanObj->GetStaInfo(g_wlanObj, ifName, &info, mac, ETH_ADDR_LEN);
[all …]
/test/xts/hats/hdf/wlan/wifi/client/
Dhdf_client_test.cpp122 unsigned char mac[ETH_ADDR_LEN] = {0x12, 0x34, 0x56, 0x78, 0xab, 0xcd}; variable
125 ret = SetMacAddr(WLAN_IFNAME, mac, ETH_ADDR_LEN);
140 unsigned char mac[ETH_ADDR_LEN] = {}; variable
143 ret = GetDevMacAddr(WLAN_IFNAME, type, mac, ETH_ADDR_LEN);
155 unsigned char mac[ETH_ADDR_LEN] = {}; variable
158 ret = GetDevMacAddr(WLAN_IFNAME, type, mac, ETH_ADDR_LEN);
/test/xts/hats/hdf/wlan/wlanBenchmarkTest/
Dhdf_wifi_benchmark_test.cpp408 unsigned char mac[ETH_ADDR_LEN] = {0x12, 0x34, 0x56, 0x78, 0xab, 0xcd}; in BENCHMARK_F() local
417 …ret = apFeature->baseFeature.setMacAddress((struct IWiFiBaseFeature *)apFeature, mac, ETH_ADDR_LEN… in BENCHMARK_F()
440 unsigned char mac[ETH_ADDR_LEN] = {0x12, 0x34, 0x56, 0x78, 0xab, 0xcd}; in BENCHMARK_F() local
449 …ret = staFeature->baseFeature.setMacAddress((struct IWiFiBaseFeature *)staFeature, mac, ETH_ADDR_L… in BENCHMARK_F()
629 unsigned char mac[ETH_ADDR_LEN] = {0}; in BENCHMARK_F() local
635 …ret = apFeature->baseFeature.getDeviceMacAddress((struct IWiFiBaseFeature *)apFeature, mac, ETH_AD… in BENCHMARK_F()
638 …ret = apFeature->baseFeature.getDeviceMacAddress((struct IWiFiBaseFeature *)apFeature, mac, ETH_AD… in BENCHMARK_F()
661 unsigned char mac[ETH_ADDR_LEN] = {0}; in BENCHMARK_F() local
667 …ret = staFeature->baseFeature.getDeviceMacAddress((struct IWiFiBaseFeature *)staFeature, mac, ETH_… in BENCHMARK_F()
670 …Feature->baseFeature.getDeviceMacAddress((struct IWiFiBaseFeature *)staFeature, mac, ETH_ADDR_LEN); in BENCHMARK_F()
[all …]
/test/xts/acts/security_lite/huks/common/include/
Dhks_test_api_performance.h37 const struct HksBlob *srcData, struct HksBlob *mac, uint32_t performTimes);
/test/xts/hats/hdf/wlan/wifi/hal/
Dwifi_hal_test.cpp622 unsigned char mac[ETH_ADDR_LEN] = {0x12, 0x34, 0x56, 0x78, 0xab, 0xcd}; variable
627 ret = apFeature->baseFeature.setMacAddress(nullptr, mac, ETH_ADDR_LEN);
662 unsigned char mac[ETH_ADDR_LEN] = {0x12, 0x34, 0x56, 0x78, 0xab, 0xcd}; variable
667 ret = apFeature->baseFeature.setMacAddress((struct IWiFiBaseFeature *)apFeature, mac, 0);
704 unsigned char mac[ETH_ADDR_LEN] = {0x12, 0x34, 0x56, 0x78, 0xab, 0xcd}; variable
709 …ret = apFeature->baseFeature.setMacAddress((struct IWiFiBaseFeature *)apFeature, mac, ETH_ADDR_LEN…
727 unsigned char mac[ETH_ADDR_LEN] = {0x12, 0x34, 0x56, 0x78, 0xab, 0xcd}; variable
732 ret = staFeature->baseFeature.setMacAddress(nullptr, mac, ETH_ADDR_LEN);
768 unsigned char mac[ETH_ADDR_LEN] = {0x12, 0x34, 0x56, 0x78, 0xab, 0xcd}; variable
773 ret = staFeature->baseFeature.setMacAddress((struct IWiFiBaseFeature *)staFeature, mac, 0);
[all …]
/test/xts/acts/communication_lite/wifiservice_hal/src/
Dwifiservice_func_test.c376 unsigned char mac[WIFI_MAC_LEN]; variable
377 error = GetDeviceMacAddress((unsigned char *)mac);