/Zephyr-latest/tests/bluetooth/controller/ctrl_chmu/src/ |
D | main.c | 61 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/ |
D | ull_chan.c | 46 uint8_t ll_chm_update(uint8_t const *const chm) in ll_chm_update() argument 48 chan_map_set(chm); in ll_chm_update()
|
D | ull_sync.c | 233 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 …]
|
D | lll_sync.h | 55 } chm[DOUBLE_BUFFER_SIZE]; member
|
D | ull_adv_types.h | 91 } chm[DOUBLE_BUFFER_SIZE]; member
|
D | ull_llcp_chmu.c | 107 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()
|
D | lll_adv.h | 112 } chm[DOUBLE_BUFFER_SIZE]; member
|
D | ull_conn_internal.h | 117 void ull_conn_chan_map_set(struct ll_conn *conn, const uint8_t chm[5]);
|
D | ull_llcp.h | 241 uint8_t ull_cp_chan_map_update(struct ll_conn *conn, const uint8_t chm[5]);
|
D | ull_llcp_pdu.c | 615 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()
|
D | ull_llcp.c | 860 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()
|
D | ull_central.c | 992 uint8_t chm[5]; local 999 ull_chan_map_get(chm); 1000 ret = ull_cp_chan_map_update(conn, chm);
|
D | ull_adv_aux.c | 1480 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()
|
D | pdu.h | 529 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
|
D | ull_adv_sync.c | 184 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,
|
D | ull_conn.c | 341 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()
|
D | ull_llcp_internal.h | 255 uint8_t chm[5]; member
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/ |
D | lll_adv_sync.c | 153 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);
|
D | lll_adv_iso.c | 541 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()
|
D | lll_sync_iso.c | 1443 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()
|
D | lll_adv_aux.c | 156 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()
|
D | lll_sync.c | 1429 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/ |
D | test_connect1.c | 291 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/ |
D | ll.h | 250 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/ |
D | helper_pdu.c | 349 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()
|