Bug 64574 - Support the new WDA (Wireless Data Administrative) service
Summary: Support the new WDA (Wireless Data Administrative) service
Status: RESOLVED FIXED
Alias: None
Product: libqmi
Classification: Unclassified
Component: libqmi (show other bugs)
Version: unspecified
Hardware: Other All
: medium enhancement
Assignee: Dan Williams
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-14 07:42 UTC by Aleksander Morgado
Modified: 2015-02-26 23:39 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Aleksander Morgado 2013-05-14 07:42:26 UTC
The WDA service includes methods which would be very helpful for libqmi's internal operation:
 * Documented SET/GET_DATA_FORMAT, which can be used *instead* of the CTL service ones.
 * Method to query which are the supported Messages, not just the supported service version, in case the device doesn't support all messages in a given service version.
 * Method to query which are the supported Fields in a given message.
Comment 1 Aleksander Morgado 2014-11-09 15:47:16 UTC
>  * Documented SET/GET_DATA_FORMAT, which can be used *instead* of the CTL
> service ones.

This one is already implemented (i.e. libqmi+qmicli commands). Still, would be good to use WDA Set Data Format instead of the CTL one when supported during qmi_device_open().
Comment 2 Aleksander Morgado 2015-02-26 23:37:56 UTC
(In reply to Aleksander Morgado from comment #1)
> >  * Documented SET/GET_DATA_FORMAT, which can be used *instead* of the CTL
> > service ones.
> 
> This one is already implemented (i.e. libqmi+qmicli commands). Still, would
> be good to use WDA Set Data Format instead of the CTL one when supported
> during qmi_device_open().

Doing this would require to either unconditionally try with WDA (even if older modems won't support it) or otherwise start with an explicit version info check (which is currently optional). We probably shouldn't do this by default. If a client wants to use WDA, it can still use it after the QmiDevice is created.
Comment 3 Aleksander Morgado 2015-02-26 23:39:26 UTC
>  * Method to query which are the supported Messages, not just the supported
> service version, in case the device doesn't support all messages in a given
> service version.

Support for querying these is already in git master, for several services, but I haven't seen yet a modem replying anything to those commands.

Will close this bugreport, the most important WDA bits (get/set data format) are already supported.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.