aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/hostapd
diff options
context:
space:
mode:
authorLorenzo Santina <lorenzo.santina@edu.unito.it>2017-09-16 11:14:27 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2017-09-18 21:24:10 +0200
commitb0d2c4ac417d54d18d0c5ab0a106f05657138ae0 (patch)
tree6fb61e942d0033a9935c166f44cca4eda8dacd0f /package/network/services/hostapd
parent70593acdd5fc4b3c24e7f71f885931165da1a67f (diff)
downloadupstream-b0d2c4ac417d54d18d0c5ab0a106f05657138ae0.tar.gz
upstream-b0d2c4ac417d54d18d0c5ab0a106f05657138ae0.tar.bz2
upstream-b0d2c4ac417d54d18d0c5ab0a106f05657138ae0.zip
hostapd: ft_over_ds support
Add support for ft_over_ds flag in ieee80211r Signed-off-by: Lorenzo Santina <lorenzo.santina@edu.unito.it>
Diffstat (limited to 'package/network/services/hostapd')
-rw-r--r--package/network/services/hostapd/files/hostapd.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh
index e92cbc5d1a..c62619abea 100644
--- a/package/network/services/hostapd/files/hostapd.sh
+++ b/package/network/services/hostapd/files/hostapd.sh
@@ -178,7 +178,7 @@ hostapd_common_add_bss_config() {
config_add_int wps_ap_setup_locked wps_independent
config_add_string wps_device_type wps_device_name wps_manufacturer wps_pin
- config_add_boolean ieee80211r pmk_r1_push ft_psk_generate_local
+ config_add_boolean ieee80211r pmk_r1_push ft_psk_generate_local ft_over_ds
config_add_int r0_key_lifetime reassociation_deadline
config_add_string mobility_domain r1_key_holder
config_add_array r0kh r1kh
@@ -382,7 +382,7 @@ hostapd_set_bss_options() {
if [ "$ieee80211r" -gt "0" ]; then
json_get_vars mobility_domain r0_key_lifetime r1_key_holder \
- reassociation_deadline pmk_r1_push ft_psk_generate_local
+ reassociation_deadline pmk_r1_push ft_psk_generate_local ft_over_ds
json_get_values r0kh r0kh
json_get_values r1kh r1kh
@@ -392,6 +392,7 @@ hostapd_set_bss_options() {
set_default reassociation_deadline 1000
set_default pmk_r1_push 0
set_default ft_psk_generate_local 0
+ set_default ft_over_ds 1
append bss_conf "mobility_domain=$mobility_domain" "$N"
append bss_conf "r0_key_lifetime=$r0_key_lifetime" "$N"
@@ -399,6 +400,7 @@ hostapd_set_bss_options() {
append bss_conf "reassociation_deadline=$reassociation_deadline" "$N"
append bss_conf "pmk_r1_push=$pmk_r1_push" "$N"
append bss_conf "ft_psk_generate_local=$ft_psk_generate_local" "$N"
+ append bss_conf "ft_over_ds=$ft_over_ds" "$N"
for kh in $r0kh; do
append bss_conf "r0kh=${kh//,/ }" "$N"