Home | History | Annotate | Download | only in sdp

Lines Matching refs:p_cfg

58 static void sdp_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg);
59 static void sdp_config_cfm (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg);
308 static void sdp_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg)
320 if (!p_cfg->mtu_present)
327 if (p_cfg->mtu > SDP_MTU_SIZE)
330 p_ccb->rem_mtu_size = p_cfg->mtu;
334 p_cfg->flush_to_present = FALSE;
335 p_cfg->mtu_present = FALSE;
336 p_cfg->result = L2CAP_CFG_OK;
339 if (p_cfg->fcr_present)
342 if (p_cfg->fcr.mode != L2CAP_FCR_BASIC_MODE)
345 && p_cfg->fcr.tx_win_sz > sdp_cb.l2cap_my_cfg.fcr.tx_win_sz)
347 p_cfg->fcr.tx_win_sz = sdp_cb.l2cap_my_cfg.fcr.tx_win_sz;
348 p_cfg->result = L2CAP_CFG_UNACCEPTABLE_PARAMS;
356 p_cfg->fcr.mode = L2CAP_FCR_BASIC_MODE;
357 p_cfg->result = L2CAP_CFG_UNACCEPTABLE_PARAMS;
361 if (p_cfg->result != L2CAP_CFG_OK)
364 L2CA_ConfigRsp (l2cap_cid, p_cfg);
369 p_cfg->fcr_present = FALSE;
372 L2CA_ConfigRsp (l2cap_cid, p_cfg);
402 static void sdp_config_cfm (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg)
406 SDP_TRACE_EVENT ("SDP - Rcvd cfg cfm, CID: 0x%x Result: %d", l2cap_cid, p_cfg->result);
416 if (p_cfg->result == L2CAP_CFG_OK)
434 if (p_cfg->fcr_present)