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 <ammad.rehmat@connectus.ai>
This commit is contained in:
Ammad Rehmat 2020-08-17 13:08:56 -04:00 committed by John Crispin
parent d178036d1d
commit ff9357ae43

View File

@ -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 },