1
1
Fork
You've already forked imsd
1

Improve QRTR service labelling #1

Merged
DylanVanAssche merged 2 commits from flamingradian/imsd:qrtr-services into main 2024年02月23日 15:07:39 +01:00
Contributor
Copy link

This adds the service number for the QRTR service provided by imsdatadaemon and changes the interpretation of the first message to match my observations. I discovered messages from the IMS application service, but they are not from a discrete daemon so I couldn't find a way to fit it here.

Raw QMI messages with the service labelled underneath each entry, intercepted and logged in the kernel:

[ 15.745705] msm_ipc debug: send data from node=1 port=0078 to node=0 port=004d: 00010020000000, comm=imsdatadaemon
	MPSS Device Management Service
[ 15.755608] msm_ipc debug: recv data from node=0 port=004d to node=1 port=0078: 020100200027010204000000000001100080f0fa0200e1f5050402050102040508... (239 bytes of unknown significance), comm=imsdatadaemon
	MPSS Device Management Service
[ 15.756252] msm_ipc debug: recv data from node=0 port=0063 to node=1 port=0074: 000100230023000120008b230100000019666538303a3a343161623a623834393a636132383a62633161, comm=imsdatadaemon
	AP unknown service 770
[ 15.772103] msm_ipc debug: send data from node=1 port=0079 to node=0 port=0041: 000100a2000f00100800040000000100000011010001, comm=imsdatadaemon
	MPSS Wireless Data Service
[ 15.773352] msm_ipc debug: recv data from node=0 port=0041 to node=1 port=0079: 020100a200070002040000000000, comm=imsdatadaemon
	MPSS Wireless Data Service
[ 15.775050] msm_ipc debug: send data from node=1 port=0074 to node=0 port=0063: 0201002300070002040000000000, comm=imsdatadaemon
	AP unknown service 770
[ 15.775245] msm_ipc debug: recv data from node=0 port=0063 to node=1 port=0074: 0002002e000b001001000111040000000000, comm=imsdatadaemon
	AP unknown service 770
[ 15.776181] msm_ipc debug: send data from node=1 port=0074 to node=0 port=0063: 0202002e00070002040000000000, comm=imsdatadaemon
	AP unknown service 770
[ 15.776328] msm_ipc debug: recv data from node=0 port=0063 to node=1 port=0074: 00030034000b000108000000000000000000, comm=imsdatadaemon
	AP unknown service 770
[ 15.776521] msm_ipc debug: send data from node=1 port=0074 to node=0 port=0063: 0203003400070002040000000000, comm=imsdatadaemon
	AP unknown service 770
[ 18.403668] msm_ipc debug: send data from node=1 port=0109 to node=0 port=0041: 000100a2000f00100800040000000100000011010001, comm=imsdatadaemon
	MPSS Wireless Data Service
[ 18.404368] msm_ipc debug: recv data from node=0 port=0041 to node=1 port=0109: 020100a200070002040000000000, comm=imsdatadaemon
	MPSS Wireless Data Service
[ 18.404565] msm_ipc debug: send data from node=1 port=0109 to node=0 port=0041: 000200af00070001040000000000, comm=imsdatadaemon
	MPSS Wireless Data Service
[ 18.405054] msm_ipc debug: recv data from node=0 port=0041 to node=1 port=0109: 020200af00070002040000000000, comm=imsdatadaemon
	MPSS Wireless Data Service
[ 18.405606] msm_ipc debug: send data from node=1 port=010a to node=0 port=0041: 000100a2000f00100800040000000100000011010001, comm=imsdatadaemon
	MPSS Wireless Data Service
[ 18.406163] msm_ipc debug: recv data from node=0 port=0041 to node=1 port=010a: 020100a200070002040000000000, comm=imsdatadaemon
	MPSS Wireless Data Service
[ 18.406307] msm_ipc debug: send data from node=1 port=010a to node=0 port=0041: 000200af00070001040000000000, comm=imsdatadaemon
	MPSS Wireless Data Service
[ 18.406759] msm_ipc debug: recv data from node=0 port=0041 to node=1 port=010a: 020200af00070002040000000000, comm=imsdatadaemon
	MPSS Wireless Data Service
[ 18.407355] msm_ipc debug: send data from node=1 port=010b to node=0 port=0042: 0001002b000f00100800040000000100000011010001, comm=imsdatadaemon
	MPSS Quality Of Service service
[ 18.407809] msm_ipc debug: recv data from node=0 port=0042 to node=1 port=010b: 0201002b00070002040000000000, comm=imsdatadaemon
	MPSS Quality Of Service service
[ 18.407934] msm_ipc debug: send data from node=1 port=010b to node=0 port=0042: 0002002d00070001040000000000, comm=imsdatadaemon
	MPSS Quality Of Service service
[ 18.408300] msm_ipc debug: recv data from node=0 port=0042 to node=1 port=010b: 0202002d00070002040000000000, comm=imsdatadaemon
	MPSS Quality Of Service service
