Lines Matching refs:scid
845 static void l2cap_br_send_conn_rsp(struct bt_conn *conn, uint16_t scid, in l2cap_br_send_conn_rsp() argument
861 rsp->scid = sys_cpu_to_le16(scid); in l2cap_br_send_conn_rsp()
991 uint16_t psm, scid, result; in l2cap_br_conn_req() local
1000 scid = sys_le16_to_cpu(req->scid); in l2cap_br_conn_req()
1002 LOG_DBG("psm 0x%02x scid 0x%04x", psm, scid); in l2cap_br_conn_req()
1021 if (!L2CAP_BR_CID_IS_DYN(scid)) { in l2cap_br_conn_req()
1026 chan = bt_l2cap_br_lookup_tx_cid(conn, scid); in l2cap_br_conn_req()
1051 BR_CHAN(chan)->tx.cid = scid; in l2cap_br_conn_req()
1092 l2cap_br_send_conn_rsp(conn, scid, 0, ident, result); in l2cap_br_conn_req()
1101 uint16_t flags, scid, result, opt_len; in l2cap_br_conf_rsp() local
1110 scid = sys_le16_to_cpu(rsp->scid); in l2cap_br_conf_rsp()
1114 LOG_DBG("scid 0x%04x flags 0x%02x result 0x%02x len %u", scid, flags, result, opt_len); in l2cap_br_conf_rsp()
1116 chan = bt_l2cap_br_lookup_rx_cid(conn, scid); in l2cap_br_conf_rsp()
1381 .scid = req->dcid, in l2cap_br_conf_req()
1471 rsp->scid = sys_cpu_to_le16(BR_CHAN(chan)->tx.cid); in l2cap_br_conf_req()
1547 uint16_t scid, dcid; in l2cap_br_disconn_req() local
1555 scid = sys_le16_to_cpu(req->scid); in l2cap_br_disconn_req()
1557 LOG_DBG("scid 0x%04x dcid 0x%04x", dcid, scid); in l2cap_br_disconn_req()
1559 chan = l2cap_br_remove_tx_cid(conn, scid); in l2cap_br_disconn_req()
1563 data.scid = req->scid; in l2cap_br_disconn_req()
1579 rsp->scid = sys_cpu_to_le16(chan->tx.cid); in l2cap_br_disconn_req()
1636 req->scid = sys_cpu_to_le16(br_chan->rx.cid); in bt_l2cap_br_chan_disconnect()
1650 uint16_t dcid, scid; in l2cap_br_disconn_rsp() local
1658 scid = sys_le16_to_cpu(rsp->scid); in l2cap_br_disconn_rsp()
1660 LOG_DBG("dcid 0x%04x scid 0x%04x", dcid, scid); in l2cap_br_disconn_rsp()
1745 req->scid = sys_cpu_to_le16(BR_CHAN(chan)->rx.cid); in bt_l2cap_br_chan_connect()
1758 uint16_t dcid, scid, result, status; in l2cap_br_conn_rsp() local
1767 scid = sys_le16_to_cpu(rsp->scid); in l2cap_br_conn_rsp()
1771 LOG_DBG("dcid 0x%04x scid 0x%04x result %u status %u", dcid, scid, result, status); in l2cap_br_conn_rsp()
1773 chan = bt_l2cap_br_lookup_rx_cid(conn, scid); in l2cap_br_conn_rsp()
1775 LOG_ERR("No scid 0x%04x channel found", scid); in l2cap_br_conn_rsp()
1974 req->scid = sys_cpu_to_le16(BR_CHAN(chan)->rx.cid); in l2cap_br_conn_pend()