aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_ssid.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2018-04-17 14:12:22 (GMT)
committerJouni Malinen <j@w1.fi>2018-04-17 14:26:56 (GMT)
commit6311547e7b20b2d6e6f9a639ad7b7491a1d68702 (patch)
treed12b0d727413d946f84e1b9455625f56a5af0c1c /wpa_supplicant/config_ssid.h
parentce952ebda00365ba95706732f732d119c538ea62 (diff)
downloadhostap-6311547e7b20b2d6e6f9a639ad7b7491a1d68702.zip
hostap-6311547e7b20b2d6e6f9a639ad7b7491a1d68702.tar.gz
hostap-6311547e7b20b2d6e6f9a639ad7b7491a1d68702.tar.bz2
HS 2.0: Add Roaming Consortium Selection network profile parameter
This adds new roaming_consortium_selection network profile parameter into wpa_supplicant. This is used to store the OI that was used for network selection (INTERWORKING_SELECT) based on matching against the Roaming Consortium OIs advertised by the AP. This can also be used when using an external component to perform selection. This commit adds the network profile parameter, but does not yet include it in (Re)Association Request frames. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'wpa_supplicant/config_ssid.h')
-rw-r--r--wpa_supplicant/config_ssid.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/wpa_supplicant/config_ssid.h b/wpa_supplicant/config_ssid.h
index 87a45c4..9fd56c3 100644
--- a/wpa_supplicant/config_ssid.h
+++ b/wpa_supplicant/config_ssid.h
@@ -804,6 +804,19 @@ struct wpa_ssid {
#ifdef CONFIG_HS20
int update_identifier;
+
+ /**
+ * roaming_consortium_selection - Roaming Consortium Selection
+ *
+ * The matching Roaming Consortium OI that was used to generate this
+ * network profile.
+ */
+ u8 *roaming_consortium_selection;
+
+ /**
+ * roaming_consortium_selection_len - roaming_consortium_selection len
+ */
+ size_t roaming_consortium_selection_len;
#endif /* CONFIG_HS20 */
unsigned int wps_run;