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.h53 struct bt_bap_qos_cfg_pref qos_pref; member
Dascs_internal.h357 const struct bt_bap_qos_cfg_pref *qos_pref);
Dascs.c342 ops->configured(stream, &ase->ep.qos_pref); in ase_enter_state_codec_configured()
702 struct bt_bap_qos_cfg_pref *pref = &ep->qos_pref; in ascs_ep_get_status_config()
1592 &ase->ep.codec_cfg, &ase->ep.qos_pref, in ase_config()
1600 if (err == 0 && !bt_bap_valid_qos_pref(&ase->ep.qos_pref)) { in ase_config()
1634 &ase->ep.qos_pref, &rsp); in ase_config()
1641 if (err == 0 && !bt_bap_valid_qos_pref(&ase->ep.qos_pref)) { in ase_config()
1695 const struct bt_bap_qos_cfg_pref *qos_pref) in bt_ascs_config_ase() argument
1703 CHECKIF(conn == NULL || stream == NULL || codec_cfg == NULL || qos_pref == NULL) { in bt_ascs_config_ase()
1747 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.c138 static const struct bt_bap_qos_cfg_pref qos_pref = variable
149 *pref = qos_pref; in unicast_server_cb_config_custom_fake()
Dmain.c595 static const struct bt_bap_qos_cfg_pref qos_pref = variable
606 *pref = qos_pref; in unicast_server_cb_config_custom_fake()
Dtest_ase_state_transition.c42 static const struct bt_bap_qos_cfg_pref qos_pref = variable
403 err = bt_bap_unicast_server_config_ase(conn, stream, &codec_cfg, &qos_pref); in ZTEST_F()
1011 err = bt_bap_unicast_server_config_ase(conn, stream, &codec_cfg, &qos_pref); in ZTEST_F()
Dtest_ase_control_params.c373 static const struct bt_bap_qos_cfg_pref qos_pref = variable
384 *pref = qos_pref; in unicast_server_cb_config_custom_fake()
/Zephyr-latest/samples/bluetooth/hap_ha/src/
Dbap_unicast_sr.c51 static const struct bt_bap_qos_cfg_pref qos_pref = variable
234 *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
119 *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.h820 const struct bt_bap_qos_cfg_pref *qos_pref; member
1524 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.c624 static const struct bt_bap_qos_cfg_pref qos_pref = variable
661 *pref = qos_pref; in lc3_config()
678 *pref = qos_pref; in lc3_reconfig()