/system/bt/stack/sdp/ |
D | sdp_main.c | 199 cfg.fcr.mode, cfg.fcr.tx_win_sz, cfg.fcr.max_transmit, in sdp_connect_ind() 200 cfg.fcr.rtrans_tout,cfg.fcr.mon_tout, cfg.fcr.mps); in sdp_connect_ind() 204 && cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) in sdp_connect_ind() 207 cfg.fcr.mode = L2CAP_FCR_BASIC_MODE; in sdp_connect_ind() 255 cfg.fcr.mode, cfg.fcr.tx_win_sz, cfg.fcr.max_transmit, in sdp_connect_cfm() 256 cfg.fcr.rtrans_tout,cfg.fcr.mon_tout, cfg.fcr.mps); in sdp_connect_cfm() 260 && cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) in sdp_connect_cfm() 264 cfg.fcr.mode = L2CAP_FCR_BASIC_MODE; in sdp_connect_cfm() 344 if (p_cfg->fcr.mode != L2CAP_FCR_BASIC_MODE) in sdp_config_ind() 346 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 | 183 tout = (UINT32)p_ccb->our_cfg.fcr.mon_tout; in l2c_fcr_start_timer() 187 tout = (UINT32)p_ccb->our_cfg.fcr.rtrans_tout; in l2c_fcr_start_timer() 244 …if ( (p_ccb->local_cid >= L2CAP_BASE_APPL_CID) && (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE… in l2c_fcr_cleanup() 259 …_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() 364 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) in l2c_fcr_is_flow_controlled() 368 || (fixed_queue_length(p_ccb->fcrb.waiting_for_ack_q) >= p_ccb->peer_cfg.fcr.tx_win_sz) ) in l2c_fcr_is_flow_controlled() 426 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) in prepare_I_frame() 487 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) in prepare_I_frame() 614 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_STREAM_MODE) in l2c_fcr_proc_pdu() 908 p_ccb->peer_cfg.fcr.max_transmit, in l2c_fcr_proc_tout() [all …]
|
D | l2c_utils.c | 663 UINT8_TO_STREAM (p, p_cfg->fcr.mode); in l2cu_send_peer_config_req() 664 UINT8_TO_STREAM (p, p_cfg->fcr.tx_win_sz); in l2cu_send_peer_config_req() 665 UINT8_TO_STREAM (p, p_cfg->fcr.max_transmit); in l2cu_send_peer_config_req() 666 UINT16_TO_STREAM (p, p_cfg->fcr.rtrans_tout); in l2cu_send_peer_config_req() 667 UINT16_TO_STREAM (p, p_cfg->fcr.mon_tout); in l2cu_send_peer_config_req() 668 UINT16_TO_STREAM (p, p_cfg->fcr.mps); in l2cu_send_peer_config_req() 763 UINT8_TO_STREAM (p, p_cfg->fcr.mode); in l2cu_send_peer_config_rsp() 764 UINT8_TO_STREAM (p, p_cfg->fcr.tx_win_sz); in l2cu_send_peer_config_rsp() 765 UINT8_TO_STREAM (p, p_cfg->fcr.max_transmit); in l2cu_send_peer_config_rsp() 766 UINT16_TO_STREAM (p, p_ccb->our_cfg.fcr.rtrans_tout); in l2cu_send_peer_config_rsp() [all …]
|
D | l2c_main.c | 219 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) in l2c_rcv_acl_data() 246 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_BASIC_MODE) in l2c_rcv_acl_data() 485 STREAM_TO_UINT8 (cfg_info.fcr.mode, p); in process_l2cap_cmd() 486 STREAM_TO_UINT8 (cfg_info.fcr.tx_win_sz, p); in process_l2cap_cmd() 487 STREAM_TO_UINT8 (cfg_info.fcr.max_transmit, p); in process_l2cap_cmd() 488 STREAM_TO_UINT16 (cfg_info.fcr.rtrans_tout, p); in process_l2cap_cmd() 489 STREAM_TO_UINT16 (cfg_info.fcr.mon_tout, p); in process_l2cap_cmd() 490 STREAM_TO_UINT16 (cfg_info.fcr.mps, p); in process_l2cap_cmd() 587 STREAM_TO_UINT8 (cfg_info.fcr.mode, p); in process_l2cap_cmd() 588 STREAM_TO_UINT8 (cfg_info.fcr.tx_win_sz, p); in process_l2cap_cmd() [all …]
|
D | l2cap_client.c | 237 if (requested_parameters->fcr.mode != L2CAP_FCR_BASIC_MODE) { in config_request_cb() 239 response.fcr = requested_parameters->fcr; in config_request_cb() 240 response.fcr.mode = L2CAP_FCR_BASIC_MODE; in config_request_cb()
|
D | l2c_csm.c | 877 if (p_ccb->our_cfg.fcr.mode != p_ccb->peer_cfg.fcr.mode) in l2c_csm_config() 899 if ((p_ccb->our_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) in l2c_csm_config() 900 &&((p_ccb->our_cfg.fcr.mon_tout == 0)||(p_ccb->our_cfg.fcr.rtrans_tout))) in l2c_csm_config() 972 if (p_ccb->our_cfg.fcr.mode != p_ccb->peer_cfg.fcr.mode) in l2c_csm_config() 1218 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) in l2c_csm_open() 1478 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) in l2c_enqueue_peer_data()
|
D | l2c_api.c | 790 cid, p_cfg->fcr_present, p_cfg->fcr.mode, p_cfg->mtu_present, p_cfg->mtu); in L2CA_ConfigReq() 804 if ((!p_cfg->fcr_present)||(p_cfg->fcr.mode == L2CAP_FCR_BASIC_MODE)) in L2CA_ConfigReq() 1325 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_ERTM_MODE) in L2CA_FlowControl() 1327 L2CAP_TRACE_EVENT ("L2CA_FlowControl() invalid mode:%d", p_ccb->peer_cfg.fcr.mode); in L2CA_FlowControl() 1368 if ( (p_ccb->chnl_state != CST_OPEN) || (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_ERTM_MODE) ) in L2CA_SendTestSFrame() 1631 L2CAP_TRACE_API ("L2CA_GetChnlFcrMode() returns mode %d", p_ccb->peer_cfg.fcr.mode); in L2CA_GetChnlFcrMode() 1632 return (p_ccb->peer_cfg.fcr.mode); in L2CA_GetChnlFcrMode() 2236 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_ERTM_MODE) in L2CA_FlushChannel()
|
D | l2c_ble.c | 754 p_ccb->peer_cfg.fcr.mode = L2CAP_FCR_LE_COC_MODE; in l2cble_process_sig_cmd() 803 p_ccb->peer_cfg.fcr.mode = L2CAP_FCR_LE_COC_MODE; in l2cble_process_sig_cmd()
|
D | l2c_link.c | 887 p_ccb->local_cid, p_ccb->peer_cfg.fcr.mode, in l2c_link_adjust_chnl_allocation()
|
/system/bt/stack/gap/ |
D | gap_conn.c | 232 p_ccb->ertm_info.preferred_mode = p_ccb->cfg.fcr.mode; in GAP_ConnOpen() 502 if (p_ccb->cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) in GAP_ConnWriteData() 921 if (p_ccb->cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) in gap_config_ind() 974 p_ccb->cfg.fcr.mode = p_cfg->fcr.mode; in gap_config_cfm() 976 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 | 163 tL2CAP_FCR_OPTS fcr; member
|
/system/bt/btif/src/ |
D | btif_sock_l2cap.c | 848 cfg.fcr = obex_l2c_fcr_opts_def; in btSock_start_l2cap_server_l() 936 cfg.fcr = obex_l2c_fcr_opts_def; in btsock_l2cap_listen_or_connect()
|
/system/bt/bta/jv/ |
D | bta_jv_act.c | 1066 if (cfg.fcr_present && cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) { in bta_jv_l2cap_connect() 1235 if (cfg.fcr_present && cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) { in bta_jv_l2cap_start_server() 2244 static tL2CAP_FIXED_CHNL_REG fcr = { in fcchan_get() local 2269 if (!L2CA_RegisterFixedChannel(chan, &fcr)) { in fcchan_get()
|