Home
last modified time | relevance | path

Searched refs:lcfg (Results 1 - 5 of 5) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/stack/src/l2cap/
H A Dl2cap.c144 chan->lcfg.mtu = cfg->mtu; in L2CAP_ConfigReq()
145 chan->lcfg.flushTimeout = cfg->flushTimeout; in L2CAP_ConfigReq()
146 chan->lcfg.fcs = cfg->fcs; in L2CAP_ConfigReq()
147 chan->lcfg.rfc.mode = cfg->rfc.mode; in L2CAP_ConfigReq()
149 if (chan->lcfg.rfc.mode == L2CAP_ENHANCED_RETRANSMISSION_MODE) { in L2CAP_ConfigReq()
151 chan->lcfg.rfc.rxWindowSize = cfg->rfc.rxWindowSize; in L2CAP_ConfigReq()
155 chan->lcfg.rfc.maxTransmit = cfg->rfc.maxTransmit; in L2CAP_ConfigReq()
158 if (chan->lcfg.rfc.mps > cfg->mtu) { in L2CAP_ConfigReq()
159 chan->lcfg.rfc.mps = cfg->mtu; in L2CAP_ConfigReq()
161 } else if (chan->lcfg in L2CAP_ConfigReq()
[all...]
H A Dl2cap_core.c192 L2capCpuToLe16(buff + L2CAP_OFFSET_6, chan->lcfg.mtu); in L2capSendConfigurationReq()
196 if (chan->lcfg.flushTimeout != 0xFFFF) { in L2capSendConfigurationReq()
199 L2capCpuToLe16(buff + signal.length + L2CAP_OFFSET_2, chan->lcfg.flushTimeout); in L2capSendConfigurationReq()
203 if (chan->lcfg.rfc.mode != L2CAP_BASIC_MODE) { in L2capSendConfigurationReq()
206 buff[signal.length + L2CAP_OFFSET_2] = chan->lcfg.rfc.mode; in L2capSendConfigurationReq()
207 buff[signal.length + L2CAP_OFFSET_3] = chan->lcfg.rfc.rxWindowSize; in L2capSendConfigurationReq()
208 buff[signal.length + L2CAP_OFFSET_4] = chan->lcfg.rfc.maxTransmit; in L2capSendConfigurationReq()
211 L2capCpuToLe16(buff + signal.length + L2CAP_OFFSET_9, chan->lcfg.rfc.mps); in L2capSendConfigurationReq()
215 if (chan->lcfg.fcs != 0x01) { in L2capSendConfigurationReq()
234 if ((chan->lcfg in L2capChannelConnected()
[all...]
H A Dl2cap_le.c50 L2capLeConfigInfo lcfg; member
264 chan->lcfg.mps = L2capGetRxBufferSize() - L2CAP_SIZE_6; in L2capLeNewChannel()
265 chan->lcfg.credit = L2CAP_LE_DEFAULT_CREDIT; in L2capLeNewChannel()
455 L2capCpuToLe16(buff + L2CAP_OFFSET_4, chan->lcfg.mtu); in L2capSendCreditBasedConnectionReq()
456 L2capCpuToLe16(buff + L2CAP_OFFSET_6, chan->lcfg.mps); in L2capSendCreditBasedConnectionReq()
457 L2capCpuToLe16(buff + L2CAP_OFFSET_8, chan->lcfg.credit); in L2capSendCreditBasedConnectionReq()
478 L2capCpuToLe16(buff + L2CAP_OFFSET_2, chan->lcfg.mtu); in L2capSendCreditBasedConnectionRsp()
479 L2capCpuToLe16(buff + L2CAP_OFFSET_4, chan->lcfg.mps); in L2capSendCreditBasedConnectionRsp()
480 L2capCpuToLe16(buff + L2CAP_OFFSET_6, chan->lcfg.credit); in L2capSendCreditBasedConnectionRsp()
722 (void)memcpy_s(&(tchan.lcfg), sizeo in L2capLeProcessCreditBasedConnectionReq()
[all...]
H A Dl2cap_inst.h139 L2capConfigInfo lcfg; member
H A Dl2cap_inst.c251 L2capSetDefaultConfigOptions(&(chan->lcfg)); in L2capNewChannel()
262 if (chan->lcfg.rfc.mode == L2CAP_STREAM_MODE) { in L2capDestroyChannelTx()

Completed in 5 milliseconds