/system/bt/stack/mcap/ |
D | mca_l2c.c | 77 tL2CAP_ERTM_INFO ertm_info; in mca_sec_check_complete_term() local 87 ertm_info.preferred_mode = mca_l2c_fcr_opts_def.mode; in mca_sec_check_complete_term() 88 ertm_info.allowed_modes = L2CAP_FCR_CHAN_OPT_ERTM; in mca_sec_check_complete_term() 89 ertm_info.user_rx_buf_size = MCA_USER_RX_BUF_SIZE; in mca_sec_check_complete_term() 90 ertm_info.user_tx_buf_size = MCA_USER_TX_BUF_SIZE; in mca_sec_check_complete_term() 91 ertm_info.fcr_rx_buf_size = MCA_FCR_RX_BUF_SIZE; in mca_sec_check_complete_term() 92 ertm_info.fcr_tx_buf_size = MCA_FCR_TX_BUF_SIZE; in mca_sec_check_complete_term() 94 … L2CA_ErtmConnectRsp (bd_addr, p_tbl->id, p_tbl->lcid, L2CAP_CONN_OK, L2CAP_CONN_OK, &ertm_info); in mca_sec_check_complete_term() 160 tL2CAP_ERTM_INFO ertm_info, *p_ertm_info = NULL; in mca_l2c_cconn_ind_cback() local 183 ertm_info.preferred_mode = mca_l2c_fcr_opts_def.mode; in mca_l2c_cconn_ind_cback() [all …]
|
/system/bt/bta/jv/ |
D | bta_jv_api.c | 310 const tL2CAP_ERTM_INFO *ertm_info, UINT16 remote_chan, in BTA_JvL2capConnectLE() argument 332 if (ertm_info != NULL) { in BTA_JvL2capConnectLE() 334 p_msg->ertm_info = *ertm_info; in BTA_JvL2capConnectLE() 363 const tL2CAP_ERTM_INFO *ertm_info, UINT16 remote_psm, in BTA_JvL2capConnect() argument 386 if (ertm_info != NULL) { in BTA_JvL2capConnect() 388 p_msg->ertm_info = *ertm_info; in BTA_JvL2capConnect() 472 const tL2CAP_ERTM_INFO *ertm_info,UINT16 local_psm, UINT16 rx_mtu, tL2CAP_CFG_INFO *cfg, in BTA_JvL2capStartServer() argument 494 if (ertm_info != NULL) { in BTA_JvL2capStartServer() 496 p_msg->ertm_info = *ertm_info; in BTA_JvL2capStartServer() 523 const tL2CAP_ERTM_INFO *ertm_info,UINT16 local_chan, UINT16 rx_mtu, tL2CAP_CFG_INFO *cfg, in BTA_JvL2capStartServerLE() argument [all …]
|
D | bta_jv_int.h | 178 tL2CAP_ERTM_INFO ertm_info; member 198 tL2CAP_ERTM_INFO ertm_info; member
|
D | bta_jv_act.c | 1059 tL2CAP_ERTM_INFO *ertm_info = NULL; in bta_jv_l2cap_connect() local 1073 ertm_info = &(cc->ertm_info); in bta_jv_l2cap_connect() 1094 &cfg, ertm_info, cc->sec_mask, chan_mode_mask, in bta_jv_l2cap_connect() 1229 tL2CAP_ERTM_INFO *ertm_info = NULL; in bta_jv_l2cap_start_server() local 1241 ertm_info = &(ls->ertm_info); in bta_jv_l2cap_start_server() 1263 (handle = GAP_ConnOpen("JV L2CAP", sec_id, 1, 0, ls->local_psm, &cfg, ertm_info, in bta_jv_l2cap_start_server()
|
/system/bt/stack/gap/ |
D | gap_conn.c | 128 tL2CAP_ERTM_INFO *ertm_info, UINT16 security, UINT8 chan_mode_mask, in GAP_ConnOpen() argument 231 if(ertm_info == NULL) { in GAP_ConnOpen() 232 p_ccb->ertm_info.preferred_mode = p_ccb->cfg.fcr.mode; in GAP_ConnOpen() 233 p_ccb->ertm_info.user_rx_buf_size = GAP_DATA_BUF_SIZE; in GAP_ConnOpen() 234 p_ccb->ertm_info.user_tx_buf_size = GAP_DATA_BUF_SIZE; in GAP_ConnOpen() 235 p_ccb->ertm_info.fcr_rx_buf_size = L2CAP_INVALID_ERM_BUF_SIZE; in GAP_ConnOpen() 236 p_ccb->ertm_info.fcr_tx_buf_size = L2CAP_INVALID_ERM_BUF_SIZE; in GAP_ConnOpen() 238 p_ccb->ertm_info = *ertm_info; in GAP_ConnOpen() 243 if(ertm_info != NULL) { in GAP_ConnOpen() 244 p_ccb->ertm_info.allowed_modes = in GAP_ConnOpen() [all …]
|
D | gap_int.h | 86 tL2CAP_ERTM_INFO ertm_info; /* Pools and modes for ertm */ member
|
/system/bt/stack/l2cap/ |
D | l2c_api.c | 290 p_ccb->ertm_info = *p_ertm_info; in L2CA_ErtmConnectReq() 293 if (p_ccb->ertm_info.fcr_rx_buf_size == L2CAP_INVALID_ERM_BUF_SIZE) in L2CA_ErtmConnectReq() 294 p_ccb->ertm_info.fcr_rx_buf_size = L2CAP_FCR_RX_BUF_SIZE; in L2CA_ErtmConnectReq() 296 if (p_ccb->ertm_info.fcr_tx_buf_size == L2CAP_INVALID_ERM_BUF_SIZE) in L2CA_ErtmConnectReq() 297 p_ccb->ertm_info.fcr_tx_buf_size = L2CAP_FCR_TX_BUF_SIZE; in L2CA_ErtmConnectReq() 299 if (p_ccb->ertm_info.user_rx_buf_size == L2CAP_INVALID_ERM_BUF_SIZE) in L2CA_ErtmConnectReq() 300 p_ccb->ertm_info.user_rx_buf_size = L2CAP_USER_RX_BUF_SIZE; in L2CA_ErtmConnectReq() 302 if (p_ccb->ertm_info.user_tx_buf_size == L2CAP_INVALID_ERM_BUF_SIZE) in L2CA_ErtmConnectReq() 303 p_ccb->ertm_info.user_tx_buf_size = L2CAP_USER_TX_BUF_SIZE; in L2CA_ErtmConnectReq() 735 p_ccb->ertm_info = *p_ertm_info; in L2CA_ErtmConnectRsp() [all …]
|
D | l2c_fcr.c | 1211 if (p_ccb->ertm_info.fcr_rx_buf_size != L2CAP_FCR_RX_BUF_SIZE) in process_i_frame() 1962 p_ccb->ertm_info.allowed_modes &= ~L2CAP_FCR_CHAN_OPT_ERTM; in l2c_fcr_chk_chan_modes() 1965 p_ccb->ertm_info.allowed_modes &= ~L2CAP_FCR_CHAN_OPT_STREAM; in l2c_fcr_chk_chan_modes() 1968 if (!p_ccb->ertm_info.allowed_modes) in l2c_fcr_chk_chan_modes() 1973 return (p_ccb->ertm_info.allowed_modes); in l2c_fcr_chk_chan_modes() 1993 if (p_fcr->mode != p_ccb->ertm_info.preferred_mode) in l2c_fcr_adj_our_req_options() 1996 p_ccb->ertm_info.preferred_mode, p_fcr->mode); in l2c_fcr_adj_our_req_options() 1999 p_fcr->mode = p_ccb->ertm_info.preferred_mode; in l2c_fcr_adj_our_req_options() 2003 if (p_ccb->ertm_info.allowed_modes == L2CAP_FCR_CHAN_OPT_BASIC) in l2c_fcr_adj_our_req_options() 2026 else if (p_ccb->ertm_info.allowed_modes == L2CAP_FCR_CHAN_OPT_BASIC) in l2c_fcr_adj_our_req_options() [all …]
|
D | l2c_utils.c | 1560 memset (&p_ccb->ertm_info, 0, sizeof(tL2CAP_ERTM_INFO)); in l2cu_allocate_ccb() 1573 …p_ccb->ertm_info.preferred_mode = L2CAP_FCR_BASIC_MODE; /* Default mode for channel is bas… in l2cu_allocate_ccb() 1574 …p_ccb->ertm_info.allowed_modes = L2CAP_FCR_CHAN_OPT_BASIC; /* Default mode for channel is bas… in l2cu_allocate_ccb() 1575 p_ccb->ertm_info.fcr_rx_buf_size = L2CAP_FCR_RX_BUF_SIZE; in l2cu_allocate_ccb() 1576 p_ccb->ertm_info.fcr_tx_buf_size = L2CAP_FCR_TX_BUF_SIZE; in l2cu_allocate_ccb() 1577 p_ccb->ertm_info.user_rx_buf_size = L2CAP_USER_RX_BUF_SIZE; in l2cu_allocate_ccb() 1578 p_ccb->ertm_info.user_tx_buf_size = L2CAP_USER_TX_BUF_SIZE; in l2cu_allocate_ccb() 2773 p_ccb->ertm_info.fcr_rx_buf_size = L2CAP_FCR_RX_BUF_SIZE; in l2cu_initialize_fixed_ccb() 2774 p_ccb->ertm_info.fcr_tx_buf_size = L2CAP_FCR_TX_BUF_SIZE; in l2cu_initialize_fixed_ccb() 2775 p_ccb->ertm_info.user_rx_buf_size = L2CAP_USER_RX_BUF_SIZE; in l2cu_initialize_fixed_ccb() [all …]
|
D | l2c_int.h | 320 tL2CAP_ERTM_INFO ertm_info; member
|
/system/bt/bta/include/ |
D | bta_jv_api.h | 538 const tL2CAP_ERTM_INFO *ertm_info, UINT16 remote_chan, 558 const tL2CAP_ERTM_INFO *ertm_info, UINT16 remote_psm, 602 const tL2CAP_ERTM_INFO *ertm_info, 622 const tL2CAP_ERTM_INFO *ertm_info,
|
/system/bt/stack/include/ |
D | gap_api.h | 149 tL2CAP_ERTM_INFO *ertm_info,
|