Lines Matching refs:p_cfg
76 void avct_l2c_br_config_cfm_cback(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg);
77 void avct_l2c_br_config_ind_cback(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg);
227 void avct_l2c_br_config_cfm_cback(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg) { in avct_l2c_br_config_cfm_cback() argument
235 if (p_cfg->result == L2CAP_CFG_OK) { in avct_l2c_br_config_cfm_cback()
248 p_lcb->ch_result = p_cfg->result; in avct_l2c_br_config_cfm_cback()
265 void avct_l2c_br_config_ind_cback(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg) { in avct_l2c_br_config_ind_cback() argument
273 p_cfg->flush_to_present = false; in avct_l2c_br_config_ind_cback()
274 p_cfg->qos_present = false; in avct_l2c_br_config_ind_cback()
282 if (p_cfg->mtu_present) { in avct_l2c_br_config_ind_cback()
283 p_lcb->peer_mtu = p_cfg->mtu; in avct_l2c_br_config_ind_cback()
287 p_lcb->peer_mtu = p_cfg->mtu = max_mtu; in avct_l2c_br_config_ind_cback()
290 p_cfg->mtu_present = true; in avct_l2c_br_config_ind_cback()
292 p_cfg->mtu_present = false; in avct_l2c_br_config_ind_cback()
297 p_cfg->result = L2CAP_CFG_OK; in avct_l2c_br_config_ind_cback()
299 p_cfg->result = L2CAP_CFG_UNACCEPTABLE_PARAMS; in avct_l2c_br_config_ind_cback()
300 p_cfg->mtu_present = true; in avct_l2c_br_config_ind_cback()
301 p_cfg->mtu = AVCT_MIN_BROWSE_MTU; in avct_l2c_br_config_ind_cback()
305 L2CA_ConfigRsp(lcid, p_cfg); in avct_l2c_br_config_ind_cback()
307 if (p_cfg->result != L2CAP_CFG_OK) { in avct_l2c_br_config_ind_cback()