Home
last modified time | relevance | path

Searched refs:omtu (Results 1 – 14 of 14) sorted by relevance

/external/bluetooth/bluez/test/
Dl2test.c73 static int omtu = 0; variable
229 opts.omtu = omtu; in do_connect()
320 opts.imtu, opts.omtu, opts.flush_to, opts.mode, conn.hci_handle, in do_connect()
323 omtu = (opts.omtu > buffer_size) ? buffer_size : opts.omtu; in do_connect()
392 opts.omtu = omtu; in do_listen()
490 ba, opts.imtu, opts.omtu, opts.flush_to, opts.mode, conn.hci_handle, in do_listen()
493 omtu = (opts.omtu > buffer_size) ? buffer_size : opts.omtu; in do_listen()
718 data_size = omtu; in do_send()
731 buflen = (size > omtu) ? omtu : size; in do_send()
753 buflen = (size > omtu) ? omtu : size; in do_send()
[all …]
Dbtiotest.c125 uint16_t omtu, imtu; in connect_cb() local
128 BT_IO_OPT_OMTU, &omtu, in connect_cb()
135 printf("imtu=%u, omtu=%u\n", imtu, omtu); in connect_cb()
Davtest.c449 l2o.omtu = 48; in set_minimum_mtu()
/external/bluetooth/bluez/src/
Dbtio.c58 uint16_t omtu; member
478 static gboolean l2cap_set(int sock, int sec_level, uint16_t imtu, uint16_t omtu, in l2cap_set() argument
481 if (imtu || omtu || mode) { in l2cap_set()
495 if (omtu) in l2cap_set()
496 l2o.omtu = omtu; in l2cap_set()
670 opts->omtu = opts->mtu; in parse_set_opts()
673 opts->omtu = va_arg(args, int); in parse_set_opts()
675 opts->mtu = opts->omtu; in parse_set_opts()
795 *(va_arg(args, uint16_t *)) = l2o.omtu; in l2cap_get()
1097 return l2cap_set(sock, opts.sec_level, opts.imtu, opts.omtu, in bt_io_set()
[all …]
Dsdpd-server.c108 opts.omtu = mtu; in init_server()
Dsdpd-request.c1056 req.mtu = lo.omtu; in handle_request()
/external/bluetooth/bluez/audio/
Davdtp.c363 uint16_t omtu; member
410 uint16_t omtu; member
524 if (sizeof(struct avdtp_single_header) + len <= session->omtu) { in avdtp_send()
541 cont_fragments = (len - (session->omtu - sizeof(start))) / in avdtp_send()
542 (session->omtu - sizeof(cont)) + 1; in avdtp_send()
556 session->omtu - sizeof(start)); in avdtp_send()
558 if (!try_send(sock, session->buf, session->omtu)) in avdtp_send()
561 DBG("first packet with %zu bytes sent", session->omtu - sizeof(start)); in avdtp_send()
563 sent = session->omtu - sizeof(start); in avdtp_send()
570 if (left + sizeof(cont) > session->omtu) { in avdtp_send()
[all …]
Davdtp.h251 uint16_t *imtu, uint16_t *omtu,
Dunix.c706 uint16_t imtu, omtu; in a2dp_config_complete() local
726 if (!avdtp_stream_get_transport(stream, &client->data_fd, &imtu, &omtu, in a2dp_config_complete()
737 rsp->link_mtu = omtu; in a2dp_config_complete()
/external/bluetooth/bluez/lib/bluetooth/
Dl2cap.h50 uint16_t omtu; member
/external/bluetooth/bluez/compat/
Dpand.c252 l2o.imtu = l2o.omtu = BNEP_MTU; in do_listen()
354 l2o.imtu = l2o.omtu = BNEP_MTU; in create_connection()
Dhidd.c96 opts.omtu = HIDP_DEFAULT_MTU; in l2cap_connect()
137 opts.omtu = HIDP_DEFAULT_MTU; in l2cap_listen()
/external/bluetooth/bluez/cups/
Dhcrp.c274 mtu = opts.omtu; in hcrp_print()
/external/bluetooth/bluez/tools/
Dciptool.c170 opts.omtu = CMTP_DEFAULT_MTU; in do_connect()