Lines Matching refs:p_cfg
90 static void gap_config_ind(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg);
91 static void gap_config_cfm(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg);
170 uint16_t le_mps, tL2CAP_CFG_INFO* p_cfg, in GAP_ConnOpen() argument
209 if (p_cfg) p_ccb->cfg = *p_cfg; in GAP_ConnOpen()
214 p_ccb->local_coc_cfg.mtu = p_cfg->mtu; in GAP_ConnOpen()
560 uint16_t GAP_ConnReconfig(uint16_t gap_handle, tL2CAP_CFG_INFO* p_cfg) { in GAP_ConnReconfig() argument
565 p_ccb->cfg = *p_cfg; in GAP_ConnReconfig()
568 L2CA_CONFIG_REQ(p_ccb->connection_id, p_cfg); in GAP_ConnReconfig()
889 static void gap_config_ind(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg) { in gap_config_ind() argument
905 if ((!p_cfg->mtu_present) || (p_cfg->mtu > local_mtu_size)) { in gap_config_ind()
908 p_ccb->rem_mtu_size = p_cfg->mtu; in gap_config_ind()
911 p_cfg->flush_to_present = false; in gap_config_ind()
912 p_cfg->mtu_present = false; in gap_config_ind()
913 p_cfg->result = L2CAP_CFG_OK; in gap_config_ind()
914 p_cfg->fcs_present = false; in gap_config_ind()
916 L2CA_CONFIG_RSP(l2cap_cid, p_cfg); in gap_config_ind()
933 static void gap_config_cfm(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg) { in gap_config_cfm() argument
940 if (p_cfg->result == L2CAP_CFG_OK) { in gap_config_cfm()
944 p_ccb->cfg.fcr.mode = p_cfg->fcr.mode; in gap_config_cfm()