]> git.baikalelectronics.ru Git - kernel.git/commit
{nl,cfg,mac}80211: Implement RSSI threshold for mesh peering
authorAshok Nagarajan <ashok@cozybit.com>
Wed, 29 Feb 2012 01:04:08 +0000 (17:04 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 5 Mar 2012 20:23:15 +0000 (15:23 -0500)
commit53bbb5c81258217efeab06425c5104ef3d3de2a9
tree8e48d0cf30f3e94475ee80479308e98908b3c0bc
parentf9f1a76dae4de8b9de2e5b25d287b9902dd33ae2
{nl,cfg,mac}80211: Implement RSSI threshold for mesh peering

Mesh peer links are established only if average rssi of the peer
candidate satisfies the threshold. This is not in 802.11s specification
but was requested by David Fulgham, an open80211s user. This is a way to avoid
marginal peer links with stations that are barely within range.

This patch adds a new mesh configuration parameter, mesh_rssi_threshold. This
feature is supported only for hardwares that report signal in dBm.

Signed-off-by: Ashok Nagarajan <ashok@cozybit.com>
Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/linux/nl80211.h
include/net/cfg80211.h
net/mac80211/cfg.c
net/mac80211/debugfs_netdev.c
net/mac80211/mesh_plink.c
net/wireless/mesh.c
net/wireless/nl80211.c