]> git.karo-electronics.de Git - linux-beck.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)
commit5533513784a88049e19dd2ab380a452b61e5171e
tree8e48d0cf30f3e94475ee80479308e98908b3c0bc
parent5809802180b2b638762465cbad3f51a9ac8ff0b3
{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