/Zephyr-latest/tests/bluetooth/controller/common/src/ |
D | helper_pdu.c | 54 pdu->llctrl.opcode = PDU_DATA_LLCTRL_TYPE_PING_REQ; in helper_pdu_encode_ping_req() 62 pdu->llctrl.opcode = PDU_DATA_LLCTRL_TYPE_PING_RSP; in helper_pdu_encode_ping_rsp() 72 pdu->llctrl.opcode = PDU_DATA_LLCTRL_TYPE_FEATURE_REQ; in helper_pdu_encode_feature_req() 76 pdu->llctrl.feature_req.features[counter] = expected_value; in helper_pdu_encode_feature_req() 86 pdu->llctrl.opcode = PDU_DATA_LLCTRL_TYPE_PER_INIT_FEAT_XCHG; in helper_pdu_encode_peripheral_feature_req() 91 pdu->llctrl.feature_req.features[counter] = expected_value; in helper_pdu_encode_peripheral_feature_req() 102 pdu->llctrl.opcode = PDU_DATA_LLCTRL_TYPE_FEATURE_RSP; in helper_pdu_encode_feature_rsp() 106 pdu->llctrl.feature_req.features[counter] = expected_value; in helper_pdu_encode_feature_rsp() 117 pdu->llctrl.opcode = PDU_DATA_LLCTRL_TYPE_MIN_USED_CHAN_IND; in helper_pdu_encode_min_used_chans_ind() 118 pdu->llctrl.min_used_chans_ind.phys = p->phys; in helper_pdu_encode_min_used_chans_ind() [all …]
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/ |
D | ull_llcp_pdu.c | 73 pdu->llctrl.opcode = PDU_DATA_LLCTRL_TYPE_PING_REQ; in llcp_pdu_encode_ping_req() 80 pdu->llctrl.opcode = PDU_DATA_LLCTRL_TYPE_PING_RSP; in llcp_pdu_encode_ping_rsp() 91 pdu->llctrl.opcode = PDU_DATA_LLCTRL_TYPE_UNKNOWN_RSP; in llcp_pdu_encode_unknown_rsp() 93 pdu->llctrl.unknown_rsp.type = ctx->unknown_response.type; in llcp_pdu_encode_unknown_rsp() 98 ctx->unknown_response.type = pdu->llctrl.unknown_rsp.type; in llcp_pdu_decode_unknown_rsp() 107 pdu->llctrl.opcode = PDU_DATA_LLCTRL_TYPE_UNKNOWN_RSP; in llcp_ntf_encode_unknown_rsp() 108 p = &pdu->llctrl.unknown_rsp; in llcp_ntf_encode_unknown_rsp() 138 pdu->llctrl.opcode = PDU_DATA_LLCTRL_TYPE_FEATURE_REQ; in llcp_pdu_encode_feature_req() 142 pdu->llctrl.opcode = PDU_DATA_LLCTRL_TYPE_PER_INIT_FEAT_XCHG; in llcp_pdu_encode_feature_req() 146 p = &pdu->llctrl.feature_req; in llcp_pdu_encode_feature_req() [all …]
|
D | ull_llcp_enc.c | 212 ctx->tx_opcode = pdu->llctrl.opcode; in llcp_lp_enc_tx() 264 memcpy(&ctx->data.enc.skd[0], pdu->llctrl.enc_req.skdm, sizeof(pdu->llctrl.enc_req.skdm)); in lp_enc_store_m() 269 memcpy(&conn->lll.ccm_rx.iv[0], pdu->llctrl.enc_req.ivm, sizeof(pdu->llctrl.enc_req.ivm)); in lp_enc_store_m() 362 memcpy(&ctx->data.enc.skd[8], pdu->llctrl.enc_rsp.skds, sizeof(pdu->llctrl.enc_rsp.skds)); in lp_enc_store_s() 367 memcpy(&conn->lll.ccm_rx.iv[4], pdu->llctrl.enc_rsp.ivs, sizeof(pdu->llctrl.enc_rsp.ivs)); in lp_enc_store_s() 374 if (pdu->llctrl.opcode == PDU_DATA_LLCTRL_TYPE_REJECT_IND) { in reject_error_code() 375 error = pdu->llctrl.reject_ind.error_code; in reject_error_code() 377 } else if (pdu->llctrl.opcode == PDU_DATA_LLCTRL_TYPE_REJECT_EXT_IND) { in reject_error_code() 378 error = pdu->llctrl.reject_ext_ind.error_code; in reject_error_code() 650 switch (pdu->llctrl.opcode) { in llcp_lp_enc_rx() [all …]
|
D | ull_llcp_cc.c | 187 ctx->tx_opcode = pdu->llctrl.opcode; in llcp_rp_cc_tx_rsp() 207 ctx->tx_opcode = pdu->llctrl.opcode; in llcp_rp_cc_tx_reject() 305 if (!phy_valid(pdu->llctrl.cis_req.c_phy) || in rp_cc_check_phy() 306 !phy_valid(pdu->llctrl.cis_req.p_phy)) { in rp_cc_check_phy() 312 const uint8_t phys = pdu->llctrl.cis_req.p_phy | pdu->llctrl.cis_req.c_phy; in rp_cc_check_phy() 339 ull_peripheral_iso_acquire(conn, &pdu->llctrl.cis_req, in rp_cc_state_wait_rx_cis_req() 392 if (!ull_peripheral_iso_setup(&pdu->llctrl.cis_ind, ctx->data.cis_create.cig_id, in rp_cc_state_wait_rx_cis_ind() 564 switch (pdu->llctrl.opcode) { in llcp_rp_cc_rx() 685 ctx->tx_opcode = pdu->llctrl.opcode; in lp_cc_tx() 695 switch (pdu->llctrl.opcode) { in llcp_lp_cc_rx() [all …]
|
D | ull_llcp_chmu.c | 99 ctx->tx_opcode = pdu->llctrl.opcode; in lp_chmu_tx() 190 switch (pdu->llctrl.opcode) { in llcp_lp_chmu_rx() 303 switch (pdu->llctrl.opcode) { in llcp_rp_chmu_rx()
|
D | ull_llcp_remote.c | 508 ctx->tx_opcode = pdu->llctrl.opcode; in rr_tx() 617 ctx->unknown_response.type = pdu->llctrl.opcode; in rr_st_idle() 670 conn->llcp.remote.reject_opcode = pdu->llctrl.opcode; in rr_st_idle() 924 if (valid_pdu && pdu->llctrl.opcode < ARRAY_SIZE(new_proc_lut)) { in llcp_rr_new() 927 struct proc_role pr = new_proc_lut[pdu->llctrl.opcode]; in llcp_rr_new()
|
D | ull_llcp.c | 69 #define LLCTRL_PDU_SIZE (offsetof(struct pdu_data, llctrl) + sizeof(struct pdu_data_llctrl)) 1539 return (ctx->rx_opcode == pdu->llctrl.opcode || ctx->rx_greedy); 1544 return ((pdu->llctrl.opcode == PDU_DATA_LLCTRL_TYPE_UNKNOWN_RSP) && 1545 (ctx->tx_opcode == pdu->llctrl.unknown_rsp.type)); 1553 return (pdu->llctrl.opcode == PDU_DATA_LLCTRL_TYPE_REJECT_IND); 1558 return ((pdu->llctrl.opcode == PDU_DATA_LLCTRL_TYPE_REJECT_EXT_IND) && 1559 (ctx->tx_opcode == pdu->llctrl.reject_ext_ind.reject_opcode)); 1569 return pdu->llctrl.opcode == PDU_DATA_LLCTRL_TYPE_TERMINATE_IND; 1847 pdu->llctrl.opcode = PDU_DATA_LLCTRL_TYPE_UNUSED; 1851 if (pdu->llctrl.opcode < ARRAY_SIZE(pdu_validate)) { [all …]
|
D | ull_llcp_conn_upd.c | 330 ctx->tx_opcode = pdu->llctrl.opcode; in lp_cu_tx() 560 if (pdu->llctrl.reject_ext_ind.error_code == BT_HCI_ERR_UNSUPP_REMOTE_FEATURE) { in lp_cu_st_wait_rx_conn_param_rsp() 570 ctx->data.cu.error = pdu->llctrl.reject_ext_ind.error_code; in lp_cu_st_wait_rx_conn_param_rsp() 627 ctx->data.cu.error = pdu->llctrl.reject_ext_ind.error_code; in lp_cu_st_wait_rx_conn_update_ind() 769 switch (pdu->llctrl.opcode) { in llcp_lp_cu_rx() 844 ctx->tx_opcode = pdu->llctrl.opcode; in rp_cu_tx() 1370 switch (pdu->llctrl.opcode) { in llcp_rp_cu_rx()
|
D | ull_llcp_common.c | 224 ctx->tx_opcode = pdu->llctrl.opcode; in lp_comm_tx() 791 ctx->response_opcode = pdu->llctrl.opcode; 793 switch (pdu->llctrl.opcode) { 964 ctx->response_opcode = pdu->llctrl.opcode; 966 switch (pdu->llctrl.opcode) { 1121 ctx->tx_opcode = pdu->llctrl.opcode;
|
D | ull_llcp_past.c | 84 if (!phy_valid(pdu->llctrl.periodic_sync_ind.phy)) { in rp_check_phy() 90 const uint8_t phy = pdu->llctrl.periodic_sync_ind.phy; in rp_check_phy()
|
D | ull_llcp_phy.c | 877 switch (pdu->llctrl.opcode) { in llcp_lp_pu_rx() 1298 switch (pdu->llctrl.opcode) { in llcp_rp_pu_rx()
|
D | pdu.h | 1006 struct pdu_data_llctrl llctrl; member
|
/Zephyr-latest/tests/bluetooth/controller/ctrl_unsupported/src/ |
D | main.c | 53 #define LLCTRL_PDU_SIZE (offsetof(struct pdu_data, llctrl) + sizeof(struct pdu_data_llctrl)) 78 .type = pdu.llctrl.opcode in lt_tx_pdu_and_rx_unknown_rsp() 88 lt_tx(opcode, &test_conn, &pdu.llctrl.unknown_rsp); in lt_tx_pdu_and_rx_unknown_rsp() 124 pdu.llctrl.opcode = opcode; in lt_tx_undef_opcode_and_rx_unknown_rsp() 128 .type = pdu.llctrl.opcode in lt_tx_undef_opcode_and_rx_unknown_rsp() 138 lt_tx_no_encode(&pdu, &test_conn, &pdu.llctrl.unknown_rsp); in lt_tx_undef_opcode_and_rx_unknown_rsp()
|
/Zephyr-latest/tests/bluetooth/controller/ctrl_invalid/src/ |
D | main.c | 52 #define LLCTRL_PDU_SIZE (offsetof(struct pdu_data, llctrl) + sizeof(struct pdu_data_llctrl)) 79 unknown_rsp.type = pdu.llctrl.opcode; in lt_tx_invalid_pdu_size()
|
/Zephyr-latest/tests/bluetooth/controller/ctrl_collision/src/ |
D | main.c | 276 instant = sys_le16_to_cpu(pdu->llctrl.phy_upd_ind.instant); in ZTEST() 378 instant = sys_le16_to_cpu(pdu->llctrl.phy_upd_ind.instant); in ZTEST() 450 instant = sys_le16_to_cpu(pdu->llctrl.phy_upd_ind.instant); in ZTEST() 718 instant = sys_le16_to_cpu(pdu->llctrl.phy_upd_ind.instant); in ZTEST()
|
/Zephyr-latest/tests/bluetooth/controller/ctrl_phy_update/src/ |
D | main.c | 210 instant = sys_le16_to_cpu(pdu->llctrl.phy_upd_ind.instant); in ZTEST() 448 instant = sys_le16_to_cpu(pdu->llctrl.phy_upd_ind.instant); in ZTEST() 1022 instant = sys_le16_to_cpu(pdu->llctrl.phy_upd_ind.instant); in ZTEST() 1129 instant = sys_le16_to_cpu(pdu->llctrl.phy_upd_ind.instant); in ZTEST() 1216 instant = sys_le16_to_cpu(pdu->llctrl.phy_upd_ind.instant); in ZTEST() 1459 instant = sys_le16_to_cpu(pdu->llctrl.phy_upd_ind.instant); in ZTEST() 1528 instant = sys_le16_to_cpu(pdu->llctrl.phy_upd_ind.instant); in ZTEST()
|
/Zephyr-latest/tests/bluetooth/controller/ctrl_conn_update/src/ |
D | main.c | 292 instant = sys_le16_to_cpu(pdu->llctrl.conn_update_ind.instant); in ZTEST() 526 instant = sys_le16_to_cpu(pdu->llctrl.conn_update_ind.instant); in ZTEST() 888 instant = sys_le16_to_cpu(pdu->llctrl.conn_update_ind.instant); in ZTEST() 1013 instant = sys_le16_to_cpu(pdu->llctrl.conn_update_ind.instant); in ZTEST() 1112 instant = sys_le16_to_cpu(pdu->llctrl.conn_update_ind.instant); in ZTEST() 1276 instant = sys_le16_to_cpu(pdu->llctrl.conn_update_ind.instant); in ZTEST() 1396 instant = sys_le16_to_cpu(pdu->llctrl.conn_update_ind.instant); in ZTEST() 1708 instant = sys_le16_to_cpu(pdu->llctrl.conn_update_ind.instant); in ZTEST() 1771 instant = sys_le16_to_cpu(pdu->llctrl.conn_update_ind.instant); in ZTEST() 4654 instant = sys_le16_to_cpu(pdu->llctrl.conn_update_ind.instant); in ZTEST()
|
/Zephyr-latest/tests/bluetooth/controller/ctrl_chmu/src/ |
D | main.c | 96 instant = sys_le16_to_cpu(pdu->llctrl.chan_map_ind.instant); in ZTEST()
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/lll/ |
D | lll_conn.c | 636 return len <= (offsetof(struct pdu_data, llctrl) + in ctrl_pdu_len_check() 747 llctrl)); in isr_rx_pdu()
|
/Zephyr-latest/subsys/bluetooth/controller/hci/ |
D | hci.c | 8848 memcpy(&sep->rand, pdu_data->llctrl.enc_req.rand, sizeof(uint64_t)); 8849 memcpy(&sep->ediv, pdu_data->llctrl.enc_req.ediv, sizeof(uint16_t)); 8886 &pdu_data->llctrl.feature_rsp.features[0], 8897 switch (pdu_data->llctrl.unknown_rsp.type) { 8908 LOG_WRN("type: 0x%02x", pdu_data->llctrl.unknown_rsp.type); 8915 switch (pdu->llctrl.reject_ext_ind.reject_opcode) { 8918 le_df_cte_req_failed(pdu->llctrl.reject_ext_ind.error_code, handle, buf); 8922 LOG_WRN("reject opcode: 0x%02x", pdu->llctrl.reject_ext_ind.reject_opcode); 8944 sep->interval_min = pdu_data->llctrl.conn_param_req.interval_min; 8945 sep->interval_max = pdu_data->llctrl.conn_param_req.interval_max; [all …]
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/ |
D | lll_conn.c | 1014 return len <= (offsetof(struct pdu_data, llctrl) + 1160 llctrl));
|
/Zephyr-latest/tests/bluetooth/controller/ctrl_cte_req/src/ |
D | main.c | 1004 instant = sys_le16_to_cpu(pdu->llctrl.phy_upd_ind.instant); in run_phy_update_central()
|