Lines Matching refs:psm
57 uint16_t psm; member
88 uint16_t psm, uint8_t l2cap_id);
169 bool is_server, const RawAddress* p_rem_bda, uint16_t psm, in GAP_ConnOpen() argument
238 p_ccb->psm = L2CA_REGISTER(psm, &conn.reg_info, false /* enable_snoop */); in GAP_ConnOpen()
239 if (p_ccb->psm == 0) { in GAP_ConnOpen()
241 psm); in GAP_ConnOpen()
248 p_ccb->psm = L2CA_REGISTER_COC( in GAP_ConnOpen()
249 psm, &conn.reg_info, AMP_AUTOSWITCH_ALLOWED | AMP_USE_AMP_IF_POSSIBLE); in GAP_ConnOpen()
250 if (p_ccb->psm == 0) { in GAP_ConnOpen()
252 psm); in GAP_ConnOpen()
260 security, p_ccb->psm, 0, 0)) { in GAP_ConnOpen()
305 cid = L2CA_CONNECT_REQ(p_ccb->psm, *p_rem_bda, &p_ccb->ertm_info); in GAP_ConnOpen()
313 cid = L2CA_CONNECT_COC_REQ(p_ccb->psm, *p_rem_bda, &p_ccb->local_coc_cfg); in GAP_ConnOpen()
718 uint16_t psm, uint8_t l2cap_id) { in gap_connect_ind() argument
724 if ((p_ccb->con_state == GAP_CCB_STATE_LISTENING) && (p_ccb->psm == psm) && in gap_connect_ind()
844 btm_sec_mx_access_request(p_ccb->rem_dev_address, p_ccb->psm, true, 0, 0, in gap_connect_cfm()
1148 (p_ccb_local->psm == p_ccb->psm)) { in gap_release_ccb()
1149 DVLOG(1) << __func__ << " : " << +p_ccb_local->psm in gap_release_ccb()
1157 if (p_ccb->transport == BT_TRANSPORT_BR_EDR) L2CA_DEREGISTER(p_ccb->psm); in gap_release_ccb()
1158 if (p_ccb->transport == BT_TRANSPORT_LE) L2CA_DEREGISTER_COC(p_ccb->psm); in gap_release_ccb()