diff options
author | Jouni Malinen <jouni@qca.qualcomm.com> | 2013-07-26 19:13:58 (GMT) |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2014-02-25 23:24:24 (GMT) |
commit | 8e1146d9da2c33dc917ae7d4b425b98f5631ea5b (patch) | |
tree | 600c82aab4784b957385a19d1090b470cd69793d /src/ap/hs20.h | |
parent | a14896e8bb69a6b2593b482e920285c83f21519b (diff) | |
download | hostap-8e1146d9da2c33dc917ae7d4b425b98f5631ea5b.zip hostap-8e1146d9da2c33dc917ae7d4b425b98f5631ea5b.tar.gz hostap-8e1146d9da2c33dc917ae7d4b425b98f5631ea5b.tar.bz2 |
HS 2.0R2 AP: Add support for deauthentication request
If the RADIUS server includes deauthentication request in Access-Accept,
send a WNM-Notification frame to the station after 4-way handshake and
disconnect the station after configurable timeout.
A new control interface command, WNM_DEAUTH_REQ, is added for testing
purposes to allow the notification frame to sent based on local request.
This case does not disconnect the station automatically, i.e., a
separate control interface command would be needed for that.
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/ap/hs20.h')
-rw-r--r-- | src/ap/hs20.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ap/hs20.h b/src/ap/hs20.h index c7ffa36..152439f 100644 --- a/src/ap/hs20.h +++ b/src/ap/hs20.h @@ -15,5 +15,8 @@ u8 * hostapd_eid_hs20_indication(struct hostapd_data *hapd, u8 *eid); u8 * hostapd_eid_osen(struct hostapd_data *hapd, u8 *eid); int hs20_send_wnm_notification(struct hostapd_data *hapd, const u8 *addr, u8 osu_method, const char *url); +int hs20_send_wnm_notification_deauth_req(struct hostapd_data *hapd, + const u8 *addr, + const struct wpabuf *payload); #endif /* HS20_H */ |