Home
last modified time | relevance | path

Searched refs:frame_buf (Results 1 – 10 of 10) sorted by relevance

/Zephyr-latest/subsys/net/l2/ieee802154/
Dieee802154.c476 static struct net_buf *frame_buf; in ieee802154_send() local
485 if (frame_buf == NULL) { in ieee802154_send()
486 frame_buf = net_buf_alloc(&tx_frame_buf_pool, K_FOREVER); in ieee802154_send()
542 net_buf_reset(frame_buf); in ieee802154_send()
543 net_buf_add(frame_buf, ll_hdr_len); in ieee802154_send()
547 pkt_buf = ieee802154_6lo_fragment(&frag_ctx, frame_buf, true); in ieee802154_send()
549 net_buf_add_mem(frame_buf, pkt_buf->data, pkt_buf->len); in ieee802154_send()
557 net_buf_add_mem(frame_buf, pkt_buf->data, pkt_buf->len); in ieee802154_send()
561 __ASSERT_NO_MSG(authtag_len <= net_buf_tailroom(frame_buf)); in ieee802154_send()
562 net_buf_add(frame_buf, authtag_len); in ieee802154_send()
[all …]
Dieee802154_6lo_fragment.c129 static inline uint8_t copy_data(struct ieee802154_6lo_fragment_ctx *ctx, struct net_buf *frame_buf, in copy_data() argument
135 memcpy(frame_buf->data + frame_buf->len, ctx->pos, move); in copy_data()
136 net_buf_add(frame_buf, move); in copy_data()
181 struct net_buf *frame_buf, bool iphc) in ieee802154_6lo_fragment() argument
185 set_up_frag_hdr(frame_buf, ctx->pkt_size, ctx->offset); in ieee802154_6lo_fragment()
187 capacity = calc_payload_capacity(frame_buf); in ieee802154_6lo_fragment()
203 uint8_t moved = copy_data(ctx, frame_buf, capacity); in ieee802154_6lo_fragment()
Dieee802154_6lo_fragment.h57 struct net_buf *frame_buf, bool iphc);
/Zephyr-latest/tests/net/ieee802154/6lo_fragment/src/
Dmain.c461 static struct net_buf frame_buf = { variable
508 frame_buf.len = 0U; in test_fragment()
512 buf = ieee802154_6lo_fragment(&ctx, &frame_buf, data->iphc); in test_fragment()
514 dfrag = net_pkt_get_frag(f_pkt, frame_buf.len, K_FOREVER); in test_fragment()
519 memcpy(dfrag->data, frame_buf.data, frame_buf.len); in test_fragment()
520 dfrag->len = frame_buf.len; in test_fragment()
524 frame_buf.len = 0U; in test_fragment()
/Zephyr-latest/tests/net/ieee802154/l2/src/
Dieee802154_test.c784 struct net_buf *frame_buf; in test_dgram_packet_reception() local
825 frame_buf = net_pkt_get_frag(pkt, IEEE802154_MTU, K_FOREVER); in test_dgram_packet_reception()
826 if (!frame_buf) { in test_dgram_packet_reception()
835 net_buf_add(frame_buf, ll_hdr_len); in test_dgram_packet_reception()
836 net_buf_add_mem(frame_buf, payload, sizeof(payload)); in test_dgram_packet_reception()
837 net_buf_add(frame_buf, authtag_len); in test_dgram_packet_reception()
852 net_pkt_lladdr_src(pkt), frame_buf, ll_hdr_len); in test_dgram_packet_reception()
865 net_pkt_frag_add(pkt, frame_buf); in test_dgram_packet_reception()
988 struct net_buf *frame_buf; in test_raw_packet_reception() local
1009 frame_buf = net_pkt_get_frag(pkt, sizeof(raw_payload), K_FOREVER); in test_raw_packet_reception()
[all …]
/Zephyr-latest/drivers/wifi/infineon/
Dairoc_wifi.h62 uint8_t frame_buf[NET_ETH_MAX_FRAME_SIZE]; member
Dairoc_wifi.c299 if (net_pkt_read(pkt, data->frame_buf, pkt_len) < 0) { in airoc_mgmt_send()
315 (void)memcpy(buf->data, data->frame_buf, pkt_len); in airoc_mgmt_send()
/Zephyr-latest/drivers/misc/coresight/
Dnrf_etr.c89 static uint32_t *frame_buf = IS_ENABLED(CONFIG_NRF_ETR_DECODE) ? variable
570 frame_buf[i] = etr_buf[(etr_rd_idx + i) & wsize_mask]; in process()
576 memset(frame_buf, 0xff, CORESIGHT_TRACE_FRAME_SIZE); in process()
588 process_frame((uint8_t *)frame_buf, pending); in process()
593 dump_frame((uint8_t *)frame_buf); in process()
594 frame_buf = (use_async_uart && (frame_buf == frame_buf0)) ? in process()
/Zephyr-latest/drivers/wifi/esp32/src/
Desp_wifi_drv.c68 uint8_t frame_buf[NET_ETH_MAX_FRAME_SIZE]; member
99 if (net_pkt_read(pkt, data->frame_buf, pkt_len) < 0) { in esp32_wifi_send()
104 if (esp_wifi_internal_tx(ifx, (void *)data->frame_buf, pkt_len) != ESP_OK) { in esp32_wifi_send()
/Zephyr-latest/drivers/display/
Ddisplay_renesas_lcdc.c670 .layer.frame_buf = (uint32_t)buffer_ ## inst, \