aboutsummaryrefslogtreecommitdiffstats
path: root/src/radius
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2018-04-23 21:05:44 (GMT)
committerJouni Malinen <j@w1.fi>2018-04-23 21:35:47 (GMT)
commit8760b9848cf43185f93c1f4d19798c0d9c835922 (patch)
tree72ac02ad8af4ee0383ad9b1ac236cea6a0c690b1 /src/radius
parent6cb8f4f382d8f08461d6bbd457acb059672aaacf (diff)
downloadhostap-8760b9848cf43185f93c1f4d19798c0d9c835922.zip
hostap-8760b9848cf43185f93c1f4d19798c0d9c835922.tar.gz
hostap-8760b9848cf43185f93c1f4d19798c0d9c835922.tar.bz2
HS 2.0: Send Terms and Conditions Acceptance notification
This extends hostapd Access-Accept processing to check if the RADIUS server indicated that Terms and Conditions Acceptance is required. The new hs20_t_c_server_url parameter is used to specify the server URL template that the STA is requested to visit. This commit does not enable any kind of filtering, i.e., only the part of forwarding a request from Access-Accept to the STA using WNM-Notification is covered. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'src/radius')
-rw-r--r--src/radius/radius.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/radius/radius.h b/src/radius/radius.h
index 3d26cf7..55185df 100644
--- a/src/radius/radius.h
+++ b/src/radius/radius.h
@@ -201,6 +201,7 @@ enum {
RADIUS_VENDOR_ATTR_WFA_HS20_ROAMING_CONSORTIUM = 6,
RADIUS_VENDOR_ATTR_WFA_HS20_T_C_FILENAME = 7,
RADIUS_VENDOR_ATTR_WFA_HS20_TIMESTAMP = 8,
+ RADIUS_VENDOR_ATTR_WFA_HS20_T_C_FILTERING = 9,
};
#ifdef _MSC_VER