Lines Matching refs:io_qos
820 static bool valid_chan_io_qos(const struct bt_iso_chan_io_qos *io_qos, in valid_chan_io_qos() argument
826 if (io_qos->sdu > max_sdu) { in valid_chan_io_qos()
827 LOG_DBG("sdu (%u) shall be smaller or equal to %zu", io_qos->sdu, max_sdu); in valid_chan_io_qos()
832 if (!IN_RANGE(io_qos->phy, BT_GAP_LE_PHY_1M, BT_GAP_LE_PHY_CODED)) { in valid_chan_io_qos()
833 LOG_DBG("Invalid PHY %u", io_qos->phy); in valid_chan_io_qos()
840 io_qos->rtn > BT_ISO_BROADCAST_RTN_MAX) { in valid_chan_io_qos()
841 LOG_DBG("Invalid RTN %u", io_qos->phy); in valid_chan_io_qos()
849 if (!IN_RANGE(io_qos->max_pdu, in valid_chan_io_qos()
852 LOG_DBG("Invalid PDU %u", io_qos->max_pdu); in valid_chan_io_qos()
857 if (!IN_RANGE(io_qos->max_pdu, in valid_chan_io_qos()
860 LOG_DBG("Invalid PDU %u", io_qos->max_pdu); in valid_chan_io_qos()
866 if (!IN_RANGE(io_qos->burst_number, in valid_chan_io_qos()
869 LOG_DBG("Invalid BN %u", io_qos->burst_number); in valid_chan_io_qos()