Home
last modified time | relevance | path

Searched refs:qos_pref (Results 1 – 19 of 19) sorted by relevance

/Zephyr-latest/subsys/bluetooth/audio/
Dbap_stream.c132 info->qos_pref = &ep->qos_pref; in bt_bap_ep_get_info()
266 bool bt_bap_valid_qos_pref(const struct bt_bap_qos_cfg_pref *qos_pref) in bt_bap_valid_qos_pref() argument
270 if ((qos_pref->phy & (~phy_mask)) != 0U) { in bt_bap_valid_qos_pref()
271 LOG_DBG("Invalid phy: %u", qos_pref->phy); in bt_bap_valid_qos_pref()
276 if (!IN_RANGE(qos_pref->latency, BT_ISO_LATENCY_MIN, BT_ISO_LATENCY_MAX)) { in bt_bap_valid_qos_pref()
277 LOG_DBG("Invalid latency: %u", qos_pref->latency); in bt_bap_valid_qos_pref()
282 if (qos_pref->pd_min > BT_AUDIO_PD_MAX) { in bt_bap_valid_qos_pref()
283 LOG_DBG("Invalid pd_min: %u", qos_pref->pd_min); in bt_bap_valid_qos_pref()
288 if (qos_pref->pd_max > BT_AUDIO_PD_MAX) { in bt_bap_valid_qos_pref()
289 LOG_DBG("Invalid pd_min: %u", qos_pref->pd_min); in bt_bap_valid_qos_pref()
[all …]
Dbap_unicast_server.c111 err = unicast_server_cb->reconfig(stream, ep->dir, codec_cfg, &ep->qos_pref, &rsp); in bt_bap_unicast_server_reconfig()
191 const struct bt_bap_qos_cfg_pref *qos_pref) in bt_bap_unicast_server_config_ase() argument
193 return bt_ascs_config_ase(conn, stream, codec_cfg, qos_pref); in bt_bap_unicast_server_config_ase()
Dbap_stream.h34 bool bt_bap_valid_qos_pref(const struct bt_bap_qos_cfg_pref *qos_pref);
Dbap_endpoint.h52 struct bt_bap_qos_cfg_pref qos_pref; member
Dascs_internal.h355 const struct bt_bap_qos_cfg_pref *qos_pref);
Dascs.c356 ops->configured(stream, &ase->ep.qos_pref); in ase_enter_state_codec_configured()
716 struct bt_bap_qos_cfg_pref *pref = &ep->qos_pref; in ascs_ep_get_status_config()
1626 &ase->ep.codec_cfg, &ase->ep.qos_pref, in ase_config()
1634 if (err == 0 && !bt_bap_valid_qos_pref(&ase->ep.qos_pref)) { in ase_config()
1668 &ase->ep.qos_pref, &rsp); in ase_config()
1675 if (err == 0 && !bt_bap_valid_qos_pref(&ase->ep.qos_pref)) { in ase_config()
1729 const struct bt_bap_qos_cfg_pref *qos_pref) in bt_ascs_config_ase() argument
1736 CHECKIF(conn == NULL || stream == NULL || codec_cfg == NULL || qos_pref == NULL) { in bt_ascs_config_ase()
1780 ep->qos_pref = *qos_pref; in bt_ascs_config_ase()
Dbap_unicast_client.c903 pref = &stream->ep->qos_pref; in unicast_client_ep_config_state()
/Zephyr-latest/samples/bluetooth/tmap_peripheral/src/
Dbap_unicast_sr.c53 static const struct bt_bap_qos_cfg_pref qos_pref = variable
158 *pref = qos_pref; in lc3_config()
169 *pref = qos_pref; in lc3_reconfig()
/Zephyr-latest/samples/bluetooth/cap_acceptor/src/
Dcap_acceptor_unicast.c44 static const struct bt_bap_qos_cfg_pref qos_pref = BT_BAP_QOS_CFG_PREF( variable
133 *pref = qos_pref; in unicast_server_config_cb()
145 *pref = qos_pref; in unicast_server_reconfig_cb()
/Zephyr-latest/tests/bluetooth/audio/ascs/src/
Dtest_common.c130 static const struct bt_bap_qos_cfg_pref qos_pref = variable
141 *pref = qos_pref; in unicast_server_cb_config_custom_fake()
Dmain.c591 static const struct bt_bap_qos_cfg_pref qos_pref = variable
602 *pref = qos_pref; in unicast_server_cb_config_custom_fake()
Dtest_ase_state_transition.c34 static const struct bt_bap_qos_cfg_pref qos_pref = variable
395 err = bt_bap_unicast_server_config_ase(conn, stream, &codec_cfg, &qos_pref); in ZTEST_F()
1003 err = bt_bap_unicast_server_config_ase(conn, stream, &codec_cfg, &qos_pref); in ZTEST_F()
Dtest_ase_control_params.c370 static const struct bt_bap_qos_cfg_pref qos_pref = variable
381 *pref = qos_pref; in unicast_server_cb_config_custom_fake()
/Zephyr-latest/samples/bluetooth/hap_ha/src/
Dbap_unicast_sr.c40 static const struct bt_bap_qos_cfg_pref qos_pref = variable
223 *pref = qos_pref; in lc3_config()
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dbap_unicast_server_test.c70 static const struct bt_bap_qos_cfg_pref qos_pref = variable
132 *pref = qos_pref; in lc3_config()
/Zephyr-latest/samples/bluetooth/bap_unicast_server/src/
Dmain.c66 static const struct bt_bap_qos_cfg_pref qos_pref = variable
327 *pref = qos_pref; in lc3_config()
/Zephyr-latest/include/zephyr/bluetooth/audio/
Dbap.h724 const struct bt_bap_qos_cfg_pref *qos_pref; member
1426 const struct bt_bap_qos_cfg_pref *qos_pref);
/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_bap_unicast.c29 static struct bt_bap_qos_cfg_pref qos_pref = variable
369 *pref = qos_pref; in lc3_config()
1225 &stream->codec_cfg, &qos_pref); in server_configure_codec()
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dbap.c622 static const struct bt_bap_qos_cfg_pref qos_pref = variable
659 *pref = qos_pref; in lc3_config()
676 *pref = qos_pref; in lc3_reconfig()