diff options
author | Giacinto Cifelli <gciofono@gmail.com> | 2018-10-19 13:31:38 +0200 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2018-10-22 11:44:29 -0500 |
commit | 37b913b7bf16cb15ecd94be760dc800495899713 (patch) | |
tree | 8f1c274f74b0a1c1a4d46483527387cf8e7a6267 /include | |
parent | 60ab4bdc1b445f0a2ba015f1f2c157db1b194649 (diff) | |
download | ofono-37b913b7bf16cb15ecd94be760dc800495899713.tar.gz |
include: add proto and authentication parameters
The ofono_lte_default_attach_info is extended with protocol,
authentication method, username and password.
Co-authored-by: Martin Baschin <martin.baschin@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/lte.h | 5 |
1 files changed, 5 insertions, 0 deletions
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); |