diff options
author | Thomas Pedersen <thomas@cozybit.com> | 2011-11-24 20:15:24 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-11-28 14:44:06 -0500 |
commit | dca7e9430cb3e492437a5ce891b8b3e315c147ca (patch) | |
tree | a7503e86e20e649074bbaccd5272d61a51425e2e /net/wireless/nl80211.c | |
parent | d3c1597b8d1ba0447ce858c7c385eabcf69f2c8f (diff) |
{nl,cfg,mac}80211: implement dot11MeshHWMPperrMinInterval
As per 802.11mb 13.9.11.3
Signed-off-by: Thomas Pedersen <thomas@cozybit.com>
Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless/nl80211.c')
-rw-r--r-- | net/wireless/nl80211.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index 5699c3b1aba4..0ee512b85a1f 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c | |||
@@ -3195,6 +3195,8 @@ static int nl80211_get_mesh_config(struct sk_buff *skb, | |||
3195 | cur_params.dot11MeshHWMPactivePathTimeout); | 3195 | cur_params.dot11MeshHWMPactivePathTimeout); |
3196 | NLA_PUT_U16(msg, NL80211_MESHCONF_HWMP_PREQ_MIN_INTERVAL, | 3196 | NLA_PUT_U16(msg, NL80211_MESHCONF_HWMP_PREQ_MIN_INTERVAL, |
3197 | cur_params.dot11MeshHWMPpreqMinInterval); | 3197 | cur_params.dot11MeshHWMPpreqMinInterval); |
3198 | NLA_PUT_U16(msg, NL80211_MESHCONF_HWMP_PERR_MIN_INTERVAL, | ||
3199 | cur_params.dot11MeshHWMPperrMinInterval); | ||
3198 | NLA_PUT_U16(msg, NL80211_MESHCONF_HWMP_NET_DIAM_TRVS_TIME, | 3200 | NLA_PUT_U16(msg, NL80211_MESHCONF_HWMP_NET_DIAM_TRVS_TIME, |
3199 | cur_params.dot11MeshHWMPnetDiameterTraversalTime); | 3201 | cur_params.dot11MeshHWMPnetDiameterTraversalTime); |
3200 | NLA_PUT_U8(msg, NL80211_MESHCONF_HWMP_ROOTMODE, | 3202 | NLA_PUT_U8(msg, NL80211_MESHCONF_HWMP_ROOTMODE, |
@@ -3229,6 +3231,7 @@ static const struct nla_policy nl80211_meshconf_params_policy[NL80211_MESHCONF_A | |||
3229 | [NL80211_MESHCONF_MIN_DISCOVERY_TIMEOUT] = { .type = NLA_U16 }, | 3231 | [NL80211_MESHCONF_MIN_DISCOVERY_TIMEOUT] = { .type = NLA_U16 }, |
3230 | [NL80211_MESHCONF_HWMP_ACTIVE_PATH_TIMEOUT] = { .type = NLA_U32 }, | 3232 | [NL80211_MESHCONF_HWMP_ACTIVE_PATH_TIMEOUT] = { .type = NLA_U32 }, |
3231 | [NL80211_MESHCONF_HWMP_PREQ_MIN_INTERVAL] = { .type = NLA_U16 }, | 3233 | [NL80211_MESHCONF_HWMP_PREQ_MIN_INTERVAL] = { .type = NLA_U16 }, |
3234 | [NL80211_MESHCONF_HWMP_PERR_MIN_INTERVAL] = { .type = NLA_U16 }, | ||
3232 | [NL80211_MESHCONF_HWMP_NET_DIAM_TRVS_TIME] = { .type = NLA_U16 }, | 3235 | [NL80211_MESHCONF_HWMP_NET_DIAM_TRVS_TIME] = { .type = NLA_U16 }, |
3233 | [NL80211_MESHCONF_HWMP_ROOTMODE] = { .type = NLA_U8 }, | 3236 | [NL80211_MESHCONF_HWMP_ROOTMODE] = { .type = NLA_U8 }, |
3234 | [NL80211_MESHCONF_HWMP_RANN_INTERVAL] = { .type = NLA_U16 }, | 3237 | [NL80211_MESHCONF_HWMP_RANN_INTERVAL] = { .type = NLA_U16 }, |
@@ -3303,6 +3306,9 @@ do {\ | |||
3303 | FILL_IN_MESH_PARAM_IF_SET(tb, cfg, dot11MeshHWMPpreqMinInterval, | 3306 | FILL_IN_MESH_PARAM_IF_SET(tb, cfg, dot11MeshHWMPpreqMinInterval, |
3304 | mask, NL80211_MESHCONF_HWMP_PREQ_MIN_INTERVAL, | 3307 | mask, NL80211_MESHCONF_HWMP_PREQ_MIN_INTERVAL, |
3305 | nla_get_u16); | 3308 | nla_get_u16); |
3309 | FILL_IN_MESH_PARAM_IF_SET(tb, cfg, dot11MeshHWMPperrMinInterval, | ||
3310 | mask, NL80211_MESHCONF_HWMP_PERR_MIN_INTERVAL, | ||
3311 | nla_get_u16); | ||
3306 | FILL_IN_MESH_PARAM_IF_SET(tb, cfg, | 3312 | FILL_IN_MESH_PARAM_IF_SET(tb, cfg, |
3307 | dot11MeshHWMPnetDiameterTraversalTime, | 3313 | dot11MeshHWMPnetDiameterTraversalTime, |
3308 | mask, NL80211_MESHCONF_HWMP_NET_DIAM_TRVS_TIME, | 3314 | mask, NL80211_MESHCONF_HWMP_NET_DIAM_TRVS_TIME, |