Lines Matching refs:pdu_data

295 static void le_conn_complete(struct pdu_data *pdu_data, uint16_t handle,
2963 static void le_df_connectionless_iq_report(struct pdu_data *pdu_rx, in le_df_connectionless_iq_report()
4319 static void le_cis_request(struct pdu_data *pdu_data, argument
4330 node = pdu_data;
4350 static void le_cis_established(struct pdu_data *pdu_data, argument
4377 node = pdu_data;
4418 static void le_per_adv_sync_transfer_received(struct pdu_data *pdu_data_rx,
5326 static void vs_le_df_connectionless_iq_report(struct pdu_data *pdu_rx, struct node_rx_pdu *node_rx,
5809 struct pdu_data *pdu_data; local
5846 pdu_data = (void *)node_tx->pdu;
5854 pdu_data->ll_id = PDU_DATA_LLID_DATA_START;
5857 pdu_data->ll_id = PDU_DATA_LLID_DATA_CONTINUE;
5866 pdu_data->len = len;
5867 memcpy(&pdu_data->lldata[0], buf->data, len);
6565 static void le_advertising_report(struct pdu_data *pdu_data, argument
6572 struct pdu_adv *adv = (void *)pdu_data;
6670 static void le_ext_adv_legacy_report(struct pdu_data *pdu_data, argument
6699 struct pdu_adv *adv = (void *)pdu_data;
7076 static void le_ext_adv_report(struct pdu_data *pdu_data, argument
7125 adv = (void *)pdu_data;
7572 static void le_adv_ext_report(struct pdu_data *pdu_data, argument
7576 struct pdu_adv *adv = (void *)pdu_data;
7579 le_ext_adv_report(pdu_data, node_rx, buf, phy);
7581 le_ext_adv_legacy_report(pdu_data, node_rx, buf);
7585 static void le_adv_ext_1M_report(struct pdu_data *pdu_data, argument
7589 le_adv_ext_report(pdu_data, node_rx, buf, BT_HCI_LE_EXT_SCAN_PHY_1M);
7592 static void le_adv_ext_2M_report(struct pdu_data *pdu_data, argument
7596 le_adv_ext_report(pdu_data, node_rx, buf, BT_HCI_LE_EXT_SCAN_PHY_2M);
7599 static void le_adv_ext_coded_report(struct pdu_data *pdu_data, argument
7603 le_adv_ext_report(pdu_data, node_rx, buf, BT_HCI_LE_EXT_SCAN_PHY_CODED);
7606 static void le_scan_timeout(struct pdu_data *pdu_data, argument
7618 static void le_per_adv_sync_established(struct pdu_data *pdu_data, argument
7638 node = pdu_data;
7673 static void le_per_adv_sync_report(struct pdu_data *pdu_data, argument
7679 struct pdu_adv *adv = (void *)pdu_data;
8013 static void le_per_adv_sync_lost(struct pdu_data *pdu_data, argument
8029 static void le_big_sync_established(struct pdu_data *pdu,
8113 static void le_big_sync_lost(struct pdu_data *pdu,
8135 static void le_adv_ext_terminate(struct pdu_data *pdu_data, argument
8156 static void le_big_complete(struct pdu_data *pdu_data, argument
8200 static void le_big_terminate(struct pdu_data *pdu,
8221 static void le_scan_req_received(struct pdu_data *pdu_data, argument
8225 struct pdu_adv *adv = (void *)pdu_data;
8277 static void le_vs_scan_req_received(struct pdu_data *pdu,
8321 static void le_conn_complete(struct pdu_data *pdu_data, uint16_t handle, argument
8332 node = pdu_data;
8419 void hci_disconn_complete_encode(struct pdu_data *pdu_data, uint16_t handle, argument
8433 ep->reason = *((uint8_t *)pdu_data);
8452 static void le_conn_update_complete(struct pdu_data *pdu_data, uint16_t handle, argument
8469 node = pdu_data;
8481 static void enc_refresh_complete(struct pdu_data *pdu_data, uint16_t handle, argument
8500 static void auth_payload_timeout_exp(struct pdu_data *pdu_data, uint16_t handle, argument
8517 static void le_chan_sel_algo(struct pdu_data *pdu_data, uint16_t handle, argument
8523 cs = (void *)pdu_data;
8539 static void le_phy_upd_complete(struct pdu_data *pdu_data, uint16_t handle, argument
8545 pu = (void *)pdu_data;
8564 static void le_req_peer_sca_complete(struct pdu_data *pdu, uint16_t handle,
8590 static void mesh_adv_cplt(struct pdu_data *pdu_data, argument
8597 mep->adv_slot = ((uint8_t *)pdu_data)[0];
8610 struct pdu_data *pdu_data, struct net_buf *buf) argument
8619 le_advertising_report(pdu_data, node_rx, buf);
8624 le_adv_ext_1M_report(pdu_data, node_rx, buf);
8628 le_adv_ext_2M_report(pdu_data, node_rx, buf);
8632 le_adv_ext_coded_report(pdu_data, node_rx, buf);
8636 le_scan_timeout(pdu_data, node_rx, buf);
8641 le_per_adv_sync_established(pdu_data, node_rx, buf);
8645 le_per_adv_sync_report(pdu_data, node_rx, buf);
8649 le_per_adv_sync_lost(pdu_data, node_rx, buf);
8654 le_per_adv_sync_transfer_received(pdu_data, node_rx, buf);
8661 vs_le_df_connectionless_iq_report(pdu_data, node_rx, buf);
8663 le_df_connectionless_iq_report(pdu_data, node_rx, buf);
8670 le_big_sync_established(pdu_data, node_rx, buf);
8674 le_big_sync_lost(pdu_data, node_rx, buf);
8684 le_adv_ext_terminate(pdu_data, node_rx, buf);
8689 le_big_complete(pdu_data, node_rx, buf);
8692 le_big_terminate(pdu_data, node_rx, buf);
8701 le_scan_req_received(pdu_data, node_rx, buf);
8703 le_vs_scan_req_received(pdu_data, node_rx, buf);
8712 le_conn_complete(pdu_data, handle, buf);
8716 hci_disconn_complete_encode(pdu_data, handle, buf);
8720 le_conn_update_complete(pdu_data, handle, buf);
8725 enc_refresh_complete(pdu_data, handle, buf);
8731 auth_payload_timeout_exp(pdu_data, handle, buf);
8737 le_chan_sel_algo(pdu_data, handle, buf);
8743 le_phy_upd_complete(pdu_data, handle, buf);
8749 LOG_INF("handle: 0x%04x, rssi: -%d dB.", handle, pdu_data->rssi);
8755 le_cis_request(pdu_data, node_rx, buf);
8761 le_cis_established(pdu_data, node_rx, buf);
8767 le_req_peer_sca_complete(pdu_data, handle, buf);
8797 pdu_data->profile.lcur, pdu_data->profile.lmin, pdu_data->profile.lmax,
8798 pdu_data->profile.cur, pdu_data->profile.min, pdu_data->profile.max,
8799 pdu_data->profile.radio, pdu_data->profile.radio_ticks,
8800 pdu_data->profile.lll, pdu_data->profile.lll_ticks,
8801 pdu_data->profile.ull_high, pdu_data->profile.ull_high_ticks,
8802 pdu_data->profile.ull_low, pdu_data->profile.ull_low_ticks);
8808 le_df_connectionless_iq_report(pdu_data, node_rx, buf);
8814 mesh_adv_cplt(pdu_data, node_rx, buf);
8818 le_advertising_report(pdu_data, node_rx, buf);
8824 hci_user_ext_encode_control(node_rx, pdu_data, buf);
8835 static void le_ltk_request(struct pdu_data *pdu_data, uint16_t handle, argument
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));
8870 static void le_remote_feat_complete(uint8_t status, struct pdu_data *pdu_data, argument
8886 &pdu_data->llctrl.feature_rsp.features[0],
8893 static void le_unknown_rsp(struct pdu_data *pdu_data, uint16_t handle, argument
8897 switch (pdu_data->llctrl.unknown_rsp.type) {
8908 LOG_WRN("type: 0x%02x", pdu_data->llctrl.unknown_rsp.type);
8913 static void le_reject_ext_ind(struct pdu_data *pdu, uint16_t handle, struct net_buf *buf)
8927 static void le_conn_param_req(struct pdu_data *pdu_data, uint16_t handle, argument
8944 sep->interval_min = pdu_data->llctrl.conn_param_req.interval_min;
8945 sep->interval_max = pdu_data->llctrl.conn_param_req.interval_max;
8946 sep->latency = pdu_data->llctrl.conn_param_req.latency;
8947 sep->timeout = pdu_data->llctrl.conn_param_req.timeout;
8952 static void le_data_len_change(struct pdu_data *pdu_data, uint16_t handle, argument
8965 sep->max_tx_octets = pdu_data->llctrl.length_rsp.max_tx_octets;
8966 sep->max_tx_time = pdu_data->llctrl.length_rsp.max_tx_time;
8967 sep->max_rx_octets = pdu_data->llctrl.length_rsp.max_rx_octets;
8968 sep->max_rx_time = pdu_data->llctrl.length_rsp.max_rx_time;
8973 static void remote_version_info_encode(struct pdu_data *pdu_data, argument
8986 ver_ind = &pdu_data->llctrl.version_ind;
8996 struct pdu_data *pdu_data, struct net_buf *buf) argument
9000 switch (pdu_data->llctrl.opcode) {
9004 le_ltk_request(pdu_data, handle, buf);
9014 remote_version_info_encode(pdu_data, handle, buf);
9019 le_remote_feat_complete(0x00, pdu_data, handle, buf);
9024 encrypt_change(pdu_data->llctrl.reject_ind.error_code, handle,
9031 le_conn_param_req(pdu_data, handle, buf);
9038 le_data_len_change(pdu_data, handle, buf);
9049 le_unknown_rsp(pdu_data, handle, buf);
9053 le_reject_ext_ind(pdu_data, handle, buf);
9065 struct pdu_data *pdu_data = (void *)node_rx->pdu; local
9073 switch (pdu_data->ll_id) {
9077 if (pdu_data->ll_id == PDU_DATA_LLID_DATA_START) {
9083 acl->len = sys_cpu_to_le16(pdu_data->len);
9084 data = (void *)net_buf_add(buf, pdu_data->len);
9085 memcpy(data, pdu_data->lldata, pdu_data->len);
9109 struct pdu_data *pdu_data = (void *)node_rx->pdu; local
9112 encode_control(node_rx, pdu_data, buf);
9114 encode_data_ctrl(node_rx, pdu_data, buf);
9143 struct pdu_data *pdu_data = (void *)node_rx->pdu; local
9287 } else if (pdu_data->ll_id == PDU_DATA_LLID_CTRL) {