Lines Matching refs:qos

267 	tx_qos = chan->qos->tx;  in bt_iso_setup_data_path()
268 rx_qos = chan->qos->rx; in bt_iso_setup_data_path()
790 if (chan->qos->tx == NULL) { in iso_chan_max_data_len()
794 max_data_len = chan->qos->tx->sdu; in iso_chan_max_data_len()
1114 rx = chan->qos->rx; in store_cis_info()
1115 tx = chan->qos->tx; in store_cis_info()
1237 rx = chan->qos->rx; in store_cis_info_v2()
1238 tx = chan->qos->tx; in store_cis_info_v2()
1645 tx_qos = chan->qos->tx; in bt_iso_remove_data_path()
1668 static bool valid_chan_qos(const struct bt_iso_chan_qos *qos, bool advanced) in valid_chan_qos() argument
1671 if (advanced && !IN_RANGE(qos->num_subevents, BT_ISO_NSE_MIN, BT_ISO_NSE_MAX)) { in valid_chan_qos()
1672 LOG_DBG("Invalid NSE: %u", qos->num_subevents); in valid_chan_qos()
1678 if (qos->rx != NULL) { in valid_chan_qos()
1679 if (!valid_chan_io_qos(qos->rx, false, false, advanced)) { in valid_chan_qos()
1683 } else if (qos->tx == NULL) { in valid_chan_qos()
1688 if (qos->tx != NULL) { in valid_chan_qos()
1689 if (!valid_chan_io_qos(qos->tx, true, false, advanced)) { in valid_chan_qos()
1756 struct bt_iso_chan_qos *qos = cis->qos; in hci_le_set_cig_params() local
1764 if (!qos->tx && !qos->rx) { in hci_le_set_cig_params()
1770 if (!qos->tx) { in hci_le_set_cig_params()
1774 cis_param->c_phy = qos->rx->phy; in hci_le_set_cig_params()
1776 cis_param->c_sdu = sys_cpu_to_le16(qos->tx->sdu); in hci_le_set_cig_params()
1777 cis_param->c_phy = qos->tx->phy; in hci_le_set_cig_params()
1778 cis_param->c_rtn = qos->tx->rtn; in hci_le_set_cig_params()
1781 if (!qos->rx) { in hci_le_set_cig_params()
1785 cis_param->p_phy = qos->tx->phy; in hci_le_set_cig_params()
1787 cis_param->p_sdu = sys_cpu_to_le16(qos->rx->sdu); in hci_le_set_cig_params()
1788 cis_param->p_phy = qos->rx->phy; in hci_le_set_cig_params()
1789 cis_param->p_rtn = qos->rx->rtn; in hci_le_set_cig_params()
1846 const struct bt_iso_chan_qos *qos = cis->qos; in hci_le_set_cig_test_params() local
1853 cis_param->nse = qos->num_subevents; in hci_le_set_cig_test_params()
1855 if (!qos->tx && !qos->rx) { in hci_le_set_cig_test_params()
1861 if (!qos->tx) { in hci_le_set_cig_test_params()
1865 cis_param->c_phy = qos->rx->phy; in hci_le_set_cig_test_params()
1867 cis_param->c_sdu = sys_cpu_to_le16(qos->tx->sdu); in hci_le_set_cig_test_params()
1868 cis_param->c_pdu = sys_cpu_to_le16(qos->tx->max_pdu); in hci_le_set_cig_test_params()
1869 cis_param->c_phy = qos->tx->phy; in hci_le_set_cig_test_params()
1870 cis_param->c_bn = qos->tx->burst_number; in hci_le_set_cig_test_params()
1873 if (!qos->rx) { in hci_le_set_cig_test_params()
1877 cis_param->p_phy = qos->tx->phy; in hci_le_set_cig_test_params()
1879 cis_param->p_sdu = sys_cpu_to_le16(qos->rx->sdu); in hci_le_set_cig_test_params()
1880 cis_param->p_pdu = sys_cpu_to_le16(qos->rx->max_pdu); in hci_le_set_cig_test_params()
1881 cis_param->p_phy = qos->rx->phy; in hci_le_set_cig_test_params()
1882 cis_param->p_bn = qos->rx->burst_number; in hci_le_set_cig_test_params()
1909 const struct bt_iso_chan_qos *qos = cis->qos; in is_advanced_cig_param() local
1911 if (qos->num_subevents > 0U) { in is_advanced_cig_param()
1915 if (qos->tx != NULL) { in is_advanced_cig_param()
1916 if (qos->tx->max_pdu > 0U || qos->tx->burst_number > 0U) { in is_advanced_cig_param()
1921 if (qos->rx != NULL) { in is_advanced_cig_param()
1922 if (qos->rx->max_pdu > 0U || qos->rx->burst_number > 0U) { in is_advanced_cig_param()
2033 if (cis->qos == NULL) { in valid_cig_param()
2043 if (!valid_chan_qos(cis->qos, advanced)) { in valid_cig_param()
2055 if (cis->qos->rx != NULL && cis->qos->rx->sdu != 0U) { in valid_cig_param()
2059 if (cis->qos->tx != NULL && cis->qos->tx->sdu != 0U) { in valid_cig_param()
2796 const struct bt_iso_chan_io_qos *qos; in hci_le_create_big() local
2813 qos = bis->qos->tx; in hci_le_create_big()
2820 req->max_sdu = sys_cpu_to_le16(qos->sdu); in hci_le_create_big()
2822 req->rtn = qos->rtn; in hci_le_create_big()
2823 req->phy = qos->phy; in hci_le_create_big()
2835 big->handle, padv->handle, big->num_bis, param->interval, qos->sdu, param->latency, in hci_le_create_big()
2836 qos->rtn, qos->phy, param->packing, param->framing, param->encryption); in hci_le_create_big()
2858 const struct bt_iso_chan_qos *qos; in hci_le_create_big_test() local
2873 qos = bis->qos; in hci_le_create_big_test()
2881 req->nse = qos->num_subevents; in hci_le_create_big_test()
2882 req->max_sdu = sys_cpu_to_le16(qos->tx->sdu); in hci_le_create_big_test()
2883 req->max_pdu = sys_cpu_to_le16(qos->tx->max_pdu); in hci_le_create_big_test()
2884 req->phy = qos->tx->phy; in hci_le_create_big_test()
2887 req->bn = qos->tx->burst_number; in hci_le_create_big_test()
2926 const struct bt_iso_chan_qos *qos = bis->qos; in is_advanced_big_param() local
2928 if (qos->num_subevents > 0U) { in is_advanced_big_param()
2932 __ASSERT(qos->tx != NULL, "TX cannot be NULL for broadcaster"); in is_advanced_big_param()
2934 if (qos->tx->max_pdu > 0U || qos->tx->burst_number > 0U) { in is_advanced_big_param()
2972 CHECKIF(bis->qos == NULL) { in valid_big_param()
2978 CHECKIF(bis->qos->tx == NULL || in valid_big_param()
2979 !valid_chan_io_qos(bis->qos->tx, true, true, advanced)) { in valid_big_param()
3516 CHECKIF(param_bis->qos == NULL) { in bt_iso_big_sync()
3521 CHECKIF(param_bis->qos->rx == NULL) { in bt_iso_big_sync()