Lines Matching defs:l2cb
47 tL2C_CB l2cb;
155 l2cb.rcv_hold_q.count);
157 GKI_enqueue (&l2cb.rcv_hold_q, p_msg);
159 if (l2cb.rcv_hold_q.count == 1)
160 btu_start_timer (&l2cb.rcv_hold_tle, BTU_TTYPE_L2CAP_HOLD, BT_1SEC_TIMEOUT);
167 handle, p_msg->layer_specific, rcv_cid, cmd_code, l2cb.rcv_hold_q.count);
267 (l2cb.fixed_reg[rcv_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedData_Cb != NULL) )
274 &l2cb.fixed_reg[rcv_cid - L2CAP_FIRST_FIXED_CHNL].fixed_chnl_opts))
284 (*l2cb.fixed_reg[rcv_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedData_Cb)(p_lcb->remote_bd_addr, p_msg);
817 BUFFER_Q *p_rcv_hold_q = &l2cb.rcv_hold_q;
824 btu_stop_timer(&l2cb.rcv_hold_tle);
846 btu_start_timer (&l2cb.rcv_hold_tle, BTU_TTYPE_L2CAP_HOLD, BT_1SEC_TIMEOUT);
864 memset (&l2cb, 0, sizeof (tL2C_CB));
866 l2cb.dyn_psm = 0xFFF;
871 l2cb.ccb_pool[xx].p_next_ccb = &l2cb.ccb_pool[xx + 1];
876 l2cb.non_flushable_pbf = L2CAP_PKT_START << L2CAP_PKT_TYPE_SHIFT;
880 l2cb.p_free_ccb_first = &l2cb.ccb_pool[0];
881 l2cb.p_free_ccb_last = &l2cb.ccb_pool[MAX_L2CAP_CHANNELS - 1];
884 l2cb.desire_role = L2CAP_DESIRED_LINK_ROLE;
886 l2cb.desire_role = HCI_ROLE_SLAVE;
890 l2cb.idle_timeout = L2CAP_LINK_INACTIVITY_TOUT;
893 l2cb.l2cap_trace_level = L2CAP_INITIAL_TRACE_LEVEL;
895 l2cb.l2cap_trace_level = BT_TRACE_LEVEL_NONE; /* No traces */
900 l2cb.test_info_resp = L2CAP_EXTFEA_SUPPORTED_MASK;
905 l2cb.high_pri_min_xmit_quota = L2CAP_HIGH_PRI_MIN_XMIT_QUOTA;