| /OK3568_Linux_fs/kernel/arch/arm/mach-ixp4xx/ |
| H A D | fsg-setup.c | 263 fsg_plat_eth[0].hwaddr[i] = readb(f + 0x3C0422 + i); in fsg_init() 264 fsg_plat_eth[1].hwaddr[i] = readb(f + 0x3C043B + i); in fsg_init() 274 fsg_plat_eth[0].hwaddr[0] = readb(f + 0x3C0421); in fsg_init() 275 fsg_plat_eth[0].hwaddr[1] = readb(f + 0x3C0420); in fsg_init() 276 fsg_plat_eth[0].hwaddr[2] = readb(f + 0x3C0427); in fsg_init() 277 fsg_plat_eth[0].hwaddr[3] = readb(f + 0x3C0426); in fsg_init() 278 fsg_plat_eth[0].hwaddr[4] = readb(f + 0x3C0425); in fsg_init() 279 fsg_plat_eth[0].hwaddr[5] = readb(f + 0x3C0424); in fsg_init() 281 fsg_plat_eth[1].hwaddr[0] = readb(f + 0x3C0439); in fsg_init() 282 fsg_plat_eth[1].hwaddr[1] = readb(f + 0x3C043F); in fsg_init() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/core/ |
| H A D | rtw_sta_mgt.c | 188 struct sta_info *rtw_alloc_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in rtw_alloc_stainfo() argument 217 memcpy(psta->hwaddr, hwaddr, ETH_ALEN); in rtw_alloc_stainfo() 219 index = wifi_mac_hash(hwaddr); in rtw_alloc_stainfo() 253 hwaddr[0], in rtw_alloc_stainfo() 254 hwaddr[1], in rtw_alloc_stainfo() 255 hwaddr[2], in rtw_alloc_stainfo() 256 hwaddr[3], in rtw_alloc_stainfo() 257 hwaddr[4], in rtw_alloc_stainfo() 258 hwaddr[5] in rtw_alloc_stainfo() 382 psta->hwaddr[0], in rtw_free_stainfo() [all …]
|
| H A D | rtw_ap.c | 186 , MAC_ARG(psta->hwaddr) in chk_sta_is_alive() 238 psta->hwaddr[0], in expire_timeout_chk() 239 psta->hwaddr[1], in expire_timeout_chk() 240 psta->hwaddr[2], in expire_timeout_chk() 241 psta->hwaddr[3], in expire_timeout_chk() 242 psta->hwaddr[4], in expire_timeout_chk() 243 psta->hwaddr[5] in expire_timeout_chk() 323 MAC_ARG(psta->hwaddr), in expire_timeout_chk() 337 MAC_ARG(psta->hwaddr), in expire_timeout_chk() 368 ret = issue_nulldata(padapter, psta->hwaddr, 0, 1, 50); in expire_timeout_chk() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/rtl8188eu/core/ |
| H A D | rtw_sta_mgt.c | 166 struct sta_info *rtw_alloc_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in rtw_alloc_stainfo() argument 189 memcpy(psta->hwaddr, hwaddr, ETH_ALEN); in rtw_alloc_stainfo() 190 index = wifi_mac_hash(hwaddr); in rtw_alloc_stainfo() 219 pstapriv->asoc_sta_count, hwaddr)); in rtw_alloc_stainfo() 293 pstapriv->asoc_sta_count, psta->hwaddr[0], psta->hwaddr[1], in rtw_free_stainfo() 294 psta->hwaddr[2], psta->hwaddr[3], psta->hwaddr[4], in rtw_free_stainfo() 295 psta->hwaddr[5])); in rtw_free_stainfo() 413 struct sta_info *rtw_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in rtw_get_stainfo() argument 421 if (!hwaddr) in rtw_get_stainfo() 424 if (is_multicast_ether_addr(hwaddr)) in rtw_get_stainfo() [all …]
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-support/lowpan-tools/lowpan-tools/ |
| H A D | 0001-Remove-newline-from-format-line.patch | 27 lease->hwaddr[0], lease->hwaddr[1], 28 lease->hwaddr[2], lease->hwaddr[3], 29 lease->hwaddr[4], lease->hwaddr[5],
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/qemu/qemu/ |
| H A D | CVE-2022-35414.patch | 21 -address_space_translate_for_iotlb(CPUState *cpu, int asidx, hwaddr addr, 22 +address_space_translate_for_iotlb(CPUState *cpu, int asidx, hwaddr orig_addr, 23 hwaddr *xlat, hwaddr *plen, 26 @@ -676,6 +676,7 @@ address_space_translate_for_iotlb(CPUState *cpu, int asidx, hwaddr addr, 30 + hwaddr addr = orig_addr; 34 @@ -720,6 +721,16 @@ address_space_translate_for_iotlb(CPUState *cpu, int asidx, hwaddr addr,
|
| H A D | CVE-2021-3929.patch | 32 @@ -357,6 +357,24 @@ static inline void *nvme_addr_to_pmr(NvmeCtrl *n, hwaddr addr) 36 +static inline bool nvme_addr_is_iomem(NvmeCtrl *n, hwaddr addr) 38 + hwaddr hi, lo; 54 static int nvme_addr_read(NvmeCtrl *n, hwaddr addr, void *buf, int size) 56 hwaddr hi = addr + size - 1; 57 @@ -614,6 +632,10 @@ static uint16_t nvme_map_addr(NvmeCtrl *n, NvmeSg *sg, hwaddr addr, size_t len)
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/core/ |
| H A D | rtw_sta_mgt.c | 321 struct sta_info *rtw_alloc_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in rtw_alloc_stainfo() argument 359 _rtw_memcpy(psta->hwaddr, hwaddr, ETH_ALEN); in rtw_alloc_stainfo() 361 index = wifi_mac_hash(hwaddr); in rtw_alloc_stainfo() 391 pstapriv->asoc_sta_count , hwaddr[0], hwaddr[1], hwaddr[2],hwaddr[3],hwaddr[4],hwaddr[5])); in rtw_alloc_stainfo() 472 …stapriv->asoc_sta_count , psta->hwaddr[0], psta->hwaddr[1], psta->hwaddr[2],psta->hwaddr[3],psta->… in rtw_free_stainfo() 722 struct sta_info *rtw_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in rtw_get_stainfo() argument 739 if(hwaddr==NULL) in rtw_get_stainfo() 742 if(IS_MCAST(hwaddr)) in rtw_get_stainfo() 748 addr = hwaddr; in rtw_get_stainfo() 764 if ((_rtw_memcmp(psta->hwaddr, addr, ETH_ALEN))== _TRUE) in rtw_get_stainfo()
|
| /OK3568_Linux_fs/app/forlinx/quectelCM/libmnl/dhcp/ |
| H A D | dhcpmsg.c | 24 static void *init_dhcp_msg(dhcp_msg *msg, int type, void *hwaddr, uint32_t xid) in init_dhcp_msg() argument 39 memcpy(msg->chaddr, hwaddr, 6); in init_dhcp_msg() 55 int init_dhcp_discover_msg(dhcp_msg *msg, void *hwaddr, uint32_t xid) in init_dhcp_discover_msg() argument 59 x = init_dhcp_msg(msg, DHCPDISCOVER, hwaddr, xid); in init_dhcp_discover_msg() 73 int init_dhcp_request_msg(dhcp_msg *msg, void *hwaddr, uint32_t xid, in init_dhcp_request_msg() argument 78 x = init_dhcp_msg(msg, DHCPREQUEST, hwaddr, xid); in init_dhcp_request_msg()
|
| /OK3568_Linux_fs/u-boot/board/Arcturus/ucp1020/ |
| H A D | cmd_arc.c | 43 static int ishwaddr(char *hwaddr) in ishwaddr() argument 45 if (strlen(hwaddr) == MAX_HWADDR_SIZE) in ishwaddr() 46 if (hwaddr[2] == ':' && in ishwaddr() 47 hwaddr[5] == ':' && in ishwaddr() 48 hwaddr[8] == ':' && in ishwaddr() 49 hwaddr[11] == ':' && in ishwaddr() 50 hwaddr[14] == ':') in ishwaddr()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/core/ |
| H A D | rtw_sta_mgt.c | 454 struct sta_info *rtw_alloc_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in rtw_alloc_stainfo() argument 489 _rtw_memcpy(psta->hwaddr, hwaddr, ETH_ALEN); in rtw_alloc_stainfo() 491 index = wifi_mac_hash(hwaddr); in rtw_alloc_stainfo() 519 pstapriv->asoc_sta_count , hwaddr[0], hwaddr[1], hwaddr[2], hwaddr[3], hwaddr[4], hwaddr[5])); in rtw_alloc_stainfo() 599 … hwaddr = 0x%.2x 0x%.2x 0x%.2x 0x%.2x 0x%.2x 0x%.2x\n", pstapriv->asoc_sta_count , psta->hwaddr[0], in rtw_free_stainfo() 600 psta->hwaddr[1], psta->hwaddr[2], psta->hwaddr[3], psta->hwaddr[4], psta->hwaddr[5])); in rtw_free_stainfo() 715 if (!((psta->state & WIFI_AP_STATE) || MacAddr_isBcst(psta->hwaddr))) in rtw_free_stainfo() 844 struct sta_info *rtw_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in rtw_get_stainfo() argument 861 if (hwaddr == NULL) in rtw_get_stainfo() 864 if (IS_MCAST(hwaddr)) in rtw_get_stainfo() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/core/ |
| H A D | rtw_sta_mgt.c | 457 struct sta_info *rtw_alloc_stainfo(struct sta_priv *pstapriv, const u8 *hwaddr) in rtw_alloc_stainfo() argument 495 _rtw_memcpy(psta->hwaddr, hwaddr, ETH_ALEN); in rtw_alloc_stainfo() 497 index = wifi_mac_hash(hwaddr); in rtw_alloc_stainfo() 527 pstapriv->asoc_sta_count , hwaddr[0], hwaddr[1], hwaddr[2],hwaddr[3],hwaddr[4],hwaddr[5])); in rtw_alloc_stainfo() 609 …stapriv->asoc_sta_count , psta->hwaddr[0], psta->hwaddr[1], psta->hwaddr[2],psta->hwaddr[3],psta->… in rtw_free_stainfo() 861 struct sta_info *rtw_get_stainfo(struct sta_priv *pstapriv, const u8 *hwaddr) in rtw_get_stainfo() argument 878 if(hwaddr==NULL) in rtw_get_stainfo() 881 if(IS_MCAST((unsigned char *)hwaddr)) in rtw_get_stainfo() 887 addr = hwaddr; in rtw_get_stainfo() 903 if ((_rtw_memcmp(psta->hwaddr, addr, ETH_ALEN))== _TRUE) in rtw_get_stainfo()
|
| /OK3568_Linux_fs/kernel/drivers/staging/rtl8712/ |
| H A D | rtl871x_sta_mgt.c | 89 struct sta_info *r8712_alloc_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in r8712_alloc_stainfo() argument 107 memcpy(psta->hwaddr, hwaddr, ETH_ALEN); in r8712_alloc_stainfo() 108 index = wifi_mac_hash(hwaddr); in r8712_alloc_stainfo() 218 struct sta_info *r8712_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in r8712_get_stainfo() argument 225 if (!hwaddr) in r8712_get_stainfo() 227 index = wifi_mac_hash(hwaddr); in r8712_get_stainfo() 233 if ((!memcmp(psta->hwaddr, hwaddr, ETH_ALEN))) { in r8712_get_stainfo()
|
| /OK3568_Linux_fs/kernel/drivers/bus/ |
| H A D | sunxi-rsb.c | 117 u16 hwaddr; member 199 struct device_node *node, u16 hwaddr, u8 rtaddr) in sunxi_rsb_device_create() argument 209 rdev->hwaddr = hwaddr; in sunxi_rsb_device_create() 216 dev_set_name(&rdev->dev, "%s-%x", RSB_CTRL_NAME, hwaddr); in sunxi_rsb_device_create() 551 static u8 sunxi_rsb_get_rtaddr(u16 hwaddr) in sunxi_rsb_get_rtaddr() argument 556 if (hwaddr == sunxi_rsb_addr_maps[i].hwaddr) in sunxi_rsb_get_rtaddr() 566 u32 hwaddr; in of_rsb_register_devices() local 578 ret = of_property_read_u32(child, "reg", &hwaddr); in of_rsb_register_devices() 585 rtaddr = sunxi_rsb_get_rtaddr(hwaddr); in of_rsb_register_devices() 599 writel(RSB_DAR_RTA(rtaddr) | RSB_DAR_DA(hwaddr), in of_rsb_register_devices() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/ |
| H A D | rtw_sta_mgt.c | 510 const u8 *hwaddr) in _rtw_alloc_core_stainfo() argument 553 index = wifi_mac_hash(hwaddr); in _rtw_alloc_core_stainfo() 650 static void _rtw_alloc_phl_stainfo(struct sta_info *sta, struct sta_priv *stapriv, const u8 *hwaddr) in _rtw_alloc_phl_stainfo() argument 660 (u8 *)hwaddr, wrole, in _rtw_alloc_phl_stainfo() 670 MAC_ARG(hwaddr), in _rtw_alloc_phl_stainfo() 676 struct sta_info *rtw_alloc_stainfo(struct sta_priv *stapriv, const u8 *hwaddr) in rtw_alloc_stainfo() argument 680 sta = _rtw_alloc_core_stainfo(stapriv, hwaddr); in rtw_alloc_stainfo() 683 _rtw_alloc_phl_stainfo(sta, stapriv, hwaddr); in rtw_alloc_stainfo() 962 u8 hwaddr[ETH_ALEN] = {0}; in _rtw_free_phl_stainfo() local 966 _rtw_memcpy(hwaddr, sta->phl_sta->mac_addr, ETH_ALEN); in _rtw_free_phl_stainfo() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/ |
| H A D | rtw_sta_mgt.c | 510 const u8 *hwaddr) in _rtw_alloc_core_stainfo() argument 553 index = wifi_mac_hash(hwaddr); in _rtw_alloc_core_stainfo() 650 static void _rtw_alloc_phl_stainfo(struct sta_info *sta, struct sta_priv *stapriv, const u8 *hwaddr) in _rtw_alloc_phl_stainfo() argument 660 (u8 *)hwaddr, wrole, in _rtw_alloc_phl_stainfo() 670 MAC_ARG(hwaddr), in _rtw_alloc_phl_stainfo() 676 struct sta_info *rtw_alloc_stainfo(struct sta_priv *stapriv, const u8 *hwaddr) in rtw_alloc_stainfo() argument 680 sta = _rtw_alloc_core_stainfo(stapriv, hwaddr); in rtw_alloc_stainfo() 683 _rtw_alloc_phl_stainfo(sta, stapriv, hwaddr); in rtw_alloc_stainfo() 962 u8 hwaddr[ETH_ALEN] = {0}; in _rtw_free_phl_stainfo() local 966 _rtw_memcpy(hwaddr, sta->phl_sta->mac_addr, ETH_ALEN); in _rtw_free_phl_stainfo() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/amd/ |
| H A D | sun3lance.c | 129 unsigned char hwaddr[6]; /* Physical ethernet address */ member 384 MEM->init.hwaddr[0] = dev->dev_addr[1]; in lance_probe() 385 MEM->init.hwaddr[1] = dev->dev_addr[0]; in lance_probe() 386 MEM->init.hwaddr[2] = dev->dev_addr[3]; in lance_probe() 387 MEM->init.hwaddr[3] = dev->dev_addr[2]; in lance_probe() 388 MEM->init.hwaddr[4] = dev->dev_addr[5]; in lance_probe() 389 MEM->init.hwaddr[5] = dev->dev_addr[4]; in lance_probe() 484 MEM->init.hwaddr[0] = dev->dev_addr[1]; in lance_init_ring() 485 MEM->init.hwaddr[1] = dev->dev_addr[0]; in lance_init_ring() 486 MEM->init.hwaddr[2] = dev->dev_addr[3]; in lance_init_ring() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/core/ |
| H A D | rtw_sta_mgt.c | 422 struct sta_info *rtw_alloc_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in rtw_alloc_stainfo() argument 452 _rtw_memcpy(psta->cmn.mac_addr, hwaddr, ETH_ALEN); in rtw_alloc_stainfo() 454 index = wifi_mac_hash(hwaddr); in rtw_alloc_stainfo() 811 struct sta_info *rtw_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in rtw_get_stainfo() argument 827 if (hwaddr == NULL) in rtw_get_stainfo() 830 if (IS_MCAST(hwaddr)) in rtw_get_stainfo() 833 addr = hwaddr; in rtw_get_stainfo() 997 struct sta_info *rtw_pre_link_sta_add(struct sta_priv *stapriv, u8 *hwaddr) in rtw_pre_link_sta_add() argument 1006 if (rtw_check_invalid_mac_address(hwaddr, _FALSE) == _TRUE) in rtw_pre_link_sta_add() 1012 && _rtw_memcmp(pre_link_sta_ctl->node[i].addr, hwaddr, ETH_ALEN) == _TRUE in rtw_pre_link_sta_add() [all …]
|
| /OK3568_Linux_fs/kernel/net/mac802154/ |
| H A D | llsec.c | 102 sec->params.hwaddr = params->hwaddr; in mac802154_llsec_set_params() 299 static u64 llsec_dev_hash_long(__le64 hwaddr) in llsec_dev_hash_long() argument 301 return (__force u64)hwaddr; in llsec_dev_hash_long() 321 llsec_dev_find_long(struct mac802154_llsec *sec, __le64 hwaddr) in llsec_dev_find_long() argument 324 u64 key = llsec_dev_hash_long(hwaddr); in llsec_dev_find_long() 327 if (dev->dev.hwaddr == hwaddr) in llsec_dev_find_long() 355 u64 hwkey = llsec_dev_hash_long(dev->hwaddr); in mac802154_llsec_dev_add() 361 llsec_dev_find_long(sec, dev->hwaddr)) in mac802154_llsec_dev_add() 621 llsec_geniv(iv, sec->params.hwaddr, &hdr->sec); in llsec_do_encrypt_unauth() 659 llsec_geniv(iv, sec->params.hwaddr, &hdr->sec); in llsec_do_encrypt_auth() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/core/ |
| H A D | rtw_sta_mgt.c | 516 struct sta_info *rtw_alloc_stainfo(struct sta_priv *pstapriv, const u8 *hwaddr) in rtw_alloc_stainfo() argument 546 _rtw_memcpy(psta->cmn.mac_addr, hwaddr, ETH_ALEN); in rtw_alloc_stainfo() 548 index = wifi_mac_hash(hwaddr); in rtw_alloc_stainfo() 949 struct sta_info *rtw_get_stainfo(struct sta_priv *pstapriv, const u8 *hwaddr) in rtw_get_stainfo() argument 965 if (hwaddr == NULL) in rtw_get_stainfo() 968 if (IS_MCAST(hwaddr)) in rtw_get_stainfo() 971 addr = hwaddr; in rtw_get_stainfo() 1223 struct sta_info *rtw_pre_link_sta_add(struct sta_priv *stapriv, u8 *hwaddr) in rtw_pre_link_sta_add() argument 1232 if (rtw_check_invalid_mac_address(hwaddr, _FALSE) == _TRUE) in rtw_pre_link_sta_add() 1238 && _rtw_memcmp(pre_link_sta_ctl->node[i].addr, hwaddr, ETH_ALEN) == _TRUE in rtw_pre_link_sta_add() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/core/ |
| H A D | rtw_sta_mgt.c | 507 struct sta_info *rtw_alloc_stainfo(struct sta_priv *pstapriv, const u8 *hwaddr) in rtw_alloc_stainfo() argument 537 _rtw_memcpy(psta->cmn.mac_addr, hwaddr, ETH_ALEN); in rtw_alloc_stainfo() 539 index = wifi_mac_hash(hwaddr); in rtw_alloc_stainfo() 927 struct sta_info *rtw_get_stainfo(struct sta_priv *pstapriv, const u8 *hwaddr) in rtw_get_stainfo() argument 943 if (hwaddr == NULL) in rtw_get_stainfo() 946 if (IS_MCAST(hwaddr)) in rtw_get_stainfo() 949 addr = hwaddr; in rtw_get_stainfo() 1202 struct sta_info *rtw_pre_link_sta_add(struct sta_priv *stapriv, u8 *hwaddr) in rtw_pre_link_sta_add() argument 1211 if (rtw_check_invalid_mac_address(hwaddr, _FALSE) == _TRUE) in rtw_pre_link_sta_add() 1217 && _rtw_memcmp(pre_link_sta_ctl->node[i].addr, hwaddr, ETH_ALEN) == _TRUE in rtw_pre_link_sta_add() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/core/ |
| H A D | rtw_sta_mgt.c | 506 struct sta_info *rtw_alloc_stainfo(struct sta_priv *pstapriv, const u8 *hwaddr) in rtw_alloc_stainfo() argument 536 _rtw_memcpy(psta->cmn.mac_addr, hwaddr, ETH_ALEN); in rtw_alloc_stainfo() 538 index = wifi_mac_hash(hwaddr); in rtw_alloc_stainfo() 907 struct sta_info *rtw_get_stainfo(struct sta_priv *pstapriv, const u8 *hwaddr) in rtw_get_stainfo() argument 923 if (hwaddr == NULL) in rtw_get_stainfo() 926 if (IS_MCAST(hwaddr)) in rtw_get_stainfo() 929 addr = hwaddr; in rtw_get_stainfo() 1182 struct sta_info *rtw_pre_link_sta_add(struct sta_priv *stapriv, u8 *hwaddr) in rtw_pre_link_sta_add() argument 1191 if (rtw_check_invalid_mac_address(hwaddr, _FALSE) == _TRUE) in rtw_pre_link_sta_add() 1197 && _rtw_memcmp(pre_link_sta_ctl->node[i].addr, hwaddr, ETH_ALEN) == _TRUE in rtw_pre_link_sta_add() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/core/ |
| H A D | rtw_sta_mgt.c | 509 struct sta_info *rtw_alloc_stainfo(struct sta_priv *pstapriv, const u8 *hwaddr) in rtw_alloc_stainfo() argument 539 _rtw_memcpy(psta->cmn.mac_addr, hwaddr, ETH_ALEN); in rtw_alloc_stainfo() 541 index = wifi_mac_hash(hwaddr); in rtw_alloc_stainfo() 914 struct sta_info *rtw_get_stainfo(struct sta_priv *pstapriv, const u8 *hwaddr) in rtw_get_stainfo() argument 930 if (hwaddr == NULL) in rtw_get_stainfo() 933 if (IS_MCAST(hwaddr)) in rtw_get_stainfo() 936 addr = hwaddr; in rtw_get_stainfo() 1189 struct sta_info *rtw_pre_link_sta_add(struct sta_priv *stapriv, u8 *hwaddr) in rtw_pre_link_sta_add() argument 1198 if (rtw_check_invalid_mac_address(hwaddr, _FALSE) == _TRUE) in rtw_pre_link_sta_add() 1204 && _rtw_memcmp(pre_link_sta_ctl->node[i].addr, hwaddr, ETH_ALEN) == _TRUE in rtw_pre_link_sta_add() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/core/ |
| H A D | rtw_sta_mgt.c | 512 struct sta_info *rtw_alloc_stainfo(struct sta_priv *pstapriv, const u8 *hwaddr) in rtw_alloc_stainfo() argument 542 _rtw_memcpy(psta->cmn.mac_addr, hwaddr, ETH_ALEN); in rtw_alloc_stainfo() 544 index = wifi_mac_hash(hwaddr); in rtw_alloc_stainfo() 945 struct sta_info *rtw_get_stainfo(struct sta_priv *pstapriv, const u8 *hwaddr) in rtw_get_stainfo() argument 961 if (hwaddr == NULL) in rtw_get_stainfo() 964 if (IS_MCAST(hwaddr)) in rtw_get_stainfo() 967 addr = hwaddr; in rtw_get_stainfo() 1219 struct sta_info *rtw_pre_link_sta_add(struct sta_priv *stapriv, u8 *hwaddr) in rtw_pre_link_sta_add() argument 1228 if (rtw_check_invalid_mac_address(hwaddr, _FALSE) == _TRUE) in rtw_pre_link_sta_add() 1234 && _rtw_memcmp(pre_link_sta_ctl->node[i].addr, hwaddr, ETH_ALEN) == _TRUE in rtw_pre_link_sta_add() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/core/ |
| H A D | rtw_sta_mgt.c | 516 struct sta_info *rtw_alloc_stainfo(struct sta_priv *pstapriv, const u8 *hwaddr) in rtw_alloc_stainfo() argument 546 _rtw_memcpy(psta->cmn.mac_addr, hwaddr, ETH_ALEN); in rtw_alloc_stainfo() 548 index = wifi_mac_hash(hwaddr); in rtw_alloc_stainfo() 949 struct sta_info *rtw_get_stainfo(struct sta_priv *pstapriv, const u8 *hwaddr) in rtw_get_stainfo() argument 965 if (hwaddr == NULL) in rtw_get_stainfo() 968 if (IS_MCAST(hwaddr)) in rtw_get_stainfo() 971 addr = hwaddr; in rtw_get_stainfo() 1223 struct sta_info *rtw_pre_link_sta_add(struct sta_priv *stapriv, u8 *hwaddr) in rtw_pre_link_sta_add() argument 1232 if (rtw_check_invalid_mac_address(hwaddr, _FALSE) == _TRUE) in rtw_pre_link_sta_add() 1238 && _rtw_memcmp(pre_link_sta_ctl->node[i].addr, hwaddr, ETH_ALEN) == _TRUE in rtw_pre_link_sta_add() [all …]
|