[ 18.408612] msm_ipc debug: send data from node=1 port=0109 to node=0 port=0041: 0003004d00040001010004, comm=imsdatadaemon
	MPSS Wireless Data Service
[ 18.409021] msm_ipc debug: recv data from node=0 port=0041 to node=1 port=0109: 0203004d00070002040000000000, comm=imsdatadaemon
	MPSS Wireless Data Service
[ 18.409137] msm_ipc debug: send data from node=1 port=010a to node=0 port=0041: 0003004d00040001010006, comm=imsdatadaemon
	MPSS Wireless Data Service
[ 18.409501] msm_ipc debug: recv data from node=0 port=0041 to node=1 port=010a: 0203004d00070002040000000000, comm=imsdatadaemon
	MPSS Wireless Data Service
[ 18.409650] msm_ipc debug: send data from node=1 port=010a to node=0 port=0041: 00040020000d0019010006340200888835010001, comm=imsdatadaemon
	MPSS Wireless Data Service
[ 18.414650] msm_ipc debug: recv data from node=0 port=0041 to node=1 port=0079: 04010022001200010200020012010006130200888815010000, comm=imsdatadaemon
	MPSS Wireless Data Service
[ 18.416290] msm_ipc debug: recv data from node=0 port=0041 to node=1 port=010a: 02040020000e0002040000000000010400b08a81f6, comm=imsdatadaemon
	MPSS Wireless Data Service
[ 18.416763] msm_ipc debug: recv data from node=0 port=0041 to node=1 port=010a: 04010022001200010200020012010006130200888815010000, comm=imsdatadaemon
	MPSS Wireless Data Service
[ 18.500374] msm_ipc debug: send data from node=1 port=010a to node=0 port=0041: 0005002d00070010040010820000, comm=imsdatadaemon
	MPSS Wireless Data Service
[ 18.500837] msm_ipc debug: recv data from node=0 port=0041 to node=1 port=010a: 0205002d001f0002040000000000261100fe800000000000000580cdb1cf78247f402b010006, comm=imsdatadaemon
	MPSS Wireless Data Service
[ 20.406004] msm_ipc debug: recv data from node=0 port=0063 to node=1 port=0074: 0004002000330001140003696d730000000002000000010000000200ffff10040064000000110400000000001204000100000013040001000000, comm=imsdatadaemon
	AP unknown service 770
[ 20.411061] msm_ipc debug: send data from node=1 port=0074 to node=0 port=0063: 0204002000190002040000000000100100151104006400000012040001000000, comm=imsdatadaemon
	AP unknown service 770
[ 20.435085] msm_ipc debug: send data from node=1 port=010c to node=0 port=0041: 000100a2000f00100800040000000100000011010002, comm=imsdatadaemon
	MPSS Wireless Data Service
[ 20.435720] msm_ipc debug: recv data from node=0 port=0041 to node=1 port=010c: 020100a200070002040000000000, comm=imsdatadaemon
	MPSS Wireless Data Service
[ 20.435940] msm_ipc debug: send data from node=1 port=010c to node=0 port=0041: 000200af00070001040001000000, comm=imsdatadaemon
	MPSS Wireless Data Service
[ 20.436264] msm_ipc debug: recv data from node=0 port=0041 to node=1 port=010c: 020200af00070002040000000000, comm=imsdatadaemon
	MPSS Wireless Data Service
[ 20.436615] msm_ipc debug: send data from node=1 port=010d to node=0 port=0041: 000100a2000f00100800040000000100000011010002, comm=imsdatadaemon
	MPSS Wireless Data Service
[ 20.437178] msm_ipc debug: recv data from node=0 port=0041 to node=1 port=010d: 020100a200070002040000000000, comm=imsdatadaemon
	MPSS Wireless Data Service
[ 20.437387] msm_ipc debug: send data from node=1 port=010d to node=0 port=0041: 000200af00070001040001000000, comm=imsdatadaemon
	MPSS Wireless Data Service
[ 20.437763] msm_ipc debug: recv data from node=0 port=0041 to node=1 port=010d: 020200af00070002040000000000, comm=imsdatadaemon
	MPSS Wireless Data Service
[ 20.438232] msm_ipc debug: send data from node=1 port=010e to node=0 port=0042: 0001002b000f00100800040000000100000011010002, comm=imsdatadaemon
	MPSS Quality Of Service service
[ 20.438659] msm_ipc debug: recv data from node=0 port=0042 to node=1 port=010e: 0201002b00070002040000000000, comm=imsdatadaemon
	MPSS Quality Of Service service
[ 20.438788] msm_ipc debug: send data from node=1 port=010e to node=0 port=0042: 0002002d00070001040001000000, comm=imsdatadaemon
	MPSS Quality Of Service service
