Show more verbose information when QMI Start Network returns throttling errors
@dcbw
Submitted by Dan Williams Assigned to ModemManager bug user
Description
A user reported that both IPv4 and IPv6 StartNetwork requests failed due to (2,209) for IPv4 and (2,211) for IPv6. The IPv4 one corresponds to eQMIWDSInternalCallEndReasons_PDNIPv4CallThrottled and while the IPv6 one isn't documented, I'll bet it would actually be eQMIWDSInternalCallEndReasons_PDNIPv6CallThrottled.
If ModemManager detects either of these error codes from a Start Network response, it would be very interesting to call the equivalent of WDSGetPDNThrottleInfo() and read out the sWDSGetPDNThrottleInfoResponse_Info TLV to see how long the throttling will be active for. If just for our debugging sanity.
// Structure to describe request TLV 0x01 for WDSGetPDNThrottleInfo() struct sWDSGetPDNThrottleInfoRequest_Type { eQMIWDSDataSystemNetworkTypes mTechnologyType; };
// Structure to describe response TLV 0x10 for WDSGetPDNThrottleInfo() struct sWDSGetPDNThrottleInfoResponse_Info { UINT8 mThrottleInfoCount;
struct sInfo { INT8 mIPv4Throttled; INT8 mIPv6Throttled; UINT32 mIPv4ThrottleTimeLeftInMilliseconds; UINT32 mIPv6ThrottleTimeLeftInMilliseconds; UINT8 mAPNNameLength;
// This array must be the size specified by mAPNNameLength
// char mAPNName[1];
};
// This array must be the size specified by mThrottleInfoCount // sInfo mInfos[1]; };