summaryrefslogtreecommitdiff
path: root/src/supplicant-manager/nm-supplicant-config.h
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2015-10-07 16:03:16 -0500
committerThomas Haller <thaller@redhat.com>2015-11-18 15:37:42 +0100
commit190e0e31cd553566c80d371466f7171a0384bf50 (patch)
treecbe93aa402a7c7423aff9bcf330210ebeb39c0db /src/supplicant-manager/nm-supplicant-config.h
parent21e84f21af1799ac50fc9a7e38c5be603668d2a3 (diff)
downloadNetworkManager-190e0e31cd553566c80d371466f7171a0384bf50.tar.gz
wifi: implement MAC address randomization
If the supplicant supports it and the connection requests it, tell the supplicant to randomize the MAC address for the association. In addition, like both iOS, Android, and other OSs always randomize the MAC address when performing a WiFi scan.
Diffstat (limited to 'src/supplicant-manager/nm-supplicant-config.h')
-rw-r--r--src/supplicant-manager/nm-supplicant-config.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/supplicant-manager/nm-supplicant-config.h b/src/supplicant-manager/nm-supplicant-config.h
index 0cd3243ebf..b87edb43b0 100644
--- a/src/supplicant-manager/nm-supplicant-config.h
+++ b/src/supplicant-manager/nm-supplicant-config.h
@@ -54,8 +54,7 @@ NMSupplicantConfig *nm_supplicant_config_new (void);
guint32 nm_supplicant_config_get_ap_scan (NMSupplicantConfig *self);
-void nm_supplicant_config_set_ap_scan (NMSupplicantConfig *self,
- guint32 ap_scan);
+const char *nm_supplicant_config_get_mac_randomization (NMSupplicantConfig *self);
gboolean nm_supplicant_config_fast_required (NMSupplicantConfig *self);
@@ -65,7 +64,9 @@ GHashTable *nm_supplicant_config_get_blobs (NMSupplicantConfig *self);
gboolean nm_supplicant_config_add_setting_wireless (NMSupplicantConfig *self,
NMSettingWireless *setting,
- guint32 fixed_freq);
+ guint32 fixed_freq,
+ NMSupplicantFeature mac_randomization_support,
+ NMSettingMacRandomization mac_randomization_fallback);
gboolean nm_supplicant_config_add_setting_wireless_security (NMSupplicantConfig *self,
NMSettingWirelessSecurity *setting,