Lines Matching defs:psm

52 static tBTM_SEC_SERV_REC *btm_sec_find_first_serv (BOOLEAN is_originator, UINT16 psm);
54 static tBTM_SEC_SERV_REC *btm_sec_find_mx_serv (UINT8 is_originator, UINT16 psm,
73 static BOOLEAN btm_sec_queue_mx_request (BD_ADDR bd_addr, UINT16 psm, BOOLEAN is_orig,
88 UINT16 sec_level, UINT16 psm, UINT32 mx_proto_id,
520 ** psm - L2CAP PSM
528 UINT16 sec_level, UINT16 psm, UINT32 mx_proto_id,
540 sec_level, psm, mx_proto_id, mx_chan_id));
546 UNUSED(psm);
565 ** psm - L2CAP PSM
573 UINT16 sec_level, UINT16 psm, UINT32 mx_proto_id,
585 sec_level, psm, mx_proto_id, mx_chan_id));
588 sec_level, psm, mx_proto_id, mx_chan_id));
604 ** psm - L2CAP PSM
612 UINT16 sec_level, UINT16 psm, UINT32 mx_proto_id,
640 /* See if the record can be reused (same service name, psm, mx_proto_id,
652 if (p_srec->psm == psm &&
660 if (p_srec->psm == psm &&
692 p_srec->psm = psm;
788 BTM_TRACE_API("BTM_SEC_REG[%d]: id %d, conn_type 0x%x, psm 0x%04x, proto_id %d, chan_id %d",
789 index, service_id, conn_type, psm, mx_proto_id, mx_chan_id);
801 BTM_TRACE_API("BTM_SEC_REG[%d]: id %d, is_orig %d, psm 0x%04x, proto_id %d, chan_id %d",
802 index, service_id, is_originator, psm, mx_proto_id, mx_chan_id);
841 if ((p_srec->security_flags & BTM_SEC_IN_USE) && (p_srec->psm != BT_PSM_SDP) &&
861 ** All service records with the specified psm are removed.
864 ** The given psm must be a virtual psm.
872 UINT8 btm_sec_clr_service_by_psm (UINT16 psm)
881 if ((p_srec->security_flags & BTM_SEC_IN_USE) && (p_srec->psm == psm) )
888 BTM_TRACE_API("btm_sec_clr_service_by_psm psm:0x%x num_freed:%d", psm, num_freed);
2102 BTM_TRACE_API("BTM_SetOutService p_out_serv id %d, psm 0x%04x, proto_id %d, chan_id %d",
2103 p_serv_rec->service_id, p_serv_rec->psm, p_serv_rec->mx_proto_id, p_serv_rec->orig_mx_chan_id);
2214 ** psm - L2CAP PSM
2227 tBTM_STATUS btm_sec_l2cap_access_req (BD_ADDR bd_addr, UINT16 psm, UINT16 handle,
2261 p_serv_rec = btm_sec_find_first_serv (conn_type, psm);
2266 BTM_TRACE_WARNING ("btm_sec_l2cap_access_req() PSM:%d no application registerd", psm);
2274 if (BT_PSM_SDP == psm)
2326 psm, btm_pair_state_descr(btm_cb.pairing_state), btm_cb.security_mode, p_dev_rec->sm4);
2451 BTM_TRACE_EVENT ("Security Manager: l2cap_access_req PSM:%d postponed for multiplexer", psm);
2464 if (is_originator && (btm_cb.security_mode != BTM_SEC_MODE_SP || !BTM_SEC_IS_SM4(p_dev_rec->sm4)) && (psm >= 0x1001))
2466 BTM_TRACE_EVENT ("dynamic PSM:0x%x in legacy mode - postponed for upper layer", psm);
2519 psm, handle, p_dev_rec->sec_state, p_dev_rec->sec_flags, p_dev_rec->security_required, p_dev_rec->p_cur_service->service_id);
2539 ** psm - L2CAP PSM
2553 tBTM_STATUS btm_sec_mx_access_request (BD_ADDR bd_addr, UINT16 psm, BOOLEAN is_originator,
2569 p_serv_rec = btm_sec_find_mx_serv (is_originator, psm, mx_proto_id, mx_chan_id);
2578 psm, mx_proto_id, mx_chan_id);
2587 psm, mx_proto_id, mx_chan_id, btm_pair_state_descr(btm_cb.pairing_state));
2624 btm_sec_queue_mx_request (bd_addr, psm, is_originator, mx_proto_id, mx_chan_id, p_callback, p_ref_data);
2867 p_e->psm, p_e->is_orig, p_e->mx_proto_id, p_e->mx_chan_id);
2869 btm_sec_mx_access_request (p_e->bd_addr, p_e->psm, p_e->is_orig,
5529 static tBTM_SEC_SERV_REC *btm_sec_find_first_serv (CONNECTION_TYPE conn_type, UINT16 psm)
5545 if (is_originator && btm_cb.p_out_serv && btm_cb.p_out_serv->psm == psm)
5555 if ( (p_serv_rec->security_flags & BTM_SEC_IN_USE) && (p_serv_rec->psm == psm) )
5580 && (p_serv_rec->psm == p_cur->psm) )
5602 static tBTM_SEC_SERV_REC *btm_sec_find_mx_serv (UINT8 is_originator, UINT16 psm,
5610 if (is_originator && p_out_serv && p_out_serv->psm == psm
5623 && (p_serv_rec->psm == psm)
5906 static BOOLEAN btm_sec_queue_mx_request (BD_ADDR bd_addr, UINT16 psm, BOOLEAN is_orig,
5916 p_e->psm = psm;
5926 psm, is_orig, mx_proto_id, mx_chan_id);