Home
last modified time | relevance | path

Searched refs:fcrb (Results 1 – 5 of 5) sorted by relevance

/system/bt/stack/l2cap/
Dl2c_fcr.cc169 if (p_ccb->fcrb.wait_ack) { in l2c_fcr_start_timer()
176 if (!alarm_is_scheduled(p_ccb->fcrb.mon_retrans_timer)) { in l2c_fcr_start_timer()
177 alarm_set_on_mloop(p_ccb->fcrb.mon_retrans_timer, tout, in l2c_fcr_start_timer()
193 alarm_cancel(p_ccb->fcrb.mon_retrans_timer); in l2c_fcr_stop_timer()
208 tL2C_FCRB* p_fcrb = &p_ccb->fcrb; in l2c_fcr_cleanup()
270 if ((p_ccb->fcrb.remote_busy) || in l2c_fcr_is_flow_controlled()
271 (fixed_queue_length(p_ccb->fcrb.waiting_for_ack_q) >= in l2c_fcr_is_flow_controlled()
294 tL2C_FCRB* p_fcrb = &p_ccb->fcrb; in prepare_I_frame()
323 p_fcrb->last_ack_sent = p_ccb->fcrb.next_seq_expected; in prepare_I_frame()
325 alarm_cancel(p_ccb->fcrb.ack_timer); in prepare_I_frame()
[all …]
Dl2c_link.cc1430 if (p_ccb->fcrb.wait_ack || p_ccb->fcrb.remote_busy) continue; in l2cu_get_next_channel_in_rr()
1432 if (fixed_queue_is_empty(p_ccb->fcrb.retrans_q)) { in l2cu_get_next_channel_in_rr()
1495 if (p_ccb->fcrb.wait_ack || p_ccb->fcrb.remote_busy) continue; in l2cu_get_next_buffer_to_send()
1498 if (fixed_queue_is_empty(p_ccb->fcrb.retrans_q)) { in l2cu_get_next_buffer_to_send()
Dl2c_utils.cc1427 alarm_free(p_ccb->fcrb.ack_timer); in l2cu_allocate_ccb()
1428 p_ccb->fcrb.ack_timer = alarm_new("l2c_fcrb.ack_timer"); in l2cu_allocate_ccb()
1434 alarm_free(p_ccb->fcrb.mon_retrans_timer); in l2cu_allocate_ccb()
1435 p_ccb->fcrb.mon_retrans_timer = alarm_new("l2c_fcrb.mon_retrans_timer"); in l2cu_allocate_ccb()
1442 p_ccb->fcrb.srej_rcv_hold_q = fixed_queue_new(SIZE_MAX); in l2cu_allocate_ccb()
1443 p_ccb->fcrb.retrans_q = fixed_queue_new(SIZE_MAX); in l2cu_allocate_ccb()
1444 p_ccb->fcrb.waiting_for_ack_q = fixed_queue_new(SIZE_MAX); in l2cu_allocate_ccb()
1936 p_ccb->fcrb.max_held_acks = p_cfg->fcr.tx_win_sz / 3; in l2cu_process_peer_cfg_rsp()
1938 p_ccb->fcrb.max_held_acks = p_ccb->our_cfg.fcr.tx_win_sz / 3; in l2cu_process_peer_cfg_rsp()
1944 p_ccb->fcrb.max_held_acks); in l2cu_process_peer_cfg_rsp()
[all …]
Dl2c_int.h337 tL2C_FCRB fcrb; member
Dl2c_csm.cc988 if (p_ccb->fcrb.wait_ack) l2c_fcr_start_timer(p_ccb); in l2c_csm_config()
1079 if (p_ccb->fcrb.wait_ack) l2c_fcr_start_timer(p_ccb); in l2c_csm_config()