HomeSort by relevance Sort by last modified time
    Searched refs:dlci (Results 1 - 25 of 26) sorted by null

1 2

  /system/bt/stack/rfcomm/
rfc_port_if.cc 71 * connection with the specific dlci on a specific bd device.
77 void RFCOMM_DlcEstablishReq(tRFC_MCB* p_mcb, uint8_t dlci,
80 PORT_DlcEstablishCnf(p_mcb, dlci, 0, RFCOMM_ERROR);
84 tPORT* p_port = port_find_mcb_dlci_port(p_mcb, dlci);
86 RFCOMM_TRACE_WARNING("%s Unable to find DLCI port dlci:%d", __func__, dlci);
101 void RFCOMM_DlcEstablishRsp(tRFC_MCB* p_mcb, uint8_t dlci,
104 PORT_DlcReleaseInd(p_mcb, dlci);
108 tPORT* p_port = port_find_mcb_dlci_port(p_mcb, dlci);
    [all...]
rfc_int.h 51 extern void RFCOMM_DlcEstablishReq(tRFC_MCB* p_mcb, uint8_t dlci, uint16_t mtu);
52 extern void RFCOMM_DlcEstablishRsp(tRFC_MCB* p_mcb, uint8_t dlci, uint16_t mtu,
55 extern void RFCOMM_DataReq(tRFC_MCB* p_mcb, uint8_t dlci, BT_HDR* p_buf);
57 extern void RFCOMM_DlcReleaseReq(tRFC_MCB* p_mcb, uint8_t dlci);
59 extern void RFCOMM_ParNegReq(tRFC_MCB* p_mcb, uint8_t dlci, uint16_t mtu);
60 extern void RFCOMM_ParNegRsp(tRFC_MCB* p_mcb, uint8_t dlci, uint16_t mtu,
65 extern void RFCOMM_FlowReq(tRFC_MCB* p_mcb, uint8_t dlci, bool state);
67 extern void RFCOMM_PortNegReq(tRFC_MCB* p_mcb, uint8_t dlci,
69 extern void RFCOMM_PortNegRsp(tRFC_MCB* p_mcb, uint8_t dlci,
72 extern void RFCOMM_ControlReq(tRFC_MCB* p_mcb, uint8_t dlci,
83 uint8_t dlci; member in struct:__anon2513
92 uint8_t dlci; member in struct:__anon2513::__anon2514::__anon2515
106 uint8_t dlci; member in struct:__anon2513::__anon2514::__anon2517
117 uint8_t dlci; member in struct:__anon2513::__anon2514::__anon2519
130 uint8_t dlci; member in struct:__anon2513::__anon2514::__anon2520
    [all...]
rfc_port_fsm.cc 116 (uint32_t)(p_port->dlci / 2), &rfc_sec_check_complete, p_port);
138 (uint32_t)(p_port->dlci / 2),
152 rfc_send_dm(p_port->rfc.p_mcb, p_port->dlci, false);
156 rfc_send_dm(p_port->rfc.p_mcb, p_port->dlci, false);
190 rfc_send_disc(p_port->rfc.p_mcb, p_port->dlci);
208 PORT_DlcEstablishCnf(p_port->rfc.p_mcb, p_port->dlci,
215 PORT_DlcEstablishCnf(p_port->rfc.p_mcb, p_port->dlci,
223 rfc_send_ua(p_port->rfc.p_mcb, p_port->dlci);
224 PORT_DlcEstablishCnf(p_port->rfc.p_mcb, p_port->dlci,
231 rfc_send_ua(p_port->rfc.p_mcb, p_port->dlci);
549 uint8_t dlci = p_frame->dlci; local
    [all...]
port_rfc.cc 73 p_mcb->port_inx[p_port->dlci] = p_port->inx;
79 RFCOMM_ParNegReq(p_mcb, p_port->dlci, p_port->mtu);
113 RFCOMM_ControlReq(p_mcb, p_port->dlci, &p_port->local_ctrl);
131 RFCOMM_PortNegReq(p_mcb, p_port->dlci, &p_port->user_port_pars);
176 RFCOMM_DlcReleaseReq(p_mcb, p_port->dlci);
203 RFCOMM_ParNegReq(p_mcb, p_port->dlci, p_port->mtu);
268 * DLCI parameters (currently only MTU is negotiated).
273 void PORT_ParNegInd(tRFC_MCB* p_mcb, uint8_t dlci, uint16_t mtu, uint8_t cl,
275 tPORT* p_port = port_find_mcb_dlci_port(p_mcb, dlci);
279 RFCOMM_TRACE_EVENT("PORT_ParNegInd dlci:%d mtu:%d", dlci, mtu)
    [all...]
port_utils.cc 63 tPORT* port_allocate_port(uint8_t dlci, const RawAddress& bd_addr) {
83 p_port->dlci = dlci;
229 p_port->rfc.p_mcb->port_inx[p_port->dlci] = 0;
262 if (p_port->is_server) p_port->dlci &= 0xfe;
299 * Description Find port on the multiplexer channel based on DLCI. If
300 * this port with DLCI not found try to use even DLCI. This
307 tPORT* port_find_mcb_dlci_port(tRFC_MCB* p_mcb, uint8_t dlci) {
309 LOG(ERROR) << __func__ << ": p_mcb is null, dlci=" << std::to_string(dlci)
    [all...]
rfc_ts_frames.cc 41 void rfc_send_sabme(tRFC_MCB* p_mcb, uint8_t dlci) {
49 /* SABME frame, command, PF = 1, dlci */
50 *p_data++ = RFCOMM_EA | cr | (dlci << RFCOMM_SHIFT_DLCI);
55 RFCOMM_SABME_FCS((uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET, cr, dlci);
69 void rfc_send_ua(tRFC_MCB* p_mcb, uint8_t dlci) {
77 /* ua frame, response, PF = 1, dlci */
78 *p_data++ = RFCOMM_EA | cr | (dlci << RFCOMM_SHIFT_DLCI);
82 *p_data = RFCOMM_UA_FCS((uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET, cr, dlci);
96 void rfc_send_dm(tRFC_MCB* p_mcb, uint8_t dlci, bool pf) {
104 /* DM frame, response, PF = 1, dlci */
    [all...]
rfc_l2cap_if.cc 170 rfc_cb.port.port[idx - 1].dlci += 1;
171 RFCOMM_TRACE_DEBUG("RFCOMM MX, port_handle=%d, DLCI[%d->%d]", idx, i,
172 rfc_cb.port.port[idx - 1].dlci);
301 if (rfc_cb.rfc.rx_frame.dlci == RFCOMM_MX_DLCI) {
316 /* The frame was received on the data channel DLCI, verify that DLC exists */
317 tPORT* p_port = port_find_mcb_dlci_port(p_mcb, rfc_cb.rfc.rx_frame.dlci);
329 rfc_send_dm(p_mcb, rfc_cb.rfc.rx_frame.dlci, rfc_cb.rfc.rx_frame.pf);
335 p_port = port_find_dlci_port(rfc_cb.rfc.rx_frame.dlci);
337 LOG(ERROR) << __func__ << ":Disconnecting RFCOMM, no port for dlci "
338 << +rfc_cb.rfc.rx_frame.dlci << ", lcid=" << loghex(lcid
    [all...]
port_int.h 94 /* tPORT based on dlci */
99 uint8_t is_initiator; /* true if this side sends SABME (dlci=0) */
157 uint8_t dlci; /* DLCI of the connection */ member in struct:__anon2511
218 extern tPORT* port_allocate_port(uint8_t dlci, const RawAddress& bd_addr);
222 extern tPORT* port_find_mcb_dlci_port(tRFC_MCB* p_mcb, uint8_t dlci);
224 extern tPORT* port_find_dlci_port(uint8_t dlci);
225 extern tPORT* port_find_port(uint8_t dlci, const RawAddress& bd_addr);
port_api.cc 109 * DLCI for the connection is (scn * 2 + 1) if client originates connection on
111 * For the server DLCI can be changed later if client will be calling it using
112 * (scn * 2 + 1) dlci.
131 /* multiplexer channel DLCI should be odd */
132 uint8_t dlci; local
135 dlci = static_cast<uint8_t>((scn << 1) + 1);
137 dlci = (scn << 1);
141 /* do not allow the same (dlci, bd_addr) to be opened twice by application */
144 p_port = port_find_port(dlci, bd_addr);
155 << ", uuid=" << loghex(uuid) << ", dlci=" << +dlc
    [all...]
rfc_mx_fsm.cc 240 rfc_cb.port.port[idx - 1].dlci += 1;
241 RFCOMM_TRACE_DEBUG("RFCOMM MX - DLCI:%d -> %d", i,
242 rfc_cb.port.port[idx - 1].dlci);
579 * on DLCI 0. T1 is still running.
rfc_utils.cc 356 p_mcb->port_inx[p_port->dlci] = 0;
383 if (p_port->tx.peer_fc) PORT_FlowInd(p_port->rfc.p_mcb, p_port->dlci, true);
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/hdlc/
ioctl.h 66 unsigned int dlci; member in struct:__anon62521
70 unsigned int dlci; member in struct:__anon62522
  /system/bt/stack/test/rfcomm/
stack_rfcomm_test_utils.h 47 * Create DLCI using direction of service channel number
51 * @return DLCI
61 * @param dlci DLCI of this pcaket, RFCOMM_MX_DLCI for multiplexer control
64 uint8_t GetAddressField(bool ea, bool cr, uint8_t dlci);
78 * @param dlci DLCI to be configured
88 std::vector<uint8_t> CreateMccPnFrame(uint8_t dlci, uint8_t i_bits,
96 * @param dlci DLCI to be configure
    [all...]
stack_rfcomm_test_utils_test.cc 53 uint8_t dlci = GetDlci(false, 0); local
54 EXPECT_EQ(dlci, 0);
55 uint8_t address_field = GetAddressField(true, true, dlci);
77 uint8_t dlci = GetDlci(false, 0); local
78 EXPECT_EQ(dlci, 0);
79 uint8_t address_field = GetAddressField(true, true, dlci);
102 uint8_t dlci = GetDlci(false, 0); local
103 EXPECT_EQ(dlci, 0);
104 uint8_t address_field = GetAddressField(true, true, dlci);
133 uint8_t dlci = GetDlci(false, 3) local
158 uint8_t dlci = GetDlci(false, 0); local
190 uint8_t dlci = GetDlci(false, 0); local
223 uint8_t dlci = GetDlci(false, 3); local
    [all...]
stack_rfcomm_test_utils.cc 35 uint8_t GetAddressField(bool ea, bool cr, uint8_t dlci) {
46 address |= dlci << 2;
61 std::vector<uint8_t> CreateMccPnFrame(uint8_t dlci, uint8_t i_bits,
68 result.push_back(static_cast<uint8_t>(dlci & 0b00111111));
79 std::vector<uint8_t> CreateMccMscFrame(uint8_t dlci, bool fc, bool rtc,
83 result.push_back(static_cast<uint8_t>((dlci << 2) | 0b11));
142 std::vector<uint8_t> CreateQuickUaPacket(uint8_t dlci, uint16_t l2cap_lcid,
144 uint8_t address_field = GetAddressField(true, true, dlci);
153 std::vector<uint8_t> CreateQuickSabmPacket(uint8_t dlci, uint16_t l2cap_lcid,
155 uint8_t address_field = GetAddressField(true, true, dlci);
    [all...]
  /system/bt/stack/include/
rfcdefs.h 69 #define RFCOMM_PARSE_CTRL_FIELD(ea, cr, dlci, p_data) \
73 (dlci) = *(p_data)++ >> RFCOMM_SHIFT_DLCI; \
74 if (!(ea)) (dlci) += *(p_data)++ << RFCOMM_SHIFT_DLCI2; \
77 #define RFCOMM_FORMAT_CTRL_FIELD(p_data, ea, cr, dlci) \
78 (*(p_data)++ = (ea) | (cr) | ((dlci) << RFCOMM_SHIFT_DLCI))
112 #define RFCOMM_VALID_DLCI(dlci) \
113 (((dlci) == 0) || (((dlci) >= 2) && ((dlci) <= RFCOMM_MAX_DLCI)))
212 /* Multiplexor channel uses DLCI 0 *
    [all...]
  /bionic/libc/kernel/uapi/linux/hdlc/
ioctl.h 72 unsigned int dlci; member in struct:__anon646
75 unsigned int dlci; member in struct:__anon647
  /external/iproute2/include/uapi/linux/hdlc/
ioctl.h 69 unsigned int dlci; member in struct:__anon21889
73 unsigned int dlci; member in struct:__anon21890
  /external/kernel-headers/original/uapi/linux/hdlc/
ioctl.h 69 unsigned int dlci; member in struct:__anon22852
73 unsigned int dlci; member in struct:__anon22853
  /external/tcpdump/
print-fr.c 54 * | DLCI (6 bits) | CR | EA |
56 * | DLCI (4 bits) |FECN|BECN| DE | EA |
58 * | DLCI (7 bits) | EA |
60 * | DLCI (6 bits) |SDLC| EA |
97 /* Finds out Q.922 address length, DLCI and flags. Returns 1 on success,
102 const u_char *p, u_int *dlci,
113 *dlci = ((p[0] & 0xFC) << 2) | ((p[1] & 0xF0) >> 4);
129 *dlci = (*dlci << 7) | (p[0] >> 1);
142 *dlci = (*dlci << 6) | (p[0] >> 2)
151 static u_int dlci, addr_len; local
242 u_int dlci; local
1070 u_int dlci; local
    [all...]
  /bionic/libc/kernel/uapi/linux/
if_frad.h 24 short dlci; member in struct:dlci_add
  /external/kernel-headers/original/uapi/linux/
if_frad.h 3 * DLCI/FRAD Definitions for Frame Relay Access Devices. DLCI devices are
4 * created for each DLCI associated with a FRAD. The FRAD driver
6 * handler. This allows other FRAD manufacturers to use the DLCI
30 /* Structures and constants associated with the DLCI device driver */
35 short dlci; member in struct:dlci_add
66 /* configuration flags for DLCI */
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/
if_frad.h 2 * DLCI/FRAD Definitions for Frame Relay Access Devices. DLCI devices are
3 * created for each DLCI associated with a FRAD. The FRAD driver
5 * handler. This allows other FRAD manufacturers to use the DLCI
29 /* Structures and constants associated with the DLCI device driver */
34 short dlci; member in struct:dlci_add
65 /* configuration flags for DLCI */
wanrouter.h 36 * Oct 05, 1997 Jaspreet Singh Added 'dlci_num' and 'dlci[100]' to
37 * 'wan_fr_conf_t' to configure a list of dlci(s)
154 unsigned dlci[100]; /* List of all DLCIs */ member in struct:wan_fr_conf
  /external/iproute2/lib/
ll_types.c 45 __PF(DLCI,dlci)

Completed in 306 milliseconds

1 2