From ff9357ae43d2febdcbdd1e30d505adaf9290d072 Mon Sep 17 00:00:00 2001 From: Ammad Rehmat Date: Mon, 17 Aug 2020 13:08:56 -0400 Subject: [PATCH] opensync: 802.11r settings bug - FT over DS was set to 0 which wasnt taking effect due to missing declarations in the policy Fixes: WIFI-560 Signed-off-by: Ammad Rehmat --- .../opensync/src/platform/openwrt/src/lib/target/src/vif.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/feeds/wlan-ap/opensync/src/platform/openwrt/src/lib/target/src/vif.c b/feeds/wlan-ap/opensync/src/platform/openwrt/src/lib/target/src/vif.c index ae13c8906..503b8e6ec 100755 --- a/feeds/wlan-ap/opensync/src/platform/openwrt/src/lib/target/src/vif.c +++ b/feeds/wlan-ap/opensync/src/platform/openwrt/src/lib/target/src/vif.c @@ -46,6 +46,7 @@ enum { WIF_ATTR_IEEE80211R, WIF_ATTR_IEEE80211W, WIF_ATTR_MOBILITY_DOMAIN, + WIF_ATTR_FT_OVER_DS, WIF_ATTR_FT_PSK_LOCAL, WIF_ATTR_UAPSD, WIF_ATTR_VLAN_ID, @@ -82,6 +83,7 @@ static const struct blobmsg_policy wifi_iface_policy[__WIF_ATTR_MAX] = { [WIF_ATTR_IEEE80211R] = { .name = "ieee80211r", BLOBMSG_TYPE_BOOL }, [WIF_ATTR_IEEE80211W] = { .name = "ieee80211w", BLOBMSG_TYPE_BOOL }, [WIF_ATTR_MOBILITY_DOMAIN] = { .name = "mobility_domain", BLOBMSG_TYPE_STRING }, + [WIF_ATTR_FT_OVER_DS] = { .name = "ft_over_ds", BLOBMSG_TYPE_BOOL }, [WIF_ATTR_FT_PSK_LOCAL] = { .name = "ft_psk_generate_local" ,BLOBMSG_TYPE_BOOL }, [WIF_ATTR_UAPSD] = { .name = "uapsd", BLOBMSG_TYPE_BOOL }, [WIF_ATTR_VLAN_ID] = { .name = "vlan_id", BLOBMSG_TYPE_INT32 },