Lines Matching refs:mbim_debug
73 #define mbim_debug dbg_time macro
1008 mbim_debug("%s Header:", direction); in mbim_dump_header()
1009 mbim_debug("%s MessageLength = %u", direction, le32toh(pMsg->MessageLength)); in mbim_dump_header()
1010 …mbim_debug("%s MessageType = %s (0x%08x)", direction, MBIMMSGTypeStr(le32toh(pMsg->MessageType)),… in mbim_dump_header()
1011 mbim_debug("%s TransactionId = %u", direction, le32toh(pMsg->TransactionId)); in mbim_dump_header()
1012 mbim_debug("%s Contents:", direction); in mbim_dump_header()
1016 …mbim_debug("%s DeviceServiceId = %s (%s)", direction, DeviceServiceId2str(&pCmdMsg->DeviceServiceI… in mbim_dump_command_msg()
1017 … mbim_debug("%s CID = %s (%u)", direction, CID2Str(le32toh(pCmdMsg->CID)), le32toh(pCmdMsg->CID)); in mbim_dump_command_msg()
1018 …mbim_debug("%s CommandType = %s (%u)", direction, le32toh(pCmdMsg->CommandType) ? "set" : "query",… in mbim_dump_command_msg()
1019 …mbim_debug("%s InformationBufferLength = %u", direction, le32toh(pCmdMsg->InformationBufferLength)… in mbim_dump_command_msg()
1023 …mbim_debug("%s DeviceServiceId = %s (%s)", direction, DeviceServiceId2str(&pCmdDone->DeviceService… in mbim_dump_command_done()
1024 …mbim_debug("%s CID = %s (%u)", direction, CID2Str(le32toh(pCmdDone->CID)), le32toh(pCmdDone->CID)); in mbim_dump_command_done()
1025 mbim_debug("%s Status = %u", direction, le32toh(pCmdDone->Status)); in mbim_dump_command_done()
1026 …mbim_debug("%s InformationBufferLength = %u", direction, le32toh(pCmdDone->InformationBufferLength… in mbim_dump_command_done()
1030 …mbim_debug("%s DeviceServiceId = %s (%s)", direction, DeviceServiceId2str(&pIndMsg->DeviceServiceI… in mbim_dump_indicate_msg()
1032 …mbim_debug("%s CID = %s (%u)", direction, MS_CID2Str(le32toh(pIndMsg->CID)), le32toh(pIndMsg->CID)… in mbim_dump_indicate_msg()
1034 … mbim_debug("%s CID = %s (%u)", direction, CID2Str(le32toh(pIndMsg->CID)), le32toh(pIndMsg->CID)); in mbim_dump_indicate_msg()
1035 …mbim_debug("%s InformationBufferLength = %u", direction, le32toh(pIndMsg->InformationBufferLength)… in mbim_dump_indicate_msg()
1039 mbim_debug("%s SessionId = %u", direction, le32toh(pInfo->SessionId)); in mbim_dump_connect()
1040 …mbim_debug("%s ActivationState = %s (%u)", direction, MBIMActivationStateStr(le32toh(pInfo->Activa… in mbim_dump_connect()
1041 mbim_debug("%s IPType = %s", direction, MBIMContextIPTypeStr(le32toh(pInfo->IPType))); in mbim_dump_connect()
1042 …mbim_debug("%s VoiceCallState = %s", direction, MBIMVoiceCallStateStr(le32toh(pInfo->VoiceCallStat… in mbim_dump_connect()
1043 mbim_debug("%s ContextType = %s", direction, uuid2str(&pInfo->ContextType)); in mbim_dump_connect()
1044 mbim_debug("%s NwError = %u", direction, le32toh(pInfo->NwError)); in mbim_dump_connect()
1049 mbim_debug("%s Rssi = %u", direction, le32toh(pInfo->Rssi)); in mbim_dump_signal_state()
1050 mbim_debug("%s ErrorRate = %u", direction, le32toh(pInfo->ErrorRate)); in mbim_dump_signal_state()
1051 mbim_debug("%s SignalStrengthInterval = %u", direction, le32toh(pInfo->SignalStrengthInterval)); in mbim_dump_signal_state()
1052 mbim_debug("%s RssiThreshold = %u", direction, le32toh(pInfo->RssiThreshold)); in mbim_dump_signal_state()
1053 mbim_debug("%s ErrorRateThreshold = %u", direction, le32toh(pInfo->ErrorRateThreshold)); in mbim_dump_signal_state()
1058 mbim_debug("%s NwError = %u", direction, le32toh(pInfo->NwError)); in mbim_dump_packet_service()
1059 …mbim_debug("%s PacketServiceState = %s", direction, MBIMPacketServiceStateStr(le32toh(pInfo->Packe… in mbim_dump_packet_service()
1060 …mbim_debug("%s HighestAvailableDataClass = %s", direction, MBIMDataClassStr(le32toh(pInfo->Highest… in mbim_dump_packet_service()
1061 mbim_debug("%s UplinkSpeed = %ld", direction, (long)le64toh(pInfo->UplinkSpeed)); in mbim_dump_packet_service()
1062 mbim_debug("%s DownlinkSpeed = %ld", direction, (long)le64toh(pInfo->DownlinkSpeed)); in mbim_dump_packet_service()
1067 …mbim_debug("%s ReadyState = %s", direction, MBIMSubscriberReadyStateStr(le32toh(pInfo->ReadyState)… in mbim_dump_subscriber_status()
1068 …mbim_debug("%s SIMICCID = %s", direction, mbim_get_segment(pInfo, le32toh(pInfo->SimIccIdOffset), … in mbim_dump_subscriber_status()
1069 …mbim_debug("%s SubscriberID = %s", direction, mbim_get_segment(pInfo, le32toh(pInfo->SubscriberIdO… in mbim_dump_subscriber_status()
1075 …mbim_debug("%s Number = %s", direction, mbim_get_segment(pInfo, le32toh(offset), le32toh(length))); in mbim_dump_subscriber_status()
1081 mbim_debug("%s NwError = %u", direction, le32toh(pInfo->NwError)); in mbim_dump_regiester_status()
1082 …mbim_debug("%s RegisterState = %s", direction, MBIMRegisterStateStr(le32toh(pInfo->RegisterState))… in mbim_dump_regiester_status()
1083 … mbim_debug("%s RegisterMode = %s", direction, MBIMRegisterModeStr(le32toh(pInfo->RegisterMode))); in mbim_dump_regiester_status()
1090 mbim_debug("%s SessionId = %u", direction, le32toh(pInfo->SessionId)); in mbim_dump_ipconfig()
1091 …mbim_debug("%s IPv4ConfigurationAvailable = 0x%x", direction, le32toh(pInfo->IPv4ConfigurationAvai… in mbim_dump_ipconfig()
1092 …mbim_debug("%s IPv6ConfigurationAvailable = 0x%x", direction, le32toh(pInfo->IPv6ConfigurationAvai… in mbim_dump_ipconfig()
1093 mbim_debug("%s IPv4AddressCount = 0x%x", direction, le32toh(pInfo->IPv4AddressCount)); in mbim_dump_ipconfig()
1094 mbim_debug("%s IPv4AddressOffset = 0x%x", direction, le32toh(pInfo->IPv4AddressOffset)); in mbim_dump_ipconfig()
1095 mbim_debug("%s IPv6AddressCount = 0x%x", direction, le32toh(pInfo->IPv6AddressCount)); in mbim_dump_ipconfig()
1096 mbim_debug("%s IPv6AddressOffset = 0x%x", direction, le32toh(pInfo->IPv6AddressOffset)); in mbim_dump_ipconfig()
1103 … mbim_debug("%s IPv4 = %u.%u.%u.%u/%u", direction, ipv4[0], ipv4[1], ipv4[2], ipv4[3], prefix); in mbim_dump_ipconfig()
1107 mbim_debug("%s gw = %u.%u.%u.%u", direction, gw[0], gw[1], gw[2], gw[3]); in mbim_dump_ipconfig()
1111 mbim_debug("%s dns1 = %u.%u.%u.%u", direction, dns1[0], dns1[1], dns1[2], dns1[3]); in mbim_dump_ipconfig()
1114 mbim_debug("%s dns2 = %u.%u.%u.%u", direction, dns2[0], dns2[1], dns2[2], dns2[3]); in mbim_dump_ipconfig()
1117 if (le32toh(pInfo->IPv4Mtu)) mbim_debug("%s ipv4 mtu = %u", direction, le32toh(pInfo->IPv4Mtu)); in mbim_dump_ipconfig()
1124 …mbim_debug("%s IPv6 = %02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x/%d",… in mbim_dump_ipconfig()
1130 … mbim_debug("%s gw = %02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x", \ in mbim_dump_ipconfig()
1136 … mbim_debug("%s dns1 = %02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x", \ in mbim_dump_ipconfig()
1141 … mbim_debug("%s dns2 = %02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x", \ in mbim_dump_ipconfig()
1146 if (le32toh(pInfo->IPv6Mtu)) mbim_debug("%s ipv6 mtu = %u", direction, le32toh(pInfo->IPv6Mtu)); in mbim_dump_ipconfig()
1168 mbim_debug("%s", _tmp); in mbim_dump()
1177 mbim_debug("%s MaxControlTransfer = %u", direction, le32toh(pOpenMsg->MaxControlTransfer)); in mbim_dump()
1182 mbim_debug("%s Status = %u", direction, le32toh(pOpenDone->Status)); in mbim_dump()
1191 mbim_debug("%s Status = %u", direction, le32toh(pCloseDone->Status)); in mbim_dump()
1202 mbim_debug("%s SessionId = %u", direction, le32toh(pInfo->SessionId)); in mbim_dump()
1207 mbim_debug("%s SessionId = %u", direction, le32toh(pInfo->SessionId)); in mbim_dump()
1300 mbim_debug("%s ErrorStatusCode = %u", direction, le32toh(pErrMsg->ErrorStatusCode)); in mbim_dump()
1410 mbim_debug("%s pthread_cond_timeout_np=%d", __func__, ret); in mbim_send_command()
1453 mbim_debug("fail to open (%s), errno: %d (%s)", cdc_wdm, errno, strerror(errno)); in mbim_read_thread()
1472 mbim_debug("%s poll=%d, errno: %d (%s)", __func__, ret, errno, strerror(errno)); in mbim_read_thread()
1481 mbim_debug("%s poll err/hup/inval", __func__); in mbim_read_thread()
1482 mbim_debug("epoll fd = %d, events = 0x%04x", fd, revents); in mbim_read_thread()
1500 … mbim_debug("%s read=%d errno: %d (%s)", __func__, (int)nreads, errno, strerror(errno)); in mbim_read_thread()
1529 mbim_debug("%s exit", __func__); in mbim_read_thread()
1576 mbim_debug("%s:%d err=%d, Status=%d", __func__, __LINE__, err, _status); \
1590 mbim_debug("%s()", __func__); in mbim_open_device()
1606 mbim_debug("%s()", __func__); in mbim_close_device()
1624 mbim_debug("%s(sessionID=%d)", __func__, sessionID); //avoid two many log in mbim_query_connect()
1677 mbim_debug("%s()", __func__); in mbim_device_services_query()
1716 mbim_debug("%s()", __func__); in mbim_device_caps_query()
1727 mbim_debug("DeviceId: %s", tmp); in mbim_device_caps_query()
1732 mbim_debug("FirmwareInfo: %s", tmp); in mbim_device_caps_query()
1736 mbim_debug("HardwareInfo: %s", tmp); in mbim_device_caps_query()
1749 mbim_debug("%s()", __func__);
1756 mbim_debug("HwRadioState: %d, SwRadioState: %d", pInfo->HwRadioState, pInfo->SwRadioState);
1769 mbim_debug("%s( %d )", __func__, RadioState); in mbim_set_radio_state()
1776 …mbim_debug("HwRadioState: %d, SwRadioState: %d", le32toh(pInfo->HwRadioState), le32toh(pInfo->SwRa… in mbim_set_radio_state()
1787 mbim_debug("%s()", __func__); in mbim_subscriber_status_query()
1797 mbim_debug("SubscriberId: %s", tmp); in mbim_subscriber_status_query()
1799 mbim_debug("SimIccId: %s", tmp); in mbim_subscriber_status_query()
1812 mbim_debug("%s()", __func__); in mbim_register_state_query()
1831 mbim_debug("%s()", __func__); in mbim_packet_service_query()
1843 mbim_debug("CurrentDataClass = %s", MBIMDataClassStr(le32toh(pInfo->CurrentDataClass))); in mbim_packet_service_query()
1856 mbim_debug("%s()", __func__); in mbim_packet_service_set()
1884 mbim_debug("not enough memory\n"); in mbim_populate_connect_data()
1919 mbim_debug("%s(onoff=%d, sessionID=%d)", __func__, onoff, sessionID); in mbim_set_connect()
1959 mbim_debug("%s(sessionID=%d)", __func__, sessionID); in mbim_ip_config()
2060 …mbim_debug("SubscriberReadyState %s -> %s ", MBIMSubscriberReadyStateStr(oldReadyState), MBIMSubsc… in mbim_update_state()
2064 …mbim_debug("RegisterState %s -> %s ", MBIMRegisterStateStr(oldRegisterState), MBIMRegisterStateStr… in mbim_update_state()
2068 …mbim_debug("PacketServiceState %s -> %s ", MBIMPacketServiceStateStr(oldPacketServiceState), MBIMP… in mbim_update_state()
2072 …mbim_debug("ActivationState %s -> %s ", MBIMActivationStateStr(oldActivationState), MBIMActivation… in mbim_update_state()