<div dir="ltr">Hello everyone, <div><br></div><div>I use a Marvell SD8787 wifi card. </div><div>A AP is configured and working stable until I connect a device through WPS</div><div><br></div><div>$hostapd_cli wps_pbc </div>
<div><br></div><div>my log shows &quot;WPS-Success&quot; and 2seconds later my device disconnects. </div><div>My config might be wrong. I use hostapd 2.0 on a 3.2 Linux Kernel with backported drivers from 3.12.2-1 for my Mwifiex based card. </div>
<div><br></div><div>Any suggestions? </div><div><br></div><div>Best regards, </div><div>Pascal</div><div><br></div><div>hostapd.conf </div><div><br></div><div><div>#############################################</div><div>#</div>
<div>#       hostapd config for Access Point</div><div>#       with WPS functionality</div><div>#</div><div>#############################################</div><div><br></div><div>#Basic Access Point configurations</div><div>
<br></div><div>interface=uap0</div><div>driver=nl80211</div><div>ssid=IPEhub2_0002</div><div>hw_mode=g</div><div>ieee80211n=1</div><div>channel=3</div><div>macaddr_acl=0</div><div><br></div><div>wpa=2</div><div>wpa_passphrase=123456789</div>
<div>wpa_key_mgmt=WPA-PSK WPA-EAP</div><div>wpa_pairwise=TKIP CCMP</div><div><br></div><div>## Wmm setting for IEEE 802.11 draft</div><div># wmm_enabled=1</div><div><br></div><div>## Allow both Auth. algorithms</div><div>
auth_algs=3</div><div><br></div><div>ignore_broadcast_ssid=0</div><div>eap_reauth_period=0</div><div>eapol_version=1</div><div>#wpa_group_rekey=0</div><div>ctrl_interface=/var/run/hostapd</div><div>ctrl_interface_group=0</div>
<div>wpa_psk_file=/etc/hostapd.psk</div><div>eap_server=1</div><div><br></div><div>wps_state=2</div><div>ap_setup_locked=1</div></div><div>#############################################<br></div><div><br></div><div><br></div>
<div>Information from log of hostapd -dd</div><div><br></div><div><div>uap0: WPS-SUCCESS </div><div>EAP-WSC: WPS processing completed successfully - report EAP failure</div><div>EAP-WSC: MESG -&gt; FAIL</div><div>EAP: EAP entering state SELECT_ACTION</div>
<div>EAP: getDecision: method failed -&gt; FAILURE</div><div>EAP: EAP entering state FAILURE</div><div>EAP: Building EAP-Failure (id=142)</div><div>uap0: CTRL-EVENT-EAP-FAILURE 18:00:2d:9b:3f:96</div><div>IEEE 802.1X: 18:00:2d:9b:3f:96 BE_AUTH entering state FAIL</div>
<div>uap0: STA 18:00:2d:9b:3f:96 IEEE 802.1X: Sending EAP Packet (identifier 142)</div><div>IEEE 802.1X: 18:00:2d:9b:3f:96 AUTH_PAE entering state HELD</div><div>uap0: STA 18:00:2d:9b:3f:96 IEEE 802.1X: unauthorizing port</div>
<div>Could not set station 18:00:2d:9b:3f:96 flags for kernel driver (errno=97).</div><div>uap0: STA 18:00:2d:9b:3f:96 IEEE 802.1X: authentication failed - EAP type: 0 ((null))</div><div>uap0: STA 18:00:2d:9b:3f:96 IEEE 802.1X: Supplicant used different EAP type: 254 (expanded)</div>
<div>uap0: IEEE 802.1X: Force disconnection after EAP-Failure</div><div>ap_sta_disconnect: reschedule ap_handle_timer timeout for 18:00:2d:9b:3f:96 (5 seconds - AP_MAX_INACTIVITY_AFTER_DEAUTH)</div><div>IEEE 802.1X: 18:00:2d:9b:3f:96 BE_AUTH entering state IDLE</div>
<div>IEEE 802.1X: 18:00:2d:9b:3f:96 AUTH_PAE entering state INITIALIZE</div><div>EAP: EAP entering state DISABLED</div></div><div>....</div><div><div>uap0: Flushing old station entries</div><div>uap0: Deauthenticate all stations</div>
<div>wpa_driver_nl80211_set_key: ifindex=6 alg=0 addr=(nil) key_idx=0 set_tx=0 seq_len=0 key_len=0</div><div>wpa_driver_nl80211_set_key: ifindex=6 alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0</div><div>wpa_driver_nl80211_set_key: ifindex=6 alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0</div>
<div>wpa_driver_nl80211_set_key: ifindex=6 alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0</div><div>nl80211: Skip disabling of Probe Request reporting nl_preq=0xbf680 while in AP mode</div><div>netlink: Operstate: linkmode=0, operstate=6</div>
<div>nl80211: Set mode ifindex 6 iftype 2 (STATION)</div><div>nl80211: Failed to set interface 6 to mode 2: -95 (Operation not supported)</div><div>nl80211: Try mode change after setting interface down</div><div>nl80211: Set mode ifindex 6 iftype 2 (STATION)</div>
<div>nl80211: Failed to set interface 6 to mode 2: -95 (Operation not supported)</div><div>nl80211: Interface mode change to 2 from 3 failed</div><div>nl80211: Unsubscribe mgmt frames handle 0xc0138 (deinit)</div><div>ELOOP: remaining socket: sock=11 eloop_data=0xc0180 user_data=0xbf680 handler=0x3b494</div>
</div><div><br></div><div><br></div></div>