Home
last modified time | relevance | path

Searched refs:l2cap_chan (Results 1 – 12 of 12) sorted by relevance

/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/general/src/
Dmain_l2cap_ecred.c96 static int chan_recv_cb(struct bt_l2cap_chan *l2cap_chan, struct net_buf *buf) in chan_recv_cb() argument
99 l2cap_chan, struct bt_l2cap_le_chan, chan); in chan_recv_cb()
130 static void chan_sent_cb(struct bt_l2cap_chan *l2cap_chan) in chan_sent_cb() argument
133 l2cap_chan, struct bt_l2cap_le_chan, chan); in chan_sent_cb()
142 static void chan_connected_cb(struct bt_l2cap_chan *l2cap_chan) in chan_connected_cb() argument
145 l2cap_chan, struct bt_l2cap_le_chan, chan); in chan_connected_cb()
162 static void chan_disconnected_cb(struct bt_l2cap_chan *l2cap_chan) in chan_disconnected_cb() argument
165 l2cap_chan, struct bt_l2cap_le_chan, chan); in chan_disconnected_cb()
179 static void chan_status_cb(struct bt_l2cap_chan *l2cap_chan, atomic_t *status) in chan_status_cb() argument
182 l2cap_chan, struct bt_l2cap_le_chan, chan); in chan_status_cb()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/send_on_connect/src/
Dmain_l2cap_send_on_connect.c29 static void chan_connected_cb(struct bt_l2cap_chan *l2cap_chan) in chan_connected_cb() argument
44 err = bt_l2cap_chan_send(l2cap_chan, buf); in chan_connected_cb()
52 static void chan_disconnected_cb(struct bt_l2cap_chan *l2cap_chan) in chan_disconnected_cb() argument
54 (void)l2cap_chan; in chan_disconnected_cb()
81 struct bt_l2cap_chan **l2cap_chan) in accept() argument
84 *l2cap_chan = &channel.chan; in accept()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/userdata/src/
Dmain_l2cap_userdata.c29 static void chan_connected_cb(struct bt_l2cap_chan *l2cap_chan) in chan_connected_cb() argument
31 (void)l2cap_chan; in chan_connected_cb()
36 static void chan_disconnected_cb(struct bt_l2cap_chan *l2cap_chan) in chan_disconnected_cb() argument
38 (void)l2cap_chan; in chan_disconnected_cb()
74 struct bt_l2cap_chan **l2cap_chan) in accept() argument
77 *l2cap_chan = &channel.chan; in accept()
/Zephyr-latest/tests/bluetooth/tester/src/
Dbtp_l2cap.c52 static void seg_recv_cb(struct bt_l2cap_chan *l2cap_chan, size_t sdu_len, off_t seg_offset, in seg_recv_cb() argument
57 CONTAINER_OF(l2cap_chan, struct bt_l2cap_le_chan, chan); in seg_recv_cb()
75 bt_l2cap_chan_give_credits(l2cap_chan, 1); in seg_recv_cb()
86 static int recv_cb(struct bt_l2cap_chan *l2cap_chan, struct net_buf *buf) in recv_cb() argument
90 l2cap_chan, struct bt_l2cap_le_chan, chan); in recv_cb()
112 static void connected_cb(struct bt_l2cap_chan *l2cap_chan) in connected_cb() argument
116 l2cap_chan, struct bt_l2cap_le_chan, chan); in connected_cb()
122 if (!bt_conn_get_info(l2cap_chan->conn, &info)) { in connected_cb()
141 static void disconnected_cb(struct bt_l2cap_chan *l2cap_chan) in disconnected_cb() argument
145 l2cap_chan, struct bt_l2cap_le_chan, chan); in disconnected_cb()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/split/dut/src/
Dmain.c64 void l2cap_chan_connected_cb(struct bt_l2cap_chan *l2cap_chan) in l2cap_chan_connected_cb() argument
67 CONTAINER_OF(l2cap_chan, struct bt_l2cap_le_chan, chan); in l2cap_chan_connected_cb()
72 l2cap_chan, in l2cap_chan_connected_cb()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/credits_seg_recv/src/
Dmain.c96 void recv_cb(struct bt_l2cap_chan *l2cap_chan, size_t sdu_len, off_t seg_offset, in recv_cb() argument
126 void l2cap_chan_connected_cb(struct bt_l2cap_chan *l2cap_chan) in l2cap_chan_connected_cb() argument
128 struct bt_l2cap_le_chan *chan = CONTAINER_OF(l2cap_chan, struct bt_l2cap_le_chan, chan); in l2cap_chan_connected_cb()
133 LOG_DBG("%x (tx mtu %d mps %d) (tx mtu %d mps %d)", l2cap_chan, chan->tx.mtu, chan->tx.mps, in l2cap_chan_connected_cb()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/ecred/dut/src/
Ddut.c37 void l2cap_chan_connected_cb(struct bt_l2cap_chan *l2cap_chan) in l2cap_chan_connected_cb() argument
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/credits/src/
Dmain.c119 void l2cap_chan_connected_cb(struct bt_l2cap_chan *l2cap_chan) in l2cap_chan_connected_cb() argument
122 CONTAINER_OF(l2cap_chan, struct bt_l2cap_le_chan, chan); in l2cap_chan_connected_cb()
128 l2cap_chan, in l2cap_chan_connected_cb()
/Zephyr-latest/subsys/bluetooth/host/classic/shell/
Dbredr.c251 static struct bt_l2cap_br_chan l2cap_chan = { variable
262 if (l2cap_chan.chan.conn) { in l2cap_accept()
267 *chan = &l2cap_chan.chan; in l2cap_accept()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/many_conns/src/
Dmain.c124 void l2cap_chan_connected_cb(struct bt_l2cap_chan *l2cap_chan) in l2cap_chan_connected_cb() argument
127 CONTAINER_OF(l2cap_chan, struct bt_l2cap_le_chan, chan); in l2cap_chan_connected_cb()
131 l2cap_chan, in l2cap_chan_connected_cb()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/stress/src/
Dmain.c164 void l2cap_chan_connected_cb(struct bt_l2cap_chan *l2cap_chan) in l2cap_chan_connected_cb() argument
167 CONTAINER_OF(l2cap_chan, struct bt_l2cap_le_chan, chan); in l2cap_chan_connected_cb()
171 l2cap_chan, in l2cap_chan_connected_cb()
/Zephyr-latest/subsys/bluetooth/host/
Datt.c3391 static void bt_att_reconfigured(struct bt_l2cap_chan *l2cap_chan) in bt_att_reconfigured() argument
3393 struct bt_att_chan *att_chan = ATT_CHAN(l2cap_chan); in bt_att_reconfigured()
4120 struct bt_l2cap_chan *l2cap_chan; in bt_att_out_of_sync_sent_on_fixed() local
4123 l2cap_chan = bt_l2cap_le_lookup_rx_cid(conn, BT_L2CAP_CID_ATT); in bt_att_out_of_sync_sent_on_fixed()
4124 if (!l2cap_chan) { in bt_att_out_of_sync_sent_on_fixed()
4128 att_chan = ATT_CHAN(l2cap_chan); in bt_att_out_of_sync_sent_on_fixed()