HS 2.0R2 AP: Use Subscr Remediation request from RADIUS server
authorJouni Malinen <jouni@qca.qualcomm.com>
Wed, 21 Nov 2012 22:48:48 +0000 (00:48 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 25 Feb 2014 23:24:24 +0000 (01:24 +0200)
commit6ca0853d1847cea018e892f5423998cdf8cde763
treea3c54b563eb70a15f4e2c5c0c78b495198cae291
parent7bc9c25d1f516ba6364b0311c88a821dcf5b9ffc
HS 2.0R2 AP: Use Subscr Remediation request from RADIUS server

If the RADIUS server includes the WFA RADIUS VSA in Access-Accept to
indicate need for subscription remediation, copy the server URL from
the message and send it to the station after successfully completed
4-way handshake (i.e., after PTK is set to allow PMF to work) in a
WNM-Notification.

AP must not allow PMKSA caching to be used after subscription
remediation association, so do not add the PMKSA cache entry whenever
the authentication server is indicating need for subscription
remediation. This allows station reassociation to use EAP authentication
to move to non-remediation connection.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
src/ap/ieee802_1x.c
src/ap/sta_info.c
src/ap/sta_info.h