• Home
  • Raw
  • Download

Lines Matching refs:psm

58 UINT16 L2CA_Register (UINT16 psm, tL2CAP_APPL_INFO *p_cb_info)  in L2CA_Register()  argument
61 UINT16 vpsm = psm; in L2CA_Register()
63 L2CAP_TRACE_API ("L2CAP - L2CA_Register() called for PSM: 0x%04x", psm); in L2CA_Register()
75 L2CAP_TRACE_ERROR ("L2CAP - no cb registering PSM: 0x%04x", psm); in L2CA_Register()
80 if (L2C_INVALID_PSM(psm)) in L2CA_Register()
82 L2CAP_TRACE_ERROR ("L2CAP - invalid PSM value, PSM: 0x%04x", psm); in L2CA_Register()
88 if ( (psm >= 0x1001) && (p_cb_info->pL2CA_ConnectInd_Cb == NULL) ) in L2CA_Register()
96 L2CAP_TRACE_API ("L2CA_Register - Real PSM: 0x%04x Virtual PSM: 0x%04x", psm, vpsm); in L2CA_Register()
104 L2CAP_TRACE_WARNING ("L2CAP - no RCB available, PSM: 0x%04x vPSM: 0x%04x", psm, vpsm); in L2CA_Register()
110 p_rcb->real_psm = psm; in L2CA_Register()
127 void L2CA_Deregister (UINT16 psm) in L2CA_Deregister() argument
134 L2CAP_TRACE_API ("L2CAP - L2CA_Deregister() called for PSM: 0x%04x", psm); in L2CA_Deregister()
136 if ((p_rcb = l2cu_find_rcb_by_psm (psm)) != NULL) in L2CA_Deregister()
160 L2CAP_TRACE_WARNING ("L2CAP - PSM: 0x%04x not found for deregistration", psm); in L2CA_Deregister()
177 UINT16 psm = l2cb.dyn_psm; in L2CA_AllocatePSM() local
182 psm += 2; in L2CA_AllocatePSM()
183 if (psm > 0xfeff) in L2CA_AllocatePSM()
185 psm = 0x1001; in L2CA_AllocatePSM()
187 else if (psm & 0x0100) in L2CA_AllocatePSM()
190 psm += 0x0100; in L2CA_AllocatePSM()
194 if ((BRCM_RESERVED_PSM_START <= psm)&&(psm <= BRCM_RESERVED_PSM_END)) in L2CA_AllocatePSM()
198 if ((l2cu_find_rcb_by_psm (psm)) == NULL) in L2CA_AllocatePSM()
201 l2cb.dyn_psm = psm; in L2CA_AllocatePSM()
203 return(psm); in L2CA_AllocatePSM()
218 UINT16 L2CA_ConnectReq (UINT16 psm, BD_ADDR p_bd_addr) in L2CA_ConnectReq() argument
220 return L2CA_ErtmConnectReq (psm, p_bd_addr, NULL); in L2CA_ConnectReq()
239 UINT16 L2CA_ErtmConnectReq (UINT16 psm, BD_ADDR p_bd_addr, tL2CAP_ERTM_INFO *p_ertm_info) in L2CA_ErtmConnectReq() argument
246 …_ErtmConnectReq() PSM: 0x%04x BDA: %08x%04x p_ertm_info: 0x%08x allowed:0x%x preferred:%d", psm, in L2CA_ErtmConnectReq()
259 if ((p_rcb = l2cu_find_rcb_by_psm (psm)) == NULL) in L2CA_ErtmConnectReq()
261 L2CAP_TRACE_WARNING ("L2CAP - no RCB for L2CA_conn_req, PSM: 0x%04x", psm); in L2CA_ErtmConnectReq()
274 … L2CAP_TRACE_WARNING ("L2CAP - conn not started for PSM: 0x%04x p_lcb: 0x%08x", psm, p_lcb); in L2CA_ErtmConnectReq()
282 L2CAP_TRACE_WARNING ("L2CAP - no CCB for L2CA_conn_req, PSM: 0x%04x", psm); in L2CA_ErtmConnectReq()
330 …L2CAP_TRACE_API ("L2CAP - L2CA_conn_req(psm: 0x%04x) returned CID: 0x%04x", psm, p_ccb->local_cid); in L2CA_ErtmConnectReq()
941 UINT16 L2CA_LocalLoopbackReq (UINT16 psm, UINT16 handle, BD_ADDR p_bd_addr) in L2CA_LocalLoopbackReq() argument
947 L2CAP_TRACE_API ("L2CA_LocalLoopbackReq() PSM: %d Handle: 0x%04x", psm, handle); in L2CA_LocalLoopbackReq()
957 if ((p_rcb = l2cu_find_rcb_by_psm (psm)) == NULL) in L2CA_LocalLoopbackReq()
959 L2CAP_TRACE_WARNING ("L2CAP - no RCB for L2CA_conn_req, PSM: %d", psm); in L2CA_LocalLoopbackReq()