Home | History | Annotate | Download | only in l2cap

Lines Matching refs:p_cfg

439 **                  Note:  The FCR options of p_cfg are not used.
444 BOOLEAN L2CA_ConfigReq (UINT16 cid, tL2CAP_CFG_INFO *p_cfg)
449 cid, p_cfg->fcr_present, p_cfg->fcr.mode, p_cfg->mtu_present, p_cfg->mtu);
459 if (!l2c_fcr_adj_our_req_options(p_ccb, p_cfg))
463 if ((!p_cfg->fcr_present)||(p_cfg->fcr.mode == L2CAP_FCR_BASIC_MODE))
466 p_cfg->fcs_present = FALSE;
467 p_cfg->ext_flow_spec_present = FALSE;
469 if ( (p_cfg->mtu_present) && (p_cfg->mtu > L2CAP_MTU_SIZE) )
471 L2CAP_TRACE_WARNING ("L2CAP - adjust MTU: %u too large", p_cfg->mtu);
472 p_cfg->mtu = L2CAP_MTU_SIZE;
477 p_ccb->our_cfg = *p_cfg;
479 l2c_csm_execute (p_ccb, L2CEVT_L2CA_CONFIG_REQ, p_cfg);
495 BOOLEAN L2CA_ConfigRsp (UINT16 cid, tL2CAP_CFG_INFO *p_cfg)
500 cid, p_cfg->result, p_cfg->mtu_present, p_cfg->flush_to_present, p_cfg->fcr_present, p_cfg->fcs_present);
509 if ( (p_cfg->result == L2CAP_CFG_OK) || (p_cfg->result == L2CAP_CFG_PENDING) )
510 l2c_csm_execute (p_ccb, L2CEVT_L2CA_CONFIG_RSP, p_cfg);
513 p_cfg->fcr_present = FALSE; /* FCR options already negotiated before this point */
516 if (p_cfg->mtu_present)
518 if (p_cfg->flush_to_present)
520 if (p_cfg->qos_present)
523 l2c_csm_execute (p_ccb, L2CEVT_L2CA_CONFIG_RSP_NEG, p_cfg);