/system/bt/stack/sdp/ |
D | sdp_main.c | 197 cfg.fcr.mode, cfg.fcr.tx_win_sz, cfg.fcr.max_transmit, in sdp_connect_ind() 198 cfg.fcr.rtrans_tout,cfg.fcr.mon_tout, cfg.fcr.mps); in sdp_connect_ind() 202 && cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) in sdp_connect_ind() 205 cfg.fcr.mode = L2CAP_FCR_BASIC_MODE; in sdp_connect_ind() 253 cfg.fcr.mode, cfg.fcr.tx_win_sz, cfg.fcr.max_transmit, in sdp_connect_cfm() 254 cfg.fcr.rtrans_tout,cfg.fcr.mon_tout, cfg.fcr.mps); in sdp_connect_cfm() 258 && cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) in sdp_connect_cfm() 262 cfg.fcr.mode = L2CAP_FCR_BASIC_MODE; in sdp_connect_cfm() 342 if (p_cfg->fcr.mode != L2CAP_FCR_BASIC_MODE) in sdp_config_ind() 344 if (sdp_cb.l2cap_my_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE in sdp_config_ind() [all …]
|
/system/bt/stack/l2cap/ |
D | l2c_fcr.c | 177 tout = (UINT32)p_ccb->our_cfg.fcr.mon_tout; in l2c_fcr_start_timer() 181 tout = (UINT32)p_ccb->our_cfg.fcr.rtrans_tout; in l2c_fcr_start_timer() 239 …if ( (p_ccb->local_cid >= L2CAP_BASE_APPL_CID) && (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE… in l2c_fcr_cleanup() 254 …_acks:%08u, in_cfg.fcr.tx_win_sz:%08u", p_ccb->fcrb.max_held_acks, p_ccb->peer_cfg.fcr.tx_win_sz ); in l2c_fcr_cleanup() 380 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) in l2c_fcr_is_flow_controlled() 384 || (GKI_queue_length(&p_ccb->fcrb.waiting_for_ack_q) >= p_ccb->peer_cfg.fcr.tx_win_sz) ) in l2c_fcr_is_flow_controlled() 442 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) in prepare_I_frame() 500 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) in prepare_I_frame() 641 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_STREAM_MODE) in l2c_fcr_proc_pdu() 845 p_ccb->local_cid, p_ccb->fcrb.num_tries, p_ccb->peer_cfg.fcr.max_transmit, in l2c_fcr_proc_tout() [all …]
|
D | l2c_utils.c | 653 UINT8_TO_STREAM (p, p_cfg->fcr.mode); in l2cu_send_peer_config_req() 654 UINT8_TO_STREAM (p, p_cfg->fcr.tx_win_sz); in l2cu_send_peer_config_req() 655 UINT8_TO_STREAM (p, p_cfg->fcr.max_transmit); in l2cu_send_peer_config_req() 656 UINT16_TO_STREAM (p, p_cfg->fcr.rtrans_tout); in l2cu_send_peer_config_req() 657 UINT16_TO_STREAM (p, p_cfg->fcr.mon_tout); in l2cu_send_peer_config_req() 658 UINT16_TO_STREAM (p, p_cfg->fcr.mps); in l2cu_send_peer_config_req() 753 UINT8_TO_STREAM (p, p_cfg->fcr.mode); in l2cu_send_peer_config_rsp() 754 UINT8_TO_STREAM (p, p_cfg->fcr.tx_win_sz); in l2cu_send_peer_config_rsp() 755 UINT8_TO_STREAM (p, p_cfg->fcr.max_transmit); in l2cu_send_peer_config_rsp() 756 UINT16_TO_STREAM (p, p_ccb->our_cfg.fcr.rtrans_tout); in l2cu_send_peer_config_rsp() [all …]
|
D | l2c_main.c | 277 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) in l2c_rcv_acl_data() 297 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_BASIC_MODE) in l2c_rcv_acl_data() 535 STREAM_TO_UINT8 (cfg_info.fcr.mode, p); in process_l2cap_cmd() 536 STREAM_TO_UINT8 (cfg_info.fcr.tx_win_sz, p); in process_l2cap_cmd() 537 STREAM_TO_UINT8 (cfg_info.fcr.max_transmit, p); in process_l2cap_cmd() 538 STREAM_TO_UINT16 (cfg_info.fcr.rtrans_tout, p); in process_l2cap_cmd() 539 STREAM_TO_UINT16 (cfg_info.fcr.mon_tout, p); in process_l2cap_cmd() 540 STREAM_TO_UINT16 (cfg_info.fcr.mps, p); in process_l2cap_cmd() 637 STREAM_TO_UINT8 (cfg_info.fcr.mode, p); in process_l2cap_cmd() 638 STREAM_TO_UINT8 (cfg_info.fcr.tx_win_sz, p); in process_l2cap_cmd() [all …]
|
D | l2c_csm.c | 753 if (p_ccb->our_cfg.fcr.mode != p_ccb->peer_cfg.fcr.mode) in l2c_csm_config() 775 if ((p_ccb->our_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) in l2c_csm_config() 776 &&((p_ccb->our_cfg.fcr.mon_tout == 0)||(p_ccb->our_cfg.fcr.rtrans_tout))) in l2c_csm_config() 842 if (p_ccb->our_cfg.fcr.mode != p_ccb->peer_cfg.fcr.mode) in l2c_csm_config() 1060 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) in l2c_csm_open() 1288 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) in l2c_enqueue_peer_data()
|
D | l2cap_client.c | 239 if (requested_parameters->fcr.mode != L2CAP_FCR_BASIC_MODE) { in config_request_cb() 241 response.fcr = requested_parameters->fcr; in config_request_cb() 242 response.fcr.mode = L2CAP_FCR_BASIC_MODE; in config_request_cb()
|
D | l2c_api.c | 496 cid, p_cfg->fcr_present, p_cfg->fcr.mode, p_cfg->mtu_present, p_cfg->mtu); in L2CA_ConfigReq() 510 if ((!p_cfg->fcr_present)||(p_cfg->fcr.mode == L2CAP_FCR_BASIC_MODE)) in L2CA_ConfigReq() 1034 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_ERTM_MODE) in L2CA_FlowControl() 1036 L2CAP_TRACE_EVENT ("L2CA_FlowControl() invalid mode:%d", p_ccb->peer_cfg.fcr.mode); in L2CA_FlowControl() 1077 if ( (p_ccb->chnl_state != CST_OPEN) || (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_ERTM_MODE) ) in L2CA_SendTestSFrame() 1341 L2CAP_TRACE_API ("L2CA_GetChnlFcrMode() returns mode %d", p_ccb->peer_cfg.fcr.mode); in L2CA_GetChnlFcrMode() 1342 return (p_ccb->peer_cfg.fcr.mode); in L2CA_GetChnlFcrMode() 1913 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_ERTM_MODE) in L2CA_FlushChannel()
|
D | l2c_link.c | 865 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) in l2c_link_adjust_chnl_allocation() 874 reserved_buff[HCI_ACL_POOL_ID] += p_ccb->peer_cfg.fcr.tx_win_sz; in l2c_link_adjust_chnl_allocation() 880 reserved_buff[HCI_ACL_POOL_ID] += p_ccb->peer_cfg.fcr.tx_win_sz; in l2c_link_adjust_chnl_allocation() 917 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) in l2c_link_adjust_chnl_allocation() 922 … p_ccb->local_cid, p_ccb->peer_cfg.fcr.mode, p_ccb->ertm_info.user_tx_pool_id, in l2c_link_adjust_chnl_allocation()
|
/system/bt/stack/gap/ |
D | gap_conn.c | 203 p_ccb->ertm_info.preferred_mode = p_ccb->cfg.fcr.mode; in GAP_ConnOpen() 531 if (p_ccb->cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) in GAP_ConnWriteData() 902 if (p_ccb->cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) in gap_config_ind() 955 p_ccb->cfg.fcr.mode = p_cfg->fcr.mode; in gap_config_cfm() 957 p_ccb->cfg.fcr.mode = L2CAP_FCR_BASIC_MODE; in gap_config_cfm()
|
/system/bt/stack/mcap/ |
D | mca_main.c | 278 memcpy(&p_cfg->fcr, p_opt, sizeof (tL2CAP_FCR_OPTS)); in mca_set_cfg_by_tbl()
|
/system/bt/stack/include/ |
D | l2c_api.h | 161 tL2CAP_FCR_OPTS fcr; member
|
/system/bt/btif/src/ |
D | btif_sock_l2cap.c | 850 cfg.fcr = obex_l2c_fcr_opts_def; in btSock_start_l2cap_server_l() 915 cfg.fcr = obex_l2c_fcr_opts_def; in btsock_l2cap_listen_or_connect()
|
/system/bt/bta/jv/ |
D | bta_jv_act.c | 1078 if (cfg.fcr_present && cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) { in bta_jv_l2cap_connect() 1243 if (cfg.fcr_present && cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) { in bta_jv_l2cap_start_server() 2321 static tL2CAP_FIXED_CHNL_REG fcr = { in fcchan_get() local 2349 if (!L2CA_RegisterFixedChannel(chan, &fcr)) { in fcchan_get()
|