Home | History | Annotate | Download | only in bnep

Lines Matching refs:p_cfg

60 static void bnep_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg);
61 static void bnep_config_cfm (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg);
214 static void bnep_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg)
229 if ((!p_cfg->mtu_present) || (p_cfg->mtu < BNEP_MIN_MTU_SIZE))
231 mtu = p_cfg->mtu;
232 p_cfg->flush_to_present = FALSE;
233 p_cfg->mtu_present = TRUE;
234 p_cfg->mtu = BNEP_MIN_MTU_SIZE;
235 p_cfg->result = result = L2CAP_CFG_UNACCEPTABLE_PARAMS;
239 if (p_cfg->mtu > BNEP_MTU_SIZE)
242 p_bcb->rem_mtu_size = p_cfg->mtu;
245 p_cfg->flush_to_present = FALSE;
246 p_cfg->mtu_present = FALSE;
247 p_cfg->result = result = L2CAP_CFG_OK;
250 L2CA_ConfigRsp (l2cap_cid, p_cfg);
288 static void bnep_config_cfm (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg)
292 BNEP_TRACE_EVENT2 ("BNEP - Rcvd cfg cfm, CID: 0x%x Result: %d", l2cap_cid, p_cfg->result);
302 if (p_cfg->result == L2CAP_CFG_OK)