Lines Matching defs:t_l2c_linkcb

426 typedef struct t_l2c_linkcb {  struct
433 friend void l2cu_set_lcb_handle(struct t_l2c_linkcb& p_lcb, uint16_t handle); argument
434 void SetHandle(uint16_t handle) { handle_ = handle; } in SetHandle()
437 uint16_t Handle() const { return handle_; } in Handle()
438 void InvalidateHandle() { handle_ = HCI_INVALID_HANDLE; } in InvalidateHandle()
440 tL2C_CCB_Q ccb_queue; /* Queue of CCBs on this LCB */
442 tL2C_CCB* p_pending_ccb; /* ccb of waiting channel during link disconnect */
443 alarm_t* info_resp_timer; /* Timer entry for info resp timeout evt */
444 RawAddress remote_bd_addr; /* The BD address of the remote */
449 tHCI_ROLE LinkRole() const { return link_role_; } in LinkRole()
450 bool IsLinkRoleCentral() const { return link_role_ == HCI_ROLE_CENTRAL; } in IsLinkRoleCentral()
451 bool IsLinkRolePeripheral() const { in IsLinkRolePeripheral()
454 void SetLinkRoleAsCentral() { link_role_ = HCI_ROLE_CENTRAL; } in SetLinkRoleAsCentral()
455 void SetLinkRoleAsPeripheral() { link_role_ = HCI_ROLE_PERIPHERAL; } in SetLinkRoleAsPeripheral()
457 uint8_t signal_id; /* Signalling channel id */
458 uint8_t cur_echo_id; /* Current id value for echo request */
459 uint16_t idle_timeout; /* Idle timeout */
463 bool IsBonding() const { return is_bonding_; } in IsBonding()
464 void SetBonding() { is_bonding_ = true; } in SetBonding()
465 void ResetBonding() { is_bonding_ = false; } in ResetBonding()
467 uint16_t link_xmit_quota; /* Num outstanding pkts allowed */
468 bool is_round_robin_scheduling() const { return link_xmit_quota == 0; } in is_round_robin_scheduling()
470 uint16_t sent_not_acked; /* Num packets sent but not acked */
471 void update_outstanding_packets(uint16_t packets_acked) { in update_outstanding_packets()
478 bool partial_segment_being_sent; /* Set true when a partial segment */
480 bool w4_info_rsp; /* true when info request is active */
481 uint32_t peer_ext_fea; /* Peer's extended features mask */
482 list_t* link_xmit_data_q; /* Link transmit data buffer queue */
484 uint8_t peer_chnl_mask[L2CAP_FIXED_CHNL_ARRAY_SIZE];
486 tL2CAP_PRIORITY acl_priority;
487 bool is_normal_priority() const { in is_normal_priority()
490 bool is_high_priority() const { return acl_priority == L2CAP_PRIORITY_HIGH; } in is_high_priority()
491 bool set_priority(tL2CAP_PRIORITY priority) { in set_priority()
499 tL2C_CCB* p_fixed_ccbs[L2CAP_NUM_FIXED_CHNLS];
505 tHCI_REASON DisconnectReason() const { return disc_reason_; } in DisconnectReason()
506 void SetDisconnectReason(tHCI_REASON disc_reason) { in SetDisconnectReason()
510 tBT_TRANSPORT transport;
511 bool is_transport_br_edr() const { return transport == BT_TRANSPORT_BR_EDR; } in is_transport_br_edr()
512 bool is_transport_ble() const { return transport == BT_TRANSPORT_LE; } in is_transport_ble()
514 uint16_t tx_data_len; /* tx data length used in data length extension */
515 fixed_queue_t* le_sec_pending_q; /* LE coc channels waiting for security check
517 uint8_t sec_act;
519 uint8_t conn_update_mask;
521 uint16_t min_interval; /* parameters as requested by peripheral */
522 uint16_t max_interval;
523 uint16_t latency;
524 uint16_t timeout;
525 uint16_t min_ce_len;
526 uint16_t max_ce_len;
530 tL2C_RR_SERV rr_serv[L2CAP_NUM_CHNL_PRIORITY];
531 uint8_t rr_pri; /* current serving priority group */
534 tL2CAP_LE_CFG_INFO pending_ecoc_reconfig_cfg;
535 uint8_t pending_ecoc_reconfig_cnt;
540 uint16_t pending_ecoc_connection_cids[L2CAP_CREDIT_BASED_MAX_CIDS];
541 uint8_t pending_ecoc_conn_cnt;
543 uint16_t pending_lead_cid;
544 uint16_t pending_l2cap_result;
546 unsigned number_of_active_dynamic_channels() const { in number_of_active_dynamic_channels()