Home
last modified time | relevance | path

Searched refs:sdu (Results 1 – 18 of 18) sorted by relevance

/Zephyr-Core-2.7.6/subsys/bluetooth/controller/ll_sw/
Disoal.c214 struct isoal_sdu_produced *sdu = &sink->sdu_production.sdu; in isoal_rx_allocate_sdu() local
224 &sdu->contents /* [out] Updated with pointer and size */ in isoal_rx_allocate_sdu()
229 sink->sdu_production.sdu_available = sdu->contents.size; in isoal_rx_allocate_sdu()
230 LL_ASSERT(sdu->contents.size > 0); in isoal_rx_allocate_sdu()
233 sdu->status = pdu_meta->meta->status; in isoal_rx_allocate_sdu()
234 sdu->timestamp = pdu_meta->meta->timestamp; in isoal_rx_allocate_sdu()
236 sdu->seqn = sink->session.seqn++; in isoal_rx_allocate_sdu()
245 struct isoal_sdu_produced *sdu = &sink->sdu_production.sdu; in isoal_rx_try_emit_sdu() local
282 sdu->status = sink->sdu_production.sdu_status; in isoal_rx_try_emit_sdu()
283 err = sink->session.sdu_emit(sink, sdu); in isoal_rx_try_emit_sdu()
[all …]
Disoal.h200 struct isoal_sdu_produced sdu; member
/Zephyr-Core-2.7.6/samples/bluetooth/iso_broadcast_benchmark/src/
Dbroadcaster.c74 .sdu = DEFAULT_BIS_SDU, /* bytes */
201 uint64_t sdu; in parse_sdu_arg() local
204 iso_tx_qos.sdu, DEFAULT_BIS_SDU); in parse_sdu_arg()
211 sdu = strtoul(buffer, NULL, 0); in parse_sdu_arg()
212 if (sdu > MIN(BT_ISO_MAX_SDU, sizeof(iso_data))) { in parse_sdu_arg()
213 printk("Invalid SDU %llu", sdu); in parse_sdu_arg()
217 return (int)sdu; in parse_sdu_arg()
297 int sdu; in parse_args() local
324 sdu = parse_sdu_arg(); in parse_args()
325 if (sdu < 0) { in parse_args()
[all …]
/Zephyr-Core-2.7.6/samples/bluetooth/iso_connected_benchmark/src/
Dmain.c72 .sdu = DEFAULT_CIS_SDU_SIZE, /* bytes */
78 .sdu = DEFAULT_CIS_SDU_SIZE, /* bytes */
163 net_buf_add_mem(buf, iso_data, iso_tx_qos.sdu); in iso_timer_timeout()
541 uint64_t sdu; in parse_sdu_arg() local
544 qos->sdu, DEFAULT_CIS_SDU_SIZE); in parse_sdu_arg()
551 sdu = strtoul(buffer, NULL, 0); in parse_sdu_arg()
552 if (sdu > MIN(BT_ISO_MAX_SDU, sizeof(iso_data)) || in parse_sdu_arg()
553 sdu < sizeof(uint32_t) /* room for the counter */) { in parse_sdu_arg()
554 printk("Invalid SDU %llu", sdu); in parse_sdu_arg()
558 return (int)sdu; in parse_sdu_arg()
[all …]
/Zephyr-Core-2.7.6/subsys/bluetooth/mesh/
Dhealth_srv.c112 NET_BUF_SIMPLE_DEFINE(sdu, BT_MESH_TX_SDU_MAX); in health_fault_get()
119 health_get_registered(model, company_id, &sdu); in health_fault_get()
121 if (bt_mesh_model_send(model, ctx, &sdu, NULL, NULL)) { in health_fault_get()
150 NET_BUF_SIMPLE_DEFINE(sdu, BT_MESH_TX_SDU_MAX); in health_fault_clear()
167 health_get_registered(model, company_id, &sdu); in health_fault_clear()
169 if (bt_mesh_model_send(model, ctx, &sdu, NULL, NULL)) { in health_fault_clear()
200 NET_BUF_SIMPLE_DEFINE(sdu, BT_MESH_TX_SDU_MAX); in health_fault_test()
222 health_get_registered(model, company_id, &sdu); in health_fault_test()
224 if (bt_mesh_model_send(model, ctx, &sdu, NULL, NULL)) { in health_fault_test()
Dfriend.c321 struct net_buf_simple *sdu) in create_friend_pdu() argument
346 net_buf_add_mem(buf, sdu->data, sdu->len); in create_friend_pdu()
423 struct net_buf_simple sdu; in unseg_app_sdu_encrypt() local
425 net_buf_simple_clone(&buf->b, &sdu); in unseg_app_sdu_encrypt()
426 net_buf_simple_pull(&sdu, BT_MESH_NET_HDR_LEN); in unseg_app_sdu_encrypt()
427 net_buf_simple_pull(&sdu, 1); in unseg_app_sdu_encrypt()
428 sdu.len -= BT_MESH_MIC_SHORT; in unseg_app_sdu_encrypt()
430 return bt_mesh_app_encrypt(meta->key, &meta->crypto, &sdu); in unseg_app_sdu_encrypt()
528 struct net_buf_simple *sdu) in encode_friend_ctl() argument
534 net_buf_simple_push_u8(sdu, TRANS_CTL_HDR(ctl_op, 0)); in encode_friend_ctl()
[all …]
Dtransport.c141 static int send_unseg(struct bt_mesh_net_tx *tx, struct net_buf_simple *sdu, in send_unseg() argument
163 net_buf_add_mem(buf, sdu->data, sdu->len); in send_unseg()
457 static int send_seg(struct bt_mesh_net_tx *net_tx, struct net_buf_simple *sdu, in send_seg() argument
468 net_tx->aszmic, sdu->len); in send_seg()
494 tx->seg_n = (sdu->len - 1) / seg_len(!!ctl_op); in send_seg()
496 tx->len = sdu->len; in send_seg()
526 for (seg_o = 0U; sdu->len; seg_o++) { in send_seg()
538 len = MIN(sdu->len, seg_len(!!ctl_op)); in send_seg()
539 memcpy(buf, net_buf_simple_pull_mem(sdu, len), len); in send_seg()
717 struct net_buf_simple *sdu; member
[all …]
Daccess.c183 NET_BUF_SIMPLE_DEFINE(sdu, BT_MESH_TX_SDU_MAX); in publish_transmit()
196 net_buf_simple_add_mem(&sdu, pub->msg->data, pub->msg->len); in publish_transmit()
198 return bt_mesh_trans_send(&tx, &sdu, &pub_sent_cb, mod); in publish_transmit()
Dcfg_srv.c118 NET_BUF_SIMPLE_DEFINE(sdu, BT_MESH_TX_SDU_MAX); in dev_comp_data_get()
132 bt_mesh_model_msg_init(&sdu, OP_DEV_COMP_DATA_STATUS); in dev_comp_data_get()
134 net_buf_simple_add_u8(&sdu, page); in dev_comp_data_get()
135 err = comp_get_page_0(&sdu); in dev_comp_data_get()
141 if (bt_mesh_model_send(model, ctx, &sdu, NULL, NULL)) { in dev_comp_data_get()
/Zephyr-Core-2.7.6/subsys/bluetooth/shell/
Diso.c55 .sdu = 40u, \
187 chans[0]->qos->tx->sdu = strtol(argv[6], NULL, 0); in cmd_cig_create()
191 chans[0]->qos->rx->sdu = strtol(argv[6], NULL, 0); in cmd_cig_create()
296 len = MIN(iso_chan.qos->tx->sdu, DATA_MTU - BT_ISO_CHAN_SEND_RESERVE); in cmd_send()
370 len = MIN(iso_chan.qos->tx->sdu, DATA_MTU - BT_ISO_CHAN_SEND_RESERVE); in cmd_broadcast()
407 bis_iso_qos.tx->sdu = CONFIG_BT_ISO_TX_MTU; in cmd_big_create()
/Zephyr-Core-2.7.6/drivers/ieee802154/
Dieee802154_cc13xx_cc26xx_subg.c447 uint8_t *sdu; in ieee802154_cc13xx_cc26xx_subg_rx_done() local
452 sdu = drv_data->rx_data[i] + 1; in ieee802154_cc13xx_cc26xx_subg_rx_done()
460 crc = crc16_ccitt(0, sdu, len); in ieee802154_cc13xx_cc26xx_subg_rx_done()
461 sdu[len++] = crc; in ieee802154_cc13xx_cc26xx_subg_rx_done()
462 sdu[len++] = crc >> 8; in ieee802154_cc13xx_cc26xx_subg_rx_done()
475 if (net_pkt_write(pkt, sdu, len)) { in ieee802154_cc13xx_cc26xx_subg_rx_done()
Dieee802154_cc13xx_cc26xx.c390 uint8_t *sdu; in ieee802154_cc13xx_cc26xx_rx_done() local
396 sdu = drv_data->rx_data[i] + 1; in ieee802154_cc13xx_cc26xx_rx_done()
421 if (net_pkt_write(pkt, sdu, len)) { in ieee802154_cc13xx_cc26xx_rx_done()
/Zephyr-Core-2.7.6/samples/bluetooth/peripheral_iso/src/
Dmain.c114 .sdu = CONFIG_BT_ISO_TX_MTU,
/Zephyr-Core-2.7.6/samples/bluetooth/iso_broadcast/src/
Dmain.c39 .sdu = 502, /* bytes */
/Zephyr-Core-2.7.6/include/bluetooth/
Diso.h107 uint16_t sdu; member
/Zephyr-Core-2.7.6/samples/bluetooth/central_iso/src/
Dmain.c148 .sdu = CONFIG_BT_ISO_TX_MTU,
/Zephyr-Core-2.7.6/subsys/bluetooth/host/
Diso.c681 if (io_qos->sdu > max_sdu) { in valid_chan_io_qos()
683 io_qos->sdu, max_sdu); in valid_chan_io_qos()
957 cis_param->c_sdu = sys_cpu_to_le16(qos->tx->sdu); in hci_le_set_cig_params()
968 cis_param->p_sdu = sys_cpu_to_le16(qos->rx->sdu); in hci_le_set_cig_params()
1505 req->max_sdu = sys_cpu_to_le16(qos->tx->sdu); in hci_le_create_big()
/Zephyr-Core-2.7.6/samples/bluetooth/iso_broadcast_benchmark/
DREADME.rst95 …Change settings (y/N)? (Current settings: rtn=2, interval=7500, latency=10, phy=2, sdu=251, packin…