summaryrefslogtreecommitdiff
path: root/gsupplicant/gsupplicant.h
diff options
context:
space:
mode:
authorAnjali Nijhara <a.nijhara@samsung.com>2023-03-15 11:59:53 +0530
committerAnjali Nijhara <a.nijhara@samsung.com>2023-03-15 12:01:07 +0530
commit38642bb625ec192e058ec7cdae356f3ebaaa7561 (patch)
tree636db53666458ec8a7e155116f6fda2a59a3c81f /gsupplicant/gsupplicant.h
parentf89b473dfd8e916314b534b3397442f8c869c783 (diff)
downloadconnman-38642bb625ec192e058ec7cdae356f3ebaaa7561.tar.gz
connman-38642bb625ec192e058ec7cdae356f3ebaaa7561.tar.bz2
connman-38642bb625ec192e058ec7cdae356f3ebaaa7561.zip
Imported Upstream version 1.41upstream/1.41
Change-Id: Ida2a62a81c771f833353d1a9a77604e6f2b06b88
Diffstat (limited to 'gsupplicant/gsupplicant.h')
-rw-r--r--gsupplicant/gsupplicant.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/gsupplicant/gsupplicant.h b/gsupplicant/gsupplicant.h
index 7935c3a6..eab6293f 100644
--- a/gsupplicant/gsupplicant.h
+++ b/gsupplicant/gsupplicant.h
@@ -61,6 +61,7 @@ extern "C" {
#define G_SUPPLICANT_KEYMGMT_WPA_EAP (1 << 7)
#define G_SUPPLICANT_KEYMGMT_WPA_EAP_256 (1 << 8)
#define G_SUPPLICANT_KEYMGMT_WPS (1 << 9)
+#define G_SUPPLICANT_KEYMGMT_SAE (1 << 10)
#define G_SUPPLICANT_PROTO_WPA (1 << 0)
#define G_SUPPLICANT_PROTO_RSN (1 << 1)
@@ -129,6 +130,12 @@ typedef enum {
G_SUPPLICANT_PEER_GROUP_FAILED,
} GSupplicantPeerState;
+typedef enum {
+ G_SUPPLICANT_MFP_NONE,
+ G_SUPPLICANT_MFP_OPTIONAL,
+ G_SUPPLICANT_MFP_REQUIRED,
+} GSupplicantMfpOptions;
+
struct _GSupplicantSSID {
const void *ssid;
unsigned int ssid_len;
@@ -155,6 +162,8 @@ struct _GSupplicantSSID {
dbus_bool_t use_wps;
const char *pin_wps;
const char *bgscan;
+ unsigned int keymgmt;
+ GSupplicantMfpOptions ieee80211w;
};
typedef struct _GSupplicantSSID GSupplicantSSID;
@@ -339,6 +348,7 @@ bool g_supplicant_peer_is_in_a_group(GSupplicantPeer *peer);
GSupplicantInterface *g_supplicant_peer_get_group_interface(GSupplicantPeer *peer);
bool g_supplicant_peer_is_client(GSupplicantPeer *peer);
bool g_supplicant_peer_has_requested_connection(GSupplicantPeer *peer);
+unsigned int g_supplicant_network_get_keymgmt(GSupplicantNetwork *network);
struct _GSupplicantCallbacks {
void (*system_ready) (void);