From: Giacinto Cifelli <gciofono@gmail.com>
To: ofono@ofono.org
Subject: [PATCH v4 2/4] lte.h: added proto and authentication handling
Date: Sat, 13 Oct 2018 07:48:53 +0200 [thread overview]
Message-ID: <20181013054855.20150-3-gciofono@gmail.com> (raw)
In-Reply-To: <20181013054855.20150-1-gciofono@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1249 bytes --]
The ofono_lte_default_attach_info is extended with protocol,
authentication method, username and password.
The transmission of this info from the src to the atom happens
through the existing set_default_attach_info.
A signal is emitted when one of these properties changes
Co-authored-by: Martin Baschin <martin.baschin@googlemail.com>
---
include/lte.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/include/lte.h b/include/lte.h
index 0f2501c0..2f12ac29 100644
--- a/include/lte.h
+++ b/include/lte.h
@@ -3,6 +3,7 @@
* oFono - Open Source Telephony
*
* Copyright (C) 2016 Endocode AG. All rights reserved.
+ * Copyright (C) 2018 Gemalto M2M
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
@@ -32,6 +33,10 @@ struct ofono_lte;
struct ofono_lte_default_attach_info {
char apn[OFONO_GPRS_MAX_APN_LENGTH + 1];
+ enum ofono_gprs_proto proto;
+ enum ofono_gprs_auth_method auth_method;
+ char username[OFONO_GPRS_MAX_USERNAME_LENGTH + 1];
+ char password[OFONO_GPRS_MAX_PASSWORD_LENGTH + 1];
};
typedef void (*ofono_lte_cb_t)(const struct ofono_error *error, void *data);
--
2.17.1
next prev parent reply other threads:[~2018-10-13 5:48 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-13 5:48 [PATCH v4 0/4] lte atom auth and IP protocol Giacinto Cifelli
2018-10-13 5:48 ` [PATCH v4 1/4] lte-api: protocol and authentication properties Giacinto Cifelli
2018-10-13 5:48 ` Giacinto Cifelli [this message]
2018-10-13 5:48 ` [PATCH v4 3/4] src/lte: added proto and authentication handling Giacinto Cifelli
2018-10-13 6:50 ` Jonas Bonn
2018-10-13 7:08 ` Giacinto Cifelli
2018-10-13 5:48 ` [PATCH v4 4/4] atmodem/lte: " Giacinto Cifelli
2018-10-13 6:23 ` Jonas Bonn
2018-10-15 17:08 ` Denis Kenzior
2018-10-15 17:30 ` Giacinto Cifelli
2018-10-15 18:43 ` Giacinto Cifelli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181013054855.20150-3-gciofono@gmail.com \
--to=gciofono@gmail.com \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox