Lines Matching defs:mac
70 static int32_t ParserDeviceMacAddr(struct HdfSBuf *reply, uint8_t *mac, uint8_t len)
81 HDF_LOGE("%s: not support to get device mac addr", __FUNCTION__);
88 if (memcpy_s(mac, len, replayData, replayDataSize) != EOK) {
329 int32_t SetMacAddr(const char *ifName, unsigned char *mac, uint8_t len)
335 if (ifName == NULL || mac == NULL) {
348 if (!HdfSbufWriteBuffer(data, mac, len)) {
349 HDF_LOGE("%s: write mac failed", __FUNCTION__);
360 int32_t GetDevMacAddr(const char *ifName, int32_t type, uint8_t *mac, uint8_t len)
366 if (ifName == NULL || mac == NULL) {
389 ret = ParserDeviceMacAddr(reply, mac, len);
546 HDF_LOGE("%s: write scan mac failed", __FUNCTION__);
560 HDF_LOGE("%s: not support to set scan mac addr", __FUNCTION__);
739 if (memcpy_s(netDeviceInfoResult->deviceInfos[i].mac, macSize, replayData, macSize) != EOK) {
945 int32_t GetStationInfo(const char *ifName, StationInfo *info, const uint8_t *mac, uint32_t macLen)
963 if (!HdfSbufWriteBuffer(data, mac, macLen)) {
964 HDF_LOGE("%{public}s: write mac address fail!", __FUNCTION__);