Home
last modified time | relevance | path

Searched refs:IEEE802154_EXT_ADDR_LENGTH (Results 1 – 9 of 9) sorted by relevance

/Zephyr-latest/subsys/net/l2/ieee802154/
Dieee802154_mgmt.c60 ctx->scan_ctx->len = IEEE802154_EXT_ADDR_LENGTH; in ieee802154_handle_beacon()
63 IEEE802154_EXT_ADDR_LENGTH); in ieee802154_handle_beacon()
251 ctx->linkaddr.len = IEEE802154_EXT_ADDR_LENGTH; in set_linkaddr_to_ext_addr()
252 sys_memcpy_swap(ctx->linkaddr.addr, ctx->ext_addr, IEEE802154_EXT_ADDR_LENGTH); in set_linkaddr_to_ext_addr()
369 IEEE802154_EXT_ADDR_LENGTH); in ieee802154_handle_mac_command()
423 IEEE802154_EXT_ADDR_LENGTH)) { in ieee802154_handle_mac_command()
481 } else if (req->len == IEEE802154_EXT_ADDR_LENGTH) { in ieee802154_associate()
554 sys_memcpy_swap(ctx->coord_ext_addr, req->addr, IEEE802154_EXT_ADDR_LENGTH); in ieee802154_associate()
597 uint8_t ext_addr_le[IEEE802154_EXT_ADDR_LENGTH]; in ieee802154_associate()
599 __ASSERT_NO_MSG(req->len == IEEE802154_EXT_ADDR_LENGTH); in ieee802154_associate()
[all …]
Dieee802154_shell.c75 return net_bytes_from_str(ext_addr, IEEE802154_EXT_ADDR_LENGTH, addr); in parse_extended_address()
110 params.len = IEEE802154_EXT_ADDR_LENGTH; in cmd_ieee802154_associate()
193 if (params.len == IEEE802154_EXT_ADDR_LENGTH) { in print_coordinator_address()
198 for (i = 0; i < IEEE802154_EXT_ADDR_LENGTH; i++) { in print_coordinator_address()
431 uint8_t addr[IEEE802154_EXT_ADDR_LENGTH]; /* in big endian */ in cmd_ieee802154_set_ext_addr()
457 addr, IEEE802154_EXT_ADDR_LENGTH)) { in cmd_ieee802154_set_ext_addr()
474 uint8_t addr[IEEE802154_EXT_ADDR_LENGTH]; /* in big endian */ in cmd_ieee802154_get_ext_addr()
483 addr, IEEE802154_EXT_ADDR_LENGTH)) { in cmd_ieee802154_get_ext_addr()
491 for (i = 0; i < IEEE802154_EXT_ADDR_LENGTH; i++) { in cmd_ieee802154_get_ext_addr()
Dieee802154_frame.c119 len += IEEE802154_EXT_ADDR_LENGTH; in validate_addr()
227 (pas->nb_eap * IEEE802154_EXT_ADDR_LENGTH); in ieee802514_beacon_header_length()
556 if (dst->len == IEEE802154_EXT_ADDR_LENGTH) { in get_dst_addr_mode()
580 __ASSERT_NO_MSG(dst->len == IEEE802154_EXT_ADDR_LENGTH); in data_addr_to_fs_settings()
582 params->dst.len = IEEE802154_EXT_ADDR_LENGTH; in data_addr_to_fs_settings()
615 IEEE802154_EXT_ADDR_LENGTH); in generate_addressing_fields()
616 p_buf += IEEE802154_EXT_ADDR_LENGTH; in generate_addressing_fields()
639 memcpy(src_addr->ext_addr, ctx->ext_addr, IEEE802154_EXT_ADDR_LENGTH); in generate_addressing_fields()
640 p_buf += IEEE802154_EXT_ADDR_LENGTH; in generate_addressing_fields()
697 uint8_t ext_addr_le[IEEE802154_EXT_ADDR_LENGTH]; in ieee802154_create_data_frame()
[all …]
Dieee802154.c258 addr->len = IEEE802154_EXT_ADDR_LENGTH; in swap_and_set_pkt_ll_addr()
338 IEEE802154_EXT_ADDR_LENGTH) != 0) { in ieee802154_check_dst_addr()
647 sys_memcpy_swap(ctx->ext_addr, eui64_be, IEEE802154_EXT_ADDR_LENGTH); in ieee802154_init()
655 ctx->linkaddr.len = IEEE802154_EXT_ADDR_LENGTH; in ieee802154_init()
656 memcpy(ctx->linkaddr.addr, eui64_be, IEEE802154_EXT_ADDR_LENGTH); in ieee802154_init()
673 sys_memcpy_swap(ctx->ext_addr, eui64_be, IEEE802154_EXT_ADDR_LENGTH); in ieee802154_init()
Dieee802154_security.c148 memcpy(nonce, src_ext_addr, IEEE802154_EXT_ADDR_LENGTH); in ieee802154_decrypt_auth()
191 memcpy(nonce, src_ext_addr, IEEE802154_EXT_ADDR_LENGTH); in ieee802154_encrypt_auth()
Dieee802154_frame.h455 uint8_t ext_addr[IEEE802154_EXT_ADDR_LENGTH]; /* in big endian */
/Zephyr-latest/include/zephyr/net/
Dieee802154.h144 #define IEEE802154_EXT_ADDR_LENGTH 8 macro
147 #define IEEE802154_MAX_ADDR_LENGTH IEEE802154_EXT_ADDR_LENGTH
/Zephyr-latest/tests/net/ieee802154/l2/src/
Dieee802154_shell_test.c66 zassert_equal(scan_ctx->len, IEEE802154_EXT_ADDR_LENGTH, in scan_result_cb()
68 zassert_mem_equal(scan_ctx->addr, expected_coordinator_address, IEEE802154_EXT_ADDR_LENGTH); in scan_result_cb()
277 .len = IEEE802154_EXT_ADDR_LENGTH, in ZTEST()
321 uint8_t empty_coord_addr[IEEE802154_EXT_ADDR_LENGTH] = {0}; in ZTEST()
323 uint8_t mock_ext_addr_le[IEEE802154_EXT_ADDR_LENGTH]; in ZTEST()
366 uint8_t empty_coord_addr[IEEE802154_EXT_ADDR_LENGTH] = {0}; in ZTEST()
368 uint8_t mock_ext_addr_le[IEEE802154_EXT_ADDR_LENGTH]; in ZTEST()
371 .len = IEEE802154_EXT_ADDR_LENGTH, in ZTEST()
Dieee802154_test.c777 uint8_t our_ext_addr[IEEE802154_EXT_ADDR_LENGTH]; /* big endian */ in test_dgram_packet_reception()
817 src_ll_addr_len == IEEE802154_EXT_ADDR_LENGTH) { in test_dgram_packet_reception()
844 } else if (src_ll_addr_len == IEEE802154_EXT_ADDR_LENGTH) { in test_dgram_packet_reception()
1149 sys_memcpy_swap(mac_be, ctx->ext_addr, IEEE802154_EXT_ADDR_LENGTH); in test_recv_and_send_ack_reply()
1153 recv_src_sll.sll_halen != IEEE802154_EXT_ADDR_LENGTH || in test_recv_and_send_ack_reply()
1154 memcmp(recv_src_sll.sll_addr, mac_be, IEEE802154_EXT_ADDR_LENGTH)) { in test_recv_and_send_ack_reply()