Home
last modified time | relevance | path

Searched refs:macLen (Results 1 – 15 of 15) sorted by relevance

/drivers/peripheral/wlan/test/hdi_service/
Dwlan_hdi_direct_test.cpp204 uint32_t macLen = ETH_ADDR_LEN; variable
208 int32_t rc = g_wlanObj->GetDeviceMacAddress(g_wlanObj, nullptr, mac, &macLen, ETH_ADDR_LEN);
211 rc = g_wlanObj->GetDeviceMacAddress(g_wlanObj, &ifeature, mac, &macLen, ETH_ADDR_LEN);
214 rc = g_wlanObj->GetDeviceMacAddress(g_wlanObj, &ifeature, nullptr, &macLen, ETH_ADDR_LEN);
218 rc = g_wlanObj->GetDeviceMacAddress(g_wlanObj, &ifeature, mac, &macLen, ETH_ADDR_LEN);
455 uint32_t macLen = ETH_ADDR_LEN; variable
459 int32_t rc = g_wlanObj->SetMacAddress(g_wlanObj, nullptr, mac, macLen);
462 rc = g_wlanObj->SetMacAddress(g_wlanObj, &ifeature, mac, macLen);
465 rc = g_wlanObj->SetMacAddress(g_wlanObj, &ifeature, nullptr, macLen);
467 rc = g_wlanObj->SetMacAddress(g_wlanObj, &ifeature, mac, macLen);
[all …]
Dwlan_hdi_hal_services_c_test.cpp187 uint32_t macLen = ETH_ADDR_LEN; variable
192 rc = g_wlanObj->SetMacAddress(g_wlanObj, &ifeature, errorMac, macLen);
194 rc = g_wlanObj->SetMacAddress(g_wlanObj, &ifeature, mac, macLen);
213 uint32_t macLen = ETH_ADDR_LEN; variable
217 rc = g_wlanObj->GetDeviceMacAddress(g_wlanObj, &ifeature, mac, &macLen, ETH_ADDR_LEN);
322 uint32_t macLen = ETH_ADDR_LEN; variable
326 rc = g_wlanObj->SetScanningMacAddress(g_wlanObj, &ifeature, scanMac, macLen);
576 uint32_t macLen = ETH_ADDR_LEN; variable
580 rc = g_wlanObj->GetDeviceMacAddress(g_wlanObj, &ifeature, mac, &macLen, ETH_ADDR_LEN);
621 uint32_t macLen = ETH_ADDR_LEN; variable
[all …]
/drivers/peripheral/wlan/test/fuzztest/
Dwlan_common_fuzzer.cpp89 uint32_t macLen = ETH_ADDR_LEN; in FuzzGetDeviceMacAddress() local
94 interface->GetDeviceMacAddress(interface, &feature, mac, &macLen, in FuzzGetDeviceMacAddress()
142 uint32_t macLen = ETH_ADDR_LEN; in FuzzSetMacAddress() local
144 interface->SetMacAddress(interface, &feature, mac, macLen); in FuzzSetMacAddress()
247 uint32_t macLen = ETH_ADDR_LEN; in FuzzGetStaInfo() local
249 interface->GetStaInfo(interface, ifName, &info, mac, macLen); in FuzzGetStaInfo()
/drivers/peripheral/wlan/test/fuzztest/sta_fuzzer/
Dsta_fuzzer.cpp42 uint32_t macLen = 0; in FuzzSetScanningMacAddress() local
44 if (GetWlanDataSize(&macLen) != HDF_SUCCESS) { in FuzzSetScanningMacAddress()
48 interface->SetScanningMacAddress(interface, &feature, scanMac, macLen); in FuzzSetScanningMacAddress()
/drivers/peripheral/wlan/hdi_service/service_common/
Dwlan_common_cmd.h28 uint8_t *mac, uint32_t *macLen, uint8_t len);
49 const uint8_t *mac, uint32_t macLen);
61 const uint8_t *mac, uint32_t macLen);
Dwlan_common_cmd.c216 staInfo[i].macLen = WIFI_MAC_ADDR_LENGTH; in WlanInterfaceGetAssociatedStas()
269 uint8_t *mac, uint32_t *macLen, uint8_t len) in WlanInterfaceGetDeviceMacAddress() argument
275 if (ifeature == NULL || ifeature->ifName == NULL || mac == NULL || macLen == NULL) { in WlanInterfaceGetDeviceMacAddress()
290 *macLen = ETH_ADDR_LEN; in WlanInterfaceGetDeviceMacAddress()
918 const uint8_t *mac, uint32_t macLen) in WlanInterfaceSetMacAddress() argument
1038 netDeviceInfoResult->deviceInfos[i].macLen = ETH_ADDR_LEN; in WlanInterfaceGetNetDevInfo()
1258 const uint8_t *mac, uint32_t macLen) in WlanInterfaceGetStaInfo() argument
1271 ret = g_wifi->getStationInfo(ifName, (StationInfo *)info, mac, macLen); in WlanInterfaceGetStaInfo()
/drivers/peripheral/wlan/test/fuzztest/ap_fuzzer/
Dap_fuzzer.cpp43 uint32_t macLen = *const_cast<int32_t *>(reinterpret_cast<const int32_t *>(rawData)); in FuzzSetCountryCode() local
48 interface->SetCountryCode(interface, &feature, mac, macLen); in FuzzSetCountryCode()
/drivers/peripheral/wlan/hal/src/
Dwifi_hal.c345 …2_t GetStationInfoInner(const char *ifName, StationInfo *info, const uint8_t *mac, uint32_t macLen) in GetStationInfoInner() argument
347 if (ifName == NULL || info == NULL || mac == NULL || macLen < ETH_ADDR_LEN) { in GetStationInfoInner()
351 return GetStationInfo(ifName, info, mac, macLen); in GetStationInfoInner()
506 …32_t WifiGetStationInfo(const char *ifName, StationInfo *info, const uint8_t *mac, uint32_t macLen) in WifiGetStationInfo() argument
509 int32_t ret = GetStationInfoInner(ifName, info, mac, macLen); in WifiGetStationInfo()
/drivers/peripheral/wlan/interfaces/include/
Dwifi_hal.h349 …32_t (*getStationInfo)(const char *ifName, StationInfo *info, const uint8_t *mac, uint32_t macLen);
/drivers/hdf_core/framework/include/wifi/
Dwifi_mac80211_ops.h690 …*GetStationInfo)(struct NetDevice *netDev, StationInfo *info, const uint8_t *mac, uint32_t macLen);
/drivers/hdf_core/framework/model/network/wifi/core/module/
Dwifi_base.c1691 …t HdfWlanGetStationInfo(const char *ifName, StationInfo *info, const uint8_t *mac, uint32_t macLen) in HdfWlanGetStationInfo() argument
1715 return chipDriver->ops->GetStationInfo(netdev, info, mac, macLen); in HdfWlanGetStationInfo()
1725 uint32_t macLen; in WifiGetStationInfo() local
1736 if (!HdfSbufReadBuffer(reqData, (const void **)&mac, &macLen)) { in WifiGetStationInfo()
1740 ret = HdfWlanGetStationInfo(ifName, &info, mac, macLen); in WifiGetStationInfo()
/drivers/peripheral/wlan/client/include/
Dwifi_driver_client.h344 int32_t GetStationInfo(const char *ifName, StationInfo *info, const uint8_t *mac, uint32_t macLen);
/drivers/peripheral/wlan/client/src/sbuf/
Dsbuf_cmd_adapter.c945 int32_t GetStationInfo(const char *ifName, StationInfo *info, const uint8_t *mac, uint32_t macLen) in GetStationInfo() argument
963 if (!HdfSbufWriteBuffer(data, mac, macLen)) { in GetStationInfo()
/drivers/peripheral/wlan/
DREADME_zh.md213 …anInterface *self, const struct HdfFeatureInfo* ifeature, const uint8_t* mac, uint32_t macLen);</p>
220 …face *self, const struct HdfFeatureInfo *ifeature, uint8_t* mac, uint32_t* macLen, uint8_t len)</p>
/drivers/peripheral/wlan/client/src/netlink/
Dnetlink_cmd_adapter.c1954 int32_t GetStationInfo(const char *ifName, StationInfo *info, const uint8_t *mac, uint32_t macLen) in GetStationInfo() argument