aboutsummaryrefslogtreecommitdiffstats
path: root/src/radius
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2014-07-31 16:00:37 (GMT)
committerJouni Malinen <j@w1.fi>2014-07-31 16:55:29 (GMT)
commit69002fb0a8b313ab088e3d94521128e3121bdc47 (patch)
tree7527542d16c01750e06b74c2c9b1b1bd2afbc982 /src/radius
parent4a0693a4d5ea7f0331100eb9d3851bfa139e3bbb (diff)
downloadhostap-69002fb0a8b313ab088e3d94521128e3121bdc47.zip
hostap-69002fb0a8b313ab088e3d94521128e3121bdc47.tar.gz
hostap-69002fb0a8b313ab088e3d94521128e3121bdc47.tar.bz2
Add Mobility-Domain-Id into RADIUS messages
This adds hostapd support for the new Mobility-Domain-Id attribute defined in RFC 7268. This attribute contains the mobility domain id and it is added whenever the station negotiates use of FT. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/radius')
-rw-r--r--src/radius/radius.c2
-rw-r--r--src/radius/radius.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/radius/radius.c b/src/radius/radius.c
index f2d8e96..730056a 100644
--- a/src/radius/radius.c
+++ b/src/radius/radius.c
@@ -233,6 +233,8 @@ static struct radius_attr_type radius_attrs[] =
{ RADIUS_ATTR_NAS_IPV6_ADDRESS, "NAS-IPv6-Address", RADIUS_ATTR_IPV6 },
{ RADIUS_ATTR_ERROR_CAUSE, "Error-Cause", RADIUS_ATTR_INT32 },
{ RADIUS_ATTR_EAP_KEY_NAME, "EAP-Key-Name", RADIUS_ATTR_HEXDUMP },
+ { RADIUS_ATTR_MOBILITY_DOMAIN_ID, "Mobility-Domain-Id",
+ RADIUS_ATTR_INT32 },
};
#define RADIUS_ATTRS ARRAY_SIZE(radius_attrs)
diff --git a/src/radius/radius.h b/src/radius/radius.h
index 34307f2..ff7224d 100644
--- a/src/radius/radius.h
+++ b/src/radius/radius.h
@@ -92,6 +92,7 @@ enum { RADIUS_ATTR_USER_NAME = 1,
RADIUS_ATTR_NAS_IPV6_ADDRESS = 95,
RADIUS_ATTR_ERROR_CAUSE = 101,
RADIUS_ATTR_EAP_KEY_NAME = 102,
+ RADIUS_ATTR_MOBILITY_DOMAIN_ID = 177,
};