Home
last modified time | relevance | path

Searched refs:macAddr (Results 1 - 18 of 18) sorted by relevance

/drivers/hdf_core/framework/model/network/wifi/platform/src/
H A Dhdf_wifi_event.c24 int32_t HdfWifiEventNewSta(const struct NetDevice *netDev, const uint8_t *macAddr, uint8_t addrLen, in HdfWifiEventNewSta() argument
31 if (netDev == NULL || macAddr == NULL || info == NULL) { in HdfWifiEventNewSta()
49 !HdfSbufWriteBuffer(data, macAddr, addrLen)) { in HdfWifiEventNewSta()
56 (addrLen > 0) ? macAddr[addrLen - 1] : -1); in HdfWifiEventNewSta()
63 int32_t HdfWifiEventDelSta(struct NetDevice *netDev, const uint8_t *macAddr, uint8_t addrLen) in HdfWifiEventDelSta() argument
68 if ((netDev == NULL) || (macAddr == NULL)) { in HdfWifiEventDelSta()
79 if (!HdfSbufWriteString(data, netDev->name) || !HdfSbufWriteBuffer(data, macAddr, addrLen)) { in HdfWifiEventDelSta()
/drivers/hdf_core/framework/include/wifi/
H A Dwifi_mac80211_ops.h417 uint8_t macAddr[IEEE80211_MAC_ADDR_LEN]; /**< Device MAC address */ member
492 * @param macAddr Indicates the pointer to the MAC address.
501 struct NetDevice *netDev, uint8_t keyIndex, bool pairwise, const uint8_t *macAddr, struct KeyParams *params);
509 * @param macAddr Indicates the pointer to the MAC address.
516 int32_t (*DelKey)(struct NetDevice *netDev, uint8_t keyIndex, bool pairwise, const uint8_t *macAddr);
864 * @param macAddr Indicates the pointer to the MAC address.
871 int32_t (*DelStation)(NetDevice *netDev, const uint8_t *macAddr);
H A Dhdf_wifi_event.h313 * @param macAddr Indicates the pointer to the MAC address of the station. This parameter cannot be null.
322 int32_t HdfWifiEventNewSta(const struct NetDevice *netDev, const uint8_t *macAddr, uint8_t addrLen,
329 * @param macAddr Indicates the pointer to the MAC address of the station. This parameter cannot be null.
337 int32_t HdfWifiEventDelSta(struct NetDevice *netDev, const uint8_t *macAddr, uint8_t addrLen);
/drivers/hdf_core/framework/model/usb/include/
H A Dhdf_usb_net_manager.h59 uint8_t macAddr[MAC_ADDR_SIZE]; /**< MAC address {@link MAC_ADDR_SIZE} */ member
/drivers/peripheral/usb/hdf_usb/include/
H A Dhdf_usb_net_manager.h59 uint8_t macAddr[MAC_ADDR_SIZE]; /**< MAC address {@link MAC_ADDR_SIZE} */ member
/drivers/hdf_core/framework/model/network/wifi/include/
H A Dhdf_wifi_cmd.h167 uint8_t macAddr[ETH_ADDR_LEN]; member
354 uint8_t macAddr[ETH_ADDR_LEN]; member
360 uint8_t *macAddr; member
/drivers/hdf_core/framework/include/net/
H A Dnet_device.h471 uint8_t macAddr[MAC_ADDR_SIZE]; /**< MAC address {@link MAC_ADDR_SIZE} */ member
681 * @param macAddr Indicates the pointer to the MAC address to set.
689 int32_t NetIfSetMacAddr(struct NetDevice *netDevice, const unsigned char *macAddr, unsigned char length);
946 #define GET_NET_DEV_MAC_ADDR(dev) ((dev)->macAddr)
/drivers/hdf_core/framework/model/network/common/netdevice/
H A Dnet_device.c364 int32_t NetIfSetMacAddr(struct NetDevice *netDevice, const unsigned char *macAddr, unsigned char length) in NetIfSetMacAddr() argument
369 if (macAddr == NULL || length != MAC_ADDR_SIZE) { in NetIfSetMacAddr()
373 if (memcpy_s(netDevice->macAddr, MAC_ADDR_SIZE, macAddr, MAC_ADDR_SIZE) != EOK) { in NetIfSetMacAddr()
378 ret = netDevice->netDeviceIf->setMacAddr(netDevice, (void*)macAddr); in NetIfSetMacAddr()
/drivers/peripheral/wlan/wpa/interfaces/hdi_service/service_common/
H A Dwpa_hal_struct.h32 char macAddr[WIFI_MAC_LENGTH + 1]; member
/drivers/peripheral/wlan/chip/hdi_service/
H A Dwifi_hal.h33 typedef unsigned char macAddr[6]; typedef
/drivers/peripheral/usb/net/src/
H A Drndis_rawapi.c462 size_t macAddrLen = sizeof((*ppUsbNet)->net.macAddr) / sizeof((*ppUsbNet)->net.macAddr[0]); in HostRndisSetmacAddrByBp()
463 if (memset_s((*ppUsbNet)->net.macAddr, macAddrLen, 0, macAddrLen) !=EOK) { in HostRndisSetmacAddrByBp()
470 etherAddrCopy((*ppUsbNet)->net.macAddr, bp); in HostRndisSetmacAddrByBp()
/drivers/hdf_core/adapter/khdf/linux/network/src/
H A Dnet_device_adapter.c234 if (memcpy_s(dev->dev_addr, ETH_ALEN, impl->netDevice->macAddr, in NetDevAdd()
422 if (memcpy_s(dev->dev_addr, ETH_ALEN, impl->netDevice->macAddr, MAC_ADDR_SIZE) != EOK) { in NetDevChangeMacAddr()
/drivers/hdf_core/adapter/khdf/liteos_m/network/src/
H A Dnet_device_adapter.c291 if (memcpy_s(lwipNf->hwaddr, NETIF_MAX_HWADDR_LEN, lwipNd->macAddr, MAC_ADDR_SIZE) != EOK) { in LiteNetDevAdd()
549 if (memcpy_s(lwipNf->hwaddr, NETIF_MAX_HWADDR_LEN, lwipNd->macAddr, MAC_ADDR_SIZE) != EOK) { in LiteNetChangeMacAddr()
/drivers/hdf_core/adapter/khdf/liteos/network/src/
H A Dnet_device_adapter.c330 if (memcpy_s(lwipNf->hwaddr, NETIF_MAX_HWADDR_LEN, lwipNd->macAddr, MAC_ADDR_SIZE) != EOK) { in LiteNetDevAdd()
588 if (memcpy_s(lwipNf->hwaddr, NETIF_MAX_HWADDR_LEN, lwipNd->macAddr, MAC_ADDR_SIZE) != EOK) { in LiteNetChangeMacAddr()
/drivers/peripheral/wlan/client/src/sbuf/
H A Dsbuf_event_adapter.c45 if (!HdfSbufReadBuffer(reqData, (const void **)(&staInfo.macAddr), &len) || (len != ETH_ADDR_LEN)) { in WifiEventNewStaProcess()
46 HDF_LOGE("%s: fail to get macAddr", __FUNCTION__); in WifiEventNewStaProcess()
58 HDF_LOGE("%s: fail to get macAddr", __FUNCTION__); in WifiEventDelStaProcess()
/drivers/hdf_core/framework/model/network/wifi/core/module/
H A Dwifi_base.c76 struct NetDevice *netDev, uint8_t keyIndex, bool pairwise, const uint8_t *macAddr, struct KeyParams *params) in AddKey()
84 return chipDriver->ops->AddKey(netDev, keyIndex, pairwise, macAddr, params); in AddKey()
87 static uint32_t DelKey(struct NetDevice *netDev, uint8_t keyIndex, bool pairwise, const uint8_t *macAddr) in DelKey() argument
95 return chipDriver->ops->DelKey(netDev, keyIndex, pairwise, macAddr); in DelKey()
468 if (!HdfSbufWriteBuffer(rspData, netdev->macAddr, ETH_ADDR_LEN)) { in WifiCmdGetAddr()
75 AddKey( struct NetDevice *netDev, uint8_t keyIndex, bool pairwise, const uint8_t *macAddr, struct KeyParams *params) AddKey() argument
/drivers/peripheral/wlan/client/include/
H A Dwifi_driver_client.h128 uint8_t *macAddr; member
/drivers/hdf_core/adapter/khdf/linux/model/usb/host/src/
H A Dusb_net_adapter.c1026 if (memcpy_s(node_id, ETH_ALEN, usbNet->usbnetInfo.macAddr, ETH_ALEN) != EOK) { in UsbnetAdapterSetNetDevice()
1033 HARCH_NET_INFO_PRINT("macAddr addr %pM", net->dev_addr); in UsbnetAdapterSetNetDevice()

Completed in 19 milliseconds