/system/bt/stack/avct/ |
D | avct_l2c_br.cc | 125 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()
|
D | avct_bcb_act.cc | 104 tL2CAP_ERTM_INFO ertm_info; in avct_bcb_chnl_open() local 109 ertm_info.preferred_mode = avct_l2c_br_fcr_opts_def.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/ |
D | gap_conn.cc | 69 tL2CAP_ERTM_INFO ertm_info; /* Pools and modes for ertm */ member 171 tL2CAP_ERTM_INFO* ertm_info, uint16_t security, in GAP_ConnOpen() argument 268 if (ertm_info == NULL) { in GAP_ConnOpen() 269 p_ccb->ertm_info.preferred_mode = p_ccb->cfg.fcr.mode; in GAP_ConnOpen() 270 p_ccb->ertm_info.user_rx_buf_size = GAP_DATA_BUF_SIZE; in GAP_ConnOpen() 271 p_ccb->ertm_info.user_tx_buf_size = GAP_DATA_BUF_SIZE; in GAP_ConnOpen() 272 p_ccb->ertm_info.fcr_rx_buf_size = L2CAP_INVALID_ERM_BUF_SIZE; in GAP_ConnOpen() 273 p_ccb->ertm_info.fcr_tx_buf_size = L2CAP_INVALID_ERM_BUF_SIZE; in GAP_ConnOpen() 275 p_ccb->ertm_info = *ertm_info; in GAP_ConnOpen() 280 if (ertm_info != NULL) { in GAP_ConnOpen() [all …]
|
/system/bt/stack/l2cap/ |
D | l2c_api.cc | 345 p_ccb->ertm_info = *p_ertm_info; in L2CA_ErtmConnectReq() 348 if (p_ccb->ertm_info.fcr_rx_buf_size == L2CAP_INVALID_ERM_BUF_SIZE) in L2CA_ErtmConnectReq() 349 p_ccb->ertm_info.fcr_rx_buf_size = L2CAP_FCR_RX_BUF_SIZE; in L2CA_ErtmConnectReq() 351 if (p_ccb->ertm_info.fcr_tx_buf_size == L2CAP_INVALID_ERM_BUF_SIZE) in L2CA_ErtmConnectReq() 352 p_ccb->ertm_info.fcr_tx_buf_size = L2CAP_FCR_TX_BUF_SIZE; in L2CA_ErtmConnectReq() 354 if (p_ccb->ertm_info.user_rx_buf_size == L2CAP_INVALID_ERM_BUF_SIZE) in L2CA_ErtmConnectReq() 355 p_ccb->ertm_info.user_rx_buf_size = L2CAP_USER_RX_BUF_SIZE; in L2CA_ErtmConnectReq() 357 if (p_ccb->ertm_info.user_tx_buf_size == L2CAP_INVALID_ERM_BUF_SIZE) in L2CA_ErtmConnectReq() 358 p_ccb->ertm_info.user_tx_buf_size = L2CAP_USER_TX_BUF_SIZE; in L2CA_ErtmConnectReq() 771 p_ccb->ertm_info = *p_ertm_info; in L2CA_ErtmConnectRsp() [all …]
|
D | l2c_fcr.cc | 1229 if (p_ccb->ertm_info.fcr_rx_buf_size != L2CAP_FCR_RX_BUF_SIZE) { in process_i_frame() 1911 p_ccb->ertm_info.allowed_modes &= ~L2CAP_FCR_CHAN_OPT_ERTM; in l2c_fcr_chk_chan_modes() 1914 p_ccb->ertm_info.allowed_modes &= ~L2CAP_FCR_CHAN_OPT_STREAM; in l2c_fcr_chk_chan_modes() 1917 if (!p_ccb->ertm_info.allowed_modes) { in l2c_fcr_chk_chan_modes() 1922 return (p_ccb->ertm_info.allowed_modes); in l2c_fcr_chk_chan_modes() 1941 if (p_fcr->mode != p_ccb->ertm_info.preferred_mode) { in l2c_fcr_adj_our_req_options() 1945 p_ccb->ertm_info.preferred_mode, p_fcr->mode); in l2c_fcr_adj_our_req_options() 1949 p_fcr->mode = p_ccb->ertm_info.preferred_mode; in l2c_fcr_adj_our_req_options() 1953 if (p_ccb->ertm_info.allowed_modes == L2CAP_FCR_CHAN_OPT_BASIC) { in l2c_fcr_adj_our_req_options() 1977 else if (p_ccb->ertm_info.allowed_modes == L2CAP_FCR_CHAN_OPT_BASIC) { in l2c_fcr_adj_our_req_options() [all …]
|
D | l2c_utils.cc | 1452 memset(&p_ccb->ertm_info, 0, sizeof(tL2CAP_ERTM_INFO)); in l2cu_allocate_ccb() 1466 p_ccb->ertm_info.preferred_mode = in l2cu_allocate_ccb() 1468 p_ccb->ertm_info.allowed_modes = in l2cu_allocate_ccb() 1470 p_ccb->ertm_info.fcr_rx_buf_size = L2CAP_FCR_RX_BUF_SIZE; in l2cu_allocate_ccb() 1471 p_ccb->ertm_info.fcr_tx_buf_size = L2CAP_FCR_TX_BUF_SIZE; in l2cu_allocate_ccb() 1472 p_ccb->ertm_info.user_rx_buf_size = L2CAP_USER_RX_BUF_SIZE; in l2cu_allocate_ccb() 1473 p_ccb->ertm_info.user_tx_buf_size = L2CAP_USER_TX_BUF_SIZE; in l2cu_allocate_ccb() 2564 p_ccb->ertm_info.fcr_rx_buf_size = L2CAP_FCR_RX_BUF_SIZE; in l2cu_initialize_fixed_ccb() 2565 p_ccb->ertm_info.fcr_tx_buf_size = L2CAP_FCR_TX_BUF_SIZE; in l2cu_initialize_fixed_ccb() 2566 p_ccb->ertm_info.user_rx_buf_size = L2CAP_USER_RX_BUF_SIZE; in l2cu_initialize_fixed_ccb() [all …]
|
D | l2c_int.h | 321 tL2CAP_ERTM_INFO ertm_info; member
|
/system/bt/bta/jv/ |
D | bta_jv_api.cc | 265 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()
|
D | bta_jv_int.h | 158 std::unique_ptr<tL2CAP_ERTM_INFO> ertm_info, 165 std::unique_ptr<tL2CAP_ERTM_INFO> ertm_info, tBTA_JV_L2CAP_CBACK* p_cback,
|
D | bta_jv_act.cc | 909 std::unique_ptr<tL2CAP_ERTM_INFO> ertm_info, in bta_jv_l2cap_connect() argument 945 &cfg, ertm_info.get(), sec_mask, chan_mode_mask, in bta_jv_l2cap_connect() 1061 std::unique_ptr<tL2CAP_ERTM_INFO> ertm_info, in bta_jv_l2cap_start_server() argument 1096 &cfg, ertm_info.get(), sec_mask, chan_mode_mask, in bta_jv_l2cap_start_server()
|
/system/bt/btif/src/ |
D | btif_sock_l2cap.cc | 863 std::unique_ptr<tL2CAP_ERTM_INFO> ertm_info; in btsock_l2cap_server_listen() local 865 ertm_info.reset(new tL2CAP_ERTM_INFO(obex_l2c_etm_opt)); in btsock_l2cap_server_listen() 869 std::move(ertm_info), sock->channel, sock->rx_mtu, in btsock_l2cap_server_listen() 922 std::unique_ptr<tL2CAP_ERTM_INFO> ertm_info; in btsock_l2cap_listen_or_connect() local 924 ertm_info.reset(new tL2CAP_ERTM_INFO(obex_l2c_etm_opt)); in btsock_l2cap_listen_or_connect() 928 connection_type, sock->security, 0, std::move(ertm_info), channel, in btsock_l2cap_listen_or_connect()
|
/system/bt/bta/include/ |
D | bta_jv_api.h | 533 std::unique_ptr<tL2CAP_ERTM_INFO> ertm_info, 579 std::unique_ptr<tL2CAP_ERTM_INFO> ertm_info,
|
/system/bt/stack/include/ |
D | gap_api.h | 180 tL2CAP_ERTM_INFO* ertm_info, uint16_t security,
|