summaryrefslogtreecommitdiff
path: root/src/libmbim-glib/mbim-uuid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libmbim-glib/mbim-uuid.c')
-rw-r--r--src/libmbim-glib/mbim-uuid.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/libmbim-glib/mbim-uuid.c b/src/libmbim-glib/mbim-uuid.c
index 72eed89..4cb9a20 100644
--- a/src/libmbim-glib/mbim-uuid.c
+++ b/src/libmbim-glib/mbim-uuid.c
@@ -236,6 +236,14 @@ static const MbimUuid uuid_qmi = {
.e = { 0xc7, 0xe2 , 0x4f, 0xb0, 0xf0, 0xd3 }
};
+static const MbimUuid uuid_atds = {
+ .a = { 0x59, 0x67, 0xbd, 0xcc },
+ .b = { 0x7f, 0xd2 },
+ .c = { 0x49, 0xa2 },
+ .d = { 0x9f, 0x5c },
+ .e = { 0xb2, 0xe7, 0x0e, 0x52, 0x7d, 0xb3 }
+};
+
static GList *mbim_custom_service_list = NULL;
typedef struct {
@@ -403,6 +411,8 @@ mbim_uuid_from_service (MbimService service)
return &uuid_proxy_control;
case MBIM_SERVICE_QMI:
return &uuid_qmi;
+ case MBIM_SERVICE_ATDS:
+ return &uuid_atds;
default:
for (l = mbim_custom_service_list; l != NULL; l = l->next) {
if (service == ((MbimCustomService *)l->data)->service_id)
@@ -458,6 +468,9 @@ mbim_uuid_to_service (const MbimUuid *uuid)
if (mbim_uuid_cmp (uuid, &uuid_qmi))
return MBIM_SERVICE_QMI;
+ if (mbim_uuid_cmp (uuid, &uuid_atds))
+ return MBIM_SERVICE_ATDS;
+
for (l = mbim_custom_service_list; l != NULL; l = l->next) {
if (mbim_uuid_cmp (&((MbimCustomService *)l->data)->uuid, uuid))
return ((MbimCustomService *)l->data)->service_id;