Home
last modified time | relevance | path

Searched refs:br_chan (Results 1 – 7 of 7) sorted by relevance

/Zephyr-Core-2.7.6/subsys/bluetooth/host/
Davdtp.c44 #define AVDTP_CHAN(_ch) CONTAINER_OF(_ch, struct bt_avdtp, br_chan.chan)
66 result = bt_l2cap_chan_send(&session->br_chan.chan, buf); in avdtp_send()
138 session->br_chan.chan.conn = NULL; in bt_avdtp_l2cap_disconnected()
206 session->br_chan.chan.ops = &ops; in bt_avdtp_connect()
207 session->br_chan.chan.required_sec_level = BT_SECURITY_L2; in bt_avdtp_connect()
209 return bt_l2cap_chan_connect(conn, &session->br_chan.chan, in bt_avdtp_connect()
221 return bt_l2cap_chan_disconnect(&session->br_chan.chan); in bt_avdtp_disconnect()
240 session->br_chan.chan.ops = &ops; in bt_avdtp_l2cap_accept()
241 session->br_chan.rx.mtu = BT_AVDTP_MAX_MTU; in bt_avdtp_l2cap_accept()
242 *chan = &session->br_chan.chan; in bt_avdtp_l2cap_accept()
Da2dp.c60 if (connection[i].session.br_chan.chan.conn == conn) { in get_new_connection()
65 if (!connection[i].session.br_chan.chan.conn && in get_new_connection()
Dhfp_hf.c228 struct bt_conn *conn = hf->rfcomm_dlc.session->br_chan.chan.conn; in ag_indicator_handle_values()
352 struct bt_conn *conn = hf->rfcomm_dlc.session->br_chan.chan.conn; in ring_handle()
406 struct bt_conn *conn = hf->rfcomm_dlc.session->br_chan.chan.conn; in cmd_complete()
449 struct bt_conn *conn = hf->rfcomm_dlc.session->br_chan.chan.conn; in slc_completed()
562 if (hf->rfcomm_dlc.session->br_chan.chan.conn == conn) { in bt_hfp_hf_lookup_bt_conn()
623 struct bt_conn *conn = dlc->session->br_chan.chan.conn; in hfp_hf_disconnected()
Drfcomm.c58 struct bt_rfcomm_session, br_chan.chan)
192 if (session->br_chan.chan.conn == conn) { in rfcomm_sessions_lookup_bt_conn()
319 err = bt_l2cap_chan_send(&session->br_chan.chan, buf); in rfcomm_send()
410 session->mtu = MIN(session->br_chan.rx.mtu, in rfcomm_connected()
411 session->br_chan.tx.mtu) - in rfcomm_connected()
477 if (server->accept(session->br_chan.chan.conn, &dlc) < 0) { in rfcomm_dlc_accept()
779 struct bt_conn *conn = dlc->session->br_chan.chan.conn; in rfcomm_dlc_security()
1010 err = bt_l2cap_chan_disconnect(&session->br_chan.chan); in rfcomm_handle_ua()
1560 if (bt_l2cap_chan_disconnect(&session->br_chan.chan) < 0) { in rfcomm_session_rtx_timeout()
1580 if (session->br_chan.chan.conn) { in rfcomm_session_new()
[all …]
Davdtp_internal.h142 struct bt_l2cap_br_chan br_chan; member
Drfcomm_internal.h22 struct bt_l2cap_br_chan br_chan; member
Dl2cap_br.c1493 struct bt_l2cap_br_chan *br_chan = BR_CHAN(chan); in check_fixed_channel() local
1495 if (br_chan->rx.cid < L2CAP_BR_CID_DYN_START) { in check_fixed_channel()
1496 connect_fixed_channel(br_chan); in check_fixed_channel()