/drivers/hdf_core/framework/model/network/wifi/platform/src/ |
H A D | hdf_wifi_event.c | 24 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 D | wifi_mac80211_ops.h | 417 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 D | hdf_wifi_event.h | 313 * @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 D | hdf_usb_net_manager.h | 59 uint8_t macAddr[MAC_ADDR_SIZE]; /**< MAC address {@link MAC_ADDR_SIZE} */ member
|
/drivers/peripheral/usb/hdf_usb/include/ |
H A D | hdf_usb_net_manager.h | 59 uint8_t macAddr[MAC_ADDR_SIZE]; /**< MAC address {@link MAC_ADDR_SIZE} */ member
|
/drivers/hdf_core/framework/model/network/wifi/include/ |
H A D | hdf_wifi_cmd.h | 167 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 D | net_device.h | 471 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 D | net_device.c | 364 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 D | wpa_hal_struct.h | 32 char macAddr[WIFI_MAC_LENGTH + 1]; member
|
/drivers/peripheral/wlan/chip/hdi_service/ |
H A D | wifi_hal.h | 33 typedef unsigned char macAddr[6]; typedef
|
/drivers/peripheral/usb/net/src/ |
H A D | rndis_rawapi.c | 462 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 D | net_device_adapter.c | 234 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 D | net_device_adapter.c | 291 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 D | net_device_adapter.c | 330 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 D | sbuf_event_adapter.c | 45 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 D | wifi_base.c | 76 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 D | wifi_driver_client.h | 128 uint8_t *macAddr; member
|
/drivers/hdf_core/adapter/khdf/linux/model/usb/host/src/ |
H A D | usb_net_adapter.c | 1026 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()
|