CCMP and Apple and WPS

Jouni Malinen j at
Sun May 11 12:27:44 EDT 2014

On Tue, May 06, 2014 at 06:46:55PM +0200, Drasko DRASKOVIC wrote:
> On Tue, May 6, 2014 at 9:37 AM, Drasko DRASKOVIC
> <drasko.draskovic at> wrote:
> > - How to force WPS v1.0 then?

There is not much point in doing that and no plan of supporting such
option in hostapd either.

> > - Any idea why CCMP does not work with Apple devices?

This would be the part that should be resolved.. Could you please
clarify what you mean with "Apple devices"? I have not seen issues with
this on MacBook Air.

> Here is log from iPad trying to connect to hostapd2.1 (below).

> wlan0: STA fc:25:3f:90:a4:b6 WPA: received EAPOL-Key frame (4/4 Pairwise)
> WPA: fc:25:3f:90:a4:b6 WPA_PTK entering state PTKINITDONE
> wpa_driver_nl80211_set_key: ifindex=4 (wlan0) alg=3 addr=0x2f3d20
> key_idx=0 set_tx=1 seq_len=0 key_len=16
>    addr=fc:25:3f:90:a4:b6
> wlan0: AP-STA-CONNECTED fc:25:3f:90:a4:b6
> wlan0: STA fc:25:3f:90:a4:b6 IEEE 802.1X: authorizing port
> wlan0: STA fc:25:3f:90:a4:b6 RADIUS: starting accounting session
> 00000388-00000002
> wlan0: STA fc:25:3f:90:a4:b6 WPA: pairwise key handshake completed (RSN)

This actually shows a successful connection..

> nl80211: Event message available
> nl80211: Drv Event 20 (NL80211_CMD_DEL_STATION) received for wlan0
> nl80211: Delete station fc:25:3f:90:a4:b6
> wlan0: Event DISASSOC (1) received
> wlan0: STA fc:25:3f:90:a4:b6 IEEE 802.11: disassociated
> wlan0: AP-STA-DISCONNECTED fc:25:3f:90:a4:b6

Since there were no timestamps in the log (-t on hostapd command line),
it is a bit difficult to figure out how long a time there was between
these operations. In addition, it is unclear what triggered this

Which WLAN driver are you using on the AP?

Jouni Malinen                                            PGP id EFC895FA

More information about the HostAP mailing list