Home
last modified time | relevance | path

Searched refs:ertm_info (Results 1 – 16 of 16) sorted by relevance

/system/bt/stack/avct/
Davct_l2c_br.cc125 tL2CAP_ERTM_INFO ertm_info; in avct_l2c_br_connect_ind_cback() local
152 ertm_info.preferred_mode = cfg.fcr.mode; in avct_l2c_br_connect_ind_cback()
153 ertm_info.allowed_modes = L2CAP_FCR_CHAN_OPT_ERTM; in avct_l2c_br_connect_ind_cback()
154 ertm_info.user_rx_buf_size = BT_DEFAULT_BUFFER_SIZE; in avct_l2c_br_connect_ind_cback()
155 ertm_info.user_tx_buf_size = BT_DEFAULT_BUFFER_SIZE; in avct_l2c_br_connect_ind_cback()
156 ertm_info.fcr_rx_buf_size = BT_DEFAULT_BUFFER_SIZE; in avct_l2c_br_connect_ind_cback()
157 ertm_info.fcr_tx_buf_size = BT_DEFAULT_BUFFER_SIZE; in avct_l2c_br_connect_ind_cback()
160 L2CA_ErtmConnectRsp(bd_addr, id, lcid, result, 0, &ertm_info); in avct_l2c_br_connect_ind_cback()
Davct_api.cc76 tL2CAP_ERTM_INFO ertm_info; in AVCT_Register() local
77 ertm_info.preferred_mode = avct_l2c_br_fcr_opts_def.mode; in AVCT_Register()
78 ertm_info.allowed_modes = L2CAP_FCR_CHAN_OPT_ERTM; in AVCT_Register()
79 ertm_info.user_rx_buf_size = BT_DEFAULT_BUFFER_SIZE; in AVCT_Register()
80 ertm_info.user_tx_buf_size = BT_DEFAULT_BUFFER_SIZE; in AVCT_Register()
81 ertm_info.fcr_rx_buf_size = BT_DEFAULT_BUFFER_SIZE; in AVCT_Register()
82 ertm_info.fcr_tx_buf_size = BT_DEFAULT_BUFFER_SIZE; in AVCT_Register()
88 true /*enable_snoop*/, &ertm_info, avct_cb.mtu_br); in AVCT_Register()
Davct_bcb_act.cc104 tL2CAP_ERTM_INFO ertm_info; in avct_bcb_chnl_open() local
109 ertm_info.preferred_mode = L2CAP_FCR_ERTM_MODE; in avct_bcb_chnl_open()
110 ertm_info.allowed_modes = L2CAP_FCR_CHAN_OPT_ERTM; in avct_bcb_chnl_open()
111 ertm_info.user_rx_buf_size = BT_DEFAULT_BUFFER_SIZE; in avct_bcb_chnl_open()
112 ertm_info.user_tx_buf_size = BT_DEFAULT_BUFFER_SIZE; in avct_bcb_chnl_open()
113 ertm_info.fcr_rx_buf_size = BT_DEFAULT_BUFFER_SIZE; in avct_bcb_chnl_open()
114 ertm_info.fcr_tx_buf_size = BT_DEFAULT_BUFFER_SIZE; in avct_bcb_chnl_open()
119 L2CA_ErtmConnectReq(AVCT_BR_PSM, p_lcb->peer_addr, &ertm_info); in avct_bcb_chnl_open()
/system/bt/stack/gap/
Dgap_conn.cc69 tL2CAP_ERTM_INFO ertm_info; /* Pools and modes for ertm */ member
171 tL2CAP_ERTM_INFO* ertm_info, uint16_t security, in GAP_ConnOpen() argument
238 if (ertm_info == NULL) { in GAP_ConnOpen()
239 p_ccb->ertm_info.preferred_mode = p_ccb->cfg.fcr.mode; in GAP_ConnOpen()
240 p_ccb->ertm_info.user_rx_buf_size = GAP_DATA_BUF_SIZE; in GAP_ConnOpen()
241 p_ccb->ertm_info.user_tx_buf_size = GAP_DATA_BUF_SIZE; in GAP_ConnOpen()
242 p_ccb->ertm_info.fcr_rx_buf_size = L2CAP_INVALID_ERM_BUF_SIZE; in GAP_ConnOpen()
243 p_ccb->ertm_info.fcr_tx_buf_size = L2CAP_INVALID_ERM_BUF_SIZE; in GAP_ConnOpen()
245 p_ccb->ertm_info = *ertm_info; in GAP_ConnOpen()
252 &p_ccb->ertm_info, L2CAP_MTU_SIZE); in GAP_ConnOpen()
[all …]
/system/bt/stack/l2cap/
Dl2c_api.cc377 p_ccb->ertm_info = *p_ertm_info; in L2CA_ErtmConnectReq()
380 if (p_ccb->ertm_info.fcr_rx_buf_size == L2CAP_INVALID_ERM_BUF_SIZE) in L2CA_ErtmConnectReq()
381 p_ccb->ertm_info.fcr_rx_buf_size = L2CAP_FCR_RX_BUF_SIZE; in L2CA_ErtmConnectReq()
383 if (p_ccb->ertm_info.fcr_tx_buf_size == L2CAP_INVALID_ERM_BUF_SIZE) in L2CA_ErtmConnectReq()
384 p_ccb->ertm_info.fcr_tx_buf_size = L2CAP_FCR_TX_BUF_SIZE; in L2CA_ErtmConnectReq()
386 if (p_ccb->ertm_info.user_rx_buf_size == L2CAP_INVALID_ERM_BUF_SIZE) in L2CA_ErtmConnectReq()
387 p_ccb->ertm_info.user_rx_buf_size = L2CAP_USER_RX_BUF_SIZE; in L2CA_ErtmConnectReq()
389 if (p_ccb->ertm_info.user_tx_buf_size == L2CAP_INVALID_ERM_BUF_SIZE) in L2CA_ErtmConnectReq()
390 p_ccb->ertm_info.user_tx_buf_size = L2CAP_USER_TX_BUF_SIZE; in L2CA_ErtmConnectReq()
796 p_ccb->ertm_info = *p_ertm_info; in L2CA_ErtmConnectRsp()
[all …]
Dl2c_fcr.cc1206 if (p_ccb->ertm_info.fcr_rx_buf_size != L2CAP_FCR_RX_BUF_SIZE) { in process_i_frame()
1884 p_ccb->ertm_info.allowed_modes &= ~L2CAP_FCR_CHAN_OPT_ERTM; in l2c_fcr_chk_chan_modes()
1887 if (!p_ccb->ertm_info.allowed_modes) { in l2c_fcr_chk_chan_modes()
1892 return (p_ccb->ertm_info.allowed_modes); in l2c_fcr_chk_chan_modes()
1911 if (p_fcr->mode != p_ccb->ertm_info.preferred_mode) { in l2c_fcr_adj_our_req_options()
1915 p_ccb->ertm_info.preferred_mode, p_fcr->mode); in l2c_fcr_adj_our_req_options()
1919 p_fcr->mode = p_ccb->ertm_info.preferred_mode; in l2c_fcr_adj_our_req_options()
1923 if (p_ccb->ertm_info.allowed_modes == L2CAP_FCR_CHAN_OPT_BASIC) { in l2c_fcr_adj_our_req_options()
1947 else if (p_ccb->ertm_info.allowed_modes == L2CAP_FCR_CHAN_OPT_BASIC) { in l2c_fcr_adj_our_req_options()
1969 !(p_ccb->ertm_info.allowed_modes & L2CAP_FCR_CHAN_OPT_ERTM)) { in l2c_fcr_adj_our_req_options()
[all …]
Dl2c_utils.cc1454 memset(&p_ccb->ertm_info, 0, sizeof(tL2CAP_ERTM_INFO)); in l2cu_allocate_ccb()
1468 p_ccb->ertm_info.preferred_mode = in l2cu_allocate_ccb()
1470 p_ccb->ertm_info.allowed_modes = in l2cu_allocate_ccb()
1472 p_ccb->ertm_info.fcr_rx_buf_size = L2CAP_FCR_RX_BUF_SIZE; in l2cu_allocate_ccb()
1473 p_ccb->ertm_info.fcr_tx_buf_size = L2CAP_FCR_TX_BUF_SIZE; in l2cu_allocate_ccb()
1474 p_ccb->ertm_info.user_rx_buf_size = L2CAP_USER_RX_BUF_SIZE; in l2cu_allocate_ccb()
1475 p_ccb->ertm_info.user_tx_buf_size = L2CAP_USER_TX_BUF_SIZE; in l2cu_allocate_ccb()
Dl2c_int.h320 tL2CAP_ERTM_INFO ertm_info; member
/system/bt/bta/jv/
Dbta_jv_api.cc265 std::unique_ptr<tL2CAP_ERTM_INFO> ertm_info, in BTA_JvL2capConnect() argument
277 base::Passed(&ertm_info), p_cback, l2cap_socket_id)); in BTA_JvL2capConnect()
334 std::unique_ptr<tL2CAP_ERTM_INFO> ertm_info, in BTA_JvL2capStartServer() argument
345 base::Passed(&ertm_info), p_cback, l2cap_socket_id)); in BTA_JvL2capStartServer()
Dbta_jv_int.h158 std::unique_ptr<tL2CAP_ERTM_INFO> ertm_info,
165 std::unique_ptr<tL2CAP_ERTM_INFO> ertm_info, tBTA_JV_L2CAP_CBACK* p_cback,
Dbta_jv_act.cc911 std::unique_ptr<tL2CAP_ERTM_INFO> ertm_info, in bta_jv_l2cap_connect() argument
947 &cfg, ertm_info.get(), sec_mask, chan_mode_mask, in bta_jv_l2cap_connect()
1063 std::unique_ptr<tL2CAP_ERTM_INFO> ertm_info, in bta_jv_l2cap_start_server() argument
1098 &cfg, ertm_info.get(), sec_mask, chan_mode_mask, in bta_jv_l2cap_start_server()
/system/bt/bta/include/
Dbta_jv_api.h533 std::unique_ptr<tL2CAP_ERTM_INFO> ertm_info,
579 std::unique_ptr<tL2CAP_ERTM_INFO> ertm_info,
/system/bt/stack/include/
Dgap_api.h179 tL2CAP_ERTM_INFO* ertm_info, uint16_t security,
/system/bt/main/shim/
Dl2cap.h89 tL2CAP_ERTM_INFO* ertm_info);
Dl2cap.cc350 uint16_t result, uint16_t status, tL2CAP_ERTM_INFO* ertm_info) { in ConnectResponse() argument
/system/bt/btif/src/
Dbtif_sock_l2cap.cc870 std::unique_ptr<tL2CAP_ERTM_INFO> ertm_info; in btsock_l2cap_server_listen() local
872 ertm_info.reset(new tL2CAP_ERTM_INFO(obex_l2c_etm_opt)); in btsock_l2cap_server_listen()
876 std::move(ertm_info), sock->channel, sock->rx_mtu, in btsock_l2cap_server_listen()
929 std::unique_ptr<tL2CAP_ERTM_INFO> ertm_info; in btsock_l2cap_listen_or_connect() local
931 ertm_info.reset(new tL2CAP_ERTM_INFO(obex_l2c_etm_opt)); in btsock_l2cap_listen_or_connect()
935 connection_type, sock->security, 0, std::move(ertm_info), channel, in btsock_l2cap_listen_or_connect()