aboutsummaryrefslogtreecommitdiffstats
path: root/src/radius
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2014-07-31 16:11:31 (GMT)
committerJouni Malinen <j@w1.fi>2014-07-31 16:55:29 (GMT)
commitcdffd72173c189a44fd2b27dab00e78c876b18ef (patch)
treed437dc95edf30bb4a4263c333cf82dc6d0348633 /src/radius
parent69002fb0a8b313ab088e3d94521128e3121bdc47 (diff)
downloadhostap-cdffd72173c189a44fd2b27dab00e78c876b18ef.zip
hostap-cdffd72173c189a44fd2b27dab00e78c876b18ef.tar.gz
hostap-cdffd72173c189a44fd2b27dab00e78c876b18ef.tar.bz2
Add WLAN-HESSID into RADIUS messages
This adds hostapd support for the new WLAN-HESSID attribute defined in RFC 7268. This attribute contains the HESSID and it is added whenever Interworking is enabled and HESSID is configured. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/radius')
-rw-r--r--src/radius/radius.c1
-rw-r--r--src/radius/radius.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/radius/radius.c b/src/radius/radius.c
index 730056a..8bcf2f5 100644
--- a/src/radius/radius.c
+++ b/src/radius/radius.c
@@ -235,6 +235,7 @@ static struct radius_attr_type radius_attrs[] =
{ RADIUS_ATTR_EAP_KEY_NAME, "EAP-Key-Name", RADIUS_ATTR_HEXDUMP },
{ RADIUS_ATTR_MOBILITY_DOMAIN_ID, "Mobility-Domain-Id",
RADIUS_ATTR_INT32 },
+ { RADIUS_ATTR_WLAN_HESSID, "WLAN-HESSID", RADIUS_ATTR_TEXT },
};
#define RADIUS_ATTRS ARRAY_SIZE(radius_attrs)
diff --git a/src/radius/radius.h b/src/radius/radius.h
index ff7224d..4ff7391 100644
--- a/src/radius/radius.h
+++ b/src/radius/radius.h
@@ -93,6 +93,7 @@ enum { RADIUS_ATTR_USER_NAME = 1,
RADIUS_ATTR_ERROR_CAUSE = 101,
RADIUS_ATTR_EAP_KEY_NAME = 102,
RADIUS_ATTR_MOBILITY_DOMAIN_ID = 177,
+ RADIUS_ATTR_WLAN_HESSID = 181,
};