Home
last modified time | relevance | path

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

/hal_espressif-latest/components/bt/host/bluedroid/stack/smp/
Dsmp_l2c.c60 tL2CAP_FIXED_CHNL_REG fixed_reg; in smp_l2cap_if_init() local
62 fixed_reg.fixed_chnl_opts.mode = L2CAP_FCR_BASIC_MODE; in smp_l2cap_if_init()
63 fixed_reg.fixed_chnl_opts.max_transmit = 0; in smp_l2cap_if_init()
64 fixed_reg.fixed_chnl_opts.rtrans_tout = 0; in smp_l2cap_if_init()
65 fixed_reg.fixed_chnl_opts.mon_tout = 0; in smp_l2cap_if_init()
66 fixed_reg.fixed_chnl_opts.mps = 0; in smp_l2cap_if_init()
67 fixed_reg.fixed_chnl_opts.tx_win_sz = 0; in smp_l2cap_if_init()
69 fixed_reg.pL2CA_FixedTxComplete_Cb = smp_tx_complete_callback; in smp_l2cap_if_init()
71 fixed_reg.pL2CA_FixedCong_Cb = NULL; /* do not handle congestion on this channel */ in smp_l2cap_if_init()
72 fixed_reg.default_idle_tout = 0; /* set 0 seconds timeout, 0xffff default idle timeout. in smp_l2cap_if_init()
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/stack/gatt/
Dgatt_main.c98 tL2CAP_FIXED_CHNL_REG fixed_reg; in gatt_init() local
104 memset (&fixed_reg, 0, sizeof(tL2CAP_FIXED_CHNL_REG)); in gatt_init()
121 fixed_reg.fixed_chnl_opts.mode = L2CAP_FCR_BASIC_MODE; in gatt_init()
122 fixed_reg.fixed_chnl_opts.max_transmit = 0xFF; in gatt_init()
123 fixed_reg.fixed_chnl_opts.rtrans_tout = 2000; in gatt_init()
124 fixed_reg.fixed_chnl_opts.mon_tout = 12000; in gatt_init()
125 fixed_reg.fixed_chnl_opts.mps = 670; in gatt_init()
126 fixed_reg.fixed_chnl_opts.tx_win_sz = 1; in gatt_init()
128 fixed_reg.pL2CA_FixedConn_Cb = gatt_le_connect_cback; in gatt_init()
129 fixed_reg.pL2CA_FixedData_Cb = gatt_le_data_ind; in gatt_init()
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/stack/l2cap/
Dl2c_utils.c1253 if (l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb != NULL) { in l2cu_send_peer_info_rsp()
2739 …p_ccb->fixed_chnl_idle_tout = l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL].default_idle_tout; in l2cu_initialize_fixed_ccb()
2853 if (l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb != NULL) { in l2cu_process_fixed_chnl_resp()
2860 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)(xx + L2CAP_FIRST_FIXED_CHNL, in l2cu_process_fixed_chnl_resp()
2863 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)(xx + L2CAP_FIRST_FIXED_CHNL, in l2cu_process_fixed_chnl_resp()
2868 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)(xx + L2CAP_FIRST_FIXED_CHNL, in l2cu_process_fixed_chnl_resp()
2871 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)(xx + L2CAP_FIRST_FIXED_CHNL, in l2cu_process_fixed_chnl_resp()
2916 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)(xx + L2CAP_FIRST_FIXED_CHNL, in l2cu_process_fixed_disc_cback()
2919 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)(xx + L2CAP_FIRST_FIXED_CHNL, in l2cu_process_fixed_disc_cback()
2924 && (l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb != NULL) ) { in l2cu_process_fixed_disc_cback()
[all …]
Dl2c_api.c1635 l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL] = *p_freg; in L2CA_RegisterFixedChannel()
1662 || (l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedData_Cb == NULL) ) { in L2CA_ConnectFixedChnl()
1705 … &l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL].fixed_chnl_opts)) { in L2CA_ConnectFixedChnl()
1718 (*l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedConn_Cb) in L2CA_ConnectFixedChnl()
1732 … &l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL].fixed_chnl_opts)) { in L2CA_ConnectFixedChnl()
1780 || (l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedData_Cb == NULL) ) { in L2CA_SendFixedChnlData()
1824 …if (!l2cu_initialize_fixed_ccb (p_lcb, fixed_cid, &l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CH… in L2CA_SendFixedChnlData()
1906 || (l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedData_Cb == NULL) ) { in L2CA_RemoveFixedChnl()
Dl2c_main.c282 (l2cb.fixed_reg[rcv_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedData_Cb != NULL) ) { in l2c_rcv_acl_data()
289 …l2cu_initialize_fixed_ccb (p_lcb, rcv_cid, &l2cb.fixed_reg[rcv_cid - L2CAP_FIRST_FIXED_CHNL].fixed… in l2c_rcv_acl_data()
297 (*l2cb.fixed_reg[rcv_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedData_Cb) in l2c_rcv_acl_data()
Dl2c_csm.c840 if (l2cb.fixed_reg[p_ccb->local_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedData_Cb) { in l2c_csm_config()
841 (*l2cb.fixed_reg[p_ccb->local_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedData_Cb) in l2c_csm_config()
Dl2c_link.c452 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)(xx + L2CAP_FIRST_FIXED_CHNL, in l2c_link_hci_disc_comp()
455 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)(xx + L2CAP_FIRST_FIXED_CHNL, in l2c_link_hci_disc_comp()
Dl2c_ble.c352 …if (!l2cu_initialize_fixed_ccb (p_lcb, L2CAP_ATT_CID, &l2cb.fixed_reg[L2CAP_ATT_CID - L2CAP_FIRST_… in l2cble_scanner_conn_comp()
457 …if (!l2cu_initialize_fixed_ccb (p_lcb, L2CAP_ATT_CID, &l2cb.fixed_reg[L2CAP_ATT_CID - L2CAP_FIRST_… in l2cble_advertiser_conn_comp()
Dl2c_fcr.c1383 if (l2cb.fixed_reg[p_ccb->local_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedData_Cb) in do_sar_reassembly()
1384 (*l2cb.fixed_reg[p_ccb->local_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedData_Cb) in do_sar_reassembly()
/hal_espressif-latest/components/bt/host/bluedroid/stack/l2cap/include/
Dl2c_int.h511 tL2CAP_FIXED_CHNL_REG fixed_reg[L2CAP_NUM_FIXED_CHNLS]; /* Reg info for fixed channels */ member