• Home
  • Raw
  • Download

Lines Matching refs:sdp_cb

49 tSDP_CB  sdp_cb;  variable
83 memset (&sdp_cb, 0, sizeof (tSDP_CB)); in sdp_init()
86 sdp_cb.l2cap_my_cfg.mtu_present = TRUE; in sdp_init()
87 sdp_cb.l2cap_my_cfg.mtu = SDP_MTU_SIZE; in sdp_init()
88 sdp_cb.l2cap_my_cfg.flush_to_present = TRUE; in sdp_init()
89 sdp_cb.l2cap_my_cfg.flush_to = SDP_FLUSH_TO; in sdp_init()
91 sdp_cb.max_attr_list_size = SDP_MTU_SIZE - 16; in sdp_init()
92 sdp_cb.max_recs_per_search = SDP_MAX_DISC_SERVER_RECS; in sdp_init()
115 sdp_cb.trace_level = SDP_INITIAL_TRACE_LEVEL; in sdp_init()
117 sdp_cb.trace_level = BT_TRACE_LEVEL_NONE; /* No traces */ in sdp_init()
120 sdp_cb.reg_info.pL2CA_ConnectInd_Cb = sdp_connect_ind; in sdp_init()
121 sdp_cb.reg_info.pL2CA_ConnectCfm_Cb = sdp_connect_cfm; in sdp_init()
122 sdp_cb.reg_info.pL2CA_ConnectPnd_Cb = NULL; in sdp_init()
123 sdp_cb.reg_info.pL2CA_ConfigInd_Cb = sdp_config_ind; in sdp_init()
124 sdp_cb.reg_info.pL2CA_ConfigCfm_Cb = sdp_config_cfm; in sdp_init()
125 sdp_cb.reg_info.pL2CA_DisconnectInd_Cb = sdp_disconnect_ind; in sdp_init()
126 sdp_cb.reg_info.pL2CA_DisconnectCfm_Cb = sdp_disconnect_cfm; in sdp_init()
127 sdp_cb.reg_info.pL2CA_QoSViolationInd_Cb = NULL; in sdp_init()
128 sdp_cb.reg_info.pL2CA_DataInd_Cb = sdp_data_ind; in sdp_init()
129 sdp_cb.reg_info.pL2CA_CongestionStatus_Cb = NULL; in sdp_init()
130 sdp_cb.reg_info.pL2CA_TxComplete_Cb = NULL; in sdp_init()
133 if (!L2CA_Register (SDP_PSM, &sdp_cb.reg_info)) in sdp_init()
151 if (max_size > (sdp_cb.l2cap_my_cfg.mtu - 16) ) in sdp_set_max_attr_list_size()
152 max_size = sdp_cb.l2cap_my_cfg.mtu - 16; in sdp_set_max_attr_list_size()
154 sdp_cb.max_attr_list_size = max_size; in sdp_set_max_attr_list_size()
156 return sdp_cb.max_attr_list_size; in sdp_set_max_attr_list_size()
190 tL2CAP_CFG_INFO cfg = sdp_cb.l2cap_my_cfg; in sdp_connect_ind()
246 cfg = sdp_cb.l2cap_my_cfg; in sdp_connect_cfm()
342 if (sdp_cb.l2cap_my_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE in sdp_config_ind()
343 && p_cfg->fcr.tx_win_sz > sdp_cb.l2cap_my_cfg.fcr.tx_win_sz) in sdp_config_ind()
345 p_cfg->fcr.tx_win_sz = sdp_cb.l2cap_my_cfg.fcr.tx_win_sz; in sdp_config_ind()
351 if (sdp_cb.l2cap_my_cfg.fcr.mode == L2CAP_FCR_BASIC_MODE) in sdp_config_ind()
434 tL2CAP_CFG_INFO cfg = sdp_cb.l2cap_my_cfg; in sdp_config_cfm()