Lines Matching refs:dsap
621 static void llcp_dlc_proc_connect_pdu (UINT8 dsap, UINT8 ssap, UINT16 length, UINT8 *p_data) in llcp_dlc_proc_connect_pdu() argument
631 p_app_cb = llcp_util_get_app_cb (dsap); in llcp_dlc_proc_connect_pdu()
637 LLCP_TRACE_ERROR1 ("llcp_dlc_proc_connect_pdu (): Unregistered SAP:0x%x", dsap); in llcp_dlc_proc_connect_pdu()
638 llcp_util_send_dm (ssap, dsap, LLCP_SAP_DM_REASON_NO_SERVICE ); in llcp_dlc_proc_connect_pdu()
646 llcp_util_send_dm (ssap, dsap, LLCP_SAP_DM_REASON_NO_SERVICE ); in llcp_dlc_proc_connect_pdu()
651 if (dsap == LLCP_SAP_SDP) in llcp_dlc_proc_connect_pdu()
655 dsap = llcp_sdp_get_sap_by_name (params.sn, (UINT8) strlen (params.sn)); in llcp_dlc_proc_connect_pdu()
671 if (dsap == LLCP_SAP_SDP) in llcp_dlc_proc_connect_pdu()
678 else if (dsap == 0) in llcp_dlc_proc_connect_pdu()
688 p_app_cb = llcp_util_get_app_cb (dsap); in llcp_dlc_proc_connect_pdu()
694 …TRACE_ERROR1 ("llcp_dlc_proc_connect_pdu (): SAP(0x%x) doesn't support connection-oriented", dsap); in llcp_dlc_proc_connect_pdu()
695 llcp_util_send_dm (ssap, dsap, LLCP_SAP_DM_REASON_NO_SERVICE ); in llcp_dlc_proc_connect_pdu()
702 p_dlcb = llcp_dlc_find_dlcb_by_sap (dsap, ssap); in llcp_dlc_proc_connect_pdu()
706 llcp_util_send_dm (ssap, dsap, LLCP_SAP_DM_REASON_TEMP_REJECT_THIS ); in llcp_dlc_proc_connect_pdu()
711 p_dlcb = llcp_util_allocate_data_link (dsap, ssap); in llcp_dlc_proc_connect_pdu()
725 llcp_util_send_dm (ssap, dsap, LLCP_SAP_DM_REASON_TEMP_REJECT_ANY ); in llcp_dlc_proc_connect_pdu()
739 static void llcp_dlc_proc_disc_pdu (UINT8 dsap, UINT8 ssap, UINT16 length, UINT8 *p_data) in llcp_dlc_proc_disc_pdu() argument
745 p_dlcb = llcp_dlc_find_dlcb_by_sap (dsap, ssap); in llcp_dlc_proc_disc_pdu()
762 … LLCP_TRACE_ERROR2 ("llcp_dlc_proc_disc_pdu (): No data link for SAP (0x%x,0x%x)", dsap, ssap); in llcp_dlc_proc_disc_pdu()
775 static void llcp_dlc_proc_cc_pdu (UINT8 dsap, UINT8 ssap, UINT16 length, UINT8 *p_data) in llcp_dlc_proc_cc_pdu() argument
784 p_dlcb = llcp_dlc_find_dlcb_by_sap (dsap, LLCP_INVALID_SAP); in llcp_dlc_proc_cc_pdu()
807 LLCP_TRACE_ERROR2 ("llcp_dlc_proc_cc_pdu (): No data link for SAP (0x%x,0x%x)", dsap, ssap); in llcp_dlc_proc_cc_pdu()
820 static void llcp_dlc_proc_dm_pdu (UINT8 dsap, UINT8 ssap, UINT16 length, UINT8 *p_data) in llcp_dlc_proc_dm_pdu() argument
835 p_dlcb = llcp_dlc_find_dlcb_by_sap (dsap, ssap); in llcp_dlc_proc_dm_pdu()
841 p_dlcb = llcp_dlc_find_dlcb_by_sap (dsap, LLCP_INVALID_SAP); in llcp_dlc_proc_dm_pdu()
850 … LLCP_TRACE_ERROR2 ("llcp_dlc_proc_dm_pdu (): No data link for SAP (0x%x,0x%x)", dsap, ssap); in llcp_dlc_proc_dm_pdu()
864 void llcp_dlc_proc_i_pdu (UINT8 dsap, UINT8 ssap, UINT16 i_pdu_length, UINT8 *p_i_pdu, BT_HDR *p_ms… in llcp_dlc_proc_i_pdu() argument
874 p_dlcb = llcp_dlc_find_dlcb_by_sap (dsap, ssap); in llcp_dlc_proc_i_pdu()
1057 LLCP_TRACE_ERROR2 ("llcp_dlc_proc_i_pdu (): No data link for SAP (0x%x,0x%x)", dsap, ssap); in llcp_dlc_proc_i_pdu()
1058 llcp_util_send_dm (ssap, dsap, LLCP_SAP_DM_REASON_NO_ACTIVE_CONNECTION ); in llcp_dlc_proc_i_pdu()
1076 static void llcp_dlc_proc_rr_rnr_pdu (UINT8 dsap, UINT8 ptype, UINT8 ssap, UINT16 length, UINT8 *p_… in llcp_dlc_proc_rr_rnr_pdu() argument
1086 p_dlcb = llcp_dlc_find_dlcb_by_sap (dsap, ssap); in llcp_dlc_proc_rr_rnr_pdu()
1180 … LLCP_TRACE_ERROR2 ("llcp_dlc_proc_rr_rnr_pdu (): No data link for SAP (0x%x,0x%x)", dsap, ssap); in llcp_dlc_proc_rr_rnr_pdu()
1193 void llcp_dlc_proc_rx_pdu (UINT8 dsap, UINT8 ptype, UINT8 ssap, UINT16 length, UINT8 *p_data) in llcp_dlc_proc_rx_pdu() argument
1198 dsap, ptype, ssap); in llcp_dlc_proc_rx_pdu()
1200 if (dsap == LLCP_SAP_LM) in llcp_dlc_proc_rx_pdu()
1202 LLCP_TRACE_ERROR2 ("llcp_dlc_proc_rx_pdu (): Invalid SAP:0x%x for PTYPE:0x%x", dsap, ptype); in llcp_dlc_proc_rx_pdu()
1209 llcp_dlc_proc_connect_pdu (dsap, ssap, length, p_data); in llcp_dlc_proc_rx_pdu()
1213 llcp_dlc_proc_disc_pdu (dsap, ssap, length, p_data); in llcp_dlc_proc_rx_pdu()
1217 llcp_dlc_proc_cc_pdu (dsap, ssap, length, p_data); in llcp_dlc_proc_rx_pdu()
1221 llcp_dlc_proc_dm_pdu (dsap, ssap, length, p_data); in llcp_dlc_proc_rx_pdu()
1225 p_dlcb = llcp_dlc_find_dlcb_by_sap (dsap, ssap); in llcp_dlc_proc_rx_pdu()
1234 llcp_dlc_proc_rr_rnr_pdu (dsap, ptype, ssap, length, p_data); in llcp_dlc_proc_rx_pdu()
1240 p_dlcb = llcp_dlc_find_dlcb_by_sap (dsap, ssap); in llcp_dlc_proc_rx_pdu()