|
@@ -3473,7 +3473,9 @@ static int nl80211_get_mesh_config(struct sk_buff *skb,
|
|
|
nla_put_u32(msg, NL80211_MESHCONF_HWMP_PATH_TO_ROOT_TIMEOUT,
|
|
|
cur_params.dot11MeshHWMPactivePathToRootTimeout) ||
|
|
|
nla_put_u16(msg, NL80211_MESHCONF_HWMP_ROOT_INTERVAL,
|
|
|
- cur_params.dot11MeshHWMProotInterval))
|
|
|
+ cur_params.dot11MeshHWMProotInterval) ||
|
|
|
+ nla_put_u16(msg, NL80211_MESHCONF_HWMP_CONFIRMATION_INTERVAL,
|
|
|
+ cur_params.dot11MeshHWMPconfirmationInterval))
|
|
|
goto nla_put_failure;
|
|
|
nla_nest_end(msg, pinfoattr);
|
|
|
genlmsg_end(msg, hdr);
|
|
@@ -3511,6 +3513,7 @@ static const struct nla_policy nl80211_meshconf_params_policy[NL80211_MESHCONF_A
|
|
|
[NL80211_MESHCONF_HT_OPMODE] = { .type = NLA_U16 },
|
|
|
[NL80211_MESHCONF_HWMP_PATH_TO_ROOT_TIMEOUT] = { .type = NLA_U32 },
|
|
|
[NL80211_MESHCONF_HWMP_ROOT_INTERVAL] = { .type = NLA_U16 },
|
|
|
+ [NL80211_MESHCONF_HWMP_CONFIRMATION_INTERVAL] = { .type = NLA_U16 },
|
|
|
};
|
|
|
|
|
|
static const struct nla_policy
|
|
@@ -3625,6 +3628,10 @@ do {\
|
|
|
FILL_IN_MESH_PARAM_IF_SET(tb, cfg, dot11MeshHWMProotInterval,
|
|
|
mask, NL80211_MESHCONF_HWMP_ROOT_INTERVAL,
|
|
|
nla_get_u16);
|
|
|
+ FILL_IN_MESH_PARAM_IF_SET(tb, cfg,
|
|
|
+ dot11MeshHWMPconfirmationInterval, mask,
|
|
|
+ NL80211_MESHCONF_HWMP_CONFIRMATION_INTERVAL,
|
|
|
+ nla_get_u16);
|
|
|
if (mask_out)
|
|
|
*mask_out = mask;
|
|
|
|