[ 20.439060] msm_ipc debug: recv data from node=0 port=0042 to node=1 port=010e: 0202002d00070002040000000000, comm=imsdatadaemon
	MPSS Quality Of Service service
[ 20.439203] msm_ipc debug: send data from node=1 port=010c to node=0 port=0041: 0003004d00040001010004, comm=imsdatadaemon
	MPSS Wireless Data Service
[ 20.439640] msm_ipc debug: recv data from node=0 port=0041 to node=1 port=010c: 0203004d00070002040000000000, comm=imsdatadaemon
	MPSS Wireless Data Service
[ 20.439952] msm_ipc debug: send data from node=1 port=010d to node=0 port=0041: 0003004d00040001010006, comm=imsdatadaemon
	MPSS Wireless Data Service
[ 20.441483] msm_ipc debug: recv data from node=0 port=0041 to node=1 port=010d: 0203004d00070002040000000000, comm=imsdatadaemon
	MPSS Wireless Data Service
[ 20.441651] msm_ipc debug: send data from node=1 port=010d to node=0 port=0041: 00040020001600140300696d731901000631010002320100ff35010001, comm=imsdatadaemon
	MPSS Wireless Data Service
[ 20.448455] msm_ipc debug: recv data from node=0 port=0041 to node=1 port=010d: 02040020000e000204000000000001040030107ef6, comm=imsdatadaemon
	MPSS Wireless Data Service
[ 20.449301] msm_ipc debug: recv data from node=0 port=0041 to node=1 port=010d: 04010022001200010200020012010006130200808815010000, comm=imsdatadaemon
	MPSS Wireless Data Service
[ 20.534652] msm_ipc debug: send data from node=1 port=010d to node=0 port=0041: 0005002d00070010040010820000, comm=imsdatadaemon
	MPSS Wireless Data Service
[ 20.535097] msm_ipc debug: recv data from node=0 port=0041 to node=1 port=010d: 0205002d001f0002040000000000261100... (16 bytes of IMS gateway IPv6 address, binary format) ...402b010006, comm=imsdatadaemon
	MPSS Wireless Data Service
[ 20.871865] msm_ipc debug: send data from node=1 port=0074 to node=0 port=0063: 04010020004600020400000000000101001510040064000000112a000100000025... (37 bytes of a public IPv6 address held by the phone on IMS network, text format) ...12040001000000, comm=imsdatadaemon
	AP unknown service 770
[ 23.252054] msm_ipc debug: recv data from node=0 port=0063 to node=1 port=0074: 0005003300070001040002000000, comm=imsdatadaemon
	AP unknown service 770
[ 23.252278] msm_ipc debug: send data from node=1 port=0074 to node=0 port=0063: 0205003300070002040000000000, comm=imsdatadaemon
	AP unknown service 770

List of services and their corresponding ports:

Service |Instance |Node_id |Port_id |
------------------------------------------------------------
0x00000040 |0x00000101 |0x00000001 |0x00000025 |
0x00001000 |0x00000001 |0x00000001 |0x00000028 |
0x00001000 |0x00000002 |0x00000001 |0x0000002c |
0x00001000 |0x00000003 |0x00000001 |0x0000002d |
0x00001000 |0x00000004 |0x00000001 |0x0000002e |
0x00001000 |0x00000005 |0x00000001 |0x0000002f |
0x00001000 |0x00000006 |0x00000001 |0x00000030 |
0x00001000 |0x00000007 |0x00000001 |0x00000032 |
0x00001000 |0x00000008 |0x00000001 |0x00000034 |
0x00001000 |0x00000009 |0x00000001 |0x00000035 |
0x00001000 |0x0000000a |0x00000001 |0x00000036 |
0x00001001 |0x00000000 |0x00000001 |0x00000006 |
0x00001001 |0x00000002 |0x00000001 |0x00000007 |
0x00001001 |0x00000004 |0x00000001 |0x00000008 |
0x00001001 |0x00000040 |0x00000001 |0x00000009 |
0x00001001 |0x00000042 |0x00000001 |0x0000000a |
0x00001001 |0x00000044 |0x00000001 |0x0000000b |
0x00001001 |0x00000080 |0x00000001 |0x0000000c |
0x00001001 |0x00000082 |0x00000001 |0x0000000d |
0x00001001 |0x00000084 |0x00000001 |0x0000000e |
0x00001001 |0x000000c0 |0x00000001 |0x0000000f |
0x00001001 |0x000000c2 |0x00000001 |0x00000010 |
0x00001001 |0x000000c4 |0x00000001 |0x00000011 |
0x00001001 |0x00000140 |0x00000001 |0x00000012 |
0x00001001 |0x00000142 |0x00000001 |0x00000013 |
0x00001001 |0x00000144 |0x00000001 |0x00000014 |
0x00001001 |0x00000100 |0x00000001 |0x00000015 |
0x00001001 |0x00000102 |0x00000001 |0x00000016 |
0x00001001 |0x00000104 |0x00000001 |0x00000017 |
0x00000301 |0x00000001 |0x00000005 |0x0000000f |
0x00001001 |0x00000041 |0x00000005 |0x00000017 |
0x00001001 |0x00000001 |0x00000000 |0x00000022 |
0x00001001 |0x00000003 |0x00000000 |0x00000023 |
0x00000001 |0x00000001 |0x00000000 |0x00000041 | <-- WDS
0x00000021 |0x00000001 |0x00000000 |0x00000059 |
0x00000042 |0x00004a01 |0x00000005 |0x00000002 |
0x00000042 |0x0000b401 |0x00000000 |0x00000001 |
0x00000022 |0x00000001 |0x00000000 |0x00000034 |
0x00000002 |0x00000001 |0x00000000 |0x0000004d | <-- DMS
0x00000302 |0x00000001 |0x00000001 |0x00000074 | <-- IMS data service?
0x00000003 |0x00000001 |0x00000000 |0x0000003c |
0x00000024 |0x00000001 |0x00000000 |0x00000026 |
0x00000004 |0x00000001 |0x00000000 |0x00000042 |
0x00000044 |0x00000001 |0x00000000 |0x00000052 |
0x00000005 |0x00000001 |0x00000000 |0x0000004f |
0x00000045 |0x00000001 |0x00000000 |0x0000005f |
0x000000e7 |0x00000001 |0x00000000 |0x00000036 |
0x00000007 |0x00000001 |0x00000000 |0x00000044 |
0x00000047 |0x00000001 |0x00000000 |0x00000047 |
0x000000e8 |0x00000001 |0x00000005 |0x00000010 |
0x00000008 |0x00000001 |0x00000000 |0x00000045 |
0x00000028 |0x00000001 |0x00000001 |0x0000007a |
0x00000029 |0x00000101 |0x00000000 |0x00000035 |
0x00000009 |0x00000002 |0x00000000 |0x0000003b |
0x0000004a |0x00000001 |0x00000000 |0x00000031 |
0x0000000a |0x00000002 |0x00000000 |0x0000003e |
0x0000002a |0x00000001 |0x00000000 |0x0000004c |
0x000000eb |0x00000001 |0x00000001 |0x00000022 |
0x0000002b |0x00001402 |0x00000005 |0x00000005 |
0x0000002b |0x00001202 |0x00000000 |0x00000004 |
0x0000000b |0x00000001 |0x00000000 |0x00000040 |
0x0000000c |0x00000001 |0x00000000 |0x0000003d |
0x0000016c |0x00000001 |0x00000005 |0x0000001b |
0x0000004d |0x00000001 |0x00000000 |0x00000049 |
0x0000000e |0x00000001 |0x00000001 |0x00000020 |
0x0000000f |0x00002001 |0x00000005 |0x00000001 |
0x0000000f |0x00002101 |0x00000005 |0x00000009 |
0x0000000f |0x00002201 |0x00000005 |0x0000000b |
0x0000000f |0x00000001 |0x00000000 |0x00000019 |
0x0000002f |0x00000001 |0x00000000 |0x0000003f |
0x00000190 |0x00000001 |0x00000005 |0x0000000e |
0x00000030 |0x00000001 |0x00000000 |0x00000051 |
0x00000010 |0x00000002 |0x00000000 |0x00000057 |
0x00000031 |0x00000101 |0x00000001 |0x0000001b |
0x00000031 |0x00000201 |0x00000000 |0x00000027 |
0x00000011 |0x00000001 |0x00000000 |0x00000030 |
0x00000012 |0x00000001 |0x00000000 |0x0000005a |
0x00000033 |0x00000501 |0x00000005 |0x00000006 |
0x00000033 |0x00000c01 |0x00000005 |0x0000000d |
0x00000033 |0x00000201 |0x00000000 |0x0000001a |
0x00000033 |0x00000301 |0x00000000 |0x0000005e |
0x00000035 |0x00001001 |0x00000001 |0x0000001e |
0x00000015 |0x00000001 |0x00000000 |0x0000001b |
0x00000016 |0x00000001 |0x00000000 |0x0000001e |
0x00000036 |0x00000001 |0x00000000 |0x0000002e |
0x00000017 |0x00000001 |0x00000000 |0x0000001d |
0x00000037 |0x00000201 |0x00000000 |0x00000039 |
0x00000018 |0x00000101 |0x00000005 |0x00000008 |
0x00000018 |0x00000001 |0x00000000 |0x0000001c |
0x0000001a |0x00000001 |0x00000000 |0x00000043 |
0x0000015b |0x00000001 |0x00000005 |0x00000011 |
0x0000001c |0x00000101 |0x00000001 |0x00000002 |
0x0000041d |0x00000001 |0x00000001 |0x00000004 |
0x0000001d |0x00000001 |0x00000000 |0x00000046 |
This adds the service number for the QRTR service provided by `imsdatadaemon` and changes the interpretation of the first message to match my observations. I discovered messages from the IMS application service, but they are not from a discrete daemon so I couldn't find a way to fit it here. Raw QMI messages with the service labelled underneath each entry, intercepted and logged in the kernel: ``` [ 15.745705] msm_ipc debug: send data from node=1 port=0078 to node=0 port=004d: 00010020000000, comm=imsdatadaemon MPSS Device Management Service [ 15.755608] msm_ipc debug: recv data from node=0 port=004d to node=1 port=0078: 020100200027010204000000000001100080f0fa0200e1f5050402050102040508... (239 bytes of unknown significance), comm=imsdatadaemon MPSS Device Management Service [ 15.756252] msm_ipc debug: recv data from node=0 port=0063 to node=1 port=0074: 000100230023000120008b230100000019666538303a3a343161623a623834393a636132383a62633161, comm=imsdatadaemon AP unknown service 770 [ 15.772103] msm_ipc debug: send data from node=1 port=0079 to node=0 port=0041: 000100a2000f00100800040000000100000011010001, comm=imsdatadaemon MPSS Wireless Data Service [ 15.773352] msm_ipc debug: recv data from node=0 port=0041 to node=1 port=0079: 020100a200070002040000000000, comm=imsdatadaemon MPSS Wireless Data Service [ 15.775050] msm_ipc debug: send data from node=1 port=0074 to node=0 port=0063: 0201002300070002040000000000, comm=imsdatadaemon AP unknown service 770 [ 15.775245] msm_ipc debug: recv data from node=0 port=0063 to node=1 port=0074: 0002002e000b001001000111040000000000, comm=imsdatadaemon AP unknown service 770 [ 15.776181] msm_ipc debug: send data from node=1 port=0074 to node=0 port=0063: 0202002e00070002040000000000, comm=imsdatadaemon AP unknown service 770 [ 15.776328] msm_ipc debug: recv data from node=0 port=0063 to node=1 port=0074: 00030034000b000108000000000000000000, comm=imsdatadaemon AP unknown service 770 [ 15.776521] msm_ipc debug: send data from node=1 port=0074 to node=0 port=0063: 0203003400070002040000000000, comm=imsdatadaemon AP unknown service 770 [ 18.403668] msm_ipc debug: send data from node=1 port=0109 to node=0 port=0041: 000100a2000f00100800040000000100000011010001, comm=imsdatadaemon MPSS Wireless Data Service [ 18.404368] msm_ipc debug: recv data from node=0 port=0041 to node=1 port=0109: 020100a200070002040000000000, comm=imsdatadaemon MPSS Wireless Data Service [ 18.404565] msm_ipc debug: send data from node=1 port=0109 to node=0 port=0041: 000200af00070001040000000000, comm=imsdatadaemon MPSS Wireless Data Service [ 18.405054] msm_ipc debug: recv data from node=0 port=0041 to node=1 port=0109: 020200af00070002040000000000, comm=imsdatadaemon MPSS Wireless Data Service [ 18.405606] msm_ipc debug: send data from node=1 port=010a to node=0 port=0041: 000100a2000f00100800040000000100000011010001, comm=imsdatadaemon MPSS Wireless Data Service [ 18.406163] msm_ipc debug: recv data from node=0 port=0041 to node=1 port=010a: 020100a200070002040000000000, comm=imsdatadaemon MPSS Wireless Data Service [ 18.406307] msm_ipc debug: send data from node=1 port=010a to node=0 port=0041: 000200af00070001040000000000, comm=imsdatadaemon MPSS Wireless Data Service [ 18.406759] msm_ipc debug: recv data from node=0 port=0041 to node=1 port=010a: 020200af00070002040000000000, comm=imsdatadaemon MPSS Wireless Data Service [ 18.407355] msm_ipc debug: send data from node=1 port=010b to node=0 port=0042: 0001002b000f00100800040000000100000011010001, comm=imsdatadaemon MPSS Quality Of Service service [ 18.407809] msm_ipc debug: recv data from node=0 port=0042 to node=1 port=010b: 0201002b00070002040000000000, comm=imsdatadaemon MPSS Quality Of Service service [ 18.407934] msm_ipc debug: send data from node=1 port=010b to node=0 port=0042: 0002002d00070001040000000000, comm=imsdatadaemon MPSS Quality Of Service service [ 18.408300] msm_ipc debug: recv data from node=0 port=0042 to node=1 port=010b: 0202002d00070002040000000000, comm=imsdatadaemon MPSS Quality Of Service service [ 18.408612] msm_ipc debug: send data from node=1 port=0109 to node=0 port=0041: 0003004d00040001010004, comm=imsdatadaemon MPSS Wireless Data Service [ 18.409021] msm_ipc debug: recv data from node=0 port=0041 to node=1 port=0109: 0203004d00070002040000000000, comm=imsdatadaemon MPSS Wireless Data Service [ 18.409137] msm_ipc debug: send data from node=1 port=010a to node=0 port=0041: 0003004d00040001010006, comm=imsdatadaemon MPSS Wireless Data Service [ 18.409501] msm_ipc debug: recv data from node=0 port=0041 to node=1 port=010a: 0203004d00070002040000000000, comm=imsdatadaemon MPSS Wireless Data Service [ 18.409650] msm_ipc debug: send data from node=1 port=010a to node=0 port=0041: 00040020000d0019010006340200888835010001, comm=imsdatadaemon MPSS Wireless Data Service [ 18.414650] msm_ipc debug: recv data from node=0 port=0041 to node=1 port=0079: 04010022001200010200020012010006130200888815010000, comm=imsdatadaemon MPSS Wireless Data Service [ 18.416290] msm_ipc debug: recv data from node=0 port=0041 to node=1 port=010a: 02040020000e0002040000000000010400b08a81f6, comm=imsdatadaemon MPSS Wireless Data Service [ 18.416763] msm_ipc debug: recv data from node=0 port=0041 to node=1 port=010a: 04010022001200010200020012010006130200888815010000, comm=imsdatadaemon MPSS Wireless Data Service [ 18.500374] msm_ipc debug: send data from node=1 port=010a to node=0 port=0041: 0005002d00070010040010820000, comm=imsdatadaemon MPSS Wireless Data Service [ 18.500837] msm_ipc debug: recv data from node=0 port=0041 to node=1 port=010a: 0205002d001f0002040000000000261100fe800000000000000580cdb1cf78247f402b010006, comm=imsdatadaemon MPSS Wireless Data Service [ 20.406004] msm_ipc debug: recv data from node=0 port=0063 to node=1 port=0074: 0004002000330001140003696d730000000002000000010000000200ffff10040064000000110400000000001204000100000013040001000000, comm=imsdatadaemon AP unknown service 770 [ 20.411061] msm_ipc debug: send data from node=1 port=0074 to node=0 port=0063: 0204002000190002040000000000100100151104006400000012040001000000, comm=imsdatadaemon AP unknown service 770 [ 20.435085] msm_ipc debug: send data from node=1 port=010c to node=0 port=0041: 000100a2000f00100800040000000100000011010002, comm=imsdatadaemon MPSS Wireless Data Service [ 20.435720] msm_ipc debug: recv data from node=0 port=0041 to node=1 port=010c: 020100a200070002040000000000, comm=imsdatadaemon MPSS Wireless Data Service [ 20.435940] msm_ipc debug: send data from node=1 port=010c to node=0 port=0041: 000200af00070001040001000000, comm=imsdatadaemon MPSS Wireless Data Service [ 20.436264] msm_ipc debug: recv data from node=0 port=0041 to node=1 port=010c: 020200af00070002040000000000, comm=imsdatadaemon MPSS Wireless Data Service [ 20.436615] msm_ipc debug: send data from node=1 port=010d to node=0 port=0041: 000100a2000f00100800040000000100000011010002, comm=imsdatadaemon MPSS Wireless Data Service [ 20.437178] msm_ipc debug: recv data from node=0 port=0041 to node=1 port=010d: 020100a200070002040000000000, comm=imsdatadaemon MPSS Wireless Data Service [ 20.437387] msm_ipc debug: send data from node=1 port=010d to node=0 port=0041: 000200af00070001040001000000, comm=imsdatadaemon MPSS Wireless Data Service [ 20.437763] msm_ipc debug: recv data from node=0 port=0041 to node=1 port=010d: 020200af00070002040000000000, comm=imsdatadaemon MPSS Wireless Data Service [ 20.438232] msm_ipc debug: send data from node=1 port=010e to node=0 port=0042: 0001002b000f00100800040000000100000011010002, comm=imsdatadaemon MPSS Quality Of Service service [ 20.438659] msm_ipc debug: recv data from node=0 port=0042 to node=1 port=010e: 0201002b00070002040000000000, comm=imsdatadaemon MPSS Quality Of Service service [ 20.438788] msm_ipc debug: send data from node=1 port=010e to node=0 port=0042: 0002002d00070001040001000000, comm=imsdatadaemon MPSS Quality Of Service service [ 20.439060] msm_ipc debug: recv data from node=0 port=0042 to node=1 port=010e: 0202002d00070002040000000000, comm=imsdatadaemon MPSS Quality Of Service service [ 20.439203] msm_ipc debug: send data from node=1 port=010c to node=0 port=0041: 0003004d00040001010004, comm=imsdatadaemon MPSS Wireless Data Service [ 20.439640] msm_ipc debug: recv data from node=0 port=0041 to node=1 port=010c: 0203004d00070002040000000000, comm=imsdatadaemon MPSS Wireless Data Service [ 20.439952] msm_ipc debug: send data from node=1 port=010d to node=0 port=0041: 0003004d00040001010006, comm=imsdatadaemon MPSS Wireless Data Service [ 20.441483] msm_ipc debug: recv data from node=0 port=0041 to node=1 port=010d: 0203004d00070002040000000000, comm=imsdatadaemon MPSS Wireless Data Service [ 20.441651] msm_ipc debug: send data from node=1 port=010d to node=0 port=0041: 00040020001600140300696d731901000631010002320100ff35010001, comm=imsdatadaemon MPSS Wireless Data Service [ 20.448455] msm_ipc debug: recv data from node=0 port=0041 to node=1 port=010d: 02040020000e000204000000000001040030107ef6, comm=imsdatadaemon MPSS Wireless Data Service [ 20.449301] msm_ipc debug: recv data from node=0 port=0041 to node=1 port=010d: 04010022001200010200020012010006130200808815010000, comm=imsdatadaemon MPSS Wireless Data Service [ 20.534652] msm_ipc debug: send data from node=1 port=010d to node=0 port=0041: 0005002d00070010040010820000, comm=imsdatadaemon MPSS Wireless Data Service [ 20.535097] msm_ipc debug: recv data from node=0 port=0041 to node=1 port=010d: 0205002d001f0002040000000000261100... (16 bytes of IMS gateway IPv6 address, binary format) ...402b010006, comm=imsdatadaemon MPSS Wireless Data Service [ 20.871865] msm_ipc debug: send data from node=1 port=0074 to node=0 port=0063: 04010020004600020400000000000101001510040064000000112a000100000025... (37 bytes of a public IPv6 address held by the phone on IMS network, text format) ...12040001000000, comm=imsdatadaemon AP unknown service 770 [ 23.252054] msm_ipc debug: recv data from node=0 port=0063 to node=1 port=0074: 0005003300070001040002000000, comm=imsdatadaemon AP unknown service 770 [ 23.252278] msm_ipc debug: send data from node=1 port=0074 to node=0 port=0063: 0205003300070002040000000000, comm=imsdatadaemon AP unknown service 770 ``` List of services and their corresponding ports: ``` Service |Instance |Node_id |Port_id | ------------------------------------------------------------ 0x00000040 |0x00000101 |0x00000001 |0x00000025 | 0x00001000 |0x00000001 |0x00000001 |0x00000028 | 0x00001000 |0x00000002 |0x00000001 |0x0000002c | 0x00001000 |0x00000003 |0x00000001 |0x0000002d | 0x00001000 |0x00000004 |0x00000001 |0x0000002e | 0x00001000 |0x00000005 |0x00000001 |0x0000002f | 0x00001000 |0x00000006 |0x00000001 |0x00000030 | 0x00001000 |0x00000007 |0x00000001 |0x00000032 | 0x00001000 |0x00000008 |0x00000001 |0x00000034 | 0x00001000 |0x00000009 |0x00000001 |0x00000035 | 0x00001000 |0x0000000a |0x00000001 |0x00000036 | 0x00001001 |0x00000000 |0x00000001 |0x00000006 | 0x00001001 |0x00000002 |0x00000001 |0x00000007 | 0x00001001 |0x00000004 |0x00000001 |0x00000008 | 0x00001001 |0x00000040 |0x00000001 |0x00000009 | 0x00001001 |0x00000042 |0x00000001 |0x0000000a | 0x00001001 |0x00000044 |0x00000001 |0x0000000b | 0x00001001 |0x00000080 |0x00000001 |0x0000000c | 0x00001001 |0x00000082 |0x00000001 |0x0000000d | 0x00001001 |0x00000084 |0x00000001 |0x0000000e | 0x00001001 |0x000000c0 |0x00000001 |0x0000000f | 0x00001001 |0x000000c2 |0x00000001 |0x00000010 | 0x00001001 |0x000000c4 |0x00000001 |0x00000011 | 0x00001001 |0x00000140 |0x00000001 |0x00000012 | 0x00001001 |0x00000142 |0x00000001 |0x00000013 | 0x00001001 |0x00000144 |0x00000001 |0x00000014 | 0x00001001 |0x00000100 |0x00000001 |0x00000015 | 0x00001001 |0x00000102 |0x00000001 |0x00000016 | 0x00001001 |0x00000104 |0x00000001 |0x00000017 | 0x00000301 |0x00000001 |0x00000005 |0x0000000f | 0x00001001 |0x00000041 |0x00000005 |0x00000017 | 0x00001001 |0x00000001 |0x00000000 |0x00000022 | 0x00001001 |0x00000003 |0x00000000 |0x00000023 | 0x00000001 |0x00000001 |0x00000000 |0x00000041 | <-- WDS 0x00000021 |0x00000001 |0x00000000 |0x00000059 | 0x00000042 |0x00004a01 |0x00000005 |0x00000002 | 0x00000042 |0x0000b401 |0x00000000 |0x00000001 | 0x00000022 |0x00000001 |0x00000000 |0x00000034 | 0x00000002 |0x00000001 |0x00000000 |0x0000004d | <-- DMS 0x00000302 |0x00000001 |0x00000001 |0x00000074 | <-- IMS data service? 0x00000003 |0x00000001 |0x00000000 |0x0000003c | 0x00000024 |0x00000001 |0x00000000 |0x00000026 | 0x00000004 |0x00000001 |0x00000000 |0x00000042 | 0x00000044 |0x00000001 |0x00000000 |0x00000052 | 0x00000005 |0x00000001 |0x00000000 |0x0000004f | 0x00000045 |0x00000001 |0x00000000 |0x0000005f | 0x000000e7 |0x00000001 |0x00000000 |0x00000036 | 0x00000007 |0x00000001 |0x00000000 |0x00000044 | 0x00000047 |0x00000001 |0x00000000 |0x00000047 | 0x000000e8 |0x00000001 |0x00000005 |0x00000010 | 0x00000008 |0x00000001 |0x00000000 |0x00000045 | 0x00000028 |0x00000001 |0x00000001 |0x0000007a | 0x00000029 |0x00000101 |0x00000000 |0x00000035 | 0x00000009 |0x00000002 |0x00000000 |0x0000003b | 0x0000004a |0x00000001 |0x00000000 |0x00000031 | 0x0000000a |0x00000002 |0x00000000 |0x0000003e | 0x0000002a |0x00000001 |0x00000000 |0x0000004c | 0x000000eb |0x00000001 |0x00000001 |0x00000022 | 0x0000002b |0x00001402 |0x00000005 |0x00000005 | 0x0000002b |0x00001202 |0x00000000 |0x00000004 | 0x0000000b |0x00000001 |0x00000000 |0x00000040 | 0x0000000c |0x00000001 |0x00000000 |0x0000003d | 0x0000016c |0x00000001 |0x00000005 |0x0000001b | 0x0000004d |0x00000001 |0x00000000 |0x00000049 | 0x0000000e |0x00000001 |0x00000001 |0x00000020 | 0x0000000f |0x00002001 |0x00000005 |0x00000001 | 0x0000000f |0x00002101 |0x00000005 |0x00000009 | 0x0000000f |0x00002201 |0x00000005 |0x0000000b | 0x0000000f |0x00000001 |0x00000000 |0x00000019 | 0x0000002f |0x00000001 |0x00000000 |0x0000003f | 0x00000190 |0x00000001 |0x00000005 |0x0000000e | 0x00000030 |0x00000001 |0x00000000 |0x00000051 | 0x00000010 |0x00000002 |0x00000000 |0x00000057 | 0x00000031 |0x00000101 |0x00000001 |0x0000001b | 0x00000031 |0x00000201 |0x00000000 |0x00000027 | 0x00000011 |0x00000001 |0x00000000 |0x00000030 | 0x00000012 |0x00000001 |0x00000000 |0x0000005a | 0x00000033 |0x00000501 |0x00000005 |0x00000006 | 0x00000033 |0x00000c01 |0x00000005 |0x0000000d | 0x00000033 |0x00000201 |0x00000000 |0x0000001a | 0x00000033 |0x00000301 |0x00000000 |0x0000005e | 0x00000035 |0x00001001 |0x00000001 |0x0000001e | 0x00000015 |0x00000001 |0x00000000 |0x0000001b | 0x00000016 |0x00000001 |0x00000000 |0x0000001e | 0x00000036 |0x00000001 |0x00000000 |0x0000002e | 0x00000017 |0x00000001 |0x00000000 |0x0000001d | 0x00000037 |0x00000201 |0x00000000 |0x00000039 | 0x00000018 |0x00000101 |0x00000005 |0x00000008 | 0x00000018 |0x00000001 |0x00000000 |0x0000001c | 0x0000001a |0x00000001 |0x00000000 |0x00000043 | 0x0000015b |0x00000001 |0x00000005 |0x00000011 | 0x0000001c |0x00000101 |0x00000001 |0x00000002 | 0x0000041d |0x00000001 |0x00000001 |0x00000004 | 0x0000001d |0x00000001 |0x00000000 |0x00000046 | ```
The IMS data daemon's first QMI request is not sent to the Wireless Data
Service. By logging all QMI messages to dmesg (with the current->comm
value to make it possible to read imsdatadaemon messages) and checking
the service lookup table in
/sys/kernel/debug/msm_ipc_router/dump_servers, it can be confirmed that
this request is sent to the Device Management Service instead,
explaining the small request and large response. Change the label of
this message to prevent confusion.
The IMS data daemon runs a server, with the service number 770 and
version 1. This can be confirmed by logging the source/destination ports
of the QMI messages to dmesg and consulting the server lookup table to
find the corresponding service and instance number. Add the service
number for incoming requests.

Thanks!

Thanks!
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
DylanVanAssche/imsd!1
Reference in a new issue
DylanVanAssche/imsd
No description provided.
Delete branch "flamingradian/imsd:qrtr-services"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?