Lines Matching refs:dcid
1499 rsp->dcid = sys_cpu_to_le16(le_chan->rx.cid); in le_conn_req()
1531 uint16_t scid, dcid[BT_L2CAP_ECRED_CHAN_MAX_PER_REQ]; in le_ecred_conn_req() local
1537 memset(dcid, 0, sizeof(dcid)); in le_ecred_conn_req()
1548 if (buf->len > sizeof(dcid)) { in le_ecred_conn_req()
1593 dcid[i++] = sys_cpu_to_le16(ch->rx.cid); in le_ecred_conn_req()
1604 dcid[i++] = 0x0000; in le_ecred_conn_req()
1626 net_buf_add_mem(buf, dcid, sizeof(scid) * req_cid_count); in le_ecred_conn_req()
1641 if ((dcid[i] != 0x00) && (chan[i]->ops->connected != NULL)) { in le_ecred_conn_req()
1810 uint16_t dcid; in le_disconn_req() local
1817 dcid = sys_le16_to_cpu(req->dcid); in le_disconn_req()
1819 LOG_DBG("dcid 0x%04x scid 0x%04x", dcid, sys_le16_to_cpu(req->scid)); in le_disconn_req()
1821 chan = l2cap_remove_rx_cid(conn, dcid); in le_disconn_req()
1826 data.dcid = req->dcid; in le_disconn_req()
1840 rsp->dcid = sys_cpu_to_le16(chan->rx.cid); in le_disconn_req()
1899 uint16_t dcid, mtu, mps, credits, result, psm; in le_ecred_conn_rsp() local
1952 if (buf->len < sizeof(dcid)) { in le_ecred_conn_rsp()
1959 dcid = net_buf_pull_le16(buf); in le_ecred_conn_rsp()
1962 LOG_DBG("dcid 0x%04x", dcid); in le_ecred_conn_rsp()
1967 if (!dcid) { in le_ecred_conn_rsp()
1973 c = bt_l2cap_le_lookup_tx_cid(conn, dcid); in le_ecred_conn_rsp()
1988 chan->tx.cid = dcid; in le_ecred_conn_rsp()
2029 uint16_t dcid, mtu, mps, credits, result; in le_conn_rsp() local
2036 dcid = sys_le16_to_cpu(rsp->dcid); in le_conn_rsp()
2042 LOG_DBG("dcid 0x%04x mtu %u mps %u credits %u result 0x%04x", dcid, mtu, mps, credits, in le_conn_rsp()
2067 chan->tx.cid = dcid; in le_conn_rsp()
2110 LOG_DBG("dcid 0x%04x scid 0x%04x", sys_le16_to_cpu(rsp->dcid), scid); in le_disconn_rsp()
3189 req->dcid = sys_cpu_to_le16(le_chan->tx.cid); in bt_l2cap_chan_disconnect()