Lines Matching refs:p_cfg
62 static void bnep_config_ind(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg);
63 static void bnep_config_cfm(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg);
208 static void bnep_config_ind(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg) { in bnep_config_ind() argument
223 if ((!p_cfg->mtu_present) || (p_cfg->mtu < BNEP_MIN_MTU_SIZE)) { in bnep_config_ind()
224 mtu = p_cfg->mtu; in bnep_config_ind()
225 p_cfg->flush_to_present = false; in bnep_config_ind()
226 p_cfg->mtu_present = true; in bnep_config_ind()
227 p_cfg->mtu = BNEP_MIN_MTU_SIZE; in bnep_config_ind()
228 p_cfg->result = result = L2CAP_CFG_UNACCEPTABLE_PARAMS; in bnep_config_ind()
230 if (p_cfg->mtu > BNEP_MTU_SIZE) in bnep_config_ind()
233 p_bcb->rem_mtu_size = p_cfg->mtu; in bnep_config_ind()
236 p_cfg->flush_to_present = false; in bnep_config_ind()
237 p_cfg->mtu_present = false; in bnep_config_ind()
238 p_cfg->result = result = L2CAP_CFG_OK; in bnep_config_ind()
241 L2CA_ConfigRsp(l2cap_cid, p_cfg); in bnep_config_ind()
276 static void bnep_config_cfm(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg) { in bnep_config_cfm() argument
280 p_cfg->result); in bnep_config_cfm()
291 if (p_cfg->result == L2CAP_CFG_OK) { in bnep_config_cfm()