Home | History | Annotate | Download | only in gap

Lines Matching refs:psm

32 static void gap_connect_ind (BD_ADDR  bd_addr, UINT16 l2cap_cid, UINT16 psm, UINT8 l2cap_id);
107 ** psm - the PSM used for the connection
122 BD_ADDR p_rem_bda, UINT16 psm, tL2CAP_CFG_INFO *p_cfg,
164 /* If originator, use a dynamic PSM */
177 /* Register the PSM with L2CAP */
178 if ((p_ccb->psm = L2CA_REGISTER (psm, &gap_cb.conn.reg_info, AMP_AUTOSWITCH_ALLOWED|AMP_USE_AMP_IF_POSSIBLE)) == 0)
180 GAP_TRACE_ERROR1 ("GAP_ConnOpen: Failure registering PSM 0x%04x", psm);
187 if (!BTM_SetSecurityLevel ((UINT8)!is_server, p_serv_name, p_ccb->service_id, security, p_ccb->psm, 0, 0))
226 if (p_rem_bda && ((cid = L2CA_CONNECT_REQ (p_ccb->psm, p_rem_bda, &p_ccb->ertm_info, &bt_uuid)) != 0))
726 static void gap_connect_ind (BD_ADDR bd_addr, UINT16 l2cap_cid, UINT16 psm, UINT8 l2cap_id)
736 && (p_ccb->psm == psm)
844 btm_sec_mx_access_request (p_ccb->rem_dev_address, p_ccb->psm, TRUE,
1167 UINT16 psm = p_ccb->psm;
1181 /* If no-one else is using the PSM, deregister from L2CAP */
1184 if ((p_ccb->con_state != GAP_CCB_STATE_IDLE) && (p_ccb->psm == psm))
1188 /* Free the security record for this PSM */
1190 L2CA_DEREGISTER (psm);