Home
last modified time | relevance | path

Searched refs:fixed_reg (Results 1 – 10 of 10) sorted by relevance

/system/bt/stack/smp/
Dsmp_l2c.cc58 tL2CAP_FIXED_CHNL_REG fixed_reg; in smp_l2cap_if_init() local
60 fixed_reg.fixed_chnl_opts.mode = L2CAP_FCR_BASIC_MODE; in smp_l2cap_if_init()
61 fixed_reg.fixed_chnl_opts.max_transmit = 0; in smp_l2cap_if_init()
62 fixed_reg.fixed_chnl_opts.rtrans_tout = 0; in smp_l2cap_if_init()
63 fixed_reg.fixed_chnl_opts.mon_tout = 0; in smp_l2cap_if_init()
64 fixed_reg.fixed_chnl_opts.mps = 0; in smp_l2cap_if_init()
65 fixed_reg.fixed_chnl_opts.tx_win_sz = 0; in smp_l2cap_if_init()
67 fixed_reg.pL2CA_FixedConn_Cb = smp_connect_callback; in smp_l2cap_if_init()
68 fixed_reg.pL2CA_FixedData_Cb = smp_data_received; in smp_l2cap_if_init()
69 fixed_reg.pL2CA_FixedTxComplete_Cb = smp_tx_complete_callback; in smp_l2cap_if_init()
[all …]
/system/bt/stack/gatt/
Dgatt_main.cc100 tL2CAP_FIXED_CHNL_REG fixed_reg; in gatt_init() local
106 memset(&fixed_reg, 0, sizeof(tL2CAP_FIXED_CHNL_REG)); in gatt_init()
112 fixed_reg.fixed_chnl_opts.mode = L2CAP_FCR_BASIC_MODE; in gatt_init()
113 fixed_reg.fixed_chnl_opts.max_transmit = 0xFF; in gatt_init()
114 fixed_reg.fixed_chnl_opts.rtrans_tout = 2000; in gatt_init()
115 fixed_reg.fixed_chnl_opts.mon_tout = 12000; in gatt_init()
116 fixed_reg.fixed_chnl_opts.mps = 670; in gatt_init()
117 fixed_reg.fixed_chnl_opts.tx_win_sz = 1; in gatt_init()
119 fixed_reg.pL2CA_FixedConn_Cb = gatt_le_connect_cback; in gatt_init()
120 fixed_reg.pL2CA_FixedData_Cb = gatt_le_data_ind; in gatt_init()
[all …]
/system/bt/stack/l2cap/
Dl2c_api.cc1640 l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL] = *p_freg; in L2CA_RegisterFixedChannel()
1672 (l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedData_Cb == in L2CA_ConnectFixedChnl()
1710 &l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL] in L2CA_ConnectFixedChnl()
1725 (*l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedConn_Cb)( in L2CA_ConnectFixedChnl()
1739 p_lcb, fixed_cid, &l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL] in L2CA_ConnectFixedChnl()
1787 (l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedData_Cb == in L2CA_SendFixedChnlData()
1834 &l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL] in L2CA_SendFixedChnlData()
1895 (l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedData_Cb == in L2CA_RemoveFixedChnl()
Dl2c_utils.cc1146 if (l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb != NULL) in l2cu_send_peer_info_rsp()
2581 l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL].default_idle_tout; in l2cu_initialize_fixed_ccb()
2692 if (!l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb) continue; in l2cu_process_fixed_chnl_resp()
2697 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)( in l2cu_process_fixed_chnl_resp()
2700 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)( in l2cu_process_fixed_chnl_resp()
2739 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)( in l2cu_process_fixed_disc_cback()
2744 (l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb != NULL)) in l2cu_process_fixed_disc_cback()
2745 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)( in l2cu_process_fixed_disc_cback()
3286 p_cbi->cb = l2cb.fixed_reg[xx].pL2CA_FixedTxComplete_Cb; in l2cu_get_next_buffer_to_send()
3428 if (l2cb.fixed_reg[xx].pL2CA_FixedCong_Cb != NULL) in send_congestion_status_to_all_clients()
[all …]
Dl2c_main.cc190 (l2cb.fixed_reg[rcv_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedData_Cb != in l2c_rcv_acl_data()
197 &l2cb.fixed_reg[rcv_cid - L2CAP_FIRST_FIXED_CHNL] in l2c_rcv_acl_data()
209 (*l2cb.fixed_reg[rcv_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedData_Cb)( in l2c_rcv_acl_data()
Dl2c_csm.cc940 if (l2cb.fixed_reg[p_ccb->local_cid - L2CAP_FIRST_FIXED_CHNL] in l2c_csm_config()
942 (*l2cb.fixed_reg[p_ccb->local_cid - L2CAP_FIRST_FIXED_CHNL] in l2c_csm_config()
Dl2c_int.h506 fixed_reg[L2CAP_NUM_FIXED_CHNLS]; /* Reg info for fixed channels */ member
Dl2c_link.cc424 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)( in l2c_link_hci_disc_comp()
Dl2c_ble.cc284 &l2cb.fixed_reg[L2CAP_ATT_CID - L2CAP_FIRST_FIXED_CHNL] in l2cble_conn_comp()
Dl2c_fcr.cc1533 if (l2cb.fixed_reg[p_ccb->local_cid - L2CAP_FIRST_FIXED_CHNL] in do_sar_reassembly()
1535 (*l2cb.fixed_reg[p_ccb->local_cid - L2CAP_FIRST_FIXED_CHNL] in do_sar_reassembly()