Home
last modified time | relevance | path

Searched refs:extended_addr (Results 1 – 20 of 20) sorted by relevance

/linux-6.1.9/net/mac802154/
Diface.c39 params.hwaddr = wpan_dev->extended_addr; in mac802154_wpan_update_llsec()
115 __le64 extended_addr; in mac802154_wpan_mac_addr() local
128 ieee802154_be64_to_le64(&extended_addr, addr->sa_data); in mac802154_wpan_mac_addr()
129 if (!ieee802154_is_valid_extended_unicast_addr(extended_addr)) in mac802154_wpan_mac_addr()
133 sdata->wpan_dev.extended_addr = extended_addr; in mac802154_wpan_mac_addr()
162 ret = drv_set_extended_addr(local, wpan_dev->extended_addr); in ieee802154_setup_hw()
239 wpan_dev->extended_addr != nwpan_dev->extended_addr) in ieee802154_check_mac_settings()
390 hdr.source.extended_addr = wpan_dev->extended_addr; in ieee802154_header_create()
455 ieee802154_be64_to_le64(&hdr.dest.extended_addr, daddr); in mac802154_header_create()
461 hdr.source.extended_addr = wpan_dev->extended_addr; in mac802154_header_create()
[all …]
Dtrace.h187 TP_PROTO(struct ieee802154_local *local, __le64 extended_addr),
188 TP_ARGS(local, extended_addr),
191 __field(__le64, extended_addr)
195 __entry->extended_addr = extended_addr;
198 le64_to_cpu(__entry->extended_addr))
Dcfg.c87 enum nl802154_iftype type, __le64 extended_addr) in ieee802154_add_iface() argument
93 extended_addr); in ieee802154_add_iface()
407 __le64 extended_addr) in ieee802154_del_device() argument
414 res = mac802154_llsec_dev_del(&sdata->sec, extended_addr); in ieee802154_del_device()
422 __le64 extended_addr, in ieee802154_add_devkey() argument
430 res = mac802154_llsec_devkey_add(&sdata->sec, extended_addr, key); in ieee802154_add_devkey()
438 __le64 extended_addr, in ieee802154_del_devkey() argument
446 res = mac802154_llsec_devkey_del(&sdata->sec, extended_addr, key); in ieee802154_del_devkey()
Ddriver-ops.h163 drv_set_extended_addr(struct ieee802154_local *local, __le64 extended_addr) in drv_set_extended_addr() argument
175 filt.ieee_addr = extended_addr; in drv_set_extended_addr()
177 trace_802154_drv_set_extended_addr(local, extended_addr); in drv_set_extended_addr()
Drx.c58 else if (mac_cb(skb)->dest.extended_addr == wpan_dev->extended_addr) in ieee802154_subif_frame()
125 u64 hw = swab64((__force u64)addr->extended_addr); in ieee802154_print_addr()
Dieee802154_i.h178 __le64 extended_addr);
Dllsec.c531 addr->extended_addr = sec->params.coord_hwaddr; in llsec_recover_addr()
555 devaddr.extended_addr = sec->params.coord_hwaddr; in llsec_lookup_key()
795 u64 key = llsec_dev_hash_long(devaddr.extended_addr); in llsec_lookup_dev()
799 if (dev->dev.hwaddr == devaddr.extended_addr) in llsec_lookup_dev()
/linux-6.1.9/net/ieee802154/
Drdev-ops.h50 enum nl802154_iftype type, __le64 extended_addr) in rdev_add_virtual_intf() argument
55 extended_addr); in rdev_add_virtual_intf()
58 extended_addr); in rdev_add_virtual_intf()
297 struct wpan_dev *wpan_dev, __le64 extended_addr) in rdev_del_device() argument
299 return rdev->ops->del_device(&rdev->wpan_phy, wpan_dev, extended_addr); in rdev_del_device()
304 struct wpan_dev *wpan_dev, __le64 extended_addr, in rdev_add_devkey() argument
307 return rdev->ops->add_devkey(&rdev->wpan_phy, wpan_dev, extended_addr, in rdev_add_devkey()
313 struct wpan_dev *wpan_dev, __le64 extended_addr, in rdev_del_devkey() argument
316 return rdev->ops->del_devkey(&rdev->wpan_phy, wpan_dev, extended_addr, in rdev_del_devkey()
Dtrace.h68 enum nl802154_iftype type, __le64 extended_addr),
69 TP_ARGS(wpan_phy, name, type, extended_addr),
74 __field(__le64, extended_addr)
80 __entry->extended_addr = extended_addr;
84 __le64_to_cpu(__entry->extended_addr))
Dnl802154.c698 desc->device_addr.extended_addr, in ieee802154_llsec_send_key_id()
798 wpan_dev->extended_addr, in nl802154_send_iface()
907 __le64 extended_addr = cpu_to_le64(0x0000000000000000ULL); in nl802154_new_interface() local
924 extended_addr = nla_get_le64(info->attrs[NL802154_ATTR_EXTENDED_ADDR]); in nl802154_new_interface()
931 NET_NAME_USER, type, extended_addr); in nl802154_new_interface()
1315 addr->extended_addr = nla_get_le64(attrs[NL802154_DEV_ADDR_ATTR_EXTENDED]); in ieee802154_llsec_parse_dev_addr()
1788 __le64 extended_addr; in nl802154_del_llsec_dev() local
1800 extended_addr = nla_get_le64(attrs[NL802154_DEV_ATTR_EXTENDED_ADDR]); in nl802154_del_llsec_dev()
1801 return rdev_del_device(rdev, wpan_dev, extended_addr); in nl802154_del_llsec_dev()
1807 struct net_device *dev, __le64 extended_addr, in nl802154_send_devkey() argument
[all …]
Dheader_ops.c35 memcpy(buf + pos, &addr->extended_addr, IEEE802154_ADDR_LEN); in ieee802154_hdr_push_addr()
143 memcpy(&addr->extended_addr, buf + pos, IEEE802154_ADDR_LEN); in ieee802154_hdr_get_addr()
Dnl-mac.c195 addr.extended_addr = nla_get_hwaddr( in ieee802154_associate_req()
238 addr.extended_addr = nla_get_hwaddr( in ieee802154_associate_resp()
272 addr.extended_addr = nla_get_hwaddr( in ieee802154_disassociate_req()
567 desc->device_addr.extended_addr = nla_get_hwaddr(info->attrs[IEEE802154_ATTR_HW_ADDR]); in ieee802154_llsec_parse_key_id()
621 desc->device_addr.extended_addr, in ieee802154_llsec_fill_key_id()
Dsocket.c41 ieee802154_devaddr_to_raw(hwaddr, addr->extended_addr); in ieee802154_get_dev()
784 hw_addr == ro->src_addr.extended_addr) in ieee802154_match_sock()
807 hw_addr = dev->ieee802154_ptr->extended_addr; in ieee802154_dgram_deliver()
/linux-6.1.9/include/net/
Dcfg802154.h45 __le64 extended_addr);
105 struct wpan_dev *wpan_dev, __le64 extended_addr);
108 __le64 extended_addr,
112 __le64 extended_addr,
245 __le64 extended_addr; member
354 __le64 extended_addr; member
Dieee802154_netdev.h161 a1->extended_addr != a2->extended_addr) || in ieee802154_addr_equal()
222 a->extended_addr = ieee802154_devaddr_from_raw(sa->hwaddr); in ieee802154_addr_from_sa()
238 ieee802154_devaddr_to_raw(sa->hwaddr, a->extended_addr); in ieee802154_addr_to_sa()
/linux-6.1.9/net/ieee802154/6lowpan/
Dtx.c76 ieee802154_be64_to_le64(&info->daddr.extended_addr, in lowpan_header_create()
90 info->saddr.extended_addr = wpan_dev->extended_addr; in lowpan_header_create()
94 ieee802154_be64_to_le64(&info->saddr.extended_addr, saddr); in lowpan_header_create()
/linux-6.1.9/net/6lowpan/
Diphc.c165 ieee802154_le64_to_be64(eui64, &addr->extended_addr); in lowpan_iphc_uncompress_802154_lladdr()
796 unsigned char extended_addr[EUI64_ADDR_LEN]; in lowpan_iphc_compress_ctx_802154_lladdr() local
802 ieee802154_le64_to_be64(&extended_addr, &addr->extended_addr); in lowpan_iphc_compress_ctx_802154_lladdr()
804 memcpy(&tmp.s6_addr[8], &extended_addr, EUI64_ADDR_LEN); in lowpan_iphc_compress_ctx_802154_lladdr()
909 unsigned char extended_addr[EUI64_ADDR_LEN]; in lowpan_iphc_compress_802154_lladdr() local
915 ieee802154_le64_to_be64(&extended_addr, &addr->extended_addr); in lowpan_iphc_compress_802154_lladdr()
916 if (is_addr_mac_addr_based(ipaddr, extended_addr)) in lowpan_iphc_compress_802154_lladdr()
/linux-6.1.9/drivers/net/ieee802154/
Datusb.c889 __le64 extended_addr; in atusb_set_extended_addr() local
910 memcpy(&extended_addr, buffer, IEEE802154_EXTENDED_ADDR_LEN); in atusb_set_extended_addr()
912 if (!ieee802154_is_valid_extended_unicast_addr(extended_addr)) { in atusb_set_extended_addr()
916 atusb->hw->phy->perm_extended_addr = extended_addr; in atusb_set_extended_addr()
Dca8210.c1800 memcpy(&hdr.source.extended_addr, &data_ind[3], 8); in ca8210_skb_rx()
1805 memcpy(&hdr.dest.extended_addr, &data_ind[14], 8); in ca8210_skb_rx()
1930 (union macaddr *)&header.dest.extended_addr, in ca8210_skb_tx()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/pcie/
Dtrans.c735 bool extended_addr = false; in iwl_pcie_load_section() local
742 extended_addr = true; in iwl_pcie_load_section()
744 if (extended_addr) in iwl_pcie_load_section()
752 if (extended_addr) in iwl_pcie_load_section()