]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: mesh: use average bitrate for link metric calculation
authorJulan Hsu <julanhsu@google.com>
Tue, 15 Jan 2019 23:31:56 +0000 (15:31 -0800)
committerJohannes Berg <johannes.berg@intel.com>
Sat, 19 Jan 2019 08:55:54 +0000 (09:55 +0100)
commitff7b34949b72e2aa2b354eca17cbf8be5d03aafb
tree090ab56101d263a01c167d3dc809415c4227819d
parent84f99d48e8cb60a76a51e0b91126219e98438abc
mac80211: mesh: use average bitrate for link metric calculation

Use bitrate moving average to smooth out link metric and stablize path
selection.

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