OSDN Git Service

mac80211: mesh: only switch path when new metric is at least 10% better
authorJulan Hsu <julanhsu@google.com>
Tue, 15 Jan 2019 23:33:03 +0000 (15:33 -0800)
committerJohannes Berg <johannes.berg@intel.com>
Sat, 19 Jan 2019 08:56:22 +0000 (09:56 +0100)
commita8d418d9ac25f85a9caf652a4b2d07ec790474ab
tree7af06d1b9b6cfb7a31fea87b437bf8fcda51a6bc
parent67fc05549cdb39f9e02ec4af5cc94509b1f89754
mac80211: mesh: only switch path when new metric is at least 10% better

This helps to reduce frequent path switches when multiple path
candidates have the same or very similar path metrics.

Signed-off-by: Julan Hsu <julanhsu@google.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mesh_hwmp.c