Home
last modified time | relevance | path

Searched refs:credit (Results 1 - 3 of 3) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/stack/src/l2cap/
H A Dl2cap_le.c265 chan->lcfg.credit = L2CAP_LE_DEFAULT_CREDIT; in L2capLeNewChannel()
457 L2capCpuToLe16(buff + L2CAP_OFFSET_8, chan->lcfg.credit); in L2capSendCreditBasedConnectionReq()
480 L2capCpuToLe16(buff + L2CAP_OFFSET_6, chan->lcfg.credit); in L2capSendCreditBasedConnectionRsp()
527 static int L2capLeSendFlowControlCredit(L2capLeConnection *conn, const L2capLeChannel *chan, uint16_t credit) in L2capLeSendFlowControlCredit() argument
534 L2capCpuToLe16(buff + L2CAP_OFFSET_2, credit); in L2capLeSendFlowControlCredit()
550 if (chan->rcfg.credit == 0) { in L2capLeTxWithCredit()
564 chan->rcfg.credit -= 1; in L2capLeTxWithCredit()
567 if (chan->rcfg.credit == 0) { in L2capLeTxWithCredit()
715 cfg.credit = L2capLe16ToCpu(data + L2CAP_OFFSET_8); in L2capLeProcessCreditBasedConnectionReq()
733 chan->rcfg.credit in L2capLeProcessCreditBasedConnectionReq()
907 uint16_t credit; L2capLeProcessFlowControlCredit() local
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/stack/include/
H A Dl2cap_def.h217 uint16_t credit; member
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/rfcomm/
H A Drfcomm_frames.c563 * @param newCredits New credit count.
918 uint8_t credit = 0; in RfcommParseUih() local
929 // UIH frames with P/F-bit = 1 and credit based flow control used. in RfcommParseUih()
931 PacketExtractHead(pkt, &credit, 1); in RfcommParseUih()
932 output.info->data.credits = credit; in RfcommParseUih()

Completed in 5 milliseconds