• Home
  • Raw
  • Download

Lines Matching refs:p_cfg

55 static void sdp_config_ind(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg);
56 static void sdp_config_cfm(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg);
296 static void sdp_config_ind(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg) { in sdp_config_ind() argument
307 if (!p_cfg->mtu_present) { in sdp_config_ind()
312 if (p_cfg->mtu > SDP_MTU_SIZE) in sdp_config_ind()
315 p_ccb->rem_mtu_size = p_cfg->mtu; in sdp_config_ind()
319 p_cfg->flush_to_present = false; in sdp_config_ind()
320 p_cfg->mtu_present = false; in sdp_config_ind()
321 p_cfg->result = L2CAP_CFG_OK; in sdp_config_ind()
324 if (p_cfg->fcr_present) { in sdp_config_ind()
326 if (p_cfg->fcr.mode != L2CAP_FCR_BASIC_MODE) { in sdp_config_ind()
328 p_cfg->fcr.tx_win_sz > sdp_cb.l2cap_my_cfg.fcr.tx_win_sz) { in sdp_config_ind()
329 p_cfg->fcr.tx_win_sz = sdp_cb.l2cap_my_cfg.fcr.tx_win_sz; in sdp_config_ind()
330 p_cfg->result = L2CAP_CFG_UNACCEPTABLE_PARAMS; in sdp_config_ind()
339 p_cfg->fcr.mode = L2CAP_FCR_BASIC_MODE; in sdp_config_ind()
340 p_cfg->result = L2CAP_CFG_UNACCEPTABLE_PARAMS; in sdp_config_ind()
346 if (p_cfg->result != L2CAP_CFG_OK) { in sdp_config_ind()
351 L2CA_ConfigRsp(l2cap_cid, p_cfg); in sdp_config_ind()
355 p_cfg->fcr_present = false; in sdp_config_ind()
358 L2CA_ConfigRsp(l2cap_cid, p_cfg); in sdp_config_ind()
387 static void sdp_config_cfm(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg) { in sdp_config_cfm() argument
391 p_cfg->result); in sdp_config_cfm()
401 if (p_cfg->result == L2CAP_CFG_OK) { in sdp_config_cfm()
417 if (p_cfg->fcr_present) { in sdp_config_cfm()