QoS (AT+C5GQOS, AT+CGEQOS) with QMI?
Martin Maurer
martin.maurer at mmeacs.de
Sat Nov 25 12:21:25 UTC 2023
When reading it back via
sudo qmicli -v -p -d /dev/cdc-wdm0 --wds-get-profile-list=3gpp
the entry can still be seen in debug (!) output:
There are then 2 entries (per profile):
"UMTS Minimum QoS With Signaling Indication Flag" (0x2a)
and
"UMTS Minimum QoS" (0x18)
[25 Nov 2023, 12:08:02] [Debug] [/dev/cdc-wdm0] sent message...
<<<<<< RAW:
<<<<<< length = 18
<<<<<< data = 01:11:00:00:01:0F:00:0B:00:2B:00:05...
[25 Nov 2023, 12:08:02] [Debug] [/dev/cdc-wdm0] sent generic request
(translated)...
<<<<<< QMUX:
<<<<<< length = 17
<<<<<< flags = 0x00
<<<<<< service = "wds"
<<<<<< client = 15
<<<<<< QMI:
<<<<<< flags = "none"
<<<<<< transaction = 11
<<<<<< tlv_length = 5
<<<<<< message = "Get Profile Settings" (0x002B)
<<<<<< TLV:
<<<<<< type = "Profile ID" (0x01)
<<<<<< length = 2
<<<<<< value = 00:0A
<<<<<< translated = [ profile_type = '3gpp' profile_index = '10' ]
[25 Nov 2023, 12:08:02] [Debug] [/dev/cdc-wdm0] received message...
<<<<<< RAW:
<<<<<< length = 406
<<<<<< data = 01:95:01:80:01:0F:02:0B:00:2B:00:89...
[25 Nov 2023, 12:08:02] [Debug] [/dev/cdc-wdm0] received generic
response (translated)...
<<<<<< QMUX:
<<<<<< length = 405
<<<<<< flags = 0x80
<<<<<< service = "wds"
<<<<<< client = 15
<<<<<< QMI:
<<<<<< flags = "response"
<<<<<< transaction = 11
<<<<<< tlv_length = 393
<<<<<< message = "Get Profile Settings" (0x002B)
<<<<<< TLV:
<<<<<< type = "Result" (0x02)
<<<<<< length = 4
<<<<<< value = 00:00:00:00
<<<<<< translated = SUCCESS
<<<<<< TLV:
<<<<<< type = 0x8f
<<<<<< length = 1
<<<<<< value = 01
<<<<<< TLV:
<<<<<< type = 0xdf
<<<<<< length = 1
<<<<<< value = 00
<<<<<< TLV:
<<<<<< type = 0xde
<<<<<< length = 1
<<<<<< value = 00
<<<<<< TLV:
<<<<<< type = "APN Type Mask" (0xdd)
<<<<<< length = 8
<<<<<< value = 00:00:00:00:00:00:00:00
<<<<<< translated = (null)
<<<<<< TLV:
<<<<<< type = 0x4f
<<<<<< length = 2
<<<<<< value = 00:00
<<<<<< TLV:
<<<<<< type = 0x4e
<<<<<< length = 1
<<<<<< value = 00
<<<<<< TLV:
<<<<<< type = 0x4d
<<<<<< length = 1
<<<<<< value = 00
<<<<<< TLV:
<<<<<< type = 0x4c
<<<<<< length = 1
<<<<<< value = 00
<<<<<< TLV:
<<<<<< type = 0x4b
<<<<<< length = 7
<<<<<< value = 00:00:00:00:00:00:00
<<<<<< TLV:
<<<<<< type = 0x4a
<<<<<< length = 0
<<<<<< value = (null)
<<<<<< TLV:
<<<<<< type = 0x48
<<<<<< length = 1
<<<<<< value = 00
<<<<<< TLV:
<<<<<< type = 0x47
<<<<<< length = 20
<<<<<< value =
00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
<<<<<< TLV:
<<<<<< type = 0x46
<<<<<< length = 4
<<<<<< value = FF:00:00:00
<<<<<< TLV:
<<<<<< type = 0x45
<<<<<< length = 40
<<<<<< value =
00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
<<<<<< TLV:
<<<<<< type = 0x44
<<<<<< length = 1
<<<<<< value = 01
<<<<<< TLV:
<<<<<< type = 0x43
<<<<<< length = 1
<<<<<< value = 01
<<<<<< TLV:
<<<<<< type = 0x42
<<<<<< length = 4
<<<<<< value = FF:00:00:00
<<<<<< TLV:
<<<<<< type = 0x41
<<<<<< length = 4
<<<<<< value = FF:00:00:00
<<<<<< TLV:
<<<<<< type = 0x40
<<<<<< length = 1
<<<<<< value = 00
<<<<<< TLV:
<<<<<< type = 0x3f
<<<<<< length = 1
<<<<<< value = 00
<<<<<< TLV:
<<<<<< type = "Roaming Disallowed Flag" (0x3e)
<<<<<< length = 1
<<<<<< value = 00
<<<<<< translated = no
<<<<<< TLV:
<<<<<< type = 0x3d
<<<<<< length = 4
<<<<<< value = 00:00:00:00
<<<<<< TLV:
<<<<<< type = 0x3c
<<<<<< length = 2
<<<<<< value = 00:00
<<<<<< TLV:
<<<<<< type = 0x3b
<<<<<< length = 2
<<<<<< value = 2C:01
<<<<<< TLV:
<<<<<< type = 0x3a
<<<<<< length = 2
<<<<<< value = 14:00
<<<<<< TLV:
<<<<<< type = 0x39
<<<<<< length = 3
<<<<<< value = 00:00:00
<<<<<< TLV:
<<<<<< type = 0x38
<<<<<< length = 2
<<<<<< value = 00:00
<<<<<< TLV:
<<<<<< type = 0x37
<<<<<< length = 2
<<<<<< value = 00:00
<<<<<< TLV:
<<<<<< type = 0x36
<<<<<< length = 1
<<<<<< value = 00
<<<<<< TLV:
<<<<<< type = 0x35
<<<<<< length = 8
<<<<<< value = 00:00:00:00:00:00:00:80
<<<<<< TLV:
<<<<<< type = 0x31
<<<<<< length = 1
<<<<<< value = 00
<<<<<< TLV:
<<<<<< type = 0x30
<<<<<< length = 4
<<<<<< value = 00:00:00:00
<<<<<< TLV:
<<<<<< type = "APN Disabled Flag" (0x2f)
<<<<<< length = 1
<<<<<< value = 00
<<<<<< translated = no
<<<<<< TLV:
<<<<<< type = 0x2d
<<<<<< length = 1
<<<<<< value = 00
<<<<<< TLV:
<<<<<< type = "UMTS Minimum QoS With Signaling Indication Flag"
(0x2a)
<<<<<< length = 34
<<<<<< value =
00:00:04:00:00:00:04:00:00:40:00:00:00:40:00:00:00:00:B0:04:00:00:00:00:00:FA:00:00:00:01:00:00:00:00
<<<<<< translated = [ traffic_class = 'subscribed' max_uplink_bitrate
= '1024' max_downlink_bitrate = '1024' guaranteed_uplink_bitrate = '64'
guaranteed_downlink_bitrate = '64' qos_delivery_order = 'subscribe'
maximum_sdu_size = '1200' sdu_error_ratio = 'subscribe'
residual_bit_error_ratio = 'subscribe' delivery_erroneous_sdu =
'subscribe' transfer_delay = '250' traffic_handling_priority = '1'
signaling_indication = '0' ]
<<<<<< TLV:
<<<<<< type = "PDP Context Primary ID" (0x27)
<<<<<< length = 1
<<<<<< value = 00
<<<<<< translated = 0
<<<<<< TLV:
<<<<<< type = "PDP Context Secondary Flag" (0x26)
<<<<<< length = 1
<<<<<< value = 00
<<<<<< translated = no
<<<<<< TLV:
<<<<<< type = "PDP Context Number" (0x25)
<<<<<< length = 1
<<<<<< value = 0A
<<<<<< translated = 10
<<<<<< TLV:
<<<<<< type = "IMCN Flag" (0x22)
<<<<<< length = 1
<<<<<< value = 00
<<<<<< translated = no
<<<<<< TLV:
<<<<<< type = "PCSCF Address Using DHCP" (0x21)
<<<<<< length = 1
<<<<<< value = 00
<<<<<< translated = no
<<<<<< TLV:
<<<<<< type = 0x20
<<<<<< length = 1
<<<<<< value = 00
<<<<<< TLV:
<<<<<< type = "PCSCF Address Using PCO" (0x1f)
<<<<<< length = 1
<<<<<< value = 00
<<<<<< translated = no
<<<<<< TLV:
<<<<<< type = "IPv4 Address Preference" (0x1e)
<<<<<< length = 4
<<<<<< value = 00:00:00:00
<<<<<< translated = 0
<<<<<< TLV:
<<<<<< type = "Authentication" (0x1d)
<<<<<< length = 1
<<<<<< value = 00
<<<<<< translated = none
<<<<<< TLV:
<<<<<< type = "Password" (0x1c)
<<<<<< length = 0
<<<<<< value = ###...
<<<<<< translated = '###'
<<<<<< TLV:
<<<<<< type = "Username" (0x1b)
<<<<<< length = 0
<<<<<< value = ###...
<<<<<< translated = '###'
<<<<<< TLV:
<<<<<< type = "UMTS Minimum QoS" (0x18)
<<<<<< length = 33
<<<<<< value =
00:00:04:00:00:00:04:00:00:40:00:00:00:40:00:00:00:00:B0:04:00:00:00:00:00:FA:00:00:00:01:00:00:00
<<<<<< translated = [ traffic_class = 'subscribed' max_uplink_bitrate
= '1024' max_downlink_bitrate = '1024' guaranteed_uplink_bitrate = '64'
guaranteed_downlink_bitrate = '64' qos_delivery_order = 'subscribe'
maximum_sdu_size = '1200' sdu_error_ratio = 'subscribe'
residual_bit_error_ratio = 'subscribe' delivery_erroneous_sdu =
'subscribe' transfer_delay = '250' traffic_handling_priority = '1' ]
<<<<<< TLV:
<<<<<< type = "Secondary IPv4 DNS Address" (0x16)
<<<<<< length = 4
<<<<<< value = 00:00:00:00
<<<<<< translated = 0
<<<<<< TLV:
<<<<<< type = "Primary IPv4 DNS Address" (0x15)
<<<<<< length = 4
<<<<<< value = 00:00:00:00
<<<<<< translated = 0
<<<<<< TLV:
<<<<<< type = "APN Name" (0x14)
<<<<<< length = 0
<<<<<< value = (null)
<<<<<< translated =
<<<<<< TLV:
<<<<<< type = "PDP Data Compression Type" (0x13)
<<<<<< length = 1
<<<<<< value = 00
<<<<<< translated = off
<<<<<< TLV:
<<<<<< type = "PDP Header Compression Type" (0x12)
<<<<<< length = 1
<<<<<< value = 00
<<<<<< translated = off
<<<<<< TLV:
<<<<<< type = "PDP Type" (0x11)
<<<<<< length = 1
<<<<<< value = 03
<<<<<< translated = ipv4-or-ipv6
<<<<<< TLV:
<<<<<< type = "Profile Name" (0x10)
<<<<<< length = 0
<<<<<< value = (null)
<<<<<< translated =
APN: ''
APN type: 'none'
PDP type: 'ipv4-or-ipv6'
PDP context number: '10'
Username: ''
Password: ''
Auth: 'none'
No roaming: 'no'
APN disabled: 'no'
More information about the libqmi-devel
mailing list