Skip to content

Commit 407a2d7

Browse files
committed
Some new constants
1 parent e955aba commit 407a2d7

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

NetworkManager.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ def const(prefix, val):
175175
NM_DEVICE_TYPE_OLPC_MESH = 6
176176
NM_DEVICE_TYPE_WIMAX = 7
177177
NM_DEVICE_TYPE_MODEM = 8
178+
NM_DEVICE_TYPE_INFINIBAND = 9
178179
NM_DEVICE_CAP_NONE = 0
179180
NM_DEVICE_CAP_NM_SUPPORTED = 1
180181
NM_DEVICE_CAP_CARRIER_DETECT = 2
@@ -185,6 +186,7 @@ def const(prefix, val):
185186
NM_WIFI_DEVICE_CAP_CIPHER_CCMP = 8
186187
NM_WIFI_DEVICE_CAP_WPA = 16
187188
NM_WIFI_DEVICE_CAP_RSN = 32
189+
NM_WIFI_DEVICE_CAP_AP = 64
188190
NM_802_11_AP_FLAGS_NONE = 0
189191
NM_802_11_AP_FLAGS_PRIVACY = 1
190192
NM_802_11_AP_SEC_NONE = 0
@@ -267,6 +269,11 @@ def const(prefix, val):
267269
NM_DEVICE_STATE_REASON_SUPPLICANT_AVAILABLE = 42
268270
NM_DEVICE_STATE_REASON_MODEM_NOT_FOUND = 43
269271
NM_DEVICE_STATE_REASON_BT_FAILED = 44
272+
NM_DEVICE_STATE_REASON_GSM_SIM_NOT_INSERTED = 45
273+
NM_DEVICE_STATE_REASON_GSM_SIM_PIN_REQUIRED = 46
274+
NM_DEVICE_STATE_REASON_GSM_SIM_PUK_REQUIRED = 47
275+
NM_DEVICE_STATE_REASON_GSM_SIM_WRONG = 48
276+
NM_DEVICE_STATE_REASON_INFINIBAND_MODE = 49
270277
NM_DEVICE_STATE_REASON_LAST = 65535
271278
NM_ACTIVE_CONNECTION_STATE_UNKNOWN = 0
272279
NM_ACTIVE_CONNECTION_STATE_ACTIVATING = 1

0 commit comments

Comments
 (0)