Home
last modified time | relevance | path

Searched refs:ntf (Results 1 – 25 of 27) sorted by relevance

12

/Zephyr-latest/tests/bluetooth/controller/ctrl_conn_update/src/
Dmain.c245 struct node_rx_pdu *ntf; in ZTEST() local
322 ut_rx_node(NODE_CONN_UPDATE, &ntf, &cu); in ZTEST()
326 release_ntf(ntf); in ZTEST()
381 struct node_rx_pdu *ntf; in ZTEST() local
565 ut_rx_node(NODE_CONN_UPDATE, &ntf, &cu); in ZTEST()
584 release_ntf(ntf); in ZTEST()
756 struct node_rx_pdu *ntf; in ZTEST() local
793 ut_rx_node(NODE_CONN_UPDATE, &ntf, &cu); in ZTEST()
797 release_ntf(ntf); in ZTEST()
833 struct node_rx_pdu *ntf; in ZTEST() local
[all …]
/Zephyr-latest/tests/bluetooth/controller/common/src/
Dhelper_util.c444 void release_ntf(struct node_rx_pdu *ntf) in release_ntf() argument
446 if (ntf == rx_malloc_store) { in release_ntf()
447 free(ntf); in release_ntf()
451 ntf->hdr.next = NULL; in release_ntf()
452 ll_rx_mem_release((void **)&ntf); in release_ntf()
485 struct node_rx_pdu *ntf; in ut_rx_pdu_real() local
487 ntf = (struct node_rx_pdu *)sys_slist_get(&ut_rx_q); in ut_rx_pdu_real()
488 zassert_not_null(ntf, "Ntf Q empty.\nCalled at %s:%d\n", file, line); in ut_rx_pdu_real()
490 zassert_equal(ntf->hdr.type, NODE_RX_TYPE_DC_PDU, in ut_rx_pdu_real()
493 pdu = (struct pdu_data *)ntf->pdu; in ut_rx_pdu_real()
[all …]
/Zephyr-latest/tests/bluetooth/controller/ctrl_cis_create/src/
Dmain.c165 struct node_rx_pdu *ntf; in ZTEST() local
200 ut_rx_node(NODE_CIS_REQUEST, &ntf, &cis_req); in ZTEST()
204 release_ntf(ntf); in ZTEST()
268 ut_rx_node(NODE_CIS_ESTABLISHED, &ntf, &cis_estab); in ZTEST()
275 zassert_equal_ptr(ntf->rx_ftr.param, &cis_mock); in ZTEST()
305 struct node_rx_pdu *ntf; in ZTEST() local
332 ut_rx_node(NODE_CIS_REQUEST, &ntf, &cis_req); in ZTEST()
336 release_ntf(ntf); in ZTEST()
382 struct node_rx_pdu *ntf; in ZTEST() local
413 ut_rx_node(NODE_CIS_REQUEST, &ntf, &cis_req); in ZTEST()
[all …]
/Zephyr-latest/tests/bluetooth/controller/ctrl_phy_update/src/
Dmain.c119 struct node_rx_pdu *ntf; in ZTEST() local
150 ntf = ll_pdu_rx_alloc(); in ZTEST()
152 ntf->hdr.type = NODE_RX_TYPE_DC_PDU; in ZTEST()
190 release_ntf(ntf); in ZTEST()
242 ut_rx_node(NODE_PHY_UPDATE, &ntf, &pu); in ZTEST()
244 release_ntf(ntf); in ZTEST()
246 ut_rx_pdu(LL_LENGTH_RSP, &ntf, &length_ntf); in ZTEST()
248 release_ntf(ntf); in ZTEST()
318 struct node_rx_pdu *ntf; in ZTEST() local
367 ut_rx_node(NODE_PHY_UPDATE, &ntf, &pu); in ZTEST()
[all …]
/Zephyr-latest/tests/bluetooth/controller/ctrl_feature_exchange/src/
Dmain.c94 struct node_rx_pdu *ntf; in ZTEST() local
127 ut_rx_pdu(LL_FEATURE_RSP, &ntf, &exp_remote_feature_rsp); in ZTEST()
132 release_ntf(ntf); in ZTEST()
157 ut_rx_pdu(LL_FEATURE_RSP, &ntf, &exp_remote_feature_rsp); in ZTEST()
162 release_ntf(ntf); in ZTEST()
392 struct node_rx_pdu *ntf; in ZTEST() local
426 ut_rx_pdu(LL_FEATURE_RSP, &ntf, &ut_feature_rsp); in ZTEST()
435 release_ntf(ntf); in ZTEST()
449 struct node_rx_pdu *ntf; in ZTEST() local
478 ut_rx_pdu(LL_FEATURE_RSP, &ntf, &remote_feature_rsp); in ZTEST()
[all …]
Dmain_hci.c97 struct node_rx_pdu *ntf; in ZTEST() local
131 ut_rx_pdu(LL_FEATURE_RSP, &ntf, &remote_feature_rsp); in ZTEST()
139 release_ntf(ntf); in ZTEST()
/Zephyr-latest/tests/bluetooth/controller/ctrl_encrypt/src/
Dmain.c233 struct node_rx_pdu *ntf; in ZTEST() local
337 ut_rx_pdu(LL_START_ENC_RSP, &ntf, NULL); in ZTEST()
341 release_ntf(ntf); in ZTEST()
390 struct node_rx_pdu *ntf; in ZTEST() local
530 ut_rx_pdu(LL_START_ENC_RSP, &ntf, NULL); in ZTEST()
534 release_ntf(ntf); in ZTEST()
575 struct node_rx_pdu *ntf; in ZTEST() local
641 ut_rx_pdu(LL_REJECT_IND, &ntf, &reject_ind); in ZTEST()
645 release_ntf(ntf); in ZTEST()
677 struct node_rx_pdu *ntf; in ZTEST() local
[all …]
/Zephyr-latest/tests/bluetooth/controller/ctrl_collision/src/
Dmain.c153 struct node_rx_pdu *ntf; in ZTEST() local
308 ut_rx_node(NODE_PHY_UPDATE, &ntf, &pu); in ZTEST()
312 release_ntf(ntf); in ZTEST()
322 struct node_rx_pdu *ntf; in ZTEST() local
429 ut_rx_node(NODE_PHY_UPDATE, &ntf, &pu); in ZTEST()
433 release_ntf(ntf); in ZTEST()
480 ut_rx_node(NODE_PHY_UPDATE, &ntf, &pu); in ZTEST()
484 release_ntf(ntf); in ZTEST()
494 struct node_rx_pdu *ntf; in ZTEST() local
562 ut_rx_node(NODE_PHY_UPDATE, &ntf, &pu); in ZTEST()
[all …]
/Zephyr-latest/tests/bluetooth/controller/ctrl_data_length_update/src/
Dmain.c86 struct node_rx_pdu *ntf; in ZTEST() local
118 ut_rx_pdu(LL_LENGTH_RSP, &ntf, &length_ntf); in ZTEST()
239 struct node_rx_pdu *ntf; in ZTEST() local
280 ut_rx_pdu(LL_FEATURE_RSP, &ntf, &exp_remote_feature_rsp); in ZTEST()
285 release_ntf(ntf); in ZTEST()
512 struct node_rx_pdu *ntf; in ZTEST() local
546 ut_rx_pdu(LL_LENGTH_RSP, &ntf, &length_ntf); in ZTEST()
580 struct node_rx_pdu *ntf; in ZTEST() local
612 ut_rx_pdu(LL_LENGTH_RSP, &ntf, &length_ntf); in ZTEST()
645 struct node_rx_pdu *ntf; in ZTEST() local
[all …]
/Zephyr-latest/tests/bluetooth/controller/ctrl_cte_req/src/
Dmain.c101 struct node_rx_pdu *ntf; in ZTEST() local
130 ut_rx_pdu(LL_CTE_RSP, &ntf, &remote_cte_rsp); in ZTEST()
136 release_ntf(ntf); in ZTEST()
177 struct node_rx_pdu *ntf; in ZTEST() local
205 ut_rx_pdu(LL_CTE_RSP, &ntf, &remote_cte_rsp); in ZTEST()
211 release_ntf(ntf); in ZTEST()
396 struct node_rx_pdu *ntf; in ZTEST() local
424 ut_rx_pdu(LL_REJECT_EXT_IND, &ntf, &remote_reject_ext_ind); in ZTEST()
430 release_ntf(ntf); in ZTEST()
475 struct node_rx_pdu *ntf; in ZTEST() local
[all …]
/Zephyr-latest/tests/bluetooth/controller/ctrl_version/src/
Dmain.c76 struct node_rx_pdu *ntf; in ZTEST() local
114 ut_rx_pdu(LL_VERSION_IND, &ntf, &remote_version_ind); in ZTEST()
375 struct node_rx_pdu *ntf; in ZTEST() local
413 ut_rx_pdu(LL_VERSION_IND, &ntf, &remote_version_ind); in ZTEST()
450 struct node_rx_pdu *ntf; in ZTEST() local
492 ut_rx_pdu(LL_VERSION_IND, &ntf, &remote_version_ind); in ZTEST()
505 ut_rx_pdu(LL_VERSION_IND, &ntf, &remote_version_ind); in ZTEST()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_llcp_common.c375 static void lp_comm_ntf_sca(struct node_rx_pdu *ntf, struct proc_ctx *ctx, struct pdu_data *pdu) in lp_comm_ntf_sca() argument
379 ntf->hdr.type = NODE_RX_TYPE_REQ_PEER_SCA_COMPLETE; in lp_comm_ntf_sca()
388 struct node_rx_pdu *ntf; in lp_comm_ntf() local
391 ntf = ctx->node_ref.rx; in lp_comm_ntf()
393 if (!ntf) { in lp_comm_ntf()
395 ntf = llcp_ntf_alloc(); in lp_comm_ntf()
396 LL_ASSERT(ntf); in lp_comm_ntf()
400 ntf->hdr.type = NODE_RX_TYPE_DC_PDU; in lp_comm_ntf()
401 ntf->hdr.handle = conn->lll.handle; in lp_comm_ntf()
402 pdu = (struct pdu_data *)ntf->pdu; in lp_comm_ntf()
[all …]
Dull_llcp_enc.c225 struct node_rx_pdu *ntf; in lp_enc_ntf() local
229 ntf = ctx->node_ref.rx; in lp_enc_ntf()
231 LL_ASSERT(ntf); in lp_enc_ntf()
233 ntf->hdr.type = NODE_RX_TYPE_DC_PDU; in lp_enc_ntf()
234 ntf->hdr.handle = conn->lll.handle; in lp_enc_ntf()
235 pdu = (struct pdu_data *)ntf->pdu; in lp_enc_ntf()
244 ntf->hdr.type = NODE_RX_TYPE_ENC_REFRESH; in lp_enc_ntf()
751 struct node_rx_pdu *ntf; in rp_enc_ntf_ltk() local
756 ntf = ctx->node_ref.rx; in rp_enc_ntf_ltk()
758 LL_ASSERT(ntf); in rp_enc_ntf_ltk()
[all …]
Dull_llcp_cc.c59 struct node_rx_pdu *ntf; in cc_ntf_established() local
63 ntf = ctx->node_ref.rx; in cc_ntf_established()
64 LL_ASSERT(ntf); in cc_ntf_established()
67 piggy_back = (ntf->hdr.type != NODE_RX_TYPE_RETAIN); in cc_ntf_established()
69 ntf->hdr.type = NODE_RX_TYPE_CIS_ESTABLISHED; in cc_ntf_established()
70 ntf->hdr.handle = conn->lll.handle; in cc_ntf_established()
71 ntf->rx_ftr.param = ll_conn_iso_stream_get(ctx->data.cis_create.cis_handle); in cc_ntf_established()
73 pdu = (struct node_rx_conn_iso_estab *)ntf->pdu; in cc_ntf_established()
80 ll_rx_put_sched(ntf->hdr.link, ntf); in cc_ntf_established()
215 struct node_rx_pdu *ntf; in rp_cc_ntf_create() local
[all …]
Dull_llcp_phy.c432 struct node_rx_pdu *ntf; in pu_ntf() local
436 ntf = ctx->node_ref.rx; in pu_ntf()
438 LL_ASSERT(ntf); in pu_ntf()
441 LL_ASSERT(ntf->hdr.type == NODE_RX_TYPE_RETAIN); in pu_ntf()
442 ntf->hdr.type = NODE_RX_TYPE_PHY_UPDATE; in pu_ntf()
443 ntf->hdr.handle = conn->lll.handle; in pu_ntf()
444 pdu = (struct node_rx_pu *)ntf->pdu; in pu_ntf()
450 ntf->hdr.type = NODE_RX_TYPE_RELEASE; in pu_ntf()
454 ll_rx_put_sched(ntf->hdr.link, ntf); in pu_ntf()
462 struct node_rx_pdu *ntf; in pu_dle_ntf() local
[all …]
Dull_llcp_conn_upd.c256 struct node_rx_pdu *ntf; in cu_ntf() local
261 ntf = ctx->node_ref.rx; in cu_ntf()
263 LL_ASSERT(ntf); in cu_ntf()
265 piggy_back = (ntf->hdr.type != NODE_RX_TYPE_RETAIN); in cu_ntf()
267 ntf->hdr.type = NODE_RX_TYPE_CONN_UPDATE; in cu_ntf()
268 ntf->hdr.handle = conn->lll.handle; in cu_ntf()
269 pdu = (struct node_rx_cu *)ntf->pdu; in cu_ntf()
286 ll_rx_put_sched(ntf->hdr.link, ntf); in cu_ntf()
860 struct node_rx_pdu *ntf; in rp_cu_conn_param_req_ntf() local
866 ntf = ctx->node_ref.rx; in rp_cu_conn_param_req_ntf()
[all …]
/Zephyr-latest/tests/bluetooth/controller/ctrl_sca_update/src/
Dmain.c83 struct node_rx_pdu *ntf; in ZTEST() local
125 ut_rx_node(NODE_PEER_SCA_UPDATE, &ntf, &scau); in ZTEST()
162 ut_rx_node(NODE_PEER_SCA_UPDATE, &ntf, &scau); in ZTEST()
394 struct node_rx_pdu *ntf; in ZTEST() local
430 ut_rx_node(NODE_PEER_SCA_UPDATE, &ntf, &scau); in ZTEST()
/Zephyr-latest/tests/bluetooth/controller/ctrl_hci/src/
Dmain.c92 struct node_rx_pdu *ntf; in ZTEST() local
118 ut_rx_pdu(LL_FEATURE_RSP, &ntf, &remote_feature_rsp); in ZTEST()
123 release_ntf(ntf); in ZTEST()
157 struct node_rx_pdu *ntf; in ZTEST() local
184 ut_rx_pdu(LL_VERSION_IND, &ntf, &remote_pdu); in ZTEST()
189 release_ntf(ntf); in ZTEST()
/Zephyr-latest/tests/bluetooth/controller/common/include/
Dhelper_util.h45 void release_ntf(struct node_rx_pdu *ntf);
/Zephyr-latest/subsys/bluetooth/audio/
Dhas.c211 struct bt_gatt_notify_params ntf; member
762 memset(&client->params.ntf, 0, sizeof(client->params.ntf)); in control_point_send()
763 client->params.ntf.attr = preset_control_point_attr; in control_point_send()
764 client->params.ntf.func = control_point_ntf_complete; in control_point_send()
765 client->params.ntf.data = buf->data; in control_point_send()
766 client->params.ntf.len = buf->len; in control_point_send()
768 return bt_gatt_notify_cb(client->conn, &client->params.ntf); in control_point_send()
Dmcc.c1114 struct mpl_cmd_ntf ntf = {0}; in mcs_notify_handler() local
1118 if (length == sizeof(ntf.requested_opcode) + sizeof(ntf.result_code)) { in mcs_notify_handler()
1119 ntf.requested_opcode = *(uint8_t *)data; in mcs_notify_handler()
1120 ntf.result_code = *((uint8_t *)data + in mcs_notify_handler()
1121 sizeof(ntf.requested_opcode)); in mcs_notify_handler()
1123 ntf.requested_opcode, ntf.result_code); in mcs_notify_handler()
1130 mcc_cb->cmd_ntf(conn, cb_err, &ntf); in mcs_notify_handler()
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dmcc.c398 const struct mpl_cmd_ntf *ntf) in mcc_cmd_ntf_cb() argument
402 err, ntf->requested_opcode, ntf->result_code); in mcc_cmd_ntf_cb()
407 ntf->requested_opcode, ntf->result_code); in mcc_cmd_ntf_cb()
/Zephyr-latest/include/zephyr/bluetooth/audio/
Dmcc.h333 typedef void (*bt_mcc_cmd_ntf_cb)(struct bt_conn *conn, int err, const struct mpl_cmd_ntf *ntf);
/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_mcp.c375 const struct mpl_cmd_ntf *ntf) in btp_send_command_notifications_ev() argument
382 ev.requested_opcode = ntf->requested_opcode; in btp_send_command_notifications_ev()
383 ev.result_code = ntf->result_code; in btp_send_command_notifications_ev()
614 static void mcc_cmd_ntf_cb(struct bt_conn *conn, int err, const struct mpl_cmd_ntf *ntf) in mcc_cmd_ntf_cb() argument
618 btp_send_command_notifications_ev(conn, err ? BTP_STATUS_FAILED : BTP_STATUS_SUCCESS, ntf); in mcc_cmd_ntf_cb()
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dmcc_test.c362 static void mcc_cmd_ntf_cb(struct bt_conn *conn, int err, const struct mpl_cmd_ntf *ntf) in mcc_cmd_ntf_cb() argument
366 err, ntf->requested_opcode, ntf->result_code); in mcc_cmd_ntf_cb()
370 g_command_result = ntf->result_code; in mcc_cmd_ntf_cb()

12