Home
last modified time | relevance | path

Searched refs:L2CAP_OFFSET_4 (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/l2cap/
H A Dl2cap_core.c165 L2capCpuToLe16(buff + L2CAP_OFFSET_4, result); in L2capSendConnectionRsp()
190 buff[L2CAP_OFFSET_4] = L2CAP_OPTION_MAXIMUM_TRANSMISSION_UNIT; in L2capSendConfigurationReq()
255 buff[signal->length + L2CAP_OFFSET_4] = cfg->rfc.maxTransmit; in L2capSendConfigurationRspRfcProcess()
266 buff[signal->length + L2CAP_OFFSET_4] = 0; in L2capSendConfigurationRspRfcProcess()
286 L2capCpuToLe16(buff + L2CAP_OFFSET_4, result); in L2capSendConfigurationRsp()
404 buff[L2CAP_OFFSET_4] = L2CAP_FEATURE_SIGNALING_CHANNEl; in L2capSendInformationRsp()
1194 cfg->rfc.maxTransmit = data[offset + L2CAP_OFFSET_4]; in L2capProcessErfcOption()
1316 L2capCpuToLe16(buff + L2CAP_OFFSET_4, (uint16_t)L2CAP_SUCCESS); in L2capConfigurationRspContinuation()
1527 result = L2capLe16ToCpu(data + L2CAP_OFFSET_4); in L2capProcessConfigurationRsp()
1651 result = L2capLe16ToCpu(data + L2CAP_OFFSET_4); in L2capProcessConnectionRsp()
[all …]
H A Dl2cap_le.c455 L2capCpuToLe16(buff + L2CAP_OFFSET_4, chan->lcfg.mtu); in L2capSendCreditBasedConnectionReq()
479 L2capCpuToLe16(buff + L2CAP_OFFSET_4, chan->lcfg.mps); in L2capSendCreditBasedConnectionRsp()
624 L2capCpuToLe16(header + L2CAP_OFFSET_4, totalLength); in L2capLeSegmentPacketWithCredit()
658 param.connLatency = L2capLe16ToCpu(data + L2CAP_OFFSET_4); in L2capLeProcessConnectionParameterUpdateReq()
713 cfg.mtu = L2capLe16ToCpu(data + L2CAP_OFFSET_4); in L2capLeProcessCreditBasedConnectionReq()
777 cfg.mps = L2capLe16ToCpu(data + L2CAP_OFFSET_4); in L2capLeProcessCreditBasedConnectionRsp()
1447 L2capCpuToLe16(header + L2CAP_OFFSET_4, length); in L2CAP_LeSendData()
1740 L2capCpuToLe16(buff + L2CAP_OFFSET_4, param->connLatency); in L2CAP_LeConnectionParameterUpdateReq()
H A Dl2cap_cmn.h112 #define L2CAP_OFFSET_4 0x04 macro
H A Dl2cap_cmn.c466 buff[L2CAP_OFFSET_4] = signal->code; in L2capBuildSignalPacket()
498 L2capCpuToLe16(buff + L2CAP_OFFSET_4, data[1]); in L2capSendCommandReject()