|
@@ -189,6 +189,7 @@ static const struct nla_policy nl80211_policy[NL80211_ATTR_MAX+1] = {
|
|
.len = IEEE80211_MAX_DATA_LEN },
|
|
.len = IEEE80211_MAX_DATA_LEN },
|
|
[NL80211_ATTR_IE_ASSOC_RESP] = { .type = NLA_BINARY,
|
|
[NL80211_ATTR_IE_ASSOC_RESP] = { .type = NLA_BINARY,
|
|
.len = IEEE80211_MAX_DATA_LEN },
|
|
.len = IEEE80211_MAX_DATA_LEN },
|
|
|
|
+ [NL80211_ATTR_ROAM_SUPPORT] = { .type = NLA_FLAG },
|
|
};
|
|
};
|
|
|
|
|
|
/* policy for the key attributes */
|
|
/* policy for the key attributes */
|
|
@@ -720,6 +721,9 @@ static int nl80211_send_wiphy(struct sk_buff *msg, u32 pid, u32 seq, int flags,
|
|
if (dev->wiphy.flags & WIPHY_FLAG_MESH_AUTH)
|
|
if (dev->wiphy.flags & WIPHY_FLAG_MESH_AUTH)
|
|
NLA_PUT_FLAG(msg, NL80211_ATTR_SUPPORT_MESH_AUTH);
|
|
NLA_PUT_FLAG(msg, NL80211_ATTR_SUPPORT_MESH_AUTH);
|
|
|
|
|
|
|
|
+ if (dev->wiphy.flags & WIPHY_FLAG_SUPPORTS_FW_ROAM)
|
|
|
|
+ NLA_PUT_FLAG(msg, NL80211_ATTR_ROAM_SUPPORT);
|
|
|
|
+
|
|
NLA_PUT(msg, NL80211_ATTR_CIPHER_SUITES,
|
|
NLA_PUT(msg, NL80211_ATTR_CIPHER_SUITES,
|
|
sizeof(u32) * dev->wiphy.n_cipher_suites,
|
|
sizeof(u32) * dev->wiphy.n_cipher_suites,
|
|
dev->wiphy.cipher_suites);
|
|
dev->wiphy.cipher_suites);
|