aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/ap_config.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2018-04-16 10:18:57 (GMT)
committerJouni Malinen <j@w1.fi>2018-04-17 13:40:47 (GMT)
commit0e450db285d46bfd14877287f0ca8e74025d92b1 (patch)
treec9794dc6b8d7113ead291bf12138bdfdbeb01635 /src/ap/ap_config.h
parent6a8a04d7429a2b5791aba3d7ee777ad7c683a777 (diff)
downloadhostap-0e450db285d46bfd14877287f0ca8e74025d92b1.zip
hostap-0e450db285d46bfd14877287f0ca8e74025d92b1.tar.gz
hostap-0e450db285d46bfd14877287f0ca8e74025d92b1.tar.bz2
HS 2.0: Allow configuration of operator icons
This extends hostapd Hotspot 2.0 implementation to allow operator icons to be made available. The existing hs20_icon parameter is used to define the icons and the new operator_icon parameter (zero or more entries) is used to specify which of the available icons are operator icons. The operator icons are advertised in the Operator Icon Metadata ANQP-element while the icon data can be fetched using the same mechanism (icon request/binary file) that was added for the OSU Providers icons. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'src/ap/ap_config.h')
-rw-r--r--src/ap/ap_config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ap/ap_config.h b/src/ap/ap_config.h
index 03ab80d..87d485c 100644
--- a/src/ap/ap_config.h
+++ b/src/ap/ap_config.h
@@ -580,6 +580,8 @@ struct hostapd_bss_config {
struct hostapd_lang_string *service_desc;
} *hs20_osu_providers, *last_osu;
size_t hs20_osu_providers_count;
+ char **hs20_operator_icon;
+ size_t hs20_operator_icon_count;
unsigned int hs20_deauth_req_timeout;
char *subscr_remediation_url;
u8 subscr_remediation_method;