1*03f9172cSAndroid Build Coastguard Worker /* 2*03f9172cSAndroid Build Coastguard Worker * Hotspot 2.0 AP ANQP processing 3*03f9172cSAndroid Build Coastguard Worker * Copyright (c) 2011-2013, Qualcomm Atheros, Inc. 4*03f9172cSAndroid Build Coastguard Worker * 5*03f9172cSAndroid Build Coastguard Worker * This software may be distributed under the terms of the BSD license. 6*03f9172cSAndroid Build Coastguard Worker * See README for more details. 7*03f9172cSAndroid Build Coastguard Worker */ 8*03f9172cSAndroid Build Coastguard Worker 9*03f9172cSAndroid Build Coastguard Worker #ifndef HS20_H 10*03f9172cSAndroid Build Coastguard Worker #define HS20_H 11*03f9172cSAndroid Build Coastguard Worker 12*03f9172cSAndroid Build Coastguard Worker struct hostapd_data; 13*03f9172cSAndroid Build Coastguard Worker 14*03f9172cSAndroid Build Coastguard Worker u8 * hostapd_eid_hs20_indication(struct hostapd_data *hapd, u8 *eid); 15*03f9172cSAndroid Build Coastguard Worker u8 * hostapd_eid_osen(struct hostapd_data *hapd, u8 *eid); 16*03f9172cSAndroid Build Coastguard Worker int hs20_send_wnm_notification(struct hostapd_data *hapd, const u8 *addr, 17*03f9172cSAndroid Build Coastguard Worker u8 osu_method, const char *url); 18*03f9172cSAndroid Build Coastguard Worker int hs20_send_wnm_notification_deauth_req(struct hostapd_data *hapd, 19*03f9172cSAndroid Build Coastguard Worker const u8 *addr, 20*03f9172cSAndroid Build Coastguard Worker const struct wpabuf *payload); 21*03f9172cSAndroid Build Coastguard Worker int hs20_send_wnm_notification_t_c(struct hostapd_data *hapd, 22*03f9172cSAndroid Build Coastguard Worker const u8 *addr, const char *url); 23*03f9172cSAndroid Build Coastguard Worker void hs20_t_c_filtering(struct hostapd_data *hapd, struct sta_info *sta, 24*03f9172cSAndroid Build Coastguard Worker int enabled); 25*03f9172cSAndroid Build Coastguard Worker 26*03f9172cSAndroid Build Coastguard Worker #endif /* HS20_H */ 27