hotspot 2.0

xiaobingjian xiaobingjian
Wed Jul 16 18:57:34 PDT 2014


    Hi?
        My hotspot2.o config file. And it work with iphone5s.
driver=atheros
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
debug=0
interface=wlan1
ssid=hotspot
ieee8021x=1
eap_server=0
eap_message=hello
eapol_key_index_workaround=0
own_ip_addr=127.0.0.1
bridge=br0
wpa=2
wpa_key_mgmt=WPA-EAP
wpa_pairwise=CCMP
wpa_group_rekey=0
auth_server_addr=192.168.0.123
auth_server_port=1812
auth_server_shared_secret=hotspot
hs20=1
interworking=1
disable_dgaf=0
hessid=00:00:00:00:00:00
access_network_type=2
internet=0
asra=0
esr=0
uesa=0
venue_group=2
venue_type=8
domain_name=test
hs20_oper_friendly_name=eng:test
manage_p2p=1
allow_cross_connection=0
roaming_consortium=506f9a
roaming_consortium=001bc504bd
   And you shoul moify hostapd_eid_hs20_indication function because hotspot2.0 of hostapd release version is 2. However iphon5s only support 
release version 1.
   u8 * hostapd_eid_hs20_indication(struct hostapd_data *hapd, u8 *eid)
 {
if (!hapd->conf->hs20)
return eid;
*eid++ = WLAN_EID_VENDOR_SPECIFIC;
*eid++ = 5;
WPA_PUT_BE24(eid, OUI_WFA);
eid += 3;
*eid++ = HS20_INDICATION_OUI_TYPE;
/* Hotspot Configuration: DGAF Enabled */
eid++ = hapd->conf->disable_dgaf ? 0x01 : 0x00;
return eid;
 }




            . 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.shmoo.com/pipermail/hostap/attachments/20140717/dab5f4e0/attachment.htm>



More information about the Hostap mailing list