diff options
Diffstat (limited to 'hostapd')
-rw-r--r-- | hostapd/config_file.c | 5 | ||||
-rw-r--r-- | hostapd/hostapd.conf | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/hostapd/config_file.c b/hostapd/config_file.c index 6729e5c..b00ed8f 100644 --- a/hostapd/config_file.c +++ b/hostapd/config_file.c @@ -1693,6 +1693,11 @@ static int hostapd_config_fill(struct hostapd_config *conf, "DAS client", line); errors++; } + } else if (os_strcmp(buf, "radius_das_time_window") == 0) { + bss->radius_das_time_window = atoi(pos); + } else if (os_strcmp(buf, "radius_das_require_event_timestamp") + == 0) { + bss->radius_das_require_event_timestamp = atoi(pos); #endif /* CONFIG_NO_RADIUS */ } else if (os_strcmp(buf, "auth_algs") == 0) { bss->auth_algs = atoi(pos); diff --git a/hostapd/hostapd.conf b/hostapd/hostapd.conf index 611ce95..a7b8ba6 100644 --- a/hostapd/hostapd.conf +++ b/hostapd/hostapd.conf @@ -708,6 +708,12 @@ own_ip_addr=127.0.0.1 # # DAS client (the host that can send Disconnect/CoA requests) and shared secret #radius_das_client=192.168.1.123 shared secret here +# +# DAS Event-Timestamp time window in seconds +#radius_das_time_window=300 +# +# DAS require Event-Timestamp +#radius_das_require_event_timestamp=1 ##### RADIUS authentication server configuration ############################## |