mirror of git://git.sysmocom.de/ofono
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>
This commit is contained in:
parent
60ab4bdc1b
commit
37b913b7bf
|
@ -3,6 +3,7 @@
|
||||||
* oFono - Open Source Telephony
|
* oFono - Open Source Telephony
|
||||||
*
|
*
|
||||||
* Copyright (C) 2016 Endocode AG. All rights reserved.
|
* 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
|
* 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
|
* 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 {
|
struct ofono_lte_default_attach_info {
|
||||||
char apn[OFONO_GPRS_MAX_APN_LENGTH + 1];
|
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);
|
typedef void (*ofono_lte_cb_t)(const struct ofono_error *error, void *data);
|
||||||
|
|
Loading…
Reference in New Issue