Home
last modified time | relevance | path

Searched refs:IEEE802154_SHORT_ADDR_LENGTH (Results 1 – 6 of 6) sorted by relevance

/Zephyr-Core-3.5.0/subsys/net/l2/ieee802154/
Dieee802154_frame.c116 len += IEEE802154_SHORT_ADDR_LENGTH; in validate_addr()
224 len += (pas->nb_sap * IEEE802154_SHORT_ADDR_LENGTH) + in validate_beacon()
458 hdr_len += broadcast ? IEEE802154_SHORT_ADDR_LENGTH : dst->len; in ieee802154_compute_header_and_authtag_len()
545 if (dst->len == IEEE802154_SHORT_ADDR_LENGTH) { in get_dst_addr_mode()
571 params->dst.len = IEEE802154_SHORT_ADDR_LENGTH; in data_addr_to_fs_settings()
573 } else if (dst->len == IEEE802154_SHORT_ADDR_LENGTH) { in data_addr_to_fs_settings()
575 params->dst.len = IEEE802154_SHORT_ADDR_LENGTH; in data_addr_to_fs_settings()
608 p_buf += IEEE802154_SHORT_ADDR_LENGTH; in generate_addressing_fields()
634 p_buf += IEEE802154_SHORT_ADDR_LENGTH; in generate_addressing_fields()
688 if (src->addr && src->len == IEEE802154_SHORT_ADDR_LENGTH) { in ieee802154_create_data_frame()
[all …]
Dieee802154_mgmt.c57 ctx->scan_ctx->len = IEEE802154_SHORT_ADDR_LENGTH; in ieee802154_handle_beacon()
124 params.dst.len = IEEE802154_SHORT_ADDR_LENGTH; in ieee802154_scan()
268 ctx->linkaddr.len = IEEE802154_SHORT_ADDR_LENGTH; in set_association()
270 memcpy(ctx->linkaddr.addr, &short_addr_be, IEEE802154_SHORT_ADDR_LENGTH); in set_association()
466 if (req->len == IEEE802154_SHORT_ADDR_LENGTH) { in ieee802154_associate()
538 if (req->len == IEEE802154_SHORT_ADDR_LENGTH) { in ieee802154_associate()
579 if (req->len == IEEE802154_SHORT_ADDR_LENGTH && in ieee802154_associate()
650 params.dst.len = IEEE802154_SHORT_ADDR_LENGTH; in ieee802154_disassociate()
Dieee802154_shell.c113 params.len = IEEE802154_SHORT_ADDR_LENGTH; in cmd_ieee802154_associate()
Dieee802154.c263 addr->len = IEEE802154_SHORT_ADDR_LENGTH; in swap_and_set_pkt_ll_addr()
/Zephyr-Core-3.5.0/include/zephyr/net/
Dieee802154.h137 #define IEEE802154_SHORT_ADDR_LENGTH 2 macro
/Zephyr-Core-3.5.0/tests/net/ieee802154/l2/src/
Dieee802154_test.c275 if (ctx->linkaddr.len != IEEE802154_SHORT_ADDR_LENGTH) { in tear_down_short_addr()
713 bool bind_short_address = pkt_dst_sll.sll_halen == IEEE802154_SHORT_ADDR_LENGTH && in test_dgram_packet_sending()
818 if (src_ll_addr_len == IEEE802154_SHORT_ADDR_LENGTH || in test_dgram_packet_reception()
844 if (src_ll_addr_len == IEEE802154_SHORT_ADDR_LENGTH) { in test_dgram_packet_reception()
856 if (src_ll_addr_len == IEEE802154_SHORT_ADDR_LENGTH) { in test_dgram_packet_reception()