Home
last modified time | relevance | path

Searched refs:chm (Results 1 – 25 of 26) sorted by relevance

12

/Zephyr-latest/tests/bluetooth/controller/ctrl_chmu/src/
Dmain.c61 uint8_t chm[5] = { 0x00, 0x04, 0x05, 0x06, 0x00 }; in ZTEST() local
69 .chm = { 0x00, 0x04, 0x05, 0x06, 0x00 }, in ZTEST()
81 err = ull_cp_chan_map_update(&conn, chm); in ZTEST()
134 zassert_mem_equal(conn.lll.data_chan_map, chm, sizeof(conn.lll.data_chan_map), in ZTEST()
143 uint8_t chm[5] = { 0x00, 0x04, 0x05, 0x06, 0x00 }; in ZTEST() local
151 .chm = { 0x00, 0x04, 0x05, 0x06, 0x00 }, in ZTEST()
160 err = ull_cp_chan_map_update(&conn, chm); in ZTEST()
214 uint8_t chm[5] = { 0x00, 0x04, 0x05, 0x06, 0x00 }; in ZTEST() local
218 .chm = { 0x00, 0x04, 0x05, 0x06, 0x00 }, in ZTEST()
276 zassert_mem_equal(conn.lll.data_chan_map, chm, sizeof(conn.lll.data_chan_map), in ZTEST()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_chan.c46 uint8_t ll_chm_update(uint8_t const *const chm) in ll_chm_update() argument
48 chan_map_set(chm); in ll_chm_update()
Dull_sync.c233 data_chan_map = lll->chm[chm_last].data_chan_map; in ull_sync_setup_from_sync_transfer()
235 sizeof(lll->chm[chm_last].data_chan_map)); in ull_sync_setup_from_sync_transfer()
238 lll->chm[chm_last].data_chan_count = in ull_sync_setup_from_sync_transfer()
240 sizeof(lll->chm[chm_last].data_chan_map)); in ull_sync_setup_from_sync_transfer()
241 if (lll->chm[chm_last].data_chan_count < CHM_USED_COUNT_MIN) { in ull_sync_setup_from_sync_transfer()
981 data_chan_map = lll->chm[chm_last].data_chan_map; in ull_sync_setup()
983 sizeof(lll->chm[chm_last].data_chan_map)); in ull_sync_setup()
986 lll->chm[chm_last].data_chan_count = in ull_sync_setup()
988 sizeof(lll->chm[chm_last].data_chan_map)); in ull_sync_setup()
989 if (lll->chm[chm_last].data_chan_count < CHM_USED_COUNT_MIN) { in ull_sync_setup()
[all …]
Dlll_sync.h55 } chm[DOUBLE_BUFFER_SIZE]; member
Dull_adv_types.h91 } chm[DOUBLE_BUFFER_SIZE]; member
Dull_llcp_chmu.c107 ull_conn_chan_map_set(conn, ctx->data.chmu.chm); in lp_chmu_complete()
218 ull_conn_chan_map_set(conn, ctx->data.chmu.chm); in rp_chmu_complete()
Dlll_adv.h112 } chm[DOUBLE_BUFFER_SIZE]; member
Dull_conn_internal.h117 void ull_conn_chan_map_set(struct ll_conn *conn, const uint8_t chm[5]);
Dull_llcp.h241 uint8_t ull_cp_chan_map_update(struct ll_conn *conn, const uint8_t chm[5]);
Dull_llcp_pdu.c615 memcpy(p->chm, ctx->data.chmu.chm, sizeof(p->chm)); in llcp_pdu_encode_chan_map_update_ind()
621 memcpy(ctx->data.chmu.chm, pdu->llctrl.chan_map_ind.chm, sizeof(ctx->data.chmu.chm)); in llcp_pdu_decode_chan_map_update_ind()
Dull_llcp.c860 uint8_t ull_cp_chan_map_update(struct ll_conn *conn, const uint8_t chm[5]) in ull_cp_chan_map_update()
873 memcpy(ctx->data.chmu.chm, chm, sizeof(ctx->data.chmu.chm)); in ull_cp_chan_map_update()
892 return ctx->data.chmu.chm; in ull_cp_chan_map_update_pending()
1066 chan_map = sync->lll.chm[sync->lll.chm_first].data_chan_map; in ull_cp_periodic_sync()
1097 chan_map = adv_sync->lll.chm[adv_sync->lll.chm_first].data_chan_map; in ull_cp_periodic_sync()
Dull_central.c992 uint8_t chm[5]; local
999 ull_chan_map_get(chm);
1000 ret = ull_cp_chan_map_update(conn, chm);
Dull_adv_aux.c1480 aux->chm[chm_last].data_chan_count = in ull_adv_aux_chm_update()
1481 ull_chan_map_get(aux->chm[chm_last].data_chan_map); in ull_adv_aux_chm_update()
2715 aux->chm[chm_last].data_chan_count = in ull_adv_aux_acquire()
2716 ull_chan_map_get(aux->chm[chm_last].data_chan_map); in ull_adv_aux_acquire()
3177 data_chan_map = aux->chm[aux->chm_first].data_chan_map; in ull_adv_aux_lll_auxptr_fill()
3178 data_chan_count = aux->chm[aux->chm_first].data_chan_count; in ull_adv_aux_lll_auxptr_fill()
3314 data_chan_map = aux->chm[aux->chm_first].data_chan_map; in mfy_aux_offset_get()
3315 data_chan_count = aux->chm[aux->chm_first].data_chan_count; in mfy_aux_offset_get()
Dpdu.h529 uint8_t chm[PDU_CHANNEL_MAP_SIZE]; member
639 uint8_t chm[PDU_CHANNEL_MAP_SIZE]; member
1106 uint8_t chm[PDU_CHANNEL_MAP_SIZE]; member
Dull_adv_sync.c184 lll_sync->chm[chm_last].data_chan_count = in ll_adv_sync_param_set()
185 ull_chan_map_get(lll_sync->chm[chm_last].data_chan_map); in ll_adv_sync_param_set()
2586 (void)ull_chan_map_get(chm_upd_ind->chm);
2601 lll_sync->chm[chm_last].data_chan_count =
2602 ull_chan_map_get(lll_sync->chm[chm_last].data_chan_map);
2653 (void)memcpy(si->sca_chm, lll_sync->chm[chm_first].data_chan_map,
2772 (void)memcpy(si->sca_chm, lll_sync->chm[chm_first].data_chan_map,
Dull_conn.c341 uint8_t ll_chm_get(uint16_t handle, uint8_t *chm) in ll_chm_get() argument
363 memcpy(chm, pending_chm, sizeof(conn->lll.data_chan_map)); in ll_chm_get()
365 memcpy(chm, conn->lll.data_chan_map, sizeof(conn->lll.data_chan_map)); in ll_chm_get()
2467 void ull_conn_chan_map_set(struct ll_conn *conn, const uint8_t chm[5]) in ull_conn_chan_map_set()
2471 memcpy(lll->data_chan_map, chm, sizeof(lll->data_chan_map)); in ull_conn_chan_map_set()
Dull_llcp_internal.h255 uint8_t chm[5]; member
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_adv_sync.c153 data_chan_map = lll->chm[lll->chm_first].data_chan_map;
154 data_chan_count = lll->chm[lll->chm_first].data_chan_count;
516 lll->chm[lll->chm_first].data_chan_map,
517 lll->chm[lll->chm_first].data_chan_count);
Dlll_adv_iso.c541 struct pdu_big_ctrl_chan_map_ind *chm; in isr_tx_common() local
552 chm = (void *)&pdu->ctrl.chan_map_ind; in isr_tx_common()
553 (void)memcpy(chm->chm, lll->chm_chan_map, sizeof(chm->chm)); in isr_tx_common()
554 chm->instant = lll->ctrl_instant; in isr_tx_common()
Dlll_sync_iso.c1443 struct pdu_big_ctrl_chan_map_ind *chm; in isr_rx_ctrl_recv() local
1446 chm = (void *)&pdu->ctrl.chan_map_ind; in isr_rx_ctrl_recv()
1448 util_ones_count_get(chm->chm, sizeof(chm->chm)); in isr_rx_ctrl_recv()
1451 (void)memcpy(lll->chm_chan_map, chm->chm, in isr_rx_ctrl_recv()
1453 lll->ctrl_instant = chm->instant; in isr_rx_ctrl_recv()
Dlll_adv_aux.c156 aux->chm[aux->chm_first].data_chan_map, in prepare_cb()
157 aux->chm[aux->chm_first].data_chan_count); in prepare_cb()
560 aux->chm[aux->chm_first].data_chan_map, in aux_ptr_chan_idx_set()
561 aux->chm[aux->chm_first].data_chan_count); in aux_ptr_chan_idx_set()
Dlll_sync.c1429 data_chan_map = lll->chm[lll->chm_first].data_chan_map; in data_channel_calc()
1430 data_chan_count = lll->chm[lll->chm_first].data_chan_count; in data_channel_calc()
/Zephyr-latest/tests/bsim/bluetooth/ll/conn/src/
Dtest_connect1.c291 uint8_t chm[5] = { 0x11, 0x22, 0x33, 0x44, 0x00 }; in params_updated() local
307 err = bt_le_set_chan_map(chm); in params_updated()
/Zephyr-latest/subsys/bluetooth/controller/include/
Dll.h250 uint8_t ll_chm_update(uint8_t const *const chm);
251 uint8_t ll_chm_get(uint16_t handle, uint8_t *const chm);
/Zephyr-latest/tests/bluetooth/controller/common/src/
Dhelper_pdu.c349 memcpy(pdu->llctrl.chan_map_ind.chm, p->chm, sizeof(pdu->llctrl.chan_map_ind.chm)); in helper_pdu_encode_channel_map_update_ind()
999 zassert_mem_equal(pdu->llctrl.chan_map_ind.chm, p->chm, sizeof(p->chm), in helper_pdu_verify_channel_map_update_ind()

12