Lines Matching refs:log
83 log::assert_that(L2CA_LeCreditThreshold() < L2CA_LeCreditDefault(), in check_l2cap_credit()
122 log::error( in L2CA_Register()
131 log::error("L2CAP - invalid PSM value, PSM: 0x{:04x}", psm); in L2CA_Register()
145 log::debug("L2CAP - Real PSM: 0x{:04x} Virtual PSM: 0x{:04x}", psm, vpsm); in L2CA_Register()
153 log::warn("L2CAP - no RCB available, PSM: 0x{:04x} vPSM: 0x{:04x}", psm, vpsm); in L2CA_Register()
158 log::info("L2CAP Registered service classic PSM: 0x{:04x}", psm); in L2CA_Register()
184 log::verbose("L2CAP - L2CA_Deregister() called for PSM: 0x{:04x}", psm); in L2CA_Deregister()
208 log::warn("L2CAP - PSM: 0x{:04x} not found for deregistration", psm); in L2CA_Deregister()
226 log::verbose("last psm={}", psm); in L2CA_AllocateLePSM()
230 log::error("Out of free BLE PSM"); in L2CA_AllocateLePSM()
242 log::warn("supposedly-free PSM={} have allocated rcb!", psm); in L2CA_AllocateLePSM()
247 log::verbose("assigned PSM={}", psm); in L2CA_AllocateLePSM()
267 log::verbose("to free psm={}", psm); in L2CA_FreeLePSM()
270 log::error("Invalid PSM={} value!", psm); in L2CA_FreeLePSM()
275 log::warn("PSM={} was not allocated!", psm); in L2CA_FreeLePSM()
300 log::verbose("BDA {} PSM: 0x{:04x}", p_bd_addr, psm); in L2CA_ConnectReq()
304 log::warn("BTU not ready"); in L2CA_ConnectReq()
310 log::warn("no RCB, PSM=0x{:x}", psm); in L2CA_ConnectReq()
322 log::warn("connection not started for PSM=0x{:x}, p_lcb={}", psm, std::format_ptr(p_lcb)); in L2CA_ConnectReq()
331 log::warn("no CCB, PSM=0x{:x}", psm); in L2CA_ConnectReq()
350 log::verbose("L2CAP API - link disconnecting: RETRY LATER"); in L2CA_ConnectReq()
356 log::verbose("L2CAP - L2CA_conn_req(psm: 0x{:04x}) returned CID: 0x{:04x}", psm, in L2CA_ConnectReq()
391 log::error("No cb registering BLE PSM: 0x{:04x}", psm); in L2CA_RegisterLECoc()
397 log::error("Invalid BLE PSM value, PSM: 0x{:04x}", psm); in L2CA_RegisterLECoc()
409 log::error("Out of free BLE PSM"); in L2CA_RegisterLECoc()
413 log::debug("Real PSM: 0x{:04x} Virtual PSM: 0x{:04x}", psm, vpsm); in L2CA_RegisterLECoc()
419 log::debug("Allocate rcp for Virtual PSM: 0x{:04x}", vpsm); in L2CA_RegisterLECoc()
422 log::warn("No BLE RCB available, PSM: 0x{:04x} vPSM: 0x{:04x}", psm, vpsm); in L2CA_RegisterLECoc()
427 log::info("Registered service LE COC PSM: 0x{:04x}", psm); in L2CA_RegisterLECoc()
446 log::verbose("called for PSM: 0x{:04x}", psm); in L2CA_DeregisterLECoc()
450 log::warn("PSM: 0x{:04x} not found for deregistration", psm); in L2CA_DeregisterLECoc()
499 log::verbose("BDA: {} PSM: 0x{:04x}", p_bd_addr, psm); in L2CA_ConnectLECocReq()
503 log::warn("BTU not ready"); in L2CA_ConnectLECocReq()
510 log::warn("No BLE RCB, PSM: 0x{:04x}", psm); in L2CA_ConnectLECocReq()
522 log::warn("conn not started for PSM: 0x{:04x} p_lcb: 0x{}", psm, std::format_ptr(p_lcb)); in L2CA_ConnectLECocReq()
530 log::warn("no CCB, PSM: 0x{:04x}", psm); in L2CA_ConnectLECocReq()
548 log::verbose("LE Link is up"); in L2CA_ConnectLECocReq()
560 log::verbose("link disconnecting: RETRY LATER"); in L2CA_ConnectLECocReq()
566 log::verbose("(psm: 0x{:04x}) returned CID: 0x{:04x}", psm, p_ccb->local_cid); in L2CA_ConnectLECocReq()
586 log::verbose("CID: 0x{:04x}", lcid); in L2CA_GetPeerLECocConfig()
590 log::error("No CCB for CID:0x{:04x}", lcid); in L2CA_GetPeerLECocConfig()
616 log::warn("no LCB"); in L2CA_GetPeerLECocCredit()
622 log::error("No CCB for CID:0x{:04x}", lcid); in L2CA_GetPeerLECocCredit()
648 log::verbose("BDA: {} num of cids: {} Result: {}", p_bd_addr, int(accepted_lcids.size()), result); in L2CA_ConnectCreditBasedRsp()
654 log::warn("no LCB"); in L2CA_ConnectCreditBasedRsp()
663 log::error("No CCB for CID:0x{:04x}", p_lcb->pending_lead_cid); in L2CA_ConnectCreditBasedRsp()
670 log::warn("no CCB"); in L2CA_ConnectCreditBasedRsp()
682 log::warn("bad id. Expected: {} Got: {}", p_ccb->remote_id, id); in L2CA_ConnectCreditBasedRsp()
721 log::verbose("BDA: {} PSM: 0x{:04x}", p_bd_addr, psm); in L2CA_ConnectCreditBasedReq()
727 log::warn("BTU not ready"); in L2CA_ConnectCreditBasedReq()
732 log::warn("p_cfg is NULL"); in L2CA_ConnectCreditBasedReq()
739 log::warn("No BLE RCB, PSM: 0x{:04x}", psm); in L2CA_ConnectCreditBasedReq()
746 log::warn("No link available"); in L2CA_ConnectCreditBasedReq()
751 log::warn("incorrect link state: {}", p_lcb->link_state); in L2CA_ConnectCreditBasedReq()
755 log::verbose("LE Link is up"); in L2CA_ConnectCreditBasedReq()
759 log::warn("There is ongoing connection request, PSM: 0x{:04x}", psm); in L2CA_ConnectCreditBasedReq()
775 log::warn("no CCB, PSM: 0x{:04x}", psm); in L2CA_ConnectCreditBasedReq()
808 log::verbose("(psm: 0x{:04x}) returned CID: 0x{:04x}", psm, p_ccb_primary->local_cid); in L2CA_ConnectCreditBasedReq()
830 log::verbose("L2CA_ReconfigCreditBasedConnsReq()"); in L2CA_ReconfigCreditBasedConnsReq()
833 log::warn("L2CAP - empty lcids"); in L2CA_ReconfigCreditBasedConnsReq()
841 log::warn("L2CAP - no CCB for L2CA_cfg_req, CID: {}", cid); in L2CA_ReconfigCreditBasedConnsReq()
846 log::warn("L2CAP - MPS or MTU reduction, CID: {}", cid); in L2CA_ReconfigCreditBasedConnsReq()
852 log::warn("L2CAP - adjust MTU: {} too large", p_cfg->mtu); in L2CA_ReconfigCreditBasedConnsReq()
858 log::verbose("cid: {}", cid); in L2CA_ReconfigCreditBasedConnsReq()
861 log::error("Missing cid? {}", int(cid)); in L2CA_ReconfigCreditBasedConnsReq()
901 log::warn("L2CAP - no CCB for L2CA_disc_req, CID: {}", cid); in L2CA_DisconnectReq()
905 log::debug("L2CAP Local disconnect request CID: 0x{:04x}", cid); in L2CA_DisconnectReq()
927 log::assert_that(rcid != nullptr, "assert failed: rcid != nullptr"); in L2CA_GetRemoteChannelId()
929 log::verbose("LCID: 0x{:04x}", lcid); in L2CA_GetRemoteChannelId()
932 log::error("No CCB for CID:0x{:04x}", lcid); in L2CA_GetRemoteChannelId()
1003 log::warn("L2CAP - no LCB for L2CA_SetUseLatencyMode, BDA: {}", bd_addr); in L2CA_UseLatencyMode()
1006 log::info("BDA: {}, use_latency_mode: {}", bd_addr, use_latency_mode); in L2CA_UseLatencyMode()
1023 log::verbose("BDA: {}, priority: {}", bd_addr, priority); in L2CA_SetAclPriority()
1037 log::info("BDA: {}, latency: {}", bd_addr, latency); in L2CA_SetAclLatency()
1053 log::verbose("L2CA_SetTxPriority() CID: 0x{:04x}, priority:{}", cid, priority); in L2CA_SetTxPriority()
1058 log::warn("L2CAP - no CCB for L2CA_SetTxPriority, CID: {}", cid); in L2CA_SetTxPriority()
1085 log::warn("No BDA: {}", bd_addr); in L2CA_GetPeerFeatures()
1089 log::verbose("BDA: {} ExtFea: 0x{:08x} Chnl_Mask[0]: 0x{:02x}", bd_addr, p_lcb->peer_ext_fea, in L2CA_GetPeerFeatures()
1134 log::error("Invalid fixed CID: 0x{:04x}", fixed_cid); in L2CA_RegisterFixedChannel()
1139 log::debug("Registered fixed channel:{}", fixed_channel_text(fixed_cid)); in L2CA_RegisterFixedChannel()
1158 log::debug("fixed_cid:0x{:04x}", fixed_cid); in L2CA_ConnectFixedChnl()
1163 log::error("Invalid fixed_cid:0x{:04x}", fixed_cid); in L2CA_ConnectFixedChnl()
1169 log::warn("Bt controller is not ready fixed_cid:0x{:04x}", fixed_cid); in L2CA_ConnectFixedChnl()
1193 log::info("Peer device does not support fixed_cid:0x{:04x}", fixed_cid); in L2CA_ConnectFixedChnl()
1199 log::warn("Unable to allocate fixed channel resource fixed_cid:0x{:04x}", fixed_cid); in L2CA_ConnectFixedChnl()
1205 log::debug("Link is disconnecting so deferring connection fixed_cid:0x{:04x}", fixed_cid); in L2CA_ConnectFixedChnl()
1229 log::warn("Unable to allocate link resource for connection fixed_cid:0x{:04x}", fixed_cid); in L2CA_ConnectFixedChnl()
1235 log::warn("Unable to allocate fixed channel resource fixed_cid:0x{:04x}", fixed_cid); in L2CA_ConnectFixedChnl()
1243 log::warn("Unable to create fixed channel le connection fixed_cid:0x{:04x}", fixed_cid); in L2CA_ConnectFixedChnl()
1277 log::warn("No service registered or invalid CID: 0x{:04x}", fixed_cid); in L2CA_SendFixedChnlData()
1283 log::warn("Controller is not ready CID: 0x{:04x}", fixed_cid); in L2CA_SendFixedChnlData()
1291 log::warn("Link is disconnecting or does not exist CID: 0x{:04x}", fixed_cid); in L2CA_SendFixedChnlData()
1306 log::warn("Peer does not support fixed channel CID: 0x{:04x}", fixed_cid); in L2CA_SendFixedChnlData()
1318 log::warn("No channel control block found for CID: 0x{:4x}", fixed_cid); in L2CA_SendFixedChnlData()
1329 log::warn("Link congestion CID: 0x{:04x} xmit_hold_q.count: {} buff_quota: {}", fixed_cid, in L2CA_SendFixedChnlData()
1335 log::debug("Enqueued data for CID: 0x{:04x} len:{}", fixed_cid, p_buf->len); in L2CA_SendFixedChnlData()
1347 log::debug("Link congested for CID: 0x{:04x}", fixed_cid); in L2CA_SendFixedChnlData()
1372 log::error("L2CA_RemoveFixedChnl() Invalid CID: 0x{:04x}", fixed_cid); in L2CA_RemoveFixedChnl()
1384 log::warn("BDA: {} CID: 0x{:04x} not connected", rem_bda, fixed_cid); in L2CA_RemoveFixedChnl()
1394 log::warn("Removal of BDA: {} CID: 0x{:04x} already pending", rem_bda, fixed_cid); in L2CA_RemoveFixedChnl()
1397 log::info("Waiting for transmit queue to clear, BDA: {} CID: 0x{:04x}", rem_bda, fixed_cid); in L2CA_RemoveFixedChnl()
1402 log::verbose("BDA: {} CID: 0x{:04x}", rem_bda, fixed_cid); in L2CA_RemoveFixedChnl()
1443 log::warn("BDA: {} CID: 0x{:04x} not connected", rem_bda, kAttCid); in L2CA_SetLeGattTimeout()
1463 log::info("setting link to {} as active", rem_bda); in L2CA_MarkLeLinkAsActive()
1482 log::verbose("L2CA_DataWrite() CID: 0x{:04x} Len: {}", cid, p_data->len); in L2CA_DataWrite()
1506 log::warn("L2CAP - no CCB for L2CA_SetChnlFlushability, CID: {}", cid); in L2CA_SetChnlFlushability()
1512 log::verbose("L2CA_SetChnlFlushability() CID: 0x{:04x} is_flushable: {}", cid, is_flushable); in L2CA_SetChnlFlushability()
1538 log::warn("L2CA_FlushChannel() abnormally returning 0 CID: 0x{:04x}", lcid); in L2CA_FlushChannel()
1544 log::verbose( in L2CA_FlushChannel()
1550 log::verbose("L2CA_FlushChannel (QUERY) CID: 0x{:04x}", lcid); in L2CA_FlushChannel()
1608 log::verbose("L2CA_FlushChannel() flushed: {} + {}, num_left: {}", num_flushed1, num_flushed2, in L2CA_FlushChannel()
1641 log::error("bluetooth::shim::GetSnoopLogger() is nullptr"); in L2CA_SetMediaStreamChannel()
1649 log::debug("local_media_cid={}, status={}", local_media_cid, status ? "add" : "remove"); in L2CA_SetMediaStreamChannel()
1660 log::error("No empty slot found to set media channel"); in L2CA_SetMediaStreamChannel()
1675 log::verbose("Set A2DP media snoop filtering for local_cid: {}, remote_cid: {}", in L2CA_SetMediaStreamChannel()
1686 log::error("The channel {} not found in active media channels", local_media_cid); in L2CA_SetMediaStreamChannel()
1697 log::verbose("Reset A2DP media snoop filtering for local_cid: {}", local_media_cid); in L2CA_SetMediaStreamChannel()
1755 log::assert_that(acl_handle != nullptr, "assert failed: acl_handle != nullptr"); in L2CA_GetAclHandle()
1759 log::error("No CCB for CID:0x{:04x}", lcid); in L2CA_GetAclHandle()
1764 log::error("Invalid ACL handle"); in L2CA_GetAclHandle()
1787 log::assert_that(local_mtu != nullptr, "assert failed: local_mtu != nullptr"); in L2CA_GetLocalMtu()
1791 log::error("No CCB for CID:0x{:04x}", lcid); in L2CA_GetLocalMtu()