aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bird <ajb@spheresystems.co.uk>2012-03-16 09:35:43 +0000
committerDan Williams <dcbw@redhat.com>2012-03-22 11:22:52 -0500
commit5a40ac2779282e31cef94865687fb16e9ce4ff1a (patch)
tree4814e676baad53cd657cf4da884c790903a5db86
parent3cc13770dd46c5d166d60d00fd9334ca8cd4bcdd (diff)
gsm: define the PPP auth preferences for STATIC and DHCP device use
When using the either DHCP or STATIC IpMethods the modem manager or device itself negotiates / establishes the PPP session so NM passes the authentication preferences through. Signed-off-by: Andrew Bird <ajb@spheresystems.co.uk>
-rw-r--r--introspection/org.freedesktop.ModemManager.Modem.Gsm.xml30
-rw-r--r--introspection/org.freedesktop.ModemManager.Modem.Simple.xml1
2 files changed, 31 insertions, 0 deletions
diff --git a/introspection/org.freedesktop.ModemManager.Modem.Gsm.xml b/introspection/org.freedesktop.ModemManager.Modem.Gsm.xml
index f3f6900a..3da7fb5c 100644
--- a/introspection/org.freedesktop.ModemManager.Modem.Gsm.xml
+++ b/introspection/org.freedesktop.ModemManager.Modem.Gsm.xml
@@ -105,6 +105,36 @@
</tp:flag>
</tp:flags>
+ <tp:enum name="MM_MODEM_GSM_ALLOWED_AUTH" type="u">
+ <tp:docstring>
+ A bitfield describing the network's authentication preference; this is
+ only for use if the device offers IpMethods of STATIC or DHCP as in
+ these cases the PPP session is established by the device itself. The
+ ordering of the bitfield matches Ericsson devices in the range 0..4
+ </tp:docstring>
+ <tp:flag suffix="UNKNOWN" value="0x0">
+ <tp:docstring>Unknown or invalid authentication</tp:docstring>
+ </tp:flag>
+ <tp:enumvalue suffix="NONE" value="0x1">
+ <tp:docstring>Supports no authentication</tp:docstring>
+ </tp:enumvalue>
+ <tp:enumvalue suffix="PAP" value="0x2">
+ <tp:docstring>Supports PAP authentication</tp:docstring>
+ </tp:enumvalue>
+ <tp:enumvalue suffix="CHAP" value="0x4">
+ <tp:docstring>Supports CHAP authentication</tp:docstring>
+ </tp:enumvalue>
+ <tp:enumvalue suffix="MSCHAP" value="0x8">
+ <tp:docstring>Supports MSCHAP authentication</tp:docstring>
+ </tp:enumvalue>
+ <tp:enumvalue suffix="MSCHAPV2" value="0x10">
+ <tp:docstring>Supports MSCHAPv2 authentication</tp:docstring>
+ </tp:enumvalue>
+ <tp:enumvalue suffix="EAP" value="0x20">
+ <tp:docstring>Supports EAP authentication</tp:docstring>
+ </tp:enumvalue>
+ </tp:enum>
+
<tp:enum name="MM_MODEM_GSM_ALLOWED_MODE" type="u">
<tp:docstring>
Describes the device's current access mode preference; ie the specific
diff --git a/introspection/org.freedesktop.ModemManager.Modem.Simple.xml b/introspection/org.freedesktop.ModemManager.Modem.Simple.xml
index a86af4f1..1b973899 100644
--- a/introspection/org.freedesktop.ModemManager.Modem.Simple.xml
+++ b/introspection/org.freedesktop.ModemManager.Modem.Simple.xml
@@ -22,6 +22,7 @@
'apn' : string (GSM/HSPA only)
'number' : string
'rm-protocol' : uint (CDMA/EVDO only) (1 - Relay, 2 - Network PPP)
+ 'allowed_auth' : uint (GSM/HSPA only) (MM_MODEM_GSM_ALLOWED_AUTH bitfield)
</tp:docstring>
</arg>
</method>