diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-08-15 13:57:11 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-08-15 13:57:11 +0000 |
commit | 558d7e8a906182ccaac18ac99d1781df3b3c7a21 (patch) | |
tree | 2322d682b727f79f69dfea40c44421888205e4a6 /package/kernel/mac80211 | |
parent | a966ca7ac819254670f758fb40f6b2e88e4595cb (diff) | |
download | master-187ad058-558d7e8a906182ccaac18ac99d1781df3b3c7a21.tar.gz master-187ad058-558d7e8a906182ccaac18ac99d1781df3b3c7a21.tar.bz2 master-187ad058-558d7e8a906182ccaac18ac99d1781df3b3c7a21.zip |
mac80211: merge upstream change to fix mesh rssi thresholds
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37793 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/mac80211')
-rw-r--r-- | package/kernel/mac80211/patches/300-pending_work.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/kernel/mac80211/patches/300-pending_work.patch b/package/kernel/mac80211/patches/300-pending_work.patch index 4ee94ef842..b5a9c1a65f 100644 --- a/package/kernel/mac80211/patches/300-pending_work.patch +++ b/package/kernel/mac80211/patches/300-pending_work.patch @@ -1537,6 +1537,18 @@ state->filter_wiphy = -1; ret = nl80211_dump_wiphy_parse(skb, cb, state); if (ret) { +@@ -4770,9 +4774,9 @@ do { \ + FILL_IN_MESH_PARAM_IF_SET(tb, cfg, dot11MeshForwarding, 0, 1, + mask, NL80211_MESHCONF_FORWARDING, + nla_get_u8); +- FILL_IN_MESH_PARAM_IF_SET(tb, cfg, rssi_threshold, 1, 255, ++ FILL_IN_MESH_PARAM_IF_SET(tb, cfg, rssi_threshold, -255, 0, + mask, NL80211_MESHCONF_RSSI_THRESHOLD, +- nla_get_u32); ++ nla_get_s32); + FILL_IN_MESH_PARAM_IF_SET(tb, cfg, ht_opmode, 0, 16, + mask, NL80211_MESHCONF_HT_OPMODE, + nla_get_u16); @@ -6615,12 +6619,14 @@ EXPORT_SYMBOL(cfg80211_testmode_alloc_ev void cfg80211_testmode_event(struct sk_buff *skb, gfp_t gfp